public final class UnwrapResult extends Object
| Constructor and Description |
|---|
UnwrapResult(byte[] key,
KeyWrapAlgorithm algorithm,
String keyId)
Creates the instance of KeyUnwrap Result holding the unwrapped key content.
|
| Modifier and Type | Method and 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
|
public UnwrapResult(byte[] key,
KeyWrapAlgorithm algorithm,
String keyId)
key - The unwrapped key content.algorithm - The algorithm used for the operationkeyId - The id of key used for the operationpublic byte[] getKey()
public KeyWrapAlgorithm getAlgorithm()
public String getKeyId()
Copyright © 2021 Microsoft Corporation. All rights reserved.