PGP

Synopsis

HELP:   Generate keys for PGP
TYPE:   OBJECT
SYNTAX: PGP(USERID='str',MODE=REMAIN/ATTACH/OVERWRITE/RECOPY,SIGNONLY,ALGO.{},ACTIVATION=num,VALIDDAYS=num,FKM5())

Description

An object for specifying parameters used to generate PGP key pairs. Unless the parameter SIGNONLY is specified, a primary key for signing and a subkey for encryption are generated. This is the normal usage for data exchange. You can set the activation date and the validity period in days. If no activation date is provided, the current date is used. If no number of valid days is given, the key is valid indefinitely.

The overlay ALGO supports different characteristics for key generation. For example, you can define the modulus length and exponent values for RSA based keys.

Arguments