| Modifier and Type | Field and Description |
|---|---|
| private static final short[] |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static AEADBlockCipher | |
| private static BufferedBlockCipher | |
| public static Object | Returns: a StreamCipher or a BufferedBlockCipher depending on the algorithm.true if the cipher is for encryption, false otherwise. forEncryption, CipherParameters the basic key to use. encKey, AlgorithmIdentifier identifying algorithm OID and parameters to use. encryptionAlgID)Create a content cipher for encrypting bulk data. |
| public static CipherOutputStream | Returns: a BC CipherOutputStream using the cipher and writing to dOut.the output stream to write the processed data to. dOut, Object the cipher to use. cipher)Return a new CipherOutputStream based on the passed in cipher. |
| rc2Ekb | back to summary |
|---|---|
| private static final short[] rc2Ekb | |
| CipherFactory | back to summary |
|---|---|
| public CipherFactory() | |
| createAEADCipher | back to summary |
|---|---|
| private static AEADBlockCipher createAEADCipher(ASN1ObjectIdentifier algorithm) | |
| createCipher | back to summary |
|---|---|
| private static BufferedBlockCipher createCipher(ASN1ObjectIdentifier algorithm) throws IllegalArgumentException | |
| createContentCipher | back to summary |
|---|---|
| public static Object createContentCipher(boolean forEncryption, CipherParameters encKey, AlgorithmIdentifier encryptionAlgID) throws IllegalArgumentException Create a content cipher for encrypting bulk data.
| |
| createOutputStream | back to summary |
|---|---|
| public static CipherOutputStream createOutputStream(OutputStream dOut, Object cipher) Return a new CipherOutputStream based on the passed in cipher.
| |