Compartilhar via


SecurityCodeTransparencyModelFactory.DidDocumentKey Method

Definition

Initializes a new instance of DidDocumentKey.

public static Azure.Security.CodeTransparency.DidDocumentKey DidDocumentKey (string id = default, string controller = default, Azure.Security.CodeTransparency.DidDocumentKeyType type = default, Azure.Security.CodeTransparency.JsonWebKey publicKeyJwk = default);
static member DidDocumentKey : string * string * Azure.Security.CodeTransparency.DidDocumentKeyType * Azure.Security.CodeTransparency.JsonWebKey -> Azure.Security.CodeTransparency.DidDocumentKey
Public Shared Function DidDocumentKey (Optional id As String = Nothing, Optional controller As String = Nothing, Optional type As DidDocumentKeyType = Nothing, Optional publicKeyJwk As JsonWebKey = Nothing) As DidDocumentKey

Parameters

id
String

Key identifier.

controller
String

Key controller - similar to DID issuer.

type
DidDocumentKeyType

Key type.

publicKeyJwk
JsonWebKey

Serialized public key in JWK format.

Returns

A new DidDocumentKey instance for mocking.

Applies to