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
client
Type: Microsoft.Azure.KeyVault.KeyVaultClientThe application, rather than the server application, that initiates a connection to a server.
verifyKey
Type: Microsoft.Azure.KeyVault.WebKey.JsonWebKeyThe verification key.
algorithm
Type: System.StringThe signing algorithm. For more information on possible algorithm types, see JsonWebKeyEncryptionAlgorithm.
digest
Type: System.Byte[]The digest hash value.
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