mirror of
https://github.com/apple/swift-nio-ssl
synced 2026-11-25 04:47:52 +00:00
* support additional certificate validation * run `scripts/generate_linux_tests.rb` * fix review comments - rename `CertificateChainVerificationCallback` to `AdditionalCertificateChainVerificationCallback` - switch over `result` instead of try/catch - add `. eofDuringAdditionalCertficiateChainValidation` error and throw it if channel becomes inactive while in `.additionalVerification` state * add `Channel` parameter to `AdditionalCertificateChainVerificationCallback` * get `context` from self instead of captering it * save progress * Only flush after handshake * run `./scripts/generate_linux_tests.rb` ` * Add NIOSSLCertficiateExtensions * adopt naming of ObjectIdentifier * address review comments - namespace top level types with `NIO` - add `withUnsafeBytes(_:)` that gives access to the buffer through an untyped buffer pointer - fix indentation * use real optional for `reference` in `_NIOSSLCertificateExtensions` * fix review comments part 2 - nest `_Extensions` and `_Extension` under `NIOSSLCertificate` - explain optional reference - remove empty and copy constructor - replace fancy force-unwraps with `!` * use channel from argument * fix review comments - buffer the flush instead of ignoring it - do not automatically flush after a succesfull handshake