Class ReleaseKeyOptions
- java.lang.Object
-
- com.azure.security.keyvault.keys.models.ReleaseKeyOptions
-
public class ReleaseKeyOptions extends Object
Represents the configurable options to release a key.
-
-
Constructor Summary
Constructors Constructor Description ReleaseKeyOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KeyExportEncryptionAlgorithm
getAlgorithm()
Get the encryption algorithm to use to protected the exported key material.String
getNonce()
Get a client provided nonce for freshness.ReleaseKeyOptions
setAlgorithm(KeyExportEncryptionAlgorithm encryptionAlgorithm)
Set the encryption algorithm to use to protected the exported key material.ReleaseKeyOptions
setNonce(String nonce)
Set a client provided nonce for freshness.
-
-
-
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.
-
-