Enumeration Caseswift-crypto 3.12.2Crypto
invalidPEMDocument
The string doesn’t parse as a PEM document.
- iOS
- 13+
- macOS
- 10.15+
- tvOS
- 13+
- watchOS
- 6+
case invalidPEMDocument
The string doesn’t parse as a PEM document.
case invalidPEMDocument
import Crypto
A cryptography library for Swift.
enum CryptoKitASN1Error
Errors from decoding ASN.1 content.
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.