s) and the recommendation X.690 (for DER/ASN.1 encoding).
Regards,
Tomasz Kaźmierczak
Kyle Hamilton pisze:
For information on how they're encoded, please see ITU recommendation
X.690 (DER). The full documentation on ASN.1 (the notation language)
can be found in ITU recommendation X.680; y
documents published by the ITU is
like trying to wikipath through 40 links to get to the information
you're looking for. I wholeheartedly recommend staying away from them
unless you absolutely need them.
-Kyle H
On Tue, Feb 10, 2009 at 2:46 PM, Tomasz Kaźmierczak wrote:
I've manage
I've managed to base64 decode a public key (at least I think so;).
Now I'm trying to understand how to interpret the key data. I've found the
definitions of RSAPublicKey and RSAPrivateKey structures (in the
"PKCS #1: RSA Cryptography Standard"), but there is no information
about what are the lengt
Ok. Thanks for the answers.
I'll try with this information.
Regards,
Tomasz Kaźmierczak
Dr. Stephen Henson pisze:
On Fri, Feb 06, 2009, Tomasz Kaźmierczak wrote:
Ok. And it is of course base64 encoded, right?
And what about the public key (-BEGIN RSA PUBLIC KEY-)? It looks
#1 RSA key structure which contains private exponent,
public exponent, and modulus.
-Kyle H
On Fri, Feb 6, 2009 at 9:34 AM, Tomasz Kaźmierczak wrote:
Thanks for the link, but I've already seen that, and unfortunately it didn't
help...
When I open the PEM files with keys in a plain text edit
Thanks for the link, but I've already seen that, and unfortunately it
didn't help...
When I open the PEM files with keys in a plain text editor, the contents
are different than what's shown on the linked page. In stead of:
-BEGIN RSA PRIVATE KEY-
Proc-Type: 4,ENCRYPTED
DEK-Info: DES-EDE
= PEM_read_RSAPublicKey(pubKeyFile, NULL, NULL, NULL);
privKey = PEM_read_RSAPrivateKey(privKeyFile, NULL, NULL, NULL);
Tomasz Kaźmierczak
__
OpenSSL Project http://www.op