Package com.oracle.bmc.encryption
Class OciCryptoResult
- java.lang.Object
-
- com.oracle.bmc.encryption.OciCryptoResult
-
public class OciCryptoResult extends Object
OciCryptoResult holds the encryption/decryption output.
-
-
Constructor Summary
Constructors Constructor Description OciCryptoResult(byte[] result, EncryptionHeader header)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,String>
getContext()
Get the encryption context.byte[]
getResult()
Returns the encrypted or decrypted bytes associated with this OciCryptoResult.
-
-
-
Constructor Detail
-
OciCryptoResult
public OciCryptoResult(byte[] result, EncryptionHeader header)
-
-
Method Detail
-
getContext
public Map<String,String> getContext()
Get the encryption context.It can be used to verify the Additional Authenticated Data.
- Returns:
- Map of strings.
-
getResult
public byte[] getResult()
Returns the encrypted or decrypted bytes associated with this OciCryptoResult.- Returns:
- bytes array
-
-