ReleaseKeyOptions Class
- java.
lang. Object - com.
azure. security. keyvault. keys. models. ReleaseKeyOptions
- com.
public final class ReleaseKeyOptions
Represents the configurable options to release a key.
Constructor Summary
Constructor | Description |
---|---|
ReleaseKeyOptions() |
Creates a new instance of ReleaseKeyOptions. |
Method Summary
Modifier and Type | Method and Description |
---|---|
Key |
getAlgorithm()
Get the encryption algorithm to use to protected the exported key material. |
String |
getNonce()
Get a client provided nonce for freshness. |
Release |
setAlgorithm(KeyExportEncryptionAlgorithm algorithm)
Set the encryption algorithm to use to protected the exported key material. |
Release |
setNonce(String nonce)
Set a client provided nonce for freshness. |
Methods inherited from java.lang.Object
Constructor Details
ReleaseKeyOptions
public ReleaseKeyOptions()
Creates a new instance of ReleaseKeyOptions.
Method Details
getAlgorithm
public KeyExportEncryptionAlgorithm getAlgorithm()
Get the encryption algorithm to use to protected the exported key material.
Returns:
getNonce
public String getNonce()
Get a client provided nonce for freshness.
Returns:
setAlgorithm
public ReleaseKeyOptions setAlgorithm(KeyExportEncryptionAlgorithm algorithm)
Set the encryption algorithm to use to protected the exported key material.
Parameters:
Returns:
setNonce
public ReleaseKeyOptions setNonce(String nonce)
Set a client provided nonce for freshness.
Parameters:
Returns:
Applies to
Azure SDK for Java