|
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.PKIArchiveControlBuilder
public class PKIArchiveControlBuilder
Builder for a PKIArchiveControl structure.
| Constructor Summary | |
|---|---|
PKIArchiveControlBuilder(org.bouncycastle.asn1.pkcs.PrivateKeyInfo privateKeyInfo,
org.bouncycastle.asn1.x509.GeneralName generalName)
Basic constructor - specify the contents of the PKIArchiveControl structure. |
|
| Method Summary | |
|---|---|
PKIArchiveControlBuilder |
addRecipientGenerator(RecipientInfoGenerator recipientGen)
Add a recipient generator to this control. |
PKIArchiveControl |
build(org.bouncycastle.operator.OutputEncryptor contentEncryptor)
Build the PKIArchiveControl using the passed in encryptor to encrypt its contents. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PKIArchiveControlBuilder(org.bouncycastle.asn1.pkcs.PrivateKeyInfo privateKeyInfo,
org.bouncycastle.asn1.x509.GeneralName generalName)
privateKeyInfo - the private key to be archived.generalName - the general name to be associated with the private key.| Method Detail |
|---|
public PKIArchiveControlBuilder addRecipientGenerator(RecipientInfoGenerator recipientGen)
recipientGen - recipient generator created for a specific recipient.
public PKIArchiveControl build(org.bouncycastle.operator.OutputEncryptor contentEncryptor)
throws CMSException
contentEncryptor - a suitable content encryptor.
CMSException - in the event the build fails.
|
Bouncy Castle Cryptography 1.47 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||