java.lang.Object | ||
↳ | org.bouncycastle.cms.KeyAgreeRecipientInfoGenerator | |
↳ | org.bouncycastle.cms.jcajce.JceKeyAgreeRecipientInfoGenerator |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Add a recipient based on the passed in certificate's public key and its issuer and serial number.
| |||||||||||
Add a recipient identified by the passed in subjectKeyID and the for the passed in public key.
| |||||||||||
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.bouncycastle.cms.KeyAgreeRecipientInfoGenerator
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
org.bouncycastle.cms.RecipientInfoGenerator
|
CMSException |
---|
Add a recipient based on the passed in certificate's public key and its issuer and serial number.
recipientCert | recipient's certificate |
---|
CertificateEncodingException | if the necessary data cannot be extracted from the certificate. |
---|
Add a recipient identified by the passed in subjectKeyID and the for the passed in public key.
subjectKeyID | identifier actual recipient will use to match the private key. |
---|---|
publicKey | the public key for encrypting the secret key. |
CertificateEncodingException |
---|
CMSException |
---|