Share via


KeyVaultClientExtensions.VerifyAsync Method (KeyVaultClient, JsonWebKey, String, Byte[], Byte[])

 

Indicates a value whether the verification is successful.

Namespace:   Microsoft.Azure.KeyVault
Assembly:  Microsoft.Azure.KeyVault (in Microsoft.Azure.KeyVault.dll)

Syntax

public static Task<bool> VerifyAsync(
    this KeyVaultClient client,
    JsonWebKey verifyKey,
    string algorithm,
    byte[] digest,
    byte[] signature
)
public:
[ExtensionAttribute]
static Task<bool>^ VerifyAsync(
    KeyVaultClient^ client,
    JsonWebKey^ verifyKey,
    String^ algorithm,
    array<unsigned char>^ digest,
    array<unsigned char>^ signature
)
static member VerifyAsync : 
        client:KeyVaultClient *
        verifyKey:JsonWebKey *
        algorithm:string *
        digest:byte[] *
        signature:byte[] -> Task<bool>
<ExtensionAttribute>
Public Shared Function VerifyAsync (
    client As KeyVaultClient,
    verifyKey As JsonWebKey,
    algorithm As String,
    digest As Byte(),
    signature As Byte()
) As Task(Of Boolean)

Parameters

  • signature
    Type: System.Byte[]

    The signature to verify.

Return Value

Type: System.Threading.Tasks.Task<Boolean>

true if verification succeeds; otherwise, false.

See Also

VerifyAsync Overload
KeyVaultClientExtensions Class
Microsoft.Azure.KeyVault Namespace

Return to top