| Modifier and Type | Field and Description |
|---|---|
| private OutputEncryptor | |
| private EncryptedValuePadder | |
| private KeyWrapper |
| Access | Constructor and Description |
|---|---|
| public | EncryptedValueBuilder(KeyWrapper
a wrapper for key used to encrypt the actual data contained in the EncryptedValue. wrapper, OutputEncryptor an output encryptor to encrypt the actual data contained in the EncryptedValue. encryptor)Create a builder that makes EncryptedValue structures. |
| public | EncryptedValueBuilder(KeyWrapper
a wrapper for key used to encrypt the actual data contained in the EncryptedValue. wrapper, OutputEncryptor an output encryptor to encrypt the actual data contained in the EncryptedValue. encryptor, EncryptedValuePadder a padder to ensure that the EncryptedValue created will always be a constant length. padder)Create a builder that makes EncryptedValue structures with fixed length blocks padded using the passed in padder. |
| Modifier and Type | Method and Description |
|---|---|
| public EncryptedValue | Returns: an EncryptedValue containing the encrypted pass phrase.a revocation pass phrase. revocationPassphrase)Build an EncryptedValue structure containing the passed in pass phrase. |
| public EncryptedValue | Returns: an EncryptedValue containing the encrypted certificate.a holder containing a certificate. holder)Build an EncryptedValue structure containing the certificate contained in the passed in holder. |
| public EncryptedValue | Returns: an EncryptedValue containing an EncryptedPrivateKeyInfo structure.a PKCS#8 private key info structure. privateKeyInfo)Build an EncryptedValue structure containing the private key contained in the passed info structure. |
| private EncryptedValue | |
| private byte[] |
| encryptor | back to summary |
|---|---|
| private OutputEncryptor encryptor | |
| padder | back to summary |
|---|---|
| private EncryptedValuePadder padder | |
| wrapper | back to summary |
|---|---|
| private KeyWrapper wrapper | |
| EncryptedValueBuilder | back to summary |
|---|---|
| public EncryptedValueBuilder(KeyWrapper wrapper, OutputEncryptor encryptor) Create a builder that makes EncryptedValue structures.
| |
| EncryptedValueBuilder | back to summary |
|---|---|
| public EncryptedValueBuilder(KeyWrapper wrapper, OutputEncryptor encryptor, EncryptedValuePadder padder) Create a builder that makes EncryptedValue structures with fixed length blocks padded using the passed in padder.
| |
| build | back to summary |
|---|---|
| public EncryptedValue build(char[] revocationPassphrase) throws CRMFException Build an EncryptedValue structure containing the passed in pass phrase.
| |
| build | back to summary |
|---|---|
| public EncryptedValue build(X509CertificateHolder holder) throws CRMFException Build an EncryptedValue structure containing the certificate contained in the passed in holder.
| |
| build | back to summary |
|---|---|
| public EncryptedValue build(PrivateKeyInfo privateKeyInfo) throws CRMFException Build an EncryptedValue structure containing the private key contained in the passed info structure.
| |
| encryptData | back to summary |
|---|---|
| private EncryptedValue encryptData(byte[] data) throws CRMFException | |
| padData | back to summary |
|---|---|
| private byte[] padData(byte[] data) | |