Package org.bouncycastle.oer.its
Class CertificateBase
java.lang.Object
org.bouncycastle.asn1.ASN1Object
org.bouncycastle.oer.its.CertificateBase
- All Implemented Interfaces:
org.bouncycastle.asn1.ASN1Encodable
,org.bouncycastle.util.Encodable
- Direct Known Subclasses:
ExplicitCertificate
,ImplicitCertificate
public class CertificateBase
extends org.bouncycastle.asn1.ASN1Object
CertificateBase ::= SEQUENCE { version Uint8(3), type CertificateType, issuer IssuerIdentifier, toBeSigned ToBeSignedCertificate, signature Signature OPTIONAL }
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionCertificateBase
(org.bouncycastle.asn1.ASN1Integer version, CertificateType type, IssuerIdentifier issuer, ToBeSignedCertificate toBeSignedCertificate, Signature signature) -
Method Summary
Modifier and TypeMethodDescriptionstatic CertificateBase.Builder
builder()
static CertificateBase
getType()
org.bouncycastle.asn1.ASN1Integer
org.bouncycastle.asn1.ASN1Primitive
Methods inherited from class org.bouncycastle.asn1.ASN1Object
encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
-
Constructor Details
-
CertificateBase
public CertificateBase(org.bouncycastle.asn1.ASN1Integer version, CertificateType type, IssuerIdentifier issuer, ToBeSignedCertificate toBeSignedCertificate, Signature signature)
-
-
Method Details
-
getInstance
-
builder
-
getVersion
public org.bouncycastle.asn1.ASN1Integer getVersion() -
getType
-
getIssuer
-
getToBeSignedCertificate
-
getSignature
-
toASN1Primitive
public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()- Specified by:
toASN1Primitive
in interfaceorg.bouncycastle.asn1.ASN1Encodable
- Specified by:
toASN1Primitive
in classorg.bouncycastle.asn1.ASN1Object
-