EasyByte Software

Welcome to EasyByte Software

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

 

 

PGPGetSecretKeys Method
 
     

Cryptocx v7 User Guide

 

PGPGetSecretKeys Method

This is the method that you use to get a list of all of the keys within a secret keyring file. This method returns the key ids from the file and not the actual keys. If you wish to extract a specific key you should use the ExtractKeys method.

 

Description

Extracts a list of the key ids from the secret keyring file.

     
Syntax

x = object.PGPGetSecretKeys

The syntax of the PGPGetSecretKeys method has these parts:

 
Part Description
x A string that becomes a list of the key ids in the secret keyring file, separated by Chr(1).
object A Cryptocx v7 control.

       
Remarks If there are no keys in the specified keyring an empty string will be returned.

All key ids will be separated by Chr(1)

       
Returns

String

     
Example Sample Visual Basic Code to get a list of the key ids in the secret key ring.

Where Cryptocx1 is an instance of a Cryptocx Control.

Dim x As String

Cryptocx1.KeyFolder = "C:\mykeys\"


'' Get the keys.
''

txtKeys.Text = Cryptocx1.PGPGetSecretKeys

 

 

 

 

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