| Modifier and Type | Field and Description |
|---|---|
| private final AlgorithmIdentifier | |
| private final Cipher | |
| private InputStream |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| private static boolean | |
| public OutputStream | getAADStream()
Implements org. Return a stream to write associated data to in order to have it incorporated into the AEAD cipher's MAC. |
| public AlgorithmIdentifier | getAlgorithmIdentifier()
Implements org. Return the algorithm identifier describing the encryption algorithm and parameters this decryptor can process. |
| public InputStream | getInputStream(InputStream
InputStream containing encrypted input. dataIn)Implements org. Wrap the passed in input stream encIn, returning an input stream that decrypts what it reads from encIn before returning it. |
| public byte[] | getMAC()
Implements org. Return the final value of AEAD cipher's MAC. |
| contentEncryptionAlgorithm | back to summary |
|---|---|
| private final AlgorithmIdentifier contentEncryptionAlgorithm | |
| dataCipher | back to summary |
|---|---|
| private final Cipher dataCipher | |
| inputStream | back to summary |
|---|---|
| private InputStream inputStream | |
| CMSInputAEADDecryptor | back to summary |
|---|---|
| pack-priv CMSInputAEADDecryptor(AlgorithmIdentifier contentEncryptionAlgorithm, Cipher dataCipher) | |
| checkForAEAD | back to summary |
|---|---|
| private static boolean checkForAEAD() | |
| getAADStream | back to summary |
|---|---|
| public OutputStream getAADStream() Implements org. Doc from org. Return a stream to write associated data to in order to have it incorporated into the AEAD cipher's MAC.
| |
| getAlgorithmIdentifier | back to summary |
|---|---|
| public AlgorithmIdentifier getAlgorithmIdentifier() Implements org. Doc from org. Return the algorithm identifier describing the encryption algorithm and parameters this decryptor can process.
| |
| getInputStream | back to summary |
|---|---|
| public InputStream getInputStream(InputStream dataIn) Implements org. Doc from org. Wrap the passed in input stream encIn, returning an input stream that decrypts what it reads from encIn before returning it.
| |
| getMAC | back to summary |
|---|---|
| public byte[] getMAC() Implements org. Doc from org. Return the final value of AEAD cipher's MAC.
| |