Share via


IKey.SignAsync Methode

Definition

Erstellt eine Signatur aus einem Digest.

public System.Threading.Tasks.Task<byte[]> SignAsync (Microsoft.Azure.Management.KeyVault.Fluent.Models.JsonWebKeySignatureAlgorithm algorithm, byte[] digest, System.Threading.CancellationToken cancellationToken = default);
abstract member SignAsync : Microsoft.Azure.Management.KeyVault.Fluent.Models.JsonWebKeySignatureAlgorithm * byte[] * System.Threading.CancellationToken -> System.Threading.Tasks.Task<byte[]>
Public Function SignAsync (algorithm As JsonWebKeySignatureAlgorithm, digest As Byte(), Optional cancellationToken As CancellationToken = Nothing) As Task(Of Byte())

Parameter

algorithm
JsonWebKeySignatureAlgorithm

Der JWK-Signaturalgorithmus.

digest
Byte[]

Der zu signierte Inhalt.

cancellationToken
CancellationToken

Gibt zurück

Task<Byte[]>

Gilt für: