xenc_SPKI_read
Imports a public key from simple public key infrastructure (SPKI)
xenc_SPKI_read
(in key_name varchar,
in key_data varchar);
Description
This function is used to read an RSA public key from SPKI content.
Parameters
key_name –
The name of the key to be created, if null is given a temp key will be created
key_data –
The SPKI content
Errors
This function can generate the following errors:
.
Examples
SPKI reading
The example below creates a temp key.
kname := xenc_SPKI_read (null, replace (get_keyword ('key', params), '\r\n', ''));