语言

你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。

CodeTransparencyVerificationOptions Class

Definition

public sealed class CodeTransparencyVerificationOptions
type CodeTransparencyVerificationOptions = class
Public NotInheritable Class CodeTransparencyVerificationOptions
Inheritance
CodeTransparencyVerificationOptions

Constructors

Name Description
CodeTransparencyVerificationOptions()

Creates a new instance.

Properties

Name Description
AuthorizedDomains

Gets an authorized list of issuer domains. If provided and not empty, at least one receipt must be issued by one of these domains. Domains are matched case-insensitively.

AuthorizedReceiptBehavior

Gets or sets the enforcement behavior for receipts whose issuer domain IS contained in AuthorizedDomains. Defaults to VerifyAllMatching.

KeyResolutionMode

Gets or sets how verification keys are resolved from TrustStore and the network. Defaults to TrustStoreThenNetwork.

TrustStore

Gets or sets a trust store mapping issuer domains to their verification keys for offline verification. When provided, matching keys are used instead of downloading them from the network.

UnauthorizedReceiptBehavior

Gets or sets the behavior for receipts whose issuer domain is not in AuthorizedDomains. Defaults to FailIfPresent.

Applies to