Class ReleaseKeyOptions


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

      • ReleaseKeyOptions

        public ReleaseKeyOptions()
    • Method Detail

      • 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 encryptionAlgorithm)
        Set the encryption algorithm to use to protected the exported key material.
        Parameters:
        encryptionAlgorithm - The encryption algorithm to use to protected the exported key material.
        Returns:
        The updated ReleaseKeyOptions object.