| Modifier and Type | Field and Description |
|---|---|
| private CMSEnvelopedDataGenerator | |
| private CMSProcessableByteArray |
| Access | Constructor and Description |
|---|---|
| public | PKIArchiveControlBuilder(PrivateKeyInfo
the private key to be archived. privateKeyInfo, GeneralName the general name to be associated with the private key. generalName)Basic constructor - specify the contents of the PKIArchiveControl structure. |
| Modifier and Type | Method and Description |
|---|---|
| public PKIArchiveControlBuilder | Returns: this builder object.recipient generator created for a specific recipient. recipientGen)Add a recipient generator to this control. |
| public PKIArchiveControl | Returns: a PKIArchiveControl object.a suitable content encryptor. contentEncryptor)Build the PKIArchiveControl using the passed in encryptor to encrypt its contents. |
| envGen | back to summary |
|---|---|
| private CMSEnvelopedDataGenerator envGen | |
| keyContent | back to summary |
|---|---|
| private CMSProcessableByteArray keyContent | |
| PKIArchiveControlBuilder | back to summary |
|---|---|
| public PKIArchiveControlBuilder(PrivateKeyInfo privateKeyInfo, GeneralName generalName) Basic constructor - specify the contents of the PKIArchiveControl structure.
| |
| addRecipientGenerator | back to summary |
|---|---|
| public PKIArchiveControlBuilder addRecipientGenerator(RecipientInfoGenerator recipientGen) Add a recipient generator to this control.
| |
| build | back to summary |
|---|---|
| public PKIArchiveControl build(OutputEncryptor contentEncryptor) throws CMSException Build the PKIArchiveControl using the passed in encryptor to encrypt its contents.
| |