Compartilhar via


SecurityCodeTransparencyModelFactory.DidDocument Method

Definition

Initializes a new instance of DidDocument.

public static Azure.Security.CodeTransparency.DidDocument DidDocument (string id = default, System.Collections.Generic.IEnumerable<Azure.Security.CodeTransparency.DidDocumentKey> assertionMethod = default);
static member DidDocument : string * seq<Azure.Security.CodeTransparency.DidDocumentKey> -> Azure.Security.CodeTransparency.DidDocument
Public Shared Function DidDocument (Optional id As String = Nothing, Optional assertionMethod As IEnumerable(Of DidDocumentKey) = Nothing) As DidDocument

Parameters

id
String

String representing a DID issuer.

assertionMethod
IEnumerable<DidDocumentKey>

List of public keys used for receipt endorsement verification.

Returns

A new DidDocument instance for mocking.

Applies to