Share via


CryptographyModelFactory.VerifyResult Method

Definition

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

public static Azure.Security.KeyVault.Keys.Cryptography.VerifyResult VerifyResult (string keyId = default, bool isValid = false, Azure.Security.KeyVault.Keys.Cryptography.SignatureAlgorithm algorithm = default);
static member VerifyResult : string * bool * Azure.Security.KeyVault.Keys.Cryptography.SignatureAlgorithm -> Azure.Security.KeyVault.Keys.Cryptography.VerifyResult
Public Shared Function VerifyResult (Optional keyId As String = Nothing, Optional isValid As Boolean = false, Optional algorithm As SignatureAlgorithm = Nothing) As VerifyResult

Parameters

keyId
String

Sets the KeyId property.

isValid
Boolean

Sets the IsValid property.

algorithm
SignatureAlgorithm

Sets the Algorithm property.

Returns

A new instance of the VerifyResult class for mocking purposes.

Applies to