Class DEREncodingException

All Implemented Interfaces:
Serializable

public class DEREncodingException extends IllegalStateException
Exception thrown when an ASN.1 primitive cannot be serialized as DER - typically because its in-memory contents do not satisfy the DER restrictions of X.690 (e.g. a UTCTime / GeneralizedTime parsed leniently from the wire that is then asked to round-trip through a DEROutputStream).
See Also:
  • Constructor Details

    • DEREncodingException

      public DEREncodingException(String message)
      Base constructor.
      Parameters:
      message - a message concerning the exception.
    • DEREncodingException

      public DEREncodingException(String message, Throwable cause)
      Constructor when this exception is due to another one.
      Parameters:
      message - a message concerning the exception.
      cause - the exception that caused this exception to be thrown.