SecureWrapResult Class
- java.
lang. Object - com.
azure. security. keyvault. keys. cryptography. models. SecureWrapResult
- com.
public final class SecureWrapResult
Represents the details of a secure key wrap operation result.
Constructor Summary
| Constructor | Description |
|---|---|
| SecureWrapResult(byte[] encryptedKey, SecureKeyWrapAlgorithm algorithm, String keyId) |
Creates the instance of SecureWrapResult holding the secure key wrap operation response details. |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Secure |
getAlgorithm()
Get the algorithm used to wrap the key content. |
| byte[] |
getEncryptedKey()
Get the encrypted key content. |
| String |
getKeyId()
Get the identifier of the key used for the secure key wrap operation. |
Methods inherited from java.lang.Object
Constructor Details
SecureWrapResult
public SecureWrapResult(byte[] encryptedKey, SecureKeyWrapAlgorithm algorithm, String keyId)
Creates the instance of SecureWrapResult holding the secure key wrap operation response details.
Parameters:
Method Details
getAlgorithm
public SecureKeyWrapAlgorithm getAlgorithm()
Get the algorithm used to wrap the key content.
Returns:
getEncryptedKey
public byte[] getEncryptedKey()
Get the encrypted key content.
Returns:
getKeyId
public String getKeyId()
Get the identifier of the key used for the secure key wrap operation.
Returns: