Search Results for

    Show / Hide Table of Contents

    Delegate CertificateValidationCallback

    PUBLIC API

    Custom certificate validation callback for mTLS connections. Invoked during TLS handshake on both client and server sides.

    Namespace: Akka.Remote.Transport.DotNetty
    Assembly: Akka.Remote.dll
    Syntax
    public delegate bool CertificateValidationCallback(X509Certificate2? certificate, X509Chain? chain, string remotePeer, SslPolicyErrors errors, ILoggingAdapter log)
    Parameters
    Type Name Description
    X509Certificate2 certificate

    The peer certificate to validate

    X509Chain chain

    The X509 chain for validation

    string remotePeer

    The remote address/peer identifier

    SslPolicyErrors errors

    SSL policy errors from standard validation

    ILoggingAdapter log

    Logger for diagnostics

    Returns
    Type Description
    bool

    True to accept cert, false to reject

    Extension Methods

    ObjectExtensions.IsDefaultForType<T>(T)
    ObjectExtensions.AsOption<T>(T)
    PredicateInfoFactory.CreatePredicateInfo<T>(Delegate)
    Extensions.AsInstanceOf<T>(object)
    In this article
    • githubEdit this page
    • View Source
    Back to top
    Contribute
    • Project Chat
    • Discussion Forum
    • Source Code
    Support
    • Akka.NET Support Plans
    • Akka.NET Observability Tools
    • Akka.NET Training & Consulting
    Maintained By
    • Petabridge - The Akka.NET Company
    • Learn Akka.NET