IKey.VerifyAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Verifies a signature from a digest.
public System.Threading.Tasks.Task<bool> VerifyAsync (Microsoft.Azure.Management.KeyVault.Fluent.Models.JsonWebKeySignatureAlgorithm algorithm, byte[] digest, byte[] signature, System.Threading.CancellationToken cancellationToken = default);
abstract member VerifyAsync : Microsoft.Azure.Management.KeyVault.Fluent.Models.JsonWebKeySignatureAlgorithm * byte[] * byte[] * System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
Public Function VerifyAsync (algorithm As JsonWebKeySignatureAlgorithm, digest As Byte(), signature As Byte(), Optional cancellationToken As CancellationToken = Nothing) As Task(Of Boolean)
Parameters
- algorithm
- JsonWebKeySignatureAlgorithm
The JWK signing algorithm.
- digest
- Byte[]
The content to be signed.
- signature
- Byte[]
The signature to verify.
- cancellationToken
- CancellationToken
Returns
Applies to
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.
Azure SDK for .NET