Class DeltaCertificateRequestAttributeValue

  • All Implemented Interfaces:
    org.bouncycastle.asn1.ASN1Encodable

    public class DeltaCertificateRequestAttributeValue
    extends java.lang.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

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.bouncycastle.asn1.x509.Extensions getExtensions()
      Return the extensions carried by the delta request, or null if none are present.
      static DeltaCertificateRequestAttributeValue getInstance​(java.lang.Object o)
      Coerce an object into a DeltaCertificateRequestAttributeValue.
      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.
      org.bouncycastle.asn1.x500.X500Name getSubject()
      Return the subject distinguished name, or null if the delta request reuses the base request's subject.
      org.bouncycastle.asn1.x509.SubjectPublicKeyInfo getSubjectPKInfo()
      Return the alternate SubjectPublicKeyInfo carried by the delta request.
      org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()  
      • Methods inherited from class java.lang.Object

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

      • 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 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, 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