Package ch.bailu.gtk.gio
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.
-
Method Summary
Modifier and TypeMethodDescriptionint
onVerify
(CallbackHandler __self, TlsCertificate cert, SocketConnectable identity, TlsCertificate trusted_ca)
-
Method Details
-
onVerify
int onVerify(CallbackHandler __self, @Nonnull TlsCertificate cert, @Nullable SocketConnectable identity, @Nullable TlsCertificate trusted_ca) - Parameters:
cert
- a #GTlsCertificateidentity
- the expected peer identitytrusted_ca
- the certificate of a trusted authority- Returns:
- the appropriate #GTlsCertificateFlags
-