Class X509CertificateHolderBC

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private org.bouncycastle.cert.X509CertificateHolder certificateHolder  
    • Constructor Summary

      Constructors 
      Constructor Description
      X509CertificateHolderBC​(byte[] bytes)
      Creates new wrapper instance for X509CertificateHolder.
      X509CertificateHolderBC​(org.bouncycastle.cert.X509CertificateHolder certificateHolder)
      Creates new wrapper instance for X509CertificateHolder.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)
      Indicates whether some other object is "equal to" this one.
      org.bouncycastle.cert.X509CertificateHolder getCertificateHolder()
      Gets actual org.bouncycastle object being wrapped.
      IAlgorithmIdentifier getSignatureAlgorithm()
      Retrieves signature algorithm identifier from the certificate.
      int hashCode()
      Returns a hash code value based on the wrapped 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

      • certificateHolder

        private final org.bouncycastle.cert.X509CertificateHolder certificateHolder
    • Constructor Detail

      • X509CertificateHolderBC

        public X509CertificateHolderBC​(org.bouncycastle.cert.X509CertificateHolder certificateHolder)
        Creates new wrapper instance for X509CertificateHolder.
        Parameters:
        certificateHolder - X509CertificateHolder to be wrapped
      • X509CertificateHolderBC

        public X509CertificateHolderBC​(byte[] bytes)
                                throws java.io.IOException
        Creates new wrapper instance for X509CertificateHolder.
        Parameters:
        bytes - bytes array to create X509CertificateHolder to be wrapped
        Throws:
        java.io.IOException - X509CertificateHolder object cannot be created from byte array.
    • Method Detail

      • getCertificateHolder

        public org.bouncycastle.cert.X509CertificateHolder getCertificateHolder()
        Gets actual org.bouncycastle object being wrapped.
        Returns:
        wrapped X509CertificateHolder.
      • 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