Sdílet prostřednictvím


CryptographyModelFactory.SignResult Method

Definition

Initializes a new instance of the SignResult class for mocking purposes.

public static Azure.Security.KeyVault.Keys.Cryptography.SignResult SignResult (string keyId = default, byte[] signature = default, Azure.Security.KeyVault.Keys.Cryptography.SignatureAlgorithm algorithm = default);
static member SignResult : string * byte[] * Azure.Security.KeyVault.Keys.Cryptography.SignatureAlgorithm -> Azure.Security.KeyVault.Keys.Cryptography.SignResult
Public Shared Function SignResult (Optional keyId As String = Nothing, Optional signature As Byte() = Nothing, Optional algorithm As SignatureAlgorithm = Nothing) As SignResult

Parameters

keyId
String

Sets the KeyId property.

signature
Byte[]

Sets the Signature property.

algorithm
SignatureAlgorithm

Sets the Algorithm property.

Returns

A new instance of the SignResult class for mocking purposes.

Applies to