Top Constructors Methods
org.bouncycastle.cert.selector.jcajce

public Class JcaX509CertificateHolderSelector

extends X509CertificateHolderSelector
Class Inheritance
Imports
java.math.BigInteger, java.security.cert.X509Certificate, javax.security.auth.x500.X500Principal, org.bouncycastle.asn1.ASN1OctetString, org.bouncycastle.asn1.x500.X500Name, org.bouncycastle.asn1.x509.Extension, org.bouncycastle.cert.selector.X509CertificateHolderSelector

Constructor Summary

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

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

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

Construct a signer identifier based on the provided issuer and serial number..

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

Construct a signer identifier based on the provided issuer, serial number, and subjectKeyId..

Method Summary

Modifier and TypeMethod and Description
private static X500Name
private static byte[]
Inherited from org.bouncycastle.cert.selector.X509CertificateHolderSelector:
cloneequalsgetIssuergetSerialNumbergetSubjectKeyIdentifierhashCodematch

Constructor Detail

JcaX509CertificateHolderSelectorback to summary
public JcaX509CertificateHolderSelector(X509Certificate certificate)

Construct a signer identifier 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.

JcaX509CertificateHolderSelectorback to summary
public JcaX509CertificateHolderSelector(X500Principal issuer, BigInteger serialNumber)

Construct a signer identifier based on the provided issuer and serial number..

Parameters
issuer:X500Principal

the issuer to use.

serialNumber:BigInteger

the serial number to use.

JcaX509CertificateHolderSelectorback to summary
public JcaX509CertificateHolderSelector(X500Principal issuer, BigInteger serialNumber, byte[] subjectKeyId)

Construct a signer identifier 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)
getSubjectKeyIdback to summary
private static byte[] getSubjectKeyId(X509Certificate cert)