SecureUnwrapResult Class

  • java.lang.Object
    • com.azure.security.keyvault.keys.cryptography.models.SecureUnwrapResult

public final class SecureUnwrapResult

Represents the details of a secure key unwrap operation result.

Constructor Summary

Constructor Description
SecureUnwrapResult(byte[] key, SecureKeyWrapAlgorithm algorithm, String keyId)

Creates the instance of SecureUnwrapResult holding the unwrapped key content.

Method Summary

Modifier and Type Method and Description
SecureKeyWrapAlgorithm getAlgorithm()

Get the algorithm used for the secure key unwrap operation.

byte[] getKey()

Get the unwrapped key content.

String getKeyId()

Get the identifier of the key used for the secure key unwrap operation.

Methods inherited from java.lang.Object

Constructor Details

SecureUnwrapResult

public SecureUnwrapResult(byte[] key, SecureKeyWrapAlgorithm algorithm, String keyId)

Creates the instance of SecureUnwrapResult holding the unwrapped key content.

Parameters:

key - The unwrapped key content.
algorithm - The algorithm used for the operation.
keyId - The identifier of the key used for the operation.

Method Details

getAlgorithm

public SecureKeyWrapAlgorithm getAlgorithm()

Get the algorithm used for the secure key unwrap operation.

Returns:

The secure key wrap algorithm used.

getKey

public byte[] getKey()

Get the unwrapped key content.

Returns:

The unwrapped key content.

getKeyId

public String getKeyId()

Get the identifier of the key used for the secure key unwrap operation.

Returns:

The key identifier.

Applies to