DecryptResult Class
- java.
lang. Object - com.
azure. security. keyvault. keys. cryptography. models. DecryptResult
- com.
public final class DecryptResult
Represents the details of decrypt operation result.
Constructor Summary
Constructor | Description |
---|---|
DecryptResult(byte[] plaintext, EncryptionAlgorithm algorithm, String keyId) |
Creates the instance of Decrypt Result holding decrypted content. |
Method Summary
Modifier and Type | Method and Description |
---|---|
Encryption |
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. |
Methods inherited from java.lang.Object
Constructor Details
DecryptResult
public DecryptResult(byte[] plaintext, EncryptionAlgorithm algorithm, String keyId)
Creates the instance of Decrypt Result holding decrypted content.
Parameters:
Method Details
getAlgorithm
public EncryptionAlgorithm getAlgorithm()
Get the algorithm used for decryption.
Returns:
getKeyId
public String getKeyId()
Get the identifier of the key used for the decryption operation
Returns:
getPlainText
public byte[] getPlainText()
Get the encrypted content.
Returns:
Applies to
Azure SDK for Java