Package org.bouncycastle.asn1.x509
Class DeltaCertificateDescriptor
java.lang.Object
org.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.x509.DeltaCertificateDescriptor
- All Implemented Interfaces:
ASN1Encodable
,Encodable
DeltaCertificateDescriptor ::= SEQUENCE { serialNumber CertificateSerialNumber, signature [0] EXPLICIT AlgorithmIdentifier {SIGNATURE_ALGORITHM, {...}} OPTIONAL, issuer [1] EXPLICIT Name OPTIONAL, validity [2] EXPLICIT Validity OPTIONAL, subject [3] EXPLICIT Name OPTIONAL, subjectPublicKeyInfo SubjectPublicKeyInfo, extensions [4] EXPLICIT Extensions{CertExtensions} OPTIONAL, signatureValue BIT STRING }
-
Constructor Summary
ConstructorsConstructorDescriptionDeltaCertificateDescriptor
(ASN1Integer serialNumber, AlgorithmIdentifier signature, X500Name issuer, Validity validity, X500Name subject, SubjectPublicKeyInfo subjectPublicKeyInfo, Extensions extensions, ASN1BitString signatureValue) -
Method Summary
Modifier and TypeMethodDescriptionstatic DeltaCertificateDescriptor
fromExtensions
(Extensions extensions) Retrieve a DeltaCertificateDescriptor for a passed in Extensions object, if present.static DeltaCertificateDescriptor
getInstance
(Object obj) Deprecated.Use getValidityObject instead.Method providing a primitive representation of this object suitable for encoding.trimTo
(TBSCertificate baseTbsCertificate, Extensions tbsExtensions) Deprecated.Use DeltaCertificateTool#trimDeltaCertificateDescriptor instead.Methods inherited from class org.bouncycastle.asn1.ASN1Object
encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
-
Constructor Details
-
DeltaCertificateDescriptor
public DeltaCertificateDescriptor(ASN1Integer serialNumber, AlgorithmIdentifier signature, X500Name issuer, Validity validity, X500Name subject, SubjectPublicKeyInfo subjectPublicKeyInfo, Extensions extensions, ASN1BitString signatureValue)
-
-
Method Details
-
getInstance
-
fromExtensions
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
-
getSignature
-
getIssuer
-
getValidity
Deprecated.Use getValidityObject instead. -
getValidityObject
-
getSubject
-
getSubjectPublicKeyInfo
-
getExtensions
-
getSignatureValue
-
trimTo
public DeltaCertificateDescriptor trimTo(TBSCertificate baseTbsCertificate, Extensions tbsExtensions) Deprecated.Use DeltaCertificateTool#trimDeltaCertificateDescriptor instead. -
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.
-