1TLS.verifyCertificate(3kaya) Kaya module referenceTLS.verifyCertificate(3kaya)
2
3
4
6 TLS::verifyCertificate - Verify a server's certificate
7
9 Void verifyCertificate( TLSsession session, String hostname="" )
10
12 session An open TLS session
13
14 hostname The hostname of the server connected to. This may be left
15 blank, in which case only the validity of the certificate will be
16 checked. It is much more secure to specify a hostname, so that it can
17 be confirmed that the host connected to is the expected one.
18
20 Verify that the server connected to has a valid server certificate.
21 This should be called before sending or receiving confidential data on
22 the connection.
23
25 Kaya standard library by Edwin Brady, Chris Morris and others
26 (kaya@kayalang.org). For further information see http://kayalang.org/
27
29 The Kaya standard library is free software; you can redistribute it
30 and/or modify it under the terms of the GNU Lesser General Public
31 License (version 2.1 or any later version) as published by the Free
32 Software Foundation.
33
35 TLS.acceptCertificate (3kaya)
36
37
38
39Kaya December 2010 TLS.verifyCertificate(3kaya)