Interface KeyVaultKeySigner
- All Known Implementing Classes:
DefaultKeyVaultKeySigner
public interface KeyVaultKeySigner
Service for signing payloads with Azure Key Vault keys.
- Since:
- 5.13.0
-
Method Summary
Modifier and TypeMethodDescription@NonNull byte[]Sign the supplied data with the provided key using the default algorithm configured for signing.@NonNull byte[]sign(@NonNull String keyName, @NonNull com.azure.security.keyvault.keys.cryptography.models.SignatureAlgorithm algorithm, @NonNull byte[] data) Sign the supplied data with the provided key using the specified algorithm.
-
Method Details
-
sign
@NonNull @NonNull byte[] sign(@NonNull @NonNull String keyName, @NonNull @NonNull com.azure.security.keyvault.keys.cryptography.models.SignatureAlgorithm algorithm, @NonNull @NonNull byte[] data) Sign the supplied data with the provided key using the specified algorithm.- Parameters:
keyName- the key namealgorithm- the signature algorithmdata- the data to sign- Returns:
- the signature bytes
-
sign
Sign the supplied data with the provided key using the default algorithm configured for signing.- Parameters:
keyName- the key namedata- the data to sign- Returns:
- the signature bytes
-