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] 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
Modifier and TypeMethodDescriptionstatic DeltaCertificateDescriptorfromExtensions(Extensions extensions) Retrieve a DeltaCertificateDescriptor for a passed in Extensions object, if present.static DeltaCertificateDescriptorgetInstance(Object obj) Method providing a primitive representation of this object suitable for encoding.trimTo(TBSCertificate baseTbsCertificate, Extensions tbsExtensions) Methods inherited from class org.bouncycastle.asn1.ASN1Object
encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
-
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
-
getSubject
-
getSubjectPublicKeyInfo
-
getExtensions
-
getSignatureValue
-
trimTo
public DeltaCertificateDescriptor trimTo(TBSCertificate baseTbsCertificate, Extensions tbsExtensions) -
toASN1Primitive
Description copied from class:ASN1ObjectMethod providing a primitive representation of this object suitable for encoding.- Specified by:
toASN1Primitivein interfaceASN1Encodable- Specified by:
toASN1Primitivein classASN1Object- Returns:
- a primitive representation of this object.
-