Package org.bouncycastle.asn1.x509
Class DeltaCertificateDescriptor
- java.lang.Object
-
- org.bouncycastle.asn1.ASN1Object
-
- org.bouncycastle.asn1.x509.DeltaCertificateDescriptor
-
- All Implemented Interfaces:
ASN1Encodable
,Encodable
public class DeltaCertificateDescriptor extends ASN1Object
DeltaCertificateDescriptor ::= SEQUENCE { serialNumber CertificateSerialNumber, signature [0] IMPLICIT AlgorithmIdentifier {SIGNATURE_ALGORITHM, {[]}} OPTIONAL, issuer [1] IMPLICIT Name OPTIONAL, validity [2] IMPLICIT Validity OPTIONAL, subject [3] IMPLICIT Name OPTIONAL, subjectPublicKeyInfo SubjectPublicKeyInfo, extensions [4] IMPLICIT Extensions{CertExtensions} OPTIONAL, signatureValue BIT STRING }
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeltaCertificateDescriptor
fromExtensions(Extensions extensions)
Retrieve a DeltaCertificateDescriptor for a passed in Extensions object, if present.Extensions
getExtensions()
static DeltaCertificateDescriptor
getInstance(java.lang.Object obj)
X500Name
getIssuer()
ASN1Integer
getSerialNumber()
AlgorithmIdentifier
getSignature()
ASN1BitString
getSignatureValue()
X500Name
getSubject()
SubjectPublicKeyInfo
getSubjectPublicKeyInfo()
ASN1Sequence
getValidity()
ASN1Primitive
toASN1Primitive()
Method providing a primitive representation of this object suitable for encoding.DeltaCertificateDescriptor
trimTo(TBSCertificate baseTbsCertificate, Extensions tbsExtensions)
-
Methods inherited from class org.bouncycastle.asn1.ASN1Object
encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
-
-
-
-
Method Detail
-
getInstance
public static DeltaCertificateDescriptor getInstance(java.lang.Object obj)
-
fromExtensions
public static DeltaCertificateDescriptor fromExtensions(Extensions extensions)
Retrieve a DeltaCertificateDescriptor for a passed in Extensions object, if present.- Parameters:
extensions
- the extensions object to be examined.- Returns:
- the DeltaCertificateDescriptor, null if the extension is not present.
-
getSerialNumber
public ASN1Integer getSerialNumber()
-
getSignature
public AlgorithmIdentifier getSignature()
-
getIssuer
public X500Name getIssuer()
-
getValidity
public ASN1Sequence getValidity()
-
getSubject
public X500Name getSubject()
-
getSubjectPublicKeyInfo
public SubjectPublicKeyInfo getSubjectPublicKeyInfo()
-
getExtensions
public Extensions getExtensions()
-
getSignatureValue
public ASN1BitString getSignatureValue()
-
trimTo
public DeltaCertificateDescriptor trimTo(TBSCertificate baseTbsCertificate, Extensions tbsExtensions)
-
toASN1Primitive
public ASN1Primitive toASN1Primitive()
Description copied from class:ASN1Object
Method providing a primitive representation of this object suitable for encoding.- Specified by:
toASN1Primitive
in interfaceASN1Encodable
- Specified by:
toASN1Primitive
in classASN1Object
- Returns:
- a primitive representation of this object.
-
-