Package org.bouncycastle.cms.jcajce
Class JceKeyTransRecipientId
- java.lang.Object
-
- org.bouncycastle.cms.RecipientId
-
- org.bouncycastle.cms.KeyTransRecipientId
-
- org.bouncycastle.cms.jcajce.JceKeyTransRecipientId
-
- All Implemented Interfaces:
java.lang.Cloneable
,org.bouncycastle.util.Selector
public class JceKeyTransRecipientId extends KeyTransRecipientId
-
-
Field Summary
-
Fields inherited from class org.bouncycastle.cms.RecipientId
kek, keyAgree, keyTrans, password
-
-
Constructor Summary
Constructors Constructor Description JceKeyTransRecipientId(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.JceKeyTransRecipientId(javax.security.auth.x500.X500Principal issuer, java.math.BigInteger serialNumber)
Construct a recipient id based on the provided issuer and serial number..JceKeyTransRecipientId(javax.security.auth.x500.X500Principal issuer, java.math.BigInteger serialNumber, byte[] subjectKeyId)
Construct a recipient id based on the provided issuer, serial number, and subjectKeyId..
-
Method Summary
-
Methods inherited from class org.bouncycastle.cms.KeyTransRecipientId
clone, equals, getIssuer, getSerialNumber, getSubjectKeyIdentifier, hashCode, match
-
Methods inherited from class org.bouncycastle.cms.RecipientId
getType
-
-
-
-
Constructor Detail
-
JceKeyTransRecipientId
public JceKeyTransRecipientId(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.
-
JceKeyTransRecipientId
public JceKeyTransRecipientId(javax.security.auth.x500.X500Principal 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.
-
JceKeyTransRecipientId
public JceKeyTransRecipientId(javax.security.auth.x500.X500Principal 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.
-
-