EasyByte Software

Welcome to EasyByte Software

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

 

 

SignID Property
 
     

Cryptocx v7 User Guide

 

SignID Property

This is the property that you set for the user id of the key to use when required for PGP based signing. This property is used in the PGPEncryptSignFile method.

Keys are stored in keyring files, the keys are identified by their id's.

When you use the key generation facility of Cryptocx the id that you specify is the one that will be set to the keys (public and private) that are generated.

 

Description

Specifies the exact key to use in a keyring file when signing a file. 

     
Syntax

object.SignID [= SignID ]

The syntax of the SignID property has these parts:

 
Part Description
object A Cryptocx v7 control.
SignID A string expression that specifies the user id of the key to use when signing a file.

       
Default ""   (empty string)
       
Remarks none
     
Data Type

String

     
Example Sample Visual Basic Code to encrypt and sign a file. 

Where Cryptocx1 is an instance of a Cryptocx Control.

''
'' Encrypt and Sign a file
''

Dim OutPut As String

Cryptocx1.SourceFile = Me.txtSourceFile.Text
Cryptocx1.DestinationFile = Me.txtDestinationFile.Text
Cryptocx1.Password = Me.txtPassword.Text
Cryptocx1.KeyFolder = Me.txtKeyring.Text
Cryptocx1.UserID = Me.txtEncryptID.Text
Cryptocx1.SignID = Me.txtSignID.Text

OutPut = Cryptocx1.PGPEncryptSignFile

If OutPut = "TRUE" Then
  '' Alls ok, the file was encrypted and signed
Else
  MsgBox OutPut
End If

 

 

 

 

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