Name
xenc_key_inst_create — Key instance generation
Synopsis
any xenc_key_inst_create ( |
in name varchar , |
in super any ) ; |
Description
The function is used to make a key reference used in encryption functions.
Parameters
name
Name of the key to be instantiated.
super
Optional parameter, is specified must contains a key reference
to the super key. In other words the key used to encrypt key
specified by name
.
Return Types
On success the function returns a non-null value containing key reference data.
Examples
Example24.474.Key instance creation
The example specifies to use an AES key to be used as a session key, also AES will be encrypted with a RSA one.
... keyi := xenc_key_inst_create ('myAES', xenc_key_inst_create ('rsa-test')) ...