Class OciCryptoResult


  • public class OciCryptoResult
    extends Object
    OciCryptoResult holds the encryption/decryption output.
    • 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