> HI ALL, > I have a binary format of a public key which is in > "BASE64-encoded public key in RSA PKCS#1 format". > How could I convert that to a PEM format? > Here is another data set: TO get the binary format I ran the following command:
openssl asn1parse -inform d -in key.bin 0:d=0 hl=2 l= 107 prim: priv [ 29 ] 109:d=0 hl=2 l= 30 prim: priv [ 6 ] 141:d=0 hl=2 l= 25 prim: priv [ 16 ] Error in encoding 22295:error:0D07207B:asn1 encoding routines:ASN1_get_object:header too long:asn1_lib.c:150: Any help greatly appriciated. Thanks, Bizhan ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager majord...@openssl.org