public abstract class OciCryptoInputStream extends InputStream
OciCryptoInputStream holds the encrypted/decrypted stream.
Modifier and Type | Field and Description |
---|---|
protected EncryptionHeader |
header |
Constructor and Description |
---|
OciCryptoInputStream(EncryptionHeader header) |
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
getContext()
Get the encryption Context.
|
int |
read()
Reads a byte from the stream
|
available, close, mark, markSupported, read, read, reset, skip
protected final EncryptionHeader header
public OciCryptoInputStream(EncryptionHeader header)
public Map<String,String> getContext()
Get the encryption Context. It can be used to verify the Additional Authenticated Data.
public int read() throws IOException
Reads a byte from the stream
read
in class InputStream
IOException
Copyright © 2016–2024. All rights reserved.