Class DEREncodingException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalStateException
org.bouncycastle.asn1.DEREncodingException
- All Implemented Interfaces:
Serializable
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 Summary
ConstructorsConstructorDescriptionDEREncodingException(String message) Base constructor.DEREncodingException(String message, Throwable cause) Constructor when this exception is due to another one. -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
DEREncodingException
Base constructor.- Parameters:
message- a message concerning the exception.
-
DEREncodingException
-