Package org.bouncycastle.asn1.crmf
Class CertId
java.lang.Object
org.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.crmf.CertId
- All Implemented Interfaces:
org.bouncycastle.asn1.ASN1Encodable
,org.bouncycastle.util.Encodable
public class CertId
extends org.bouncycastle.asn1.ASN1Object
-
Constructor Summary
ConstructorDescriptionCertId
(org.bouncycastle.asn1.x509.GeneralName issuer, BigInteger serialNumber) CertId
(org.bouncycastle.asn1.x509.GeneralName issuer, org.bouncycastle.asn1.ASN1Integer serialNumber) -
Method Summary
Modifier and TypeMethodDescriptionstatic CertId
static CertId
getInstance
(org.bouncycastle.asn1.ASN1TaggedObject obj, boolean isExplicit) org.bouncycastle.asn1.x509.GeneralName
org.bouncycastle.asn1.ASN1Integer
org.bouncycastle.asn1.ASN1Primitive
CertId ::= SEQUENCE { issuer GeneralName, serialNumber INTEGER }Methods inherited from class org.bouncycastle.asn1.ASN1Object
encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
-
Constructor Details
-
CertId
-
CertId
public CertId(org.bouncycastle.asn1.x509.GeneralName issuer, org.bouncycastle.asn1.ASN1Integer serialNumber)
-
-
Method Details
-
getInstance
-
getInstance
-
getIssuer
public org.bouncycastle.asn1.x509.GeneralName getIssuer() -
getSerialNumber
public org.bouncycastle.asn1.ASN1Integer getSerialNumber() -
toASN1Primitive
public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()CertId ::= SEQUENCE { issuer GeneralName, serialNumber INTEGER }
- Specified by:
toASN1Primitive
in interfaceorg.bouncycastle.asn1.ASN1Encodable
- Specified by:
toASN1Primitive
in classorg.bouncycastle.asn1.ASN1Object
- Returns:
- a basic ASN.1 object representation.
-