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

    Constructors
    Constructor
    Description
    DeltaCertificateRequestAttributeValue(org.bouncycastle.asn1.pkcs.Attribute attribute)
    Construct from an Attribute whose first value is a DeltaCertificateRequest sequence.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.bouncycastle.asn1.x509.Extensions
    Return the extensions carried by the delta request, or null if none are present.
    Coerce an object into a DeltaCertificateRequestAttributeValue.
    org.bouncycastle.asn1.x509.AlgorithmIdentifier
    Return the signature algorithm declared for the delta request's signature, or null if the delta reuses the base request's signature algorithm.
    org.bouncycastle.asn1.x500.X500Name
    Return the subject distinguished name, or null if the delta request reuses the base request's subject.
    org.bouncycastle.asn1.x509.SubjectPublicKeyInfo
    Return the alternate SubjectPublicKeyInfo carried by the delta request.
    org.bouncycastle.asn1.ASN1Primitive
     

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • DeltaCertificateRequestAttributeValue

      public DeltaCertificateRequestAttributeValue(org.bouncycastle.asn1.pkcs.Attribute attribute)
      Construct from an Attribute whose first value is a DeltaCertificateRequest sequence.
      Parameters:
      attribute - the carrier attribute taken from a PKCS#10 request.
  • Method Details

    • getInstance

      public static DeltaCertificateRequestAttributeValue getInstance(Object o)
      Coerce an object into a DeltaCertificateRequestAttributeValue.
      Parameters:
      o - either an existing instance, an ASN.1 sequence, or null.
      Returns:
      the value, or null if o is null.
    • getSubject

      public org.bouncycastle.asn1.x500.X500Name getSubject()
      Return the subject distinguished name, or null if 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, or null if none are present.
    • getSignatureAlgorithm

      public org.bouncycastle.asn1.x509.AlgorithmIdentifier getSignatureAlgorithm()
      Return the signature algorithm declared for the delta request's signature, or null if the delta reuses the base request's signature algorithm.
    • toASN1Primitive

      public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()
      Specified by:
      toASN1Primitive in interface org.bouncycastle.asn1.ASN1Encodable