Class DeltaCertificateRequestAttributeValue
java.lang.Object
org.bouncycastle.pkcs.DeltaCertificateRequestAttributeValue
- All Implemented Interfaces:
org.bouncycastle.asn1.ASN1Encodable
public class DeltaCertificateRequestAttributeValue
extends Object
implements org.bouncycastle.asn1.ASN1Encodable
The delta certificate request attribute defined in
draft-bonnell-lamps-chameleon-certs.
Carries the alternate subject, public key, optional extensions and optional signature
algorithm needed to derive the delta certificate request from the base PKCS#10 request.
-
Constructor Summary
ConstructorsConstructorDescriptionDeltaCertificateRequestAttributeValue(org.bouncycastle.asn1.pkcs.Attribute attribute) Construct from anAttributewhose first value is a DeltaCertificateRequest sequence. -
Method Summary
Modifier and TypeMethodDescriptionorg.bouncycastle.asn1.x509.ExtensionsReturn the extensions carried by the delta request, ornullif none are present.Coerce an object into a DeltaCertificateRequestAttributeValue.org.bouncycastle.asn1.x509.AlgorithmIdentifierReturn the signature algorithm declared for the delta request's signature, ornullif the delta reuses the base request's signature algorithm.org.bouncycastle.asn1.x500.X500NameReturn the subject distinguished name, ornullif the delta request reuses the base request's subject.org.bouncycastle.asn1.x509.SubjectPublicKeyInfoReturn the alternate SubjectPublicKeyInfo carried by the delta request.org.bouncycastle.asn1.ASN1Primitive
-
Constructor Details
-
DeltaCertificateRequestAttributeValue
public DeltaCertificateRequestAttributeValue(org.bouncycastle.asn1.pkcs.Attribute attribute) Construct from anAttributewhose first value is a DeltaCertificateRequest sequence.- Parameters:
attribute- the carrier attribute taken from a PKCS#10 request.
-
-
Method Details
-
getInstance
Coerce an object into a DeltaCertificateRequestAttributeValue.- Parameters:
o- either an existing instance, an ASN.1 sequence, ornull.- Returns:
- the value, or
nullifois null.
-
getSubject
public org.bouncycastle.asn1.x500.X500Name getSubject()Return the subject distinguished name, ornullif the delta request reuses the base request's subject. -
getSubjectPKInfo
public org.bouncycastle.asn1.x509.SubjectPublicKeyInfo getSubjectPKInfo()Return the alternate SubjectPublicKeyInfo carried by the delta request. -
getExtensions
public org.bouncycastle.asn1.x509.Extensions getExtensions()Return the extensions carried by the delta request, ornullif none are present. -
getSignatureAlgorithm
public org.bouncycastle.asn1.x509.AlgorithmIdentifier getSignatureAlgorithm()Return the signature algorithm declared for the delta request's signature, ornullif the delta reuses the base request's signature algorithm. -
toASN1Primitive
public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()- Specified by:
toASN1Primitivein interfaceorg.bouncycastle.asn1.ASN1Encodable
-