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 Type
    Method
    Description
    @NonNull byte[]
    sign(@NonNull String keyName, @NonNull byte[] data)
    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 name
      algorithm - the signature algorithm
      data - the data to sign
      Returns:
      the signature bytes
    • sign

      @NonNull @NonNull byte[] sign(@NonNull @NonNull String keyName, @NonNull @NonNull byte[] data)
      Sign the supplied data with the provided key using the default algorithm configured for signing.
      Parameters:
      keyName - the key name
      data - the data to sign
      Returns:
      the signature bytes