Known Direct Subclasses
|
Class Overview
Builder for EncryptedValue structures.
Summary
Public Methods |
EncryptedValue
|
build(char[] revocationPassphrase)
Build an EncryptedValue structure containing the passed in pass phrase.
|
EncryptedValue
|
build(X509CertificateHolder holder)
Build an EncryptedValue structure containing the certificate contained in
the passed in holder.
|
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
Public Constructors
public
EncryptedValueBuilder
(KeyWrapper wrapper, OutputEncryptor encryptor)
Create a builder that makes EncryptedValue structures.
Parameters
wrapper
| a wrapper for key used to encrypt the actual data contained in the EncryptedValue. |
encryptor
| an output encryptor to encrypt the actual data contained in the EncryptedValue.
|
Create a builder that makes EncryptedValue structures with fixed length blocks padded using the passed in padder.
Parameters
wrapper
| a wrapper for key used to encrypt the actual data contained in the EncryptedValue. |
encryptor
| an output encryptor to encrypt the actual data contained in the EncryptedValue. |
padder
| a padder to ensure that the EncryptedValue created will always be a constant length.
|
Public Methods
public
EncryptedValue
build
(char[] revocationPassphrase)
Build an EncryptedValue structure containing the passed in pass phrase.
Parameters
revocationPassphrase
| a revocation pass phrase. |
Returns
- an EncryptedValue containing the encrypted pass phrase.
Throws
CRMFException
| on a failure to encrypt the data, or wrap the symmetric key for this value.
|
Build an EncryptedValue structure containing the certificate contained in
the passed in holder.
Parameters
holder
| a holder containing a certificate. |
Returns
- an EncryptedValue containing the encrypted certificate.
Throws
CRMFException
| on a failure to encrypt the data, or wrap the symmetric key for this value.
|