CcfReceiptVerifier.VerifyTransparentStatementReceipt Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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/
public static void VerifyTransparentStatementReceipt(Azure.Security.CodeTransparency.JsonWebKey jsonWebKey, byte[] receiptBytes, byte[] signedStatementBytes);
static member VerifyTransparentStatementReceipt : Azure.Security.CodeTransparency.JsonWebKey * byte[] * byte[] -> unit
Public Shared Sub VerifyTransparentStatementReceipt (jsonWebKey As JsonWebKey, receiptBytes As Byte(), signedStatementBytes As Byte())
Parameters
- jsonWebKey
- JsonWebKey
The service certificate key (JWK).
- receiptBytes
- Byte[]
Receipt in COSE_Sign1 cbor bytes.
- signedStatementBytes
- Byte[]
The input signed statement bytes.
Exceptions
Thrown when the verification fails.