Bouncy Castle Cryptography Library 1.79

org.bouncycastle.cms.jcajce
Class JceKEMRecipientId

java.lang.Object
  |
  +--org.bouncycastle.cms.RecipientId
        |
        +--org.bouncycastle.cms.PKIXRecipientId
              |
              +--org.bouncycastle.cms.KEMRecipientId
                    |
                    +--org.bouncycastle.cms.jcajce.JceKEMRecipientId
All Implemented Interfaces:
java.lang.Cloneable, org.bouncycastle.util.Selector

public class JceKEMRecipientId
extends KEMRecipientId


Fields inherited from class org.bouncycastle.cms.PKIXRecipientId
baseSelector
 
Fields inherited from class org.bouncycastle.cms.RecipientId
kek, kem, keyAgree, keyTrans, password
 
Constructor Summary
JceKEMRecipientId(java.security.cert.X509Certificate certificate)
          Construct a recipient id based on the issuer, serial number and subject key identifier (if present) of the passed in certificate.
JceKEMRecipientId(org.bouncycastle.jce.X509Principal issuer, java.math.BigInteger serialNumber)
          Construct a recipient id based on the provided issuer and serial number..
JceKEMRecipientId(org.bouncycastle.jce.X509Principal issuer, java.math.BigInteger serialNumber, byte[] subjectKeyId)
          Construct a recipient id based on the provided issuer, serial number, and subjectKeyId..
 
Methods inherited from class org.bouncycastle.cms.KEMRecipientId
clone, match
 
Methods inherited from class org.bouncycastle.cms.PKIXRecipientId
equals, getIssuer, getSerialNumber, getSubjectKeyIdentifier, hashCode
 
Methods inherited from class org.bouncycastle.cms.RecipientId
getType
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JceKEMRecipientId

public JceKEMRecipientId(java.security.cert.X509Certificate certificate)
Construct a recipient id based on the issuer, serial number and subject key identifier (if present) of the passed in certificate.
Parameters:
certificate - certificate providing the issue and serial number and subject key identifier.

JceKEMRecipientId

public JceKEMRecipientId(org.bouncycastle.jce.X509Principal issuer,
                         java.math.BigInteger serialNumber)
Construct a recipient id based on the provided issuer and serial number..
Parameters:
issuer - the issuer to use.
serialNumber - the serial number to use.

JceKEMRecipientId

public JceKEMRecipientId(org.bouncycastle.jce.X509Principal issuer,
                         java.math.BigInteger serialNumber,
                         byte[] subjectKeyId)
Construct a recipient id based on the provided issuer, serial number, and subjectKeyId..
Parameters:
issuer - the issuer to use.
serialNumber - the serial number to use.
subjectKeyId - the subject key ID to use.

Bouncy Castle Cryptography Library 1.79