<div dir="ltr">Hi all,<div><br></div><div>I need to convert a Json Web Key (JWK) to PEM PKCS#8 format.</div><div><br></div><div>I am using creating an RSA key using the parameters in JWK and then using i2d_RSAPublicKey() to  encode the RSA key to PEM PKCS#1. </div><div><br></div><div>Are there any OpenSSL functions that programmatically convert the key (both public and private) to PKCS#8? </div><div><br></div><div>Thanks!<br></div></div>