Wednesday, March 8, 2023

Swift “Certificates” and “ASN.1” Packages

Cory Benfield:

I’m excited to announce two new open source Swift packages: swift-certificates and swift-asn1. Together, these libraries provide developers a faster and safer implementation of X.509 certificates, a critical technology that powers the security of TLS.


Swift ASN.1 provides two major pieces of functionality: an implementation of the common ASN.1 currency types, and an implementation of DER serialization and deserialization. This is sufficient for implementation of the majority of the cryptographic use cases for DER, including for swift-certificates.

Swift ASN.1 provides these security-critical parsing and serializing services using entirely memory-safe code with low overhead.

I’ll probably eventually use this for receipt and license validation.


Comments RSS · Twitter · Mastodon

Leave a Comment