WALTER | Workable Algorithms for Location-aware Transmission, Encryption Response

PGPKeyGenerator..::..GenerateKeys Method (PGPKeySize)

Generates a new set of keys.

Namespace:  Walter.Cypher.PGP
Assembly:  Walter.Cypher (in Walter.Cypher.dll)

Syntax


public KeyRing GenerateKeys(
	PGPKeySize pgpKeySize
)

Parameters

pgpKeySize
Type: Walter.Cypher.PGP..::..PGPKeySize
Size of the PGP key.

Return Value

KeyRing.

Exceptions


ExceptionCondition
[Exception]Key should be multiple of two and greater than 512.