public final class DecryptResult extends Object
| Constructor and Description |
|---|
DecryptResult(byte[] plainText,
EncryptionAlgorithm algorithm,
String keyId)
Creates the instance of Decrypt Result holding decrypted content.
|
| Modifier and Type | Method and Description |
|---|---|
EncryptionAlgorithm |
getAlgorithm()
Get the algorithm used for decryption.
|
String |
getKeyId()
Get the identifier of the key used for the decryption operation
|
byte[] |
getPlainText()
Get the encrypted content.
|
public DecryptResult(byte[] plainText,
EncryptionAlgorithm algorithm,
String keyId)
plainText - The decrypted content.algorithm - The algorithm used to decrypt the content.keyId - The identifier of the key usd for the decryption operation.public String getKeyId()
public byte[] getPlainText()
public EncryptionAlgorithm getAlgorithm()
Copyright © 2021 Microsoft Corporation. All rights reserved.