Xceed Encryption Library Documentation
Signer Sample Application for VB6
Samples > Signer Sample Application for VB6

Description

This sample demonstrates how to digitally sign and verify a file or a block of memory data using the RSA signing method.

Source files

Project path: SAMPLES\VISUAL BASIC 6\SIGNER

Project file name: SIGNER.VBP

Demonstrates

Properties: PrivateKey, PublicKey, Signature, and SigningMethod

Methods: Sign, Verify, ReadFile and SetRandomKeyPair

How to use

First, choose what you want to sign or verify (file or message) by selecting the right radio button.

For file signing, specify the file to sign by entering the path and filename or by selecting one using the "..." button. For memory buffer signing, specify the message to sign by entering it in the text box.

Next, click on the Sign button to calculate the signature that will be shown in the Signature text box. Then click on the Verify button to check the signature in the Signature text box against the chosen file or message.

The Option button allows you the specify the file names where are stored the private key and the public key. From there, you can also generate a new key pair that will be saved in the file names specified.