public abstract class OciCryptoInputStream extends InputStream
OciCryptoInputStream holds the encrypted/decrypted stream.
| Modifier and Type | Field and Description |
|---|---|
protected com.oracle.bmc.encryption.internal.EncryptionHeader |
header |
| Constructor and Description |
|---|
OciCryptoInputStream(com.oracle.bmc.encryption.internal.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, skipprotected final com.oracle.bmc.encryption.internal.EncryptionHeader header
public OciCryptoInputStream(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 int read()
throws IOException
Reads a byte from the stream
read in class InputStreamIOExceptionCopyright © 2016–2021. All rights reserved.