Re: Loading raw EC and RSA keys with OpenSSL 3

2022-08-23 Thread Tomas Mraz
On Tue, 2022-08-23 at 12:09 +, Jonathan Wernberg wrote: > TL;DR: With OpenSSL 3.x API, what is the recommended and safe way to > read in an EC private key from raw format into an EVP_PKEY object > ready to be used? What is the easiest way to convert an RSA public > key from raw modulus and expo

Loading raw EC and RSA keys with OpenSSL 3

2022-08-23 Thread Jonathan Wernberg
TL;DR: With OpenSSL 3.x API, what is the recommended and safe way to read in an EC private key from raw format into an EVP_PKEY object ready to be used? What is the easiest way to convert an RSA public key from raw modulus and exponent components to proper DER encoded SubjectPublicKeyInfo data?

help //java.security.NoSuchAlgorithmException: 1.2.840.113549.1.5.13 SecretKeyFactory not available

2022-08-23 Thread æŽć‘šćŽ
Hi , guys I have use the follow openssl commands to create a key pair for android app signing. Follow this link https://source.android.com/docs/core/ota/sign_builds#manually-generating-keys # generate RSA key openssl genrsa -3 -out temp.pem 2048 Generating RSA private key, 2048 b