ASN1Error
public enum ASN1Error : Swift.Error, Equatable
ASN.1 Error type
-
When the byte-stream encountered unexpected byte(s), insufficient length or any other invalid encoding options
Declaration
Swift
case malformedEncoding(String)
-
When encountered a tag/length that is unsupported (by this decoder)
Declaration
Swift
case unsupported(String)
-
When an overflow situation is encountered
Declaration
Swift
case internalError(String)
-
When an internal inconsistency was encountered during encoding
Declaration
Swift
case internalInconsistency(String)