[en] Create a GPG Crypto Profile
[en] 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.
[en] GPG Crypto profile entries in the VT-NET database must contain the following parameters:
[en] Parameter | [en] Example value |
---|---|
[en] Crypto profile code | [en] |
[en] Description | [en] |
[en] Algorithm | [en] Sugerencia[en] In the case of GPG, this is an informative field as the algorithms used are specified in the keys. |
[en] Key size |
Sugerencia[en] This is an informative field. |
[en] Profile type | [en] Sugerencia[en] It must be GPG, regardless of whether the profile's purpose is encryption or signing. |
[en] Product code | [en] |
[en] Profile encoding | [en] |
[en] Key code | [en] Sugerencia[en] It must match the certificate code set up in Middleware, as the user-defined platform certificate will be used as key. |
[en] Sign key code | [en] Leave this field blank. Sugerencia[en] This field is optional. If a code is specified, the key will be used to sign before an encryption operation. |
[en] 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; /