mirror of
https://github.com/apple/swift-certificates
synced 2026-11-25 04:37:48 +00:00
* Add support for Certificate Signing Requests This patch adds support for working with Certificate Signing Requests to swift-certificates. CSRs are a common feature of X.509 based PKIs. They're used to encapsulate a number of details about the certificate being requested, and are typically handed to CAs in exchange for a certificate. Their purpose is to prove possession of a private key, and optionally some other useful pieces of data. This patch provides a complete representation of the CSR type, as well as semantic types to cover the attributes that can be applied to a CSR. Additionally, CSR signature validation is also available. * Code review * Fix up equality and hashing * Count matters too * Comment explaining XOR