Commit Graph
62 Commits
Author SHA1 Message Date
David Nadoba 3a6e5c8564 Merge pull request #14 from apple/dn-cms-asn1
Cryptographic Message Syntax ASN.1 de/serialisation
2023-02-02 15:44:57 +01:00
David Nadoba c33a826019 Fix review comments 2023-02-02 15:32:51 +01:00
David Nadoba f153e0ba7b Use new DER.optionalImplicitlyTagged from swift-asn1 0.4.0 2023-02-02 15:17:13 +01:00
David Nadoba a92d6e8918 It doesn’t make sense to decode as an implicitly taggable type if the type does not conform to DERImplicitlyTaggable 2023-02-02 11:52:35 +01:00
David Nadoba cf59bc50c7 Cryptographic Message Syntax ASN.1 de/serialisation 2023-02-02 11:52:35 +01:00
David Nadoba 5fed1c92f4 Merge pull request #12 from apple/dn-cms
`CryptographicMessageSyntax` types
2023-02-02 11:51:59 +01:00
David Nadoba d41079b50d Use struct instead of enum for CMSContentInfo and document unsupported CMS properties 2023-02-02 11:06:26 +01:00
David Nadoba ef35326c8a CryptographicMessageSyntax types 2023-02-02 11:00:05 +01:00
Cory Benfield 38147aaae1 Merge pull request #13 from apple/dn-fix-distinguished-name-example
Fix examples
2023-02-01 15:52:36 +00:00
David Nadoba 731f0a2d67 Fix examples 2023-01-31 19:09:03 +01:00
Cory Benfield 19351b0b17 Merge pull request #10 from apple/dn-ocsp-policy
`OCSPVerifierPolicy`
2023-01-27 09:56:24 +00:00
David Nadoba 35be177f17 Fix merge conflict 2023-01-26 23:17:46 +01:00
David Nadoba 1113c4a59d Cite RFC and rename withDeadline to withTimeout 2023-01-26 15:13:30 +01:00
David Nadoba cb862c94e6 Merge branch 'main' into dn-ocsp-policy 2023-01-26 13:33:12 +01:00
David Nadoba 8cf733ee90 New implementation of withDeadline 2023-01-26 13:32:57 +01:00
David Nadoba a023a193d3 Address review comments 2023-01-26 12:25:52 +01:00
David NadobaandCory Benfield 293d9acaa1 Apply review code suggestions
Co-authored-by: Cory Benfield <lukasa@apple.com>
2023-01-26 11:44:10 +01:00
Cory Benfield 6481155f7e Merge pull request #8 from apple/cb-basic-chain-builder
Implement a basic chain builder.
2023-01-25 14:01:43 +00:00
David Nadoba 13c40d3f07 Add tests 2023-01-25 12:10:04 +01:00
Cory Benfield 389c9c4706 Prefer appending to init 2023-01-24 14:52:34 +00:00
Cory Benfield d2ef4164b1 Merge branch 'main' into cb-basic-chain-builder 2023-01-24 14:47:22 +00:00
Cory Benfield e474326e9d Merge pull request #6 from apple/dn-ocsp-request
OCSPRequest type and subtypes
2023-01-24 14:43:25 +00:00
David Nadoba f068d90254 Fix review comments 2023-01-20 10:54:19 +01:00
David Nadoba b4a962e5b2 Merge branch 'main' into dn-ocsp-request 2023-01-20 10:31:51 +01:00
David Nadoba 286649ebbc Merge pull request #9 from apple/dn-5.8-ci
Add Swift 5.8 CI
2023-01-18 08:18:25 +01:00
David Nadoba 29ba02b3cc Add Swift 5.8 CI 2023-01-17 20:29:17 +01:00
Cory Benfield 403da4ffd4 Implement a basic chain builder. 2023-01-16 10:37:52 +00:00
David Nadoba 14b953a64e Remove policy for now and push that to another PR 2023-01-13 11:53:57 +01:00
David Nadoba a6e6d63f3c Get rid of do catch hell and split into multiple functions 2023-01-13 11:35:01 +01:00
David Nadoba 1facb0b2a9 Merge branch 'dn-ocsp-request' of github.com:apple/swift-certificates into dn-ocsp-request 2023-01-12 22:50:26 +01:00
David Nadoba f0477362d5 Fix TODOs 2023-01-12 22:50:21 +01:00
David Nadoba a3a25f329d Merge branch 'main' into dn-ocsp-request 2023-01-12 12:02:45 +01:00
David Nadoba 0c84890798 Drop dependency on swift-algorithms 2023-01-12 11:58:22 +01:00
Cory Benfield 205cacfea4 Merge pull request #7 from apple/dn-2023
Its 2023 and we should accept new files
2023-01-12 10:55:44 +00:00
David Nadoba 6fe7e0dde5 import Crypto instead of CryptoKit 2023-01-12 11:54:57 +01:00
David Nadoba f510662b25 Its 2023 and we should accept new files 2023-01-12 11:41:13 +01:00
David Nadoba f5ee274d37 Fix test compilation 2023-01-12 11:38:59 +01:00
David Nadoba 4be8c203f9 Add nonce extensions and some general refactoring 2023-01-11 14:31:00 +01:00
David Nadoba 533f40c5dd Prototype of OCSPPolicy 2022-12-29 12:55:54 +01:00
David Nadoba 5f8154ecb1 Add tests 2022-12-15 12:03:52 +01:00
David Nadoba eef0736e81 Implement de/encoding 2022-12-14 12:56:57 +01:00
David Nadoba 54aa3a0d96 OCSPRequest 2022-12-13 15:31:22 +01:00
David Nadoba cfb0244ff9 Merge pull request #5 from apple/dn-fix-ocsp-version-description
Fix `CertificateVersion` description for unknown versions
2022-12-13 12:03:54 +01:00
David Nadoba b375dada90 Fix test 2022-12-13 11:54:43 +01:00
David Nadoba b275a815d9 Fix CertificateVersion description for unknown versions
Should be plus one and not minus one
2022-12-13 11:50:40 +01:00
David Nadoba cdb86753dc Merge pull request #3 from apple/dn-contributors
Run `generate_contributors_list.sh`
2022-12-12 19:49:00 +01:00
David Nadoba 4c5974e221 Merge branch 'main' into dn-contributors 2022-12-12 19:10:40 +01:00
David Nadoba e60cf993e8 Merge pull request #4 from apple/dn-soundness
Fix soundness
2022-12-12 19:10:34 +01:00
David Nadoba fd6b7caaef Merge branch 'main' into dn-soundness 2022-12-12 19:06:07 +01:00
Yim Lee 719f339d78 CI setup (#2) 2022-12-12 09:04:25 -08:00