CcfReceipt.GetRegistrationTransactionId(Byte[]) Method

Definition

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, ce:2.15:... yields 2.15).

public static string GetRegistrationTransactionId(byte[] receiptCoseSign1Bytes);
static member GetRegistrationTransactionId : byte[] -> string
Public Shared Function GetRegistrationTransactionId (receiptCoseSign1Bytes As Byte()) As String

Parameters

receiptCoseSign1Bytes
Byte[]

The receipt as COSE_Sign1 cbor bytes.

Returns

The registration transaction id, or null if it cannot be found.

Applies to