| Modifier and Type | Class and Description |
|---|---|
| private class |
| Modifier and Type | Field and Description |
|---|---|
| private final ASN1ObjectIdentifier | |
| private CRMFHelper | |
| private static final SecretKeySizeProvider | |
| private final int | |
| private SecureRandom |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public OutputEncryptor | |
| public JceCRMFEncryptorBuilder | |
| public JceCRMFEncryptorBuilder | |
| public JceCRMFEncryptorBuilder |
| encryptionOID | back to summary |
|---|---|
| private final ASN1ObjectIdentifier encryptionOID | |
| helper | back to summary |
|---|---|
| private CRMFHelper helper | |
| KEY_SIZE_PROVIDER | back to summary |
|---|---|
| private static final SecretKeySizeProvider KEY_SIZE_PROVIDER | |
| keySize | back to summary |
|---|---|
| private final int keySize | |
| random | back to summary |
|---|---|
| private SecureRandom random | |
| JceCRMFEncryptorBuilder | back to summary |
|---|---|
| public JceCRMFEncryptorBuilder(ASN1ObjectIdentifier encryptionOID) | |
| JceCRMFEncryptorBuilder | back to summary |
|---|---|
| public JceCRMFEncryptorBuilder(ASN1ObjectIdentifier encryptionOID, int keySize) | |
| build | back to summary |
|---|---|
| public OutputEncryptor build() throws CRMFException | |
| setProvider | back to summary |
|---|---|
| public JceCRMFEncryptorBuilder setProvider(Provider provider) | |
| setProvider | back to summary |
|---|---|
| public JceCRMFEncryptorBuilder setProvider(String providerName) | |
| setSecureRandom | back to summary |
|---|---|
| public JceCRMFEncryptorBuilder setSecureRandom(SecureRandom random) | |
| Modifier and Type | Field and Description |
|---|---|
| private AlgorithmIdentifier | |
| private Cipher | |
| private SecretKey |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public AlgorithmIdentifier | getAlgorithmIdentifier()
Implements org. Return the algorithm identifier describing the encryption algorithm and parameters this encryptor uses. |
| public GenericKey | getKey()
Implements org. Return the key used for encrypting the output. |
| public OutputStream | getOutputStream(OutputStream
output stream for encrypted output. dOut)Implements org. Wrap the passed in output stream encOut, returning an output stream that encrypts anything passed in before sending on to encOut. |
| algorithmIdentifier | back to summary |
|---|---|
| private AlgorithmIdentifier algorithmIdentifier | |
| cipher | back to summary |
|---|---|
| private Cipher cipher | |
| encKey | back to summary |
|---|---|
| private SecretKey encKey | |
| CRMFOutputEncryptor | back to summary |
|---|---|
| pack-priv CRMFOutputEncryptor(ASN1ObjectIdentifier encryptionOID, int keySize, SecureRandom random) throws CRMFException | |
| getAlgorithmIdentifier | back to summary |
|---|---|
| public AlgorithmIdentifier getAlgorithmIdentifier() Implements org. Doc from org. Return the algorithm identifier describing the encryption algorithm and parameters this encryptor uses.
| |
| getKey | back to summary |
|---|---|
| public GenericKey getKey() Implements org. Doc from org. Return the key used for encrypting the output.
| |
| getOutputStream | back to summary |
|---|---|
| public OutputStream getOutputStream(OutputStream dOut) Implements org. Doc from org. Wrap the passed in output stream encOut, returning an output stream that encrypts anything passed in before sending on to encOut.
| |