Help with export key as ASN.1 type EncryptedPrivateKeyInfo

2014-07-15 Thread Martin Basti
value (version). Output seems to be the OneAsymmetricKey type (RFC5958 section 2). Is there any way, how to export encrypted key as EncryptedPrivateKeyInfo DER? -- Martin Basti __ OpenSSL Project

Help with export key as ASN.1 type EncryptedPrivateKeyInfo

2014-07-15 Thread Martin Basti
value (version). Output seems to be the OneAsymmetricKey type (RFC5958 section 2). Is there any way, how to export encrypted key as EncryptedPrivateKeyInfo DER? -- Martin Basti

Re: Help with export key as ASN.1 type EncryptedPrivateKeyInfo

2014-07-16 Thread Martin Basti
On 15/07/14 15:05, Dr. Stephen Henson wrote: On Mon, Jul 14, 2014, Martin Basti wrote: Hi list, I have RSA encrypted private key as byte sequence, and I need to export it as ASN.1 type EncryptedPrivateKeyInfo (RFC5958 section 3.) Currently I use the following code (shortened): unsigned char