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
}
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
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.
- Overrides:
toASN1Primitive
in class ASN1Object
- Following copied from class:
org.bouncycastle.asn1.ASN1Object
- Returns:
- a primitive representation of this object.