The ENCRADM program unit lets you perform the following administration functions for the encryption software.
generate new RSA key pairs
activate newly generated key pairs
delete active and newly generated key pairs
read out public keys in a file (both active and newly generated key pairs)
On Unix, Linux and Windows systems, ENCRADM is part of the sample application.
Notes on generation
The program unit must be defined using the following KDCDEF statements.
BS2000 systems:
PROGRAM ENCRADM, COMP=ILCS
TAC ENCRADM, PROGRAM=ENCRADM, ADMIN=YES
Unix, Linux and Windows systems:
PROGRAM ENCRADM,COMP=C
TAC ENCRADM, PROGRAM=ENCRADM, ADMIN=YES
The program unit requires the following minimum space for KB and SPAB:
200 bytes for the KB program area and 4 KB for the SPAB area.
The program unit uses the C routine ERRCHCK internally.
Notes on linking
On BS2000 systems, the ENCRADM program unit is linked to the EXAMPLE library in the application program by means of a RESOLVE-BY-AUTO statement. The ERRCHCK routine is also linked implicitly.
On Unix, Linux and Windows systems, the ENCRADM program unit is automatically linked into the example application.