TLS.3kaya

Langue: en

Autres versions - même langue

Version: May 2010 (fedora - 01/12/10)

Section: 3 (Bibliothèques de fonctions)

NAME

TLS - TLS network connection encryption

DESCRIPTION

This module provides TLS network encryption. The functions in this module are called by the Net(3kaya) module and cannot usefully be used directly.

TLS encryption is generally only useful if the identity of the server connected to can be verified. The various networking functions in the Net(3kaya) and HTTP(3kaya) modules allow a list of certificate files to be specified. On POSIX systems, Certification Authority certificates are often stored in the /etc/ssl/certs directory, and if the signer of the server certificate is not known in advance, you may wish to specify many or all of the .pem files in this directory that correspond to CAs that you trust.

DATA TYPES

TLS.TLSsession(3kaya)

EXCEPTIONS

TLS.AcceptCertificateFailed(3kaya)

TLS.TLSFailed(3kaya)

TLS.TLSTimeout(3kaya)

TLS.VerifyFailed(3kaya)

FUNCTIONS

TLS.acceptCertificate(3kaya)

TLS.closeTLS(3kaya)

TLS.getTLS(3kaya)

TLS.getTLSByte(3kaya)

TLS.getTLSBytes(3kaya)

TLS.makeTLS(3kaya)

TLS.putTLS(3kaya)

TLS.putTLSByte(3kaya)

TLS.putTLSBytes(3kaya)

TLS.verifyCertificate(3kaya)

AUTHORS

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

LICENSE

The Kaya standard library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License (version 2.1 or any later version) as published by the Free Software Foundation.