Class PKCSExceptionBC

All Implemented Interfaces:
Serializable

public class PKCSExceptionBC extends AbstractPKCSException
Wrapper class for PKCSException.
See Also:
  • Constructor Details

    • PKCSExceptionBC

      public PKCSExceptionBC (org.bouncycastle.pkcs.PKCSException pkcsException)
      Creates new wrapper instance for PKCSException.
      Parameters:
      pkcsException - PKCSException to be wrapped
  • Method Details

    • getPkcsException

      public org.bouncycastle.pkcs.PKCSException getPkcsException()
      Gets actual org.bouncycastle object being wrapped.
      Returns:
      wrapped PKCSException.
    • equals

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

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

      public String toString()
      Delegates toString method call to the wrapped object.
      Overrides:
      toString in class Throwable
    • getMessage

      public String getMessage()
      Delegates getMessage method call to the wrapped exception.
      Overrides:
      getMessage in class Throwable