History log of /haiku/src/kits/network/libnetapi/CertificatePrivate.h
Revision Date Author Comments
# 6c32f50a 08-Nov-2015 Adrien Destugues <pulkomandy@pulkomandy.tk>

BCertificate: fixup the API

* Add an operator== and a copy constructor
* Make the getters const so they are easier to use


# 76b3c7f4 17-Jan-2014 Adrien Destugues <pulkomandy@pulkomandy.tk>

More noSSL build fixes.


# 5ebdc799 15-Jan-2014 Adrien Destugues <pulkomandy@pulkomandy.tk>

SecureSocket: add some certificate support

* Instead of creating an OpenSSL context ofor each socket, use a global
one and initialize it lazily when the first SecureSocket is created
* Load the certificates from our certificate list so SSL certificates
sent by servers can be validated.
* Add a callback for signalling that certificate validation failed, the
default implementation proceeds with the connection anyway (to keep the
old behavior).
* Introduce BCertificate class, that provides some information about a
certificate. Currently it's only used by the callback mentionned above,
but it will be possible to get the leaf certificate for the connection
after it's established.

Review of the API and implementation is welcome, before I start making
use of this in HttpRequest and WebKit to allow the user to accept new
certificates.


# 76b3c7f4205dc12e144bc30fd643d9fad9e1bd31 17-Jan-2014 Adrien Destugues <pulkomandy@pulkomandy.tk>

More noSSL build fixes.


# 5ebdc79955caf4781dfffd14b57849ce40df2117 15-Jan-2014 Adrien Destugues <pulkomandy@pulkomandy.tk>

SecureSocket: add some certificate support

* Instead of creating an OpenSSL context ofor each socket, use a global
one and initialize it lazily when the first SecureSocket is created
* Load the certificates from our certificate list so SSL certificates
sent by servers can be validated.
* Add a callback for signalling that certificate validation failed, the
default implementation proceeds with the connection anyway (to keep the
old behavior).
* Introduce BCertificate class, that provides some information about a
certificate. Currently it's only used by the callback mentionned above,
but it will be possible to get the leaf certificate for the connection
after it's established.

Review of the API and implementation is welcome, before I start making
use of this in HttpRequest and WebKit to allow the user to accept new
certificates.