Interface TlsDatabaseClass.OnVerifyChain

Enclosing class:
TlsDatabaseClass
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 TlsDatabaseClass.OnVerifyChain
  • Method Details

    • onVerifyChain

      int onVerifyChain(CallbackHandler __self, @Nonnull TlsDatabase self, @Nonnull TlsCertificate chain, @Nonnull Str purpose, @Nullable SocketConnectable identity, @Nullable TlsInteraction interaction, int flags, @Nullable Cancellable cancellable)
      Parameters:
      self - a #GTlsDatabase
      chain - a #GTlsCertificate chain
      purpose - the purpose that this certificate chain will be used for.
      identity - the expected peer identity
      interaction - used to interact with the user if necessary
      flags - additional verify flags
      cancellable - a #GCancellable, or %NULL
      Returns:
      the appropriate #GTlsCertificateFlags which represents the result of verification.