aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples
Commit message (Collapse)AuthorAgeFilesLines
* Update for new cred APIlloyd2012-11-131-11/+6
|
* Offer DTLS if connecting over UDPlloyd2012-11-071-0/+6
|
* Add TLS::Server_Information to encapsulate the hostname/port pair.lloyd2012-10-131-2/+1
| | | | | | | Add a service identifier as well, to help out clients which may want to negotiate multiple protocols over a single port and need to keep the sessions disambiguated. Not sure if that is useful, but it might be.
* secure_renegotiation isn't a session value anymorelloyd2012-09-142-8/+0
|
* This buffer size does not need to match TLSlloyd2012-09-111-1/+1
|
* Remove debug outputlloyd2012-09-091-1/+1
|
* Support both TLS and DTLS in the tls_server example.lloyd2012-09-092-410/+159
| | | | Drop the fairly bogus socket wrapper layer.
* Support DTLS in tls_client. Support client-initiated close_notify (via 'Q')lloyd2012-09-091-98/+103
|
* Turn on NPNlloyd2012-08-061-1/+2
|
* OpenSSL gets cranky if we send application data mid handshakelloyd2012-07-281-3/+2
|
* Add an optional parameter to TLS::Client specifying the port number.lloyd2012-07-121-8/+9
| | | | | | Pass this down into the session managers. Also document how to use session tickets with TLS servers.
* Fix leak in read_ssh example, reported by Martin Olsson to the mailing listlloyd2012-07-091-2/+3
|
* Rename all text files that are actually reStructuredText to .rstlloyd2012-07-012-4/+2
|
* Use new header for sqlite session managerlloyd2012-06-291-2/+2
|
* Return existing certs fast if there is a matchlloyd2012-06-201-0/+15
|
* Allow configurable # of threads, useful for scale testinglloyd2012-06-201-2/+4
|
* Reformat output on the TLS client on handshake completion.lloyd2012-06-134-23/+49
| | | | In ASN.1 print values as URL % escaped instead of all hex.
* Various examples fixes, most notable updating cert_verify to the new APIlloyd2012-05-315-16/+26
|
* Fix examples buildinglloyd2012-05-301-2/+2
|
* Remove the PRIVATE ASN.1 tag. Not being used outside of the prettylloyd2012-05-271-13/+24
| | | | | | | | | | | | | | printer example, and really is just CONSTRUCTED | CONTEXT_SPECIFIC. Extend the ASN.1 printer to recurse into OCTET STRINGS that contain DER, and to print enumeration values. BOTAN_DLL export some OID operators (+, !=, <) Add an OID entry for 1.3.6.1.5.5.7.48.1.1 OCSP basic response. Correct the Certificate_Policies code, it was dumping policy OIDs into the extended key usage!
* Fairly huge update that replaces the old secmem types with std::vectorlloyd2012-05-1821-73/+64
| | | | | | using a custom allocator. Currently our allocator just does new/delete with a memset before deletion, and the mmap and mlock allocators have been removed.
* Huge pile of post merge fixups, mtn really fucked that mergelloyd2012-04-255-53/+13
|
* propagate from branch 'net.randombit.botan.tls-state-machine' (head ↵lloyd2012-04-254-29/+204
|\ | | | | | | | | | | a4741cd07f50a9e1b29b0dd97c6fb8697c038ade) to branch 'net.randombit.botan.cxx11' (head 116e5ff139c07000be431e07d3472cc8f3919b91)
| * Various hacks for testing client auth, SRP, etclloyd2012-04-203-10/+37
| |
| * Finish up server side SRP support, a little ugly but it works.lloyd2012-04-063-16/+129
| | | | | | | | | | | | Add SRP hooks in the examples Fix next protocol support in the tls_server example.
| * propagate from branch 'net.randombit.botan' (head ↵lloyd2012-04-053-4/+4
| |\ | | | | | | | | | | | | | | | 91305e3daaae9ea8a1786daf058d961991c68251) to branch 'net.randombit.botan.tls-state-machine' (head 474a00b316f5b21a4e56033d4d990d87d9d3eed6)
* | | propagate from branch 'net.randombit.botan.tls-state-machine' (head ↵lloyd2012-03-304-16/+41
|\| | | | | | | | | | | | | | | | | 63b88a65b699c95ef839bc18336bceccfbfabd2e) to branch 'net.randombit.botan.cxx11' (head 1adcc46808b403b8f6bf1669f022e65f9c30e8ea)
| * | Use the SQLite session manager if availablelloyd2012-03-231-0/+11
| | |
| * | Call Credentials_Manager::psk for the session ticket key.lloyd2012-03-221-3/+13
| | |
| * | Add makefile dependency on credentials.h. Use 1024 bit keys forlloyd2012-02-273-11/+19
| | | | | | | | | | | | RSA/DSA. Add function for choosing thread count.
* | | Enable TLS again (bad merge)lloyd2012-02-204-43/+7
| | | | | | | | | | | | | | | | | | | | | Fixes for examples. Remove locking from session manager in the asio example, now done by default in the lib.
* | | Merge fixupslloyd2012-02-201-8/+4
| | |
* | | propagate from branch 'net.randombit.botan' (head ↵lloyd2012-02-203-3/+3
|\ \ \ | | |/ | |/| | | | | | | | | | c247a55e7c0bcd239fcfc672139b59ef63d7ee84) to branch 'net.randombit.botan.cxx11' (head 16d7756c6b8933d0d543ebdda9c7e8f4908a4a33)
| * | The benchmark examples ran very slowly because they were passinglloyd2012-02-203-4/+4
| | | | | | | | | | | | | | | | | | | | | 16*1024 to an argument that treated those values as KiB, it took the RNG ~3 seconds to create 16 MiB of data to randomize the input. Change to 16. Also cap the value that can be passed to --buf-size to 1024, for a 1 MiB buffer.
* | | Fix examples. Use crazy hack of compiling asio tls server using 4.6.0lloyd2012-02-207-30/+49
| | | | | | | | | | | | | | | | | | but linking using 4.7.0 - asio seems to have problems with the 4.7.0 libstdc++ in C++11 mode, mostly related to missing noexcept and trying to copy things that are move only.
* | | propagate from branch 'net.randombit.botan.tls-state-machine' (head ↵lloyd2012-02-206-40/+31
|\ \ \ | |_|/ |/| | | | | | | | | | | 0ceb9cde62a2b3614901ae85a53546d9fc641326) to branch 'net.randombit.botan.cxx11' (head 777e65950ef3706a82e5df20dcca7fcc999ca533)
| * | propagate from branch 'net.randombit.botan' (head ↵lloyd2011-06-176-40/+31
| |\ \ | | |/ | |/| | | | | | | | | | 5dc30d88afdeec4896b5065f9260e66d52b1a730) to branch 'net.randombit.botan.cxx11' (head 8d42792537db92fab3136f5696ee1eba3e73fa76)
| | * propagate from branch 'net.randombit.botan' (head ↵lloyd2011-06-136-40/+31
| | |\ | | | | | | | | | | | | | | | | | | | | 150bd11dd8090559ee1e83394b8283bf93a018de) to branch 'net.randombit.botan.c++0x' (head 7480693bb3f1e8a4e039a3e7ba3d9a7007f9730e)
| | | * propagate from branch 'net.randombit.botan' (head ↵lloyd2011-03-082-0/+83
| | | |\ | | | | | | | | | | | | | | | | | | | | | | | | | dd068808e5bf87c982765a8bcc314996053a5bdd) to branch 'net.randombit.botan.c++0x' (head 34696d52a8148d64f7021b3e193fc56f051b9dd2)
| | | * \ propagate from branch 'net.randombit.botan' (head ↵lloyd2011-02-1111-748/+31
| | | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 13a0d36dac3709f3cb88e830ed7f8cab9e7433ab) to branch 'net.randombit.botan.c++0x' (head 2221ad8796466e7e096645de77ba856a9c902d14)
| | | | * \ propagate from branch 'net.randombit.botan' (head ↵lloyd2010-11-295-141/+40
| | | | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fc8daa606ab7954eab48778d7236986747b719e4) to branch 'net.randombit.botan.c++0x' (head 2bf71b0a2e0e468d7eb3631e4ca284234f554729)
| | | | * \ \ propagate from branch 'net.randombit.botan' (head ↵lloyd2010-11-0411-748/+31
| | | | |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 303b2518a80553214b1e5ab4d9b96ef54629cbc7) to branch 'net.randombit.botan.c++0x' (head d734eefabe4816be4dd3e3e6e7bb13b7ab5be148)
| | | | | * \ \ propagate from branch 'net.randombit.botan' (head ↵lloyd2010-10-2811-12/+14
| | | | | |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2841fb518e20d2fe0a374e4f6b08bdbb14d5d158) to branch 'net.randombit.botan.c++0x' (head 0b9275139d6346bd3aa28d63bf8b8a03851d853d)
| | | | | * \ \ \ propagate from branch 'net.randombit.botan' (head ↵lloyd2010-10-134-7/+11
| | | | | |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cba32f885eb7889a9711cbee120df42839deb9d0) to branch 'net.randombit.botan.c++0x' (head 7cb9cdfda0f3dedab24f1d3bc7e7ea9b22164234)
| | | | | * \ \ \ \ propagate from branch 'net.randombit.botan' (head ↵lloyd2010-10-1311-748/+31
| | | | | |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2898d79f992f27a328a3e41d34b46eb1052da0de) to branch 'net.randombit.botan.c++0x' (head 6cba76268fd69a73195760c021b7f881b8a6552c)
| | | | | | * \ \ \ \ propagate from branch 'net.randombit.botan' (head ↵lloyd2010-09-0311-750/+33
| | | | | | |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a29c41b4a949207b1544096c3afab668f8b5179e) to branch 'net.randombit.botan.c++0x' (head a9d0c2f805b3c20a4c648575d7256959db8329fe)
| | | | | | | * \ \ \ \ propagate from branch 'net.randombit.botan' (head ↵lloyd2010-08-1311-750/+33
| | | | | | | |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0a3348f52bf558bc2282e1066c2913a72a1aeda5) to branch 'net.randombit.botan.c++0x' (head 552c20ae8874f12da779fc25ea368e36e71cbfe8)
| | | | | | | | * \ \ \ \ propagate from branch 'net.randombit.botan' (head ↵lloyd2010-08-0411-750/+33
| | | | | | | | |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 717a9d103aa80e6d66c04e3a23cf173aadf56ceb) to branch 'net.randombit.botan.c++0x' (head c9759e8ebc2f360696a11f2d00fc218d7a8bf744)
| | | | | | | | | * | | | | Move gtk example to atticlloyd2010-07-125-708/+0
| | | | | | | | | | | | | |
| | | | | | | | | * | | | | propagate from branch 'net.randombit.botan' (head ↵lloyd2010-07-121-3/+1
| | | | | | | | | |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 85c4aa25e9168862a96d7a2eca7478049fffa5d5) to branch 'net.randombit.botan.c++0x' (head 179c9203bd3a633b86a2d54992d8ffc77369de20)