we use PKCS7 with Java.

Can't speak to the other question.

----- Original Message -----
From: Haikel <[EMAIL PROTECTED]>
Date: Fri, 17 May 2002 17:10:51 +0100
To: [EMAIL PROTECTED]
Subject: URGENT: PKCS8  format to be used with java


> Hi,
> 
> I'have generated keys in pkcs8 format with java and openssl. The thing
> that was not expected is the difference of the two files structure.  The
> two files I generated look like that:
> 
> The file generated with java
> 
> -----BEGIN ENCRYPTED PRIVATE KEY-----
> MIICrTAnBgoqhkiG9w0BDAEDMBkEFLHA2SGrNrwcUsFrxFftTdvpff0kAgEFBIICgCe/dqz6Z4Qn
> 
> .
> bp2JoA19vvY9/z762P4hGSHJWQA4ltQVzvGXScVQ+KpobwU9YH5Qs4JGBPEO7b1L/ONpz+jBj+hF
> 
> ykCw3uM=
> -----END ENCRYPTED PRIVATE KEY-----
> 
> The file genrated with openssl
> 
> -----BEGIN ENCRYPTED PRIVATE KEY-----
> MIICoTAbBgkqhkiG9w0BBQMwDgQIXNLEC6mo9bwCAggABIICgIEW1x+WeSW2K2BV
> .
> qWJ4VA95CfBeJbL9bjnbPog7A5qvhXmxV6rLDfwNyvzEbz2YkLWMDZp5io8Sp1TN
> fd/VfTQ=
> -----END ENCRYPTED PRIVATE KEY-----
> 
> 
> As you can see the lines have not the same length.
> 
> Can anyone, tell me why the two files are different and If it's possible
> to use openssl PKCS8 keys with java.
> 
> Thanks
> Haikel MEJRI
> 

-- 
_______________________________________________
Sign-up for your own FREE Personalized E-mail at Email.com
http://www.email.com/?sr=signup

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to