Sample Projects

The sample projects listed below demonstrate the usage of the SecureBlackbox components in a simple, straightforward way. By default the sample projects are installed in the demos subfolder of the installation directory.
Sample ProjectDescription
Archive Reader

A simple Archive Reader sample created with the ArchiveReader component. Use it to read and extract files from archives.

Archive Writer

A simple Archive Writer sample created with the ArchiveWriter component. Use it to create and modify archives.

ASiC Signer

A simple ASiC signer sample created with the ASiCSigner component. Use it to create XAdES-signed, CAdES-signed, and timestamped archives.

ASiC Verifier

A simple ASiC verifier created with the ASiCVerifier component. Use it to verify ASiC signatures.

Authenticode Signer

A simple authenticode signer created with the AuthenticodeSigner component. Use it to sign EXE and DLL files in accordance with MS Authenticode technology.

Authenticode Verifier

A simple authenticode verifier based on the AuthenticodeVerifier component. Use it to verify signed EXE and DLL files.

CAdES Signer

A simple CAdES generator created with the CAdESSigner component. The sample supports creation of CAdES signatures of different conformance levels.

CAdES Verifier

A simple CAdES processor created around the CAdESVerifier component.

FTP Client

A simple FTP client implemented around the FTPClient control. A number of core FTP operations, as well as various TLS modes, are supported.

Hash Function

Use this example to learn about calculate hash with HashFunction control.

HTTP Get

This tiny sample illustrates the HTTP GET functionality.

IMAP Client

A small mail receiving program based on the IMAPClient component. It can list mailboxes on the server, list messages in the selected mailbox, download them from the server and upload local messages to the server.

JAdES Signer

A simple example of creating JWS/JAdES signature with JAdESSigner control.

JAdES Verifier

Use this demo to learn how to verify JWS/JAdES signature using the JAdESVerifier control.

JWC Encryptor

Use this example to learn about encrypting and decrypting messages in JSON format with SymmetricCrypto control.

JWC Signer

Use this example to learn about signing and verifying messages in JSON format with PublicKeyCrypto control.

Message Compressor

A simple example of PKCS7-compliant message compressing functionality.

Message Decompressor

This small example illustrates the PKCS7-compliant message decompressing functionality.

Message Decryptor

A lightweight example of PKCS7 messaged decryption, built around the MessageDecryptor component.

Message Encryptor

This small demo illustrates the use of PKCS7 certificate-based messaged encryption functionality.

Message Signer

Learn how to implement PKCS7 signing in your application with this simple example. MessageSigner is a simpler version of CAdESSigner, which excludes the AdES piece.

Message Timestamp Verifier

This small demo shows how to validate PKCS7 timestamped messages with the MessageTimestampVerifier class.

Message Timestamper

This example illustrates the creation of PKCS7 timestamped messages.

Message Verifier

This sample illustrates the verification of signed PKCS7 documents. For advanced validations that include certificate chain processing see CAdESVerifier.

Office Decryptor

A very simple office document decryptor app built using the OfficeDecryptor control.

Office Encryptor

A lightweight encryptor of Office documents.

Office Signer

A simple example of Office document signing with OfficeSigner control.

Office Verifier

Use this demo to learn how to verify signed Office document using the OfficeVerifier control.

OTP Client

A very simple OTP password generator. TOTP and HOTP protocols are supported.

OTP Server

A simple OTP password generator (server side). HOTP and TOTP protocols are supported.

PDF Decryptor

A simple PDF decryption example. Both certificate- and password-encrypted document types are supported.

PDF Encryptor

A tiny PDF encryption example which supports password- and certificate-based encryption.

PDF Signer

An easy-to-use PDF signing example. Both generic and PAdES signatures are supported.

PDF Signer External

An easy-to-use PDF signing example. Both generic and PAdES signatures are supported.

PDF Verifier

This small demo illustrates the use of the PDFVerifier control for processing PDF signatures.

PGP Reader

Use this easy-to-use example to learn about integrating PGP decryption and verification into your application.

PGP Writer

A simple PGP encryptor-plus-verifier.

POP Client

A small mail receiving program based on the POP3Client component. It can connect to a POP3 server and receive messages from the mailbox or delete messages directly on the server.

Public Key Crypto

Use this example to learn about sign and verify with PublicKeyCrypto control.

SFTP Client

A small but powerful SFTP client built with the SFTPClient component. Directory browsing, uploads, and downloads are supported.

Simple Authenticator

A simple Authenticator created with the Authenticator component. Use it to user authentication.

SMTP Client

A small mail sender program based on the SMTPClient component. Just creates a plain text message and sends it to the specified SMTP server.

SOAP Signer

This small example illustrates the signing of SOAP messages with SOAPSigner control.

SOAP Verifier

Use this example to learn about SOAP signature validation with SOAPVerifier control.

Symmetric Crypto

Use this example to learn about encrypt and decrypt with SymmetricCrypto control.

TLS Client

A simple TLS client sample. Use this demo together with its TLS Server counterpart.

XAdES Signer

Use this demo to learn how to create signed XAdES documents of various levels.

XAdES Verifier

This small demo illustrates the use of XAdESVerifier for XAdES signature validations.

XML Decryptor

A tiny XML decryption example.

XML Encryptor

A tiny XML encryption example.

XML Signer

This small example shows how to create basic XML signatures with XMLSigner control. See XAdESSigner for more sophisticated signatures.

XML Verifier

This sample demonstrates the use of XMLVerifier for validating basic XML signatures. For validations involving certificate chain checks, see XAdESVerifier.

NOTE: These projects are mostly simple demos, and by no means complete applications. They are intended to illustrate the usage of the SecureBlackbox components in a simple, straightforward way. What we are hoping to demonstrate is how simple it is to program with our tools. If you want to know more about them, or if you have questions, please visit www.nsoftware.com or email to support@nsoftware.com.