public final class EncryptResult extends Object
| Constructor and Description |
|---|
EncryptResult(byte[] cipherText,
EncryptionAlgorithm algorithm,
String keyId)
Creates the instance of Encrypt Result holding encryption operation response information.
|
| Modifier and Type | Method and Description |
|---|---|
EncryptionAlgorithm |
getAlgorithm()
Get the encryption algorithm used for encryption.
|
byte[] |
getCipherText()
Get the encrypted content.
|
String |
getKeyId()
Get the identifier of the key used to do encryption
|
public EncryptResult(byte[] cipherText,
EncryptionAlgorithm algorithm,
String keyId)
cipherText - The encrypted content.algorithm - The algorithm used to encrypt the content.keyId - The identifier of the key usd for the encryption operation.public String getKeyId()
public byte[] getCipherText()
public EncryptionAlgorithm getAlgorithm()
Copyright © 2021 Microsoft Corporation. All rights reserved.