Skip to content

Instance Property

customCertificateVerifyCallback

An optional callback that will be called instead of using swift-nio-ssl’s regular certificate verification logic. This is the same as NIOSSLCustomVerificationCallback but just marked as Sendable
@preconcurrency var customCertificateVerifyCallback: (@Sendable ([NIOSSLCertificate], EventLoopPromise<NIOSSLVerificationResult>) -> Void)?

Discussion

Warning

Mutually exclusive with customCertificateVerifyCallbackWithMetadata.