Re: EC public key info

2007-08-10 Thread Marek Marcola
Hello, > 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 Public key for RSA in X509 contains ASN.1 SEQUEN

Re: EC public key info

2007-08-10 Thread Metalpalo
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

Re: EC public key info

2007-08-10 Thread Marek Marcola
Hello, > I create ec key pair with secp160r2 curve and I need to achieve information > from public key in der format as: > EC Public Key: > pub: > 04:66:6d:59:b1:fb:53:c1:c9:98:c1:2c:71:73:1d: > 3a:36:a3:7c:d9:95:ca:de:ee:96:c1:56:c8:d7:c7:

EC public key info

2007-08-10 Thread Metalpalo
can I separate section ASN1 OID: secp160r2 ? Thanks -- View this message in context: http://www.nabble.com/EC-public-key-info-tf4248133.html#a12089620 Sent from the OpenSSL - User mailing list archive at Nabble.com