Name
xenc_set_primary_key — Associate a X.509 certificate with a key
Synopsis
xenc_set_primary_key
(
|
in
name
varchar
) ; |
Description
This function is used to associate a key (to be used as primary) with a X.509 certificate. Usually this function is called after key import from a X.509 certificate.
Parameters
name
Name of the key to be processed.
Return Types
No return value.
Examples
Example 24.477. Importing a key from X.509 certificate
... xenc_key_create_cert (key_name, key_value, key_type, fmt, NULL, key_passwd); xenc_set_primary_key (key_name); ...