EasyByte Software

Welcome to EasyByte Software

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

 

 

KeyType Property
 
     

Cryptocx v7 User Guide

 

KeyType Property

This is the property that you set for what type of keys to generate, RSA or DH/DSS keys.

 

Description

Specifies the key type to generate

     
Syntax

object.KeyType [= KeyType ]

The syntax of the KeyType property has these parts:

 
Part Description
object A Cryptocx v7 control.
KeyType A string expression that specifies the type of key to generate.

       
Default ""   (empty string)
       
Remarks This property takes only two different inputs:

"RSA"

or

"DH/DSS" 

     
Data Type

String

     
Example Sample Visual Basic Code to generate some keys:

Where Cryptocx1 is an instance of a Cryptocx Control.

Cryptocx1.Password = "My Password"
Cryptocx1.UserID = "fred"
Cryptocx1.KeySize = "1024"
Cryptocx1.KeyType = "DH/DSS"
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