Package ch.bailu.gtk.gio
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.
-
Method Summary
Modifier and TypeMethodDescriptionint
onVerifyChain
(CallbackHandler __self, TlsDatabase self, TlsCertificate chain, Str purpose, SocketConnectable identity, TlsInteraction interaction, int flags, Cancellable cancellable)
-
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 #GTlsDatabasechain
- a #GTlsCertificate chainpurpose
- the purpose that this certificate chain will be used for.identity
- the expected peer identityinteraction
- used to interact with the user if necessaryflags
- additional verify flagscancellable
- a #GCancellable, or %NULL- Returns:
- the appropriate #GTlsCertificateFlags which represents the result of verification.
-