Class UnwrapResult
- java.lang.Object
-
- com.azure.security.keyvault.keys.cryptography.models.UnwrapResult
-
public final class UnwrapResult extends Object
Represents the details of key unwrap operation result.
-
-
Constructor Summary
Constructors Constructor Description UnwrapResult(byte[] key, KeyWrapAlgorithm algorithm, String keyId)
Creates the instance of KeyUnwrap Result holding the unwrapped key content.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KeyWrapAlgorithm
getAlgorithm()
Get the algorithm used for key wrap operation.byte[]
getKey()
Get the unwrapped key content.String
getKeyId()
Get the identifier of the key used for the key wrap encryption
-
-
-
Constructor Detail
-
UnwrapResult
public UnwrapResult(byte[] key, KeyWrapAlgorithm algorithm, String keyId)
Creates the instance of KeyUnwrap Result holding the unwrapped key content.- Parameters:
key
- The unwrapped key content.algorithm
- The algorithm used for the operationkeyId
- The id of key used for the operation
-
-
Method Detail
-
getKey
public byte[] getKey()
Get the unwrapped key content.- Returns:
- The unwrapped key content.
-
getAlgorithm
public KeyWrapAlgorithm getAlgorithm()
Get the algorithm used for key wrap operation.- Returns:
- The encryption algorithm used.
-
getKeyId
public String getKeyId()
Get the identifier of the key used for the key wrap encryption- Returns:
- the key identifier
-
-