ListenerCertificateAuthenticator

public class ListenerCertificateAuthenticator : _ListenerAuthenticator

ENTERPRISE EDITION ONLY.

Certificate Authenticator for the URLEndpointListener.

  • Initialize with the root certificates to trust when verifying client certificates

    Declaration

    Swift

    public init(rootCerts: [SecCertificate])
  • Initialize with the authenticator closure for verifying client certificates

    Declaration

    Swift

    public init(authenticator: @escaping (_ certs: [SecCertificate]) -> Bool)