1TLS(3kaya)                   Kaya module reference                  TLS(3kaya)
2
3
4

NAME

6       TLS - TLS network connection encryption
7

DESCRIPTION

9       This module provides TLS network encryption. The functions in this mod‐
10       ule are called by the Net(3kaya) module and  cannot  usefully  be  used
11       directly.
12
13       TLS  encryption  is generally only useful if the identity of the server
14       connected to can be verified. The various networking functions  in  the
15       Net(3kaya) and HTTP(3kaya) modules allow a list of certificate files to
16       be specified. On POSIX systems,  Certification  Authority  certificates
17       are  often stored in the /etc/ssl/certs directory, and if the signer of
18       the server certificate is not known in advance, you may wish to specify
19       many  or all of the .pem files in this directory that correspond to CAs
20       that you trust.
21

DATA TYPES

23       TLS.TLSsession (3kaya)

EXCEPTIONS

25       TLS.AcceptCertificateFailed (3kaya)
26       TLS.TLSFailed (3kaya)
27       TLS.TLSTimeout (3kaya)
28       TLS.VerifyFailed (3kaya)

FUNCTIONS

30       TLS.acceptCertificate (3kaya)
31       TLS.closeTLS (3kaya)
32       TLS.getTLS (3kaya)
33       TLS.getTLSByte (3kaya)
34       TLS.getTLSBytes (3kaya)
35       TLS.makeTLS (3kaya)
36       TLS.putTLS (3kaya)
37       TLS.putTLSByte (3kaya)
38       TLS.putTLSBytes (3kaya)
39       TLS.verifyCertificate (3kaya)

AUTHORS

41       Kaya  standard  library  by  Edwin  Brady,  Chris  Morris  and   others
42       (kaya@kayalang.org). For further information see http://kayalang.org/

LICENSE

44       The  Kaya  standard  library  is free software; you can redistribute it
45       and/or modify it under the terms  of  the  GNU  Lesser  General  Public
46       License  (version  2.1  or  any later version) as published by the Free
47       Software Foundation.
48
49
50
51Kaya                             December 2010                      TLS(3kaya)
Impressum