Language

ConfidentialLedgerModelFactory.ReceiptContents Method

Definition

The contents of a receipt.

public static Azure.Security.ConfidentialLedger.Models.ReceiptContents ReceiptContents(string cert = default, string leaf = default, Azure.Security.ConfidentialLedger.Models.ReceiptLeafComponents leafComponents = default, string nodeId = default, System.Collections.Generic.IEnumerable<Azure.Security.ConfidentialLedger.Models.ReceiptElement> proof = default, string root = default, System.Collections.Generic.IEnumerable<string> serviceEndorsements = default, string signature = default);
static member ReceiptContents : string * string * Azure.Security.ConfidentialLedger.Models.ReceiptLeafComponents * string * seq<Azure.Security.ConfidentialLedger.Models.ReceiptElement> * string * seq<string> * string -> Azure.Security.ConfidentialLedger.Models.ReceiptContents
Public Shared Function ReceiptContents (Optional cert As String = Nothing, Optional leaf As String = Nothing, Optional leafComponents As ReceiptLeafComponents = Nothing, Optional nodeId As String = Nothing, Optional proof As IEnumerable(Of ReceiptElement) = Nothing, Optional root As String = Nothing, Optional serviceEndorsements As IEnumerable(Of String) = Nothing, Optional signature As String = Nothing) As ReceiptContents

Parameters

cert
String

Certificate.

leaf
String

Leaf.

leafComponents
ReceiptLeafComponents

Leaf components of the receipt.

nodeId
String

Node identifier.

proof
IEnumerable<ReceiptElement>

Proof.

root
String

Root.

serviceEndorsements
IEnumerable<String>

Service endorsements.

signature
String

The signature of the receipt.

Returns

A new ReceiptContents instance for mocking.

Applies to