Class X509v2CRLBuilderBC

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private org.bouncycastle.cert.X509v2CRLBuilder builder  
    • Constructor Summary

      Constructors 
      Constructor Description
      X509v2CRLBuilderBC​(IX500Name x500Name, java.util.Date date)
      Creates new wrapper instance for X509v2CRLBuilder.
      X509v2CRLBuilderBC​(org.bouncycastle.cert.X509v2CRLBuilder builder)
      Creates new wrapper instance for X509v2CRLBuilder.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      IX509v2CRLBuilder addCRLEntry​(java.math.BigInteger bigInteger, java.util.Date date, int i)
      Calls actual addCRLEntry method for the wrapped X509v2CRLBuilder object.
      IX509v2CRLBuilder addExtension​(IASN1ObjectIdentifier objectIdentifier, boolean isCritical, IASN1Encodable extension)
      Calls actual addExtension method for the wrapped X509v2CRLBuilder object.
      IX509CRLHolder build​(IContentSigner signer)
      Calls actual build method for the wrapped X509v2CRLBuilder object.
      boolean equals​(java.lang.Object o)
      Indicates whether some other object is "equal to" this one.
      org.bouncycastle.cert.X509v2CRLBuilder getBuilder()
      Gets actual org.bouncycastle object being wrapped.
      int hashCode()
      Returns a hash code value based on the wrapped object.
      IX509v2CRLBuilder setNextUpdate​(java.util.Date nextUpdate)
      Calls actual setNextUpdate method for the wrapped X509v2CRLBuilder object.
      java.lang.String toString()
      Delegates toString method call to the wrapped object.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • builder

        private final org.bouncycastle.cert.X509v2CRLBuilder builder
    • Constructor Detail

      • X509v2CRLBuilderBC

        public X509v2CRLBuilderBC​(org.bouncycastle.cert.X509v2CRLBuilder builder)
        Creates new wrapper instance for X509v2CRLBuilder.
        Parameters:
        builder - X509v2CRLBuilder to be wrapped
      • X509v2CRLBuilderBC

        public X509v2CRLBuilderBC​(IX500Name x500Name,
                                  java.util.Date date)
        Creates new wrapper instance for X509v2CRLBuilder.
        Parameters:
        x500Name - X500Name wrapper to create X509v2CRLBuilder
        date - Date to create X509v2CRLBuilder
    • Method Detail

      • getBuilder

        public org.bouncycastle.cert.X509v2CRLBuilder getBuilder()
        Gets actual org.bouncycastle object being wrapped.
        Returns:
        wrapped X509v2CRLBuilder.
      • addCRLEntry

        public IX509v2CRLBuilder addCRLEntry​(java.math.BigInteger bigInteger,
                                             java.util.Date date,
                                             int i)
        Calls actual addCRLEntry method for the wrapped X509v2CRLBuilder object.
        Specified by:
        addCRLEntry in interface IX509v2CRLBuilder
        Parameters:
        bigInteger - serial number of revoked certificate
        date - date of certificate revocation
        i - the reason code, as indicated in CRLReason, i.e CRLReason.keyCompromise, or 0 if not to be used
        Returns:
        IX509v2CRLBuilder the current wrapper object.
      • addExtension

        public IX509v2CRLBuilder addExtension​(IASN1ObjectIdentifier objectIdentifier,
                                              boolean isCritical,
                                              IASN1Encodable extension)
                                       throws java.io.IOException
        Calls actual addExtension method for the wrapped X509v2CRLBuilder object.
        Specified by:
        addExtension in interface IX509v2CRLBuilder
        Parameters:
        objectIdentifier - extension object identifier
        isCritical - specifies if extension is critical or not
        extension - encoded extension value
        Returns:
        IX509v2CRLBuilder the current wrapper object.
        Throws:
        java.io.IOException - if an I/O error occurs.
      • setNextUpdate

        public IX509v2CRLBuilder setNextUpdate​(java.util.Date nextUpdate)
        Calls actual setNextUpdate method for the wrapped X509v2CRLBuilder object.
        Specified by:
        setNextUpdate in interface IX509v2CRLBuilder
        Parameters:
        nextUpdate - date of next CRL update
        Returns:
        IX509v2CRLBuilder the current wrapper object.
      • equals

        public boolean equals​(java.lang.Object o)
        Indicates whether some other object is "equal to" this one. Compares wrapped objects.
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Returns a hash code value based on the wrapped object.
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Delegates toString method call to the wrapped object.
        Overrides:
        toString in class java.lang.Object