EasyByte Software

Welcome to EasyByte Software

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

 

 

KeyID Property
 
     

Cryptocx v7 User Guide

 

KeyID Property

This is the property that you set for the user id of the key to use when required for PGP based encryption/decryption.

Keys are stored in keyring files, the keys are identified by their id's, for Cryptocx this is the KeyID property.

When you use the key generation facility of Cryptocx the user 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. Also used to specify the KeyID of a key when generating keys.

     
Syntax

object.KeyID [= String ]

The syntax of the KeyID property has these parts:

 
Part Description
object A Cryptocx v7 control.
String A string expression that specifies the id of the key that you require to use. There can be hundreds of keys within a key ring file, this is how you specify which one to use.

       
Default ""   (empty string)
       
Remarks none
     
Data Type

String

     
Example Sample Visual Basic Code to generate some PGP keys:

Where Cryptocx1 is an instance of a Cryptocx Control.

Cryptocx1.Password = "My Password"
Cryptocx1.KeyID = "fred"
Cryptocx1.KeySize = "512"
Cryptocx1.KeyType = "RSA"
Cryptocx1.KeyFolder = "C:\folder"

x = Cryptocx1.PGPGenKeys

 

 

 

 

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