|
Bouncy Castle Cryptography 1.47 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.bouncycastle.cert.crmf.EncryptedValueBuilder
public class EncryptedValueBuilder
Builder for EncryptedValue structures.
| Constructor Summary | |
|---|---|
EncryptedValueBuilder(org.bouncycastle.operator.KeyWrapper wrapper,
org.bouncycastle.operator.OutputEncryptor encryptor)
Create a builder that makes EncryptedValue structures. |
|
EncryptedValueBuilder(org.bouncycastle.operator.KeyWrapper wrapper,
org.bouncycastle.operator.OutputEncryptor encryptor,
EncryptedValuePadder padder)
Create a builder that makes EncryptedValue structures with fixed length blocks padded using the passed in padder. |
|
| Method Summary | |
|---|---|
org.bouncycastle.asn1.crmf.EncryptedValue |
build(char[] revocationPassphrase)
Build an EncryptedValue structure containing the passed in pass phrase. |
org.bouncycastle.asn1.crmf.EncryptedValue |
build(X509CertificateHolder holder)
Build an EncryptedValue structure containing the certificate contained in the passed in holder. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EncryptedValueBuilder(org.bouncycastle.operator.KeyWrapper wrapper,
org.bouncycastle.operator.OutputEncryptor encryptor)
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.
public EncryptedValueBuilder(org.bouncycastle.operator.KeyWrapper wrapper,
org.bouncycastle.operator.OutputEncryptor encryptor,
EncryptedValuePadder padder)
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.| Method Detail |
|---|
public org.bouncycastle.asn1.crmf.EncryptedValue build(char[] revocationPassphrase)
throws CRMFException
revocationPassphrase - a revocation pass phrase.
CRMFException - on a failure to encrypt the data, or wrap the symmetric key for this value.
public org.bouncycastle.asn1.crmf.EncryptedValue build(X509CertificateHolder holder)
throws CRMFException
holder - a holder containing a certificate.
CRMFException - on a failure to encrypt the data, or wrap the symmetric key for this value.
|
Bouncy Castle Cryptography 1.47 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||