Топ-100
 

CREATE_ASYMMETRIC_PUB_KEY

База данных: MySQL
Текст

Syntax:
create_asymmetric_pub_key(algorithm, priv_key_str)

Derives a public key from the given private key using the given
algorithm, and returns the key as a binary string in PEM format. If key
derivation fails, the result is NULL.

priv_key_str must be a valid key string in PEM format. algorithm
indicates the encryption algorithm used to create the key.

Supported algorithm values: 'RSA', 'DSA', 'DH'

For a usage example, see the description of
create_asymmetric_priv_key().

URL: https://dev.mysql.com/doc/refman/8.0/en/enterprise-encryption-functions.html

Пример