Top Constructors Methods
org.bouncycastle.cms.jcajce

public Class JceKEMRecipientId

extends KEMRecipientId
Class Inheritance
Imports
java.math.BigInteger, java.security.cert.X509Certificate, javax.security.auth.x500.X500Principal, org.bouncycastle.asn1.x500.X500Name, org.bouncycastle.cms.KEMRecipientId

Constructor Summary

AccessConstructor and Description
public
JceKEMRecipientId(X509Certificate
certificate providing the issue and serial number and subject key identifier.
certificate
)

Construct a recipient id based on the issuer, serial number and subject key identifier (if present) of the passed in certificate.

public
JceKEMRecipientId(X500Principal
the issuer to use.
issuer
,
BigInteger
the serial number to use.
serialNumber
)

Construct a recipient id based on the provided issuer and serial number..

public
JceKEMRecipientId(X500Principal
the issuer to use.
issuer
,
BigInteger
the serial number to use.
serialNumber
,
byte[]
the subject key ID to use.
subjectKeyId
)

Construct a recipient id based on the provided issuer, serial number, and subjectKeyId..

Method Summary

Modifier and TypeMethod and Description
private static X500Name
Inherited from org.bouncycastle.cms.KEMRecipientId:
clonematch

Constructor Detail

JceKEMRecipientIdback to summary
public JceKEMRecipientId(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:X509Certificate

certificate providing the issue and serial number and subject key identifier.

JceKEMRecipientIdback to summary
public JceKEMRecipientId(X500Principal issuer, BigInteger serialNumber)

Construct a recipient id based on the provided issuer and serial number..

Parameters
issuer:X500Principal

the issuer to use.

serialNumber:BigInteger

the serial number to use.

JceKEMRecipientIdback to summary
public JceKEMRecipientId(X500Principal issuer, BigInteger serialNumber, byte[] subjectKeyId)

Construct a recipient id based on the provided issuer, serial number, and subjectKeyId..

Parameters
issuer:X500Principal

the issuer to use.

serialNumber:BigInteger

the serial number to use.

subjectKeyId:byte[]

the subject key ID to use.

Method Detail

convertPrincipalback to summary
private static X500Name convertPrincipal(X500Principal issuer)