UnwrapResult Class
- java.
lang. Object - com.
azure. security. keyvault. keys. cryptography. models. UnwrapResult
- com.
public final class UnwrapResult
Represents the details of key unwrap operation result.
Constructor Summary
Constructor | Description |
---|---|
UnwrapResult(byte[] key, KeyWrapAlgorithm algorithm, String keyId) |
Creates the instance of Key |
Method Summary
Modifier and Type | Method and Description |
---|---|
Key |
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 |
Methods inherited from java.lang.Object
Constructor Details
UnwrapResult
public UnwrapResult(byte[] key, KeyWrapAlgorithm algorithm, String keyId)
Creates the instance of KeyUnwrap Result holding the unwrapped key content.
Parameters:
Method Details
getAlgorithm
public KeyWrapAlgorithm getAlgorithm()
Get the algorithm used for key wrap operation.
Returns:
getKey
public byte[] getKey()
Get the unwrapped key content.
Returns:
getKeyId
public String getKeyId()
Get the identifier of the key used for the key wrap encryption
Returns:
Applies to
Azure SDK for Java