Docs

SecureBlackbox 2022 Java Edition

Version 22.0 [Build 8174]

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.

DCAuth Service

A simple example of the DC technology. The sample incorporates two counterparts of DC: the application part is represented with PDFSigner control, and the private key part is represented with DCAuth control.

DCAuth WebServer

A simple example of the DC technology. The sample incorporates two counterparts of DC: the application part is represented with PDFSigner control, and the private key part is represented with DCAuth control.

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.

FTP Server

A fully functional FTP server application built around the FTPServer component. Core file operations, user management, and 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.

HTTP Post

A simple HTTP POST example.

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.

KMIP Client

A powerful KMIP client sample built around the KMIPClient component. Most of KMIP functionality, such as certificate management and cryptographic operations, is supported.

KMIP Server

A powerful KMIP server sample built with the KMIPServer component. Most of KMIP functionality, such as certificate management and cryptographic operations, is supported.

Mail Writer

A simple e-mail messages creation demo based on the MailWriter component.

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.

Password Vault

A simple Password Vault to save user's information and passwords.

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 Keys

A simple PGP keyring manager. Generation and browsing of PGP keys are supported.

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.

PKCS11 Certificate Storage

An easy-to-use Certificate Storage for work with PKCS11 storages.

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.

SAML IdP Server

A simple SAML IdP server built with the SAMLIDPServer component. The sample supports creation of the identity provider and user authorization for SAML protocol.

SAML SP Server

A simple SAML SP server built with the SAMLSPServer control. The sample illustrates creation of a SAML-protected web server.

SFTP Client

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

SFTP Server

A powerful SFTP server created around the SFTPServer component. Most of SFTP operations are supported.

Simple Authenticator

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

Simple PDF Signer

An easy-to-use PDF signing example. Supported PKCS11 and Win32 storages.

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.

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.

Copyright (c) 2022 /n software inc. - All rights reserved.
SecureBlackbox 2022 Java Edition - Version 22.0 [Build 8174]