Enumeration Caseswift-crypto 3.8.0Crypto
invalidPEMDocument
The string doesn’t parse as a PEM document.
CryptoKitErrors.swift:64case invalidPEMDocument
Other cases
case invalidFieldIdentifier
The ASN.1 tag for this field is invalid or unsupported.
case unexpectedFieldType
The ASN.1 tag for the parsed field doesn’t match the required format.
case invalidObjectIdentifier
An ASN.1 object identifier is invalid.
case invalidASN1Object
The format of the parsed ASN.1 object doesn’t match the format required for the data type being decoded.
case invalidASN1IntegerEncoding
An ASN.1 integer doesn’t use the minimum number of bytes for its encoding.
case truncatedASN1Field
An ASN.1 field is truncated.
case unsupportedFieldLength
The encoding used for the field length is unsupported.