1
0
mirror of https://github.com/apple/swift-nio-extras.git synced 2025-05-31 18:17:44 +08:00
This commit is contained in:
Gus Cairo 2025-05-07 10:58:27 +01:00
parent 9e3d133b12
commit eb78ed3992
2 changed files with 3 additions and 3 deletions

@ -12,8 +12,8 @@
//
//===----------------------------------------------------------------------===//
import NIOSSL
import NIOCore
import NIOSSL
/// A protocol that defines a certificate reloader.
///

@ -80,7 +80,7 @@ import Foundation
/// not being recognized or not matching the configured one; not being able to verify a certificate's signature against the given
/// private key; etc), then that attempt will be aborted but the service will keep on trying at the configured interval.
/// The last-valid certificate-key pair (if any) will be returned as the ``sslContextConfigurationOverride``.
@available(macOS 13, iOS 16, watchOS 9, tvOS 16, macCatalyst 16, visionOS 1.0, *)
@available(macOS 13, iOS 16, watchOS 9, tvOS 16, macCatalyst 16, visionOS 1, *)
public struct TimedCertificateReloader: CertificateReloader {
/// The encoding for the certificate or the key.
public struct Encoding: Sendable, Equatable {
@ -396,5 +396,5 @@ public struct TimedCertificateReloader: CertificateReloader {
}
}
@available(macOS 13, iOS 16, watchOS 9, tvOS 16, macCatalyst 16, visionOS 1.0, *)
@available(macOS 13, iOS 16, watchOS 9, tvOS 16, macCatalyst 16, visionOS 1, *)
extension TimedCertificateReloader: Service {}