Package org.bouncycastle.pkcs
Class DeltaCertificateRequestAttributeValue
- java.lang.Object
-
- org.bouncycastle.pkcs.DeltaCertificateRequestAttributeValue
-
- All Implemented Interfaces:
org.bouncycastle.asn1.ASN1Encodable
public class DeltaCertificateRequestAttributeValue extends java.lang.Object implements org.bouncycastle.asn1.ASN1EncodableThe 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
Constructors Constructor Description DeltaCertificateRequestAttributeValue(org.bouncycastle.asn1.pkcs.Attribute attribute)Construct from anAttributewhose first value is a DeltaCertificateRequest sequence.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.bouncycastle.asn1.x509.ExtensionsgetExtensions()Return the extensions carried by the delta request, ornullif none are present.static DeltaCertificateRequestAttributeValuegetInstance(java.lang.Object o)Coerce an object into a DeltaCertificateRequestAttributeValue.org.bouncycastle.asn1.x509.AlgorithmIdentifiergetSignatureAlgorithm()Return the signature algorithm declared for the delta request's signature, ornullif the delta reuses the base request's signature algorithm.org.bouncycastle.asn1.x500.X500NamegetSubject()Return the subject distinguished name, ornullif the delta request reuses the base request's subject.org.bouncycastle.asn1.x509.SubjectPublicKeyInfogetSubjectPKInfo()Return the alternate SubjectPublicKeyInfo carried by the delta request.org.bouncycastle.asn1.ASN1PrimitivetoASN1Primitive()
-
-
-
Constructor Detail
-
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 Detail
-
getInstance
public static DeltaCertificateRequestAttributeValue getInstance(java.lang.Object o)
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
-
-