Difference between revisions of "Libssl API"

From OpenSSLWiki
Jump to navigationJump to search
m
 
(4 intermediate revisions by one other user not shown)
Line 1: Line 1:
libssl is the portion of OpenSSL which supports TLS, and depends on [[Libcrypto API|libcrypto]].
+
libssl is the portion of OpenSSL which supports TLS ( [[SSL and TLS Protocols]] ), and depends on [[Libcrypto API|libcrypto]].
 +
 
 +
This is a '''C''' api. To use it you need to include (at least) '''openssl/ssl.h''' and to link your program with libssl library.
  
 
* [[Diffie-Hellman parameters]]
 
* [[Diffie-Hellman parameters]]
 
* [[Hostname validation]]
 
* [[Hostname validation]]
 +
 +
== How to get libssl API to compile with it ==
 +
 +
on Debian base ( debian, ubuntu, ... ) you would need libssl-dev  : apt-get install libssl-dev.
 +
 +
on Redhat base ( RedHat, Fedora, ... ) you would need openssl-devel : yum install openssl-devel
 +
 +
You can get sources directly too to compile statically over it.
  
 
[[Category:Ssl API]]
 
[[Category:Ssl API]]

Latest revision as of 09:11, 10 July 2019

libssl is the portion of OpenSSL which supports TLS ( SSL and TLS Protocols ), and depends on libcrypto.

This is a C api. To use it you need to include (at least) openssl/ssl.h and to link your program with libssl library.

How to get libssl API to compile with it[edit]

on Debian base ( debian, ubuntu, ... ) you would need libssl-dev : apt-get install libssl-dev.

on Redhat base ( RedHat, Fedora, ... ) you would need openssl-devel : yum install openssl-devel

You can get sources directly too to compile statically over it.