public class OciCryptoResult extends Object
OciCryptoResult holds the encryption/decryption output.
| Constructor and Description |
|---|
OciCryptoResult(byte[] result,
com.oracle.bmc.encryption.internal.EncryptionHeader header) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
getContext()
Get the encryption context.
|
byte[] |
getResult()
Returns the encrypted or decrypted bytes associated with this OciCryptoResult.
|
public OciCryptoResult(byte[] result,
com.oracle.bmc.encryption.internal.EncryptionHeader header)
public Map<String,String> getContext()
Get the encryption context. It can be used to verify the Additional Authenticated Data.
public byte[] getResult()
Returns the encrypted or decrypted bytes associated with this OciCryptoResult.
Copyright © 2016–2021. All rights reserved.