Reason
What is wrong with a file.
May gain members in a later release: an exhaustive when over it then stops compiling until the new member is handled. An else branch keeps it compiling without handling the new member: that is your choice, and today the compiler warns that such an else is redundant.
Since
1.0.0
Entries
The bytes are not valid BER-TLV (or DER, for the security object): a tag or length is cut off or not allowed, or a data object is longer than the bytes left.
Data objects are nested deeper than the reader follows.
The file does not start with the tag its file type requires.
A data object the file type requires is missing.
A data object has a length, content or form (primitive or constructed) its definition does not allow.
The security object is ASN.1 but not a CMS SignedData.
The SignedData does not hold the content type the file needs, or holds no content.
Properties
Functions
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Returns an array containing the constants of this enum type, in the order they're declared.