Interface TlsCertificateClass.OnVerify

Enclosing class:
TlsCertificateClass
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface TlsCertificateClass.OnVerify
  • Method Details

    • onVerify

      int onVerify(CallbackHandler __self, @Nonnull TlsCertificate cert, @Nullable SocketConnectable identity, @Nullable TlsCertificate trusted_ca)
      Parameters:
      cert - a #GTlsCertificate
      identity - the expected peer identity
      trusted_ca - the certificate of a trusted authority
      Returns:
      the appropriate #GTlsCertificateFlags