Class UnwrapResult
java.lang.Object
com.azure.security.keyvault.keys.cryptography.models.UnwrapResult
Represents the details of key unwrap operation result.
-
Constructor Summary
ConstructorDescriptionUnwrapResult
(byte[] key, KeyWrapAlgorithm algorithm, String keyId) Creates the instance of KeyUnwrap Result holding the unwrapped key content. -
Method Summary
-
Constructor Details
-
UnwrapResult
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 Details
-
getKey
public byte[] getKey()Get the unwrapped key content.- Returns:
- The unwrapped key content.
-
getAlgorithm
Get the algorithm used for key wrap operation.- Returns:
- The encryption algorithm used.
-
getKeyId
Get the identifier of the key used for the key wrap encryption- Returns:
- the key identifier
-