CryptoKitASN1Error
public enum CryptoKitASN1Error : Error
Errors encountered when parsing ASN.1 formatted keys.
-
The ASN.1 tag for this field is invalid or unsupported.
Declaration
Swift
case invalidFieldIdentifier
-
The ASN.1 tag for the parsed field does not match the required format.
Declaration
Swift
case unexpectedFieldType
-
An invalid ASN.1 object identifier was encountered.
Declaration
Swift
case invalidObjectIdentifier
-
The format of the parsed ASN.1 object does not match the format required for the data type being decoded.
Declaration
Swift
case invalidASN1Object
-
An ASN.1 integer was decoded that does not use the minimum number of bytes for its encoding.
Declaration
Swift
case invalidASN1IntegerEncoding
-
An ASN.1 field was truncated and could not be decoded.
Declaration
Swift
case truncatedASN1Field
-
The encoding used for the field length is not supported.
Declaration
Swift
case unsupportedFieldLength
-
It was not possible to parse a string as a PEM document.
Declaration
Swift
case invalidPEMDocument