public class OciCryptoResult extends Object
OciCryptoResult holds the encryption/decryption output.
Constructor and Description |
---|
OciCryptoResult(byte[] result,
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, 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–2024. All rights reserved.