Top Constructors Methods
org.bouncycastle.cms.jcajce

public Class JceKeyTransRecipientId

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

Constructor Summary

AccessConstructor and Description
public
JceKeyTransRecipientId(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
JceKeyTransRecipientId(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
JceKeyTransRecipientId(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.KeyTransRecipientId:
cloneequalsmatch

Constructor Detail

JceKeyTransRecipientIdback to summary
public JceKeyTransRecipientId(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.

JceKeyTransRecipientIdback to summary
public JceKeyTransRecipientId(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.

JceKeyTransRecipientIdback to summary
public JceKeyTransRecipientId(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)