Top Constructors Methods
org.bouncycastle.cms.jcajce

public Class JcaSignerId

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

Constructor Summary

AccessConstructor and Description
public
JcaSignerId(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
JcaSignerId(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
JcaSignerId(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
Inherited from org.bouncycastle.cms.SignerId:
cloneequalsgetIssuergetSerialNumbergetSubjectKeyIdentifierhashCodematch

Constructor Detail

JcaSignerIdback to summary
public JcaSignerId(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.

JcaSignerIdback to summary
public JcaSignerId(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.

JcaSignerIdback to summary
public JcaSignerId(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)