1 /* tls.h --- TLSv1 functions
2 Copyright (C) 2000 Kenichi Okada <okada@opaopa.org>
4 Author: Kenichi Okada <okada@opaopa.org>
11 [RFC 2246] "The TLS Protocol Version 1.0"
12 by Christopher Allen <callen@certicom.com> and
13 Tim Dierks <tdierks@certicom.com> (1999/01)
15 [RFC 2595] "Using TLS with IMAP, POP3 and ACAP"
16 by Chris Newman <chris.newman@innosoft.com> (1999/06)
25 #include <openssl/lhash.h>
26 #include <openssl/bn.h>
27 #include <openssl/err.h>
28 #include <openssl/pem.h>
29 #include <openssl/rand.h>
30 #include <openssl/x509.h>
31 #include <openssl/ssl.h>
34 int tls_init_serverengine(int verifydepth, /* depth to verify */
35 int askcert, /* 1 = verify client */
36 int requirecert, /* 1 = another client verify? */
45 /* start tls negotiation */
46 int tls_start_servertls(int readfd, int writefd);
48 ssize_t SSL_writev (SSL *ssl, const struct iovec *vector, int count);
50 #endif /* CYRUSTLS_H */