Lingua

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.

OfflineKeys

Gets or sets a store mapping ledger domains to JWKS documents for offline verification. When provided, will skip network calls and use the matching JWKS document from this store instead.

OfflineKeysBehavior

Gets or sets the behavior for using offline keys in CodeTransparencyOfflineKeys. Defaults to FallbackToNetwork.

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