ReleaseKeyOptions Class

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

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
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 algorithm)

Set the encryption algorithm to use to protected the exported key material.

ReleaseKeyOptions 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:

The encryption algorithm to use to protected the exported key material.

getNonce

public String getNonce()

Get a client provided nonce for freshness.

Returns:

A client provided nonce for freshness.

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.

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.

Applies to