EasyByte Software

Welcome to EasyByte Software

Home Buy Online Products Downloads Support
Sections
Index
About
Installation
Properties
Methods
ASP and dotNET
Further Information
  

 

 

PGPSignString Method
 
     

Cryptocx v7 User Guide

 

PGPSignString Method

This is the method that you use to digitally sign a string. You need to have a secret keyring that you know the password to, to use this function.

 

Description

Digitally signs a string

     
Syntax

x = object.PGPSignString

The syntax of the PGPSignString method has these parts:

 
Part Description
object A Cryptocx v7 control.
x A string that becomes the signed string

       
Remarks You need to have a secret keyring, with a secret key you know the password to, to be able to use this method.

You must specify what string to sign, the InputText.

You must specify the Password of the secret key you are using.

You must specify the KeyFolder, where the secret keyring is located.

You must specify the KeyID of the secret key you would like to use.

       
Returns

String

     
Example Sample Visual Basic Code to digitally sing a file.

Where Cryptocx1 is an instance of a Cryptocx Control.

Cryptocx1.InputText = "Some text to sign"
Cryptocx1.Password = "mypass"
Cryptocx1.KeyFolder = "C:\rings\"
Cryptocx1.KeyID = "mykey"

x = Cryptocx1.PGPSignString

 

 

 

 

Back to Contents Page

 

Click here to set this great site as your home page

Or click here to add it to your Favorites.

  
  
 

Copyright (c) EasyByte Software 1998-2008, info@easybyte.com