P256K CryptoKitASN1Error Enumeration CryptoKitASN1Error Errors from decoding ASN.1 content. iOS 13.0+ macCatalyst 13.0+ macOS 10.15+ tvOS 13.0+ visionOS 1.0+ watchOS 6.0+ enum CryptoKitASN1Error Topics Enumeration Cases case invalidASN1IntegerEncodingAn ASN.1 integer doesn’t use the minimum number of bytes for its encoding. case invalidASN1ObjectThe format of the parsed ASN.1 object doesn’t match the format required for the data type being decoded. case invalidFieldIdentifierThe ASN.1 tag for this field is invalid or unsupported. case invalidObjectIdentifierAn ASN.1 object identifier is invalid. case invalidPEMDocumentThe string doesn’t parse as a PEM document. case truncatedASN1FieldAn ASN.1 field is truncated. case unexpectedFieldTypeThe ASN.1 tag for the parsed field doesn’t match the required format. case unsupportedFieldLengthThe encoding used for the field length is unsupported.