Thank You for explanation. I have one more question.
I read that the size of public key for secp160r2 is 64B and for RSA 162. I need to illustrate the content of own certificate on some application mask. This certificate contain only some attributes from X509 format, but I want to put generated public key via openssl or JAVA library. I create own certificate for illustration, not X509 format and I need tu put public key (EC or RSA ) into my certificate file. My question is: how many bytes does public key(EC or RSA) takes in X509 certificate ? 64B for EC and 162B for RSA. Does X509 contain whole RSA public key structure(162) in itself or only 1024bit modulus and 4 bytes for exponent ? Does Because I want to achieve that I will read public key from own file and then display it in text format. For example RSA I dispalyed modulus and exponent in hexa. In this case I dont need insert whole 162B, because I know regenerate public key from modulus and exponent in Java. I want to achieve that I can regenerate public keys from own certificate. -- View this message in context: http://www.nabble.com/EC-public-key-info-tf4248133.html#a12090741 Sent from the OpenSSL - User mailing list archive at Nabble.com. ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]