Package org.bouncycastle.cert
Class DeltaCertificateDescriptor
java.lang.Object
org.bouncycastle.asn1.ASN1Object
org.bouncycastle.cert.DeltaCertificateDescriptor
- All Implemented Interfaces:
org.bouncycastle.asn1.ASN1Encodable,org.bouncycastle.util.Encodable
public class DeltaCertificateDescriptor
extends org.bouncycastle.asn1.ASN1Object
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
}
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.bouncycastle.asn1.ASN1ObjectIdentifier -
Constructor Summary
ConstructorsConstructorDescriptionDeltaCertificateDescriptor(org.bouncycastle.asn1.ASN1Integer serialNumber, org.bouncycastle.asn1.x509.AlgorithmIdentifier signature, org.bouncycastle.asn1.x500.X500Name issuer, Validity validity, org.bouncycastle.asn1.x500.X500Name subject, org.bouncycastle.asn1.x509.SubjectPublicKeyInfo subjectPublicKeyInfo, org.bouncycastle.asn1.x509.Extensions extensions, org.bouncycastle.asn1.ASN1BitString signatureValue) -
Method Summary
Modifier and TypeMethodDescriptionstatic DeltaCertificateDescriptorfromExtensions(org.bouncycastle.asn1.x509.Extensions extensions) Retrieve a DeltaCertificateDescriptor for a passed in Extensions object, if present.org.bouncycastle.asn1.x509.Extensionsstatic DeltaCertificateDescriptorgetInstance(Object obj) org.bouncycastle.asn1.x500.X500Nameorg.bouncycastle.asn1.ASN1Integerorg.bouncycastle.asn1.x509.AlgorithmIdentifierorg.bouncycastle.asn1.ASN1BitStringorg.bouncycastle.asn1.x500.X500Nameorg.bouncycastle.asn1.x509.SubjectPublicKeyInfoorg.bouncycastle.asn1.ASN1Sequenceorg.bouncycastle.asn1.ASN1Primitivestatic DeltaCertificateDescriptortrimDeltaCertificateDescriptor(DeltaCertificateDescriptor descriptor, org.bouncycastle.asn1.x509.TBSCertificate tbsCertificate, org.bouncycastle.asn1.x509.Extensions tbsExtensions) Methods inherited from class org.bouncycastle.asn1.ASN1Object
encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
-
Field Details
-
deltaCertificateDescriptor
public static final org.bouncycastle.asn1.ASN1ObjectIdentifier deltaCertificateDescriptor
-
-
Constructor Details
-
DeltaCertificateDescriptor
public DeltaCertificateDescriptor(org.bouncycastle.asn1.ASN1Integer serialNumber, org.bouncycastle.asn1.x509.AlgorithmIdentifier signature, org.bouncycastle.asn1.x500.X500Name issuer, Validity validity, org.bouncycastle.asn1.x500.X500Name subject, org.bouncycastle.asn1.x509.SubjectPublicKeyInfo subjectPublicKeyInfo, org.bouncycastle.asn1.x509.Extensions extensions, org.bouncycastle.asn1.ASN1BitString signatureValue)
-
-
Method Details
-
getInstance
-
fromExtensions
public static DeltaCertificateDescriptor fromExtensions(org.bouncycastle.asn1.x509.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 org.bouncycastle.asn1.ASN1Integer getSerialNumber() -
getSignature
public org.bouncycastle.asn1.x509.AlgorithmIdentifier getSignature() -
getIssuer
public org.bouncycastle.asn1.x500.X500Name getIssuer() -
getValidity
public org.bouncycastle.asn1.ASN1Sequence getValidity() -
getSubject
public org.bouncycastle.asn1.x500.X500Name getSubject() -
getSubjectPublicKeyInfo
public org.bouncycastle.asn1.x509.SubjectPublicKeyInfo getSubjectPublicKeyInfo() -
getExtensions
public org.bouncycastle.asn1.x509.Extensions getExtensions() -
getSignatureValue
public org.bouncycastle.asn1.ASN1BitString getSignatureValue() -
trimDeltaCertificateDescriptor
public static DeltaCertificateDescriptor trimDeltaCertificateDescriptor(DeltaCertificateDescriptor descriptor, org.bouncycastle.asn1.x509.TBSCertificate tbsCertificate, org.bouncycastle.asn1.x509.Extensions tbsExtensions) -
toASN1Primitive
public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()- Specified by:
toASN1Primitivein interfaceorg.bouncycastle.asn1.ASN1Encodable- Specified by:
toASN1Primitivein classorg.bouncycastle.asn1.ASN1Object
-