Class CertRequest

  • All Implemented Interfaces:
    org.bouncycastle.asn1.ASN1Encodable, org.bouncycastle.util.Encodable

    public class CertRequest
    extends org.bouncycastle.asn1.ASN1Object
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.bouncycastle.asn1.ASN1Integer getCertReqId()  
      CertTemplate getCertTemplate()  
      Controls getControls()  
      static CertRequest getInstance​(java.lang.Object o)  
      org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()
      CertRequest ::= SEQUENCE { certReqId INTEGER, -- ID for matching request and reply certTemplate CertTemplate, -- Selected fields of cert to be issued controls Controls OPTIONAL } -- Attributes affecting issuance
      • Methods inherited from class org.bouncycastle.asn1.ASN1Object

        encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
      • Methods inherited from class java.lang.Object

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

      • CertRequest

        public CertRequest​(int certReqId,
                           CertTemplate certTemplate,
                           Controls controls)
      • CertRequest

        public CertRequest​(org.bouncycastle.asn1.ASN1Integer certReqId,
                           CertTemplate certTemplate,
                           Controls controls)
    • Method Detail

      • getInstance

        public static CertRequest getInstance​(java.lang.Object o)
      • getCertReqId

        public org.bouncycastle.asn1.ASN1Integer getCertReqId()
      • getControls

        public Controls getControls()
      • toASN1Primitive

        public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()
         CertRequest ::= SEQUENCE {
                              certReqId     INTEGER,          -- ID for matching request and reply
                              certTemplate  CertTemplate,  -- Selected fields of cert to be issued
                              controls      Controls OPTIONAL }   -- Attributes affecting issuance
         
        Specified by:
        toASN1Primitive in interface org.bouncycastle.asn1.ASN1Encodable
        Specified by:
        toASN1Primitive in class org.bouncycastle.asn1.ASN1Object
        Returns:
        a basic ASN.1 object representation.