Schnittstelle TlsDatabaseClass.OnVerifyChain

Umschließende Klasse:
TlsDatabaseClass
Funktionsschnittstelle:
Dies ist eine funktionale Schnittstelle, die somit als Zuweisungsziel für einen Lambdaausdruck oder eine Methodenreferenz verwendet werden kann.

@FunctionalInterface public static interface TlsDatabaseClass.OnVerifyChain
  • Methodendetails

    • 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)
      Parameter:
      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
      Gibt zurück:
      the appropriate #GTlsCertificateFlags which represents the result of verification.