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: http://dev.mysql.com/doc/refman/5.7/en/enterprise-encryption-functions.html

