Class ReleaseKeyOptions

java.lang.Object
com.azure.security.keyvault.keys.models.ReleaseKeyOptions

public final class ReleaseKeyOptions extends Object
Represents the configurable options to release a key.
  • Constructor Details

    • ReleaseKeyOptions

      public ReleaseKeyOptions()
  • Method Details

    • getNonce

      public String getNonce()
      Get a client provided nonce for freshness.
      Returns:
      A client provided nonce for freshness.
    • setNonce

      public ReleaseKeyOptions setNonce(String nonce)
      Set a client provided nonce for freshness.
      Parameters:
      nonce - A client provided nonce for freshness.
      Returns:
      The updated ReleaseKeyOptions object.
    • getAlgorithm

      public KeyExportEncryptionAlgorithm getAlgorithm()
      Get the encryption algorithm to use to protected the exported key material.
      Returns:
      The encryption algorithm to use to protected the exported key material.
    • setAlgorithm

      public ReleaseKeyOptions setAlgorithm(KeyExportEncryptionAlgorithm algorithm)
      Set the encryption algorithm to use to protected the exported key material.
      Parameters:
      algorithm - The encryption algorithm to use to protected the exported key material.
      Returns:
      The updated ReleaseKeyOptions object.