Lingua

CcfReceiptVerifier Class

Definition

CcfReceiptVerifier contains the methods to verify a CCF SCITT receipt's integrity and its inclusion in the Signing Transparency Service. Verification requires the receipt, the COSE_Sign1 signed statement that was submitted to the service, and the service's public receipt-verification key. The receipt can also be embedded in the COSE_Sign1 envelope.

public class CcfReceiptVerifier
type CcfReceiptVerifier = class
Public Class CcfReceiptVerifier
Inheritance
CcfReceiptVerifier

Constructors

Name Description
CcfReceiptVerifier()

Initializes a new instance of CcfReceiptVerifier.

Methods

Name Description
Verify(Byte[], Byte[], CodeTransparencyVerificationKey)

Verifies a CCF SCITT receipt against a signed statement using the supplied verification key. If verification fails, an exception is thrown explaining which step failed. #1 Reference: https://datatracker.ietf.org/doc/draft-ietf-scitt-architecture/ #2 Reference: https://datatracker.ietf.org/doc/draft-birkholz-cose-receipts-ccf-profile/

Verify(Byte[], Byte[], CodeTransparencyVerificationKeySet)

Verifies a CCF SCITT receipt against a signed statement. The key ID is extracted from the receipt and matched, case-sensitively, against the supplied key set.

Verify(Byte[], Byte[], String, ECDsa)

Verifies a CCF SCITT receipt against a signed statement using a caller-owned ECDsa key. The supplied key ID must match the key ID in the receipt.

VerifyTransparentStatementReceipt(JsonWebKey, Byte[], Byte[])

Verify a CCF SCITT receipt. If the verification fails, an exception is thrown explaining in which step the verification failed. #1 Reference: https://datatracker.ietf.org/doc/draft-ietf-scitt-architecture/ #2 Reference: https://datatracker.ietf.org/doc/draft-birkholz-cose-receipts-ccf-profile/

Applies to