Create a GPG Crypto Profile
In the SQL editor, create the crypto profile in the VT-NET database using StoreProcedure. This will create a new entry in the crypto_profile table.
GPG Crypto profile entries in the VT-NET database must contain the following parameters:
Parameter | Example value |
---|---|
Crypto profile code |
|
Description |
|
Algorithm |
TipIn the case of GPG, this is an informative field as the algorithms used are specified in the keys. |
Key size |
TipThis is an informative field. |
Profile type |
TipIt must be GPG, regardless of whether the profile's purpose is encryption or signing. |
Product code |
|
Profile encoding |
|
Key code |
TipIt must match the certificate code set up in Middleware, as the user-defined platform certificate will be used as key. |
Sign key code | Leave this field blank. TipThis field is optional. If a code is specified, the key will be used to sign before an encryption operation. |
The following code snippet shows how to create a crypto profile entry in the database using the example values listed above.
BEGIN VTDB.INS_UPD_CRYPTO_PROFILES(' MyGPGProfileCode ',' Unit Test GPG ','4096',’GPG',2049,TO_CLOB(''), 'MB','H',NULL,’RSAE’,'VERITRAN', NULL, 0); END; /