public final class WrapResult extends Object
| Constructor and Description |
|---|
WrapResult(byte[] encryptedKey,
KeyWrapAlgorithm algorithm,
String keyId)
Creates the instance of KeyWrapResult holding the key wrap operation response details.
|
| Modifier and Type | Method and Description |
|---|---|
KeyWrapAlgorithm |
getAlgorithm()
Get the key wrap algorithm used to wrap the key content.
|
byte[] |
getEncryptedKey()
Get the encrypted key content.
|
String |
getKeyId()
Get the identifier of the key used to do encryption
|
public WrapResult(byte[] encryptedKey,
KeyWrapAlgorithm algorithm,
String keyId)
encryptedKey - The unwrapped key content.algorithm - The algorithm used to wrap the key content.keyId - The identifier of the key usd for the key wrap operation.public byte[] getEncryptedKey()
public KeyWrapAlgorithm getAlgorithm()
public String getKeyId()
Copyright © 2021 Microsoft Corporation. All rights reserved.