Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Example applications using the wolfSSL lightweight SSL/TLS library

NotificationsYou must be signed in to change notification settings

wolfSSL/wolfssl-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repository contains example applications, written in C, whichdemonstrate how to use the wolfSSL lightweight SSL/TLS library for securecommunication.

Each directory represents a unique topic (SSL/TLS, DTLS, PSK, etc.) andcontains a Makefile as well as a simple tutorial on the given topic.

Current Examples

android (Android Studio and NDK Examples)

This directory contains examples that demonstrate using wolfSSL,wolfSSL JNI/JSSE, and wolfCrypt JNI/JCE on the Android platform. Examplesuse either Android Studio with Gradle or the Android NDK standalone toolchain.

Please see theandroid/README.md for further usage anddetails.


BTLE

This directory contains examples for securing a Bluetooth Low Energy Link (BTLE).BTLE packets are small and throughput is low, so these examples demonstrate away to exchange data securely without BTLE pairing.

Please see thebtle/README.md for further usage and details.


can-bus

This directory contains an example echo server/client using wolfSSL overCAN bus with an ISO-TP transport layer. It can be used with a virtual CAN busin Linux.

Please see thecan-bus/README.md for further usage and details.


certfields (X509 field extraction)

This directory contains an example that demonstrate using wolfSSLto read a DER encoded certificate and extract the public key andsubject name information.

Please see thecertfields/README.md for further usageand details.


certgen (wolfSSL Certificate Generation)

This directory contains examples that demonstrate using wolfSSL togenerate and sign certificates.

Please see thecertgen/README.md for further usage anddetails.


certmanager (wolfSSL CertManager)

This directory contains examples that demonstrate usingCertManager (Certificate Manager) functionality.

Please see thecertmanager/README.md for further usageand details.


crypto (wolfCrypt Examples)

This directory contains examples that demonstrate using the wolfCrypt functionalityto encrypt files with different algorithms (aes, 3des, etc.)

Please see thecrypto/README.md for further usage and details.


CSharp (C# Wrapper Examples)

This directory contains examples that demonstrate using the C# wrapper.

Please see theCSharp/README.md for further usage and details.


custom-io-callbacks (wolfSSL Custom IO Callbacks)

This directory contains examples that demonstrate how the custom IO callbackscan be used to 4 facilitate a TLS connection using any medium.

Please see thecustom-io-callbacks/README.mdfor further usage and details.


DTLS (Datagram TLS)

This directory contains examples of using DTLS, with client and serverexamples demonstrating UDP, DTLS, non-blocking, session resumption,and multi-threading.

When compiling wolfSSL for use with these examples, wolfSSL will need to becompiled with DTLS support:

cd wolfssl-[version]./configure --enable-dtls

Examples in this directory may be compiled using:

cd ./dtlsmake

Please see thedtls/README.md for further usage and details.


ecc (Elliptic Curve Cryptography)

This directory contains examples that demonstrate the various use-cases ofwolfcrypt ECC.

Please see theecc/README.md for further usage and details.


ESP32 (Espressif)

This directory contains examples for the Espressif ESP32 chips.

Please see theESP32/README.md for further usage and details.


embedded (Embedded Systems)

This directory contains examples that demonstrate TLS client/servers communicatingthrough buffers and using sockets.

Please see theembedded/README.md for further usage anddetails.


hash (wolfCrypt Hash Examples)

This directory contains examples that demonstrate how to hash an input file usingwolfCrypt.

Please see thehash/README.md for further usage and details.


java (wolfJSSE Examples)

This directory contains examples that demonstrate HTTPS URL use with wolfJSSEand example keystores.

Please see thejava/README.md for further usage and details.


mynewt (Apache Mynewt Examples)

This directory contains examples that demonstrate using wolfSSL with ApacheMynewt OS.

Please see themynewt/README.md for further usage anddetails.


picotcp (picoTCP Examples)

This directory contains a TLS server created by using picoTCP via wolfSSLcustom callbacks.

Please see thepicotcp/README.md for further usage anddetails.


picotcp (picoTCP Examples)

This directory contains a TLS server created by using picoTCP via wolfSSLcustom callbacks.

Please see thepicotcp/README.md for further usage anddetails.


pk (Public-Key)

This directory contains examples that demonstrate various wolfCrypt public-keyfunctionality (storing and loading keys after generation, extracting public keyfrom private key, etc.).

Please see thepk/README.md for further usage and details.


pkcs11 (PKCS #11)

This directory contains examples of using wolfSSL's PKCS #11 feature and a TLSserver example using a PKCS 11 based key.

Please see thepkcs11/README.md for further usage and details.


pkcs7 (PKCS #7)

This directory contains example applications that demonstrate usage of thewolfCrypt PKCS#7/CMS API, included in the [wolfSSL embedded SSL/TLS library].

It includes examples of several different content types (EncryptedData, SignedData,EnvelopedData, CompressedData), and demonstrates both signing/encrypting andverifying/decrypting operations.

Please see thepkcs7/README.md for further usage and details.


PSK (Pre-Shared Keys)

This directory contains examples of using PSK, with client and server examplesdemonstrating TCP/IP, PSK, non-blocking, session resumption, and multi-threading.

When compiling wolfSSL for use with these examples, wolfSSL will need to becompiled with PSK support:

cd wolfssl-[version]./configure --enable-psk

Examples in this directory may be compiled using:

cd ./pskmake

Please see thepsk/README.md for further usage and details.


riot-os-posix-lwip (RIOT-OS)

This directory contains examples that demonstrate how to use wolfSSL TLS socketsover RIOT-OS POSIX sockets.

Please see theriot-os-posix-lwip/README.md forfurther usage and details.


RT1060 (i.MX RT1060-EVK)

This directory contains a wolfCrypt benchmark test application for i.MX RT1060-EVK.

Please see theRT1060/README.md for further usage and details.


NXP SE050

This directory contains example applications for NXP's SE050. The exampleshave been tested on a Raspberry Pi with SE050 EdgeLock.

Please see theSE050/README.md for further details.


SGX_Linux (Linux Enclave)

This directory contains an example application, written in C, which demonstrateshow to link the wolfSSL lightweight SSL/TLS library with a simple Enclave usingLinux. The example has been tested with Ubuntu 16.04.

Please see theSGX_Linux/README.md for further usage anddetails.


SGX_Windows (Windows Enclave)

This directory contains an example application, written in C++, which demonstrateshow to link the wolfSSL lightweight SSL/TLS library with a simple Enclave usingWindows.

Please see theSGX_Windows/README.md for further usageand details.


signature (Sign and Verify Examples)

This directory contains examples that demonstrate using wolfSSL to sign andverify binary data (supports RSA and ECC for signing and MD2, MD4, MD5, SHA,SHA224, SHA256, SHA384 and SHA512).

Please see thesignature/README.md for further usage anddetails.


tirtos_ccs_examples (TI-RTOS)

This directory contains a client/server examples that demonstrates using wolfSSLin a TI-RTOS ecosystem.

Please see thetirtos_ccs_examples/README.md forfurther usage and details.


TLS

This directory contains examples of using SSL/TLS, with client and serverexamples demonstrating TCP/IP, SSL/TLS, non-blocking, session resumption, andmulti-threading.

Examples in this directory may be compiled using:

cd ./tlsmake

Please see thetls/README.md for further usage and details.


utasker (uTasker wolfSSL Example Tasks)

This directory contains example uTasker client and server tasks thatdemonstrate using wolfSSL with the uTasker stack. These have been tested onthe uTasker Simulator.

Please see theutasker/README.md for further usage anddetails.


UEFI (wolfCrypt UEFI application Example)

This directory contains an example UEFI application that runs wolfcrypt test.

Please see theuefi/README.md for further usage anddetails.


Notes

When necessary, examples will use the example certificates and keys locatedin the ./certs directory. These certificates and keys have been pulled in fromthe main wolfSSL repository.

To generate your own cert text, see theDER to C script.


Support

Please contact wolfSSL atsupport@wolfssl.com with any questions, bug fixes,or suggested feature additions.


[8]ページ先頭

©2009-2025 Movatter.jp