CcfReceipt Class
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.
CcfReceipt class which enables encoding, decoding and verification of receipts issued from the Signing Transparency Service. This class encapsulates the representation and the available operations of CBOR encoded CCF SCITT receipts. This is a reference implementation for a proposed draft IETF specification: https://datatracker.ietf.org/doc/draft-birkholz-scitt-receipts/03/ .
public class CcfReceipt
type CcfReceipt = class
Public Class CcfReceipt
- Inheritance
-
CcfReceipt
Constructors
| Name | Description |
|---|---|
| CcfReceipt() | |
Fields
| Name | Description |
|---|---|
| CcfProofLeafLabel |
Label for the leaf in the inclusion proof |
| CcfProofPathLabel |
Label for the path in the inclusion proof |
| CcfTreeAlgLabel |
Protected header key for the tree algorithm |
| CoseHeaderEmbeddedReceipts |
Header key to get access to the embedded receipts. |
| CosePhdrVdpLabel |
Protected header key for verifiable proofs. |
| CosePhdrVdsLabel |
Protected header key for the verifiable data structure, as per COSE Receipts (draft) RFC (https://datatracker.ietf.org/doc/draft-ietf-cose-merkle-tree-proofs/) |
| CoseReceiptCwtIssLabel |
CWT ISS Claim (RFC9597) defined in https://www.iana.org/assignments/cwt/cwt.xhtml |
| CoseReceiptCwtMapLabel |
CWT Map Claim (RFC9597) defined in https://www.iana.org/assignments/cwt/cwt.xhtml |
| CoseReceiptInclusionProofLabel |
Label for the inclusion proof. |
| ReceiptHeaderIssuer |
Issuer header key. |
| ReceiptHeaderKeyId |
Key ID header key. |
| ReceiptHeaderRegistrationTime |
Countersign time header key. |
| ReceiptHeaderServiceId |
Service identifier header key. |
| ReceiptHeaderTreeAlgorithm |
Tree algorithm header id. |
| SupportedTreeAlgorithm |
Expected tree algorithm value in the receipt. |
Methods
| Name | Description |
|---|---|
| GetRegistrationTransactionId(Byte[]) |
Extracts the registration transaction id (the entry id) from a raw CCF SCITT receipt.
The id is encoded in the internal-evidence field of the inclusion proof leaf as the
second ':'-separated field (for example, |