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. The
key is in PKCS #8 format. If key derivation fails, the result is NULL.

For the legacy version of this function in use before MySQL 8.0.29, see
https://dev.mysql.com/doc/refman/8.0/en/enterprise-encryption-functions
-legacy.html.

algorithm is the encryption algorithm used to create the key. The
supported algorithm value is 'RSA'.

priv_key_str is a valid PEM encoded RSA private key.

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

