Overview of SwiftASN1
mainSwiftASN1 is an implementation of ASN.1 types and DER (Distinguished Encoding Rules) serialization. It is designed for use cases where deterministic serialization is required, such as cryptography.
The library provides several core components:
- ASN1Node: A high-level tree representation of an ASN.1 object.
- DER Parser: Functions to construct an
ASN1Nodetree from serialized bytes. - DER Serializer: Tools to construct serialized bytes from an
ASN1Nodetree. - Built-in Types: Implementations of common ASN.1 constructs (e.g., Integers, Bit Strings, Object Identifiers).
- PEM Support: Parsers and serializers for Privacy-Enhanced Mail (PEM) format.