[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [iaik-ssl] PrivateKey class in JCE Applet Edition



What is "not the same" in the String generated by Util.toPemString()?

 Andreas Sterbenz              mailto:Andreas.Sterbenz@iaik.tu-graz.ac.at


-----Ursprüngliche Nachricht-----
Von: Dave Streeter - IICL Email <dave.streeter@iicl.co.uk>
An: 'iaik-jce@iaik.tu-graz.ac.at' <iaik-ssl@iaik.tu-graz.ac.at>
Gesendet: Dienstag, 31. August 1999 12:07
Betreff: [iaik-ssl] PrivateKey class in JCE Applet Edition


> Can anybody please let me know how to generate the following String
from the
> PrivateKey class:
>
>  "-----BEGIN ENCRYPTED PRIVATE KEY-----\n"+
>  "MIICmDAaBgkqhkiG9w0BBQMwDQQIucbn+/VNqXsCAQUEggJ4OZ/KqwCzKriHPnBr\n"+
>  "l0q7cWr/f+P2944vWCs/jFdYfWSX8zy+RZQY8BpaR6yUFZf1vicmGjjnwyKYEDVJ\n"+
>  "KNjqPp/cO+wzFEyZ28l5C9frCWy/9u3hkbzrfwThkYKi1Z5X8v/G7DSs+Mexn9dg\n"+
>  "ECZVRjmzhsKWbogYSC2sKBU6wewHWWGu5zidBU2jt+7OGUjrGlNR9AUjwLoHRlxD\n"+
>  "WDxDNu0c+S0nGP+QqTP/u++/v5eiv94WU++xg60BnZOoHBLaDE+UCwz/L1U9iny9\n"+
>  "OWEw7fsxavXvRfVlHIa6zPZJMY66AGqK0QKqnmAlab8mMf2fwKjBBE6bYWajKbgA\n"+
>  "wJELiJ60G6ojQHjRnDzhljnukMi0vYVjes3ZnX72f98FoDWoxk92vMWR0rcANhDz\n"+
>  "jBM1NzjJGGucDafy2xyU8a9uhWN+YZSp8Qq9S1EC90LeADWs/9J6GSmUxTnNvGI/\n"+
>  "Hqa0XWRAe8brKadVBXj1246asfSwDjrm4DDUeAeKW56Tx7pF4PPsNkanxL35KDCF\n"+
>  "cJQrs2Xrv1NOo6i7Rw70QuO/aMvIlyArqYsdwPSTiBnZTNjEbjBALovezw6He4Gm\n"+
>  "25TjlLRxsEb67qBML0o5McsXe758bnJp9wK9PATX0Tp7BYSWrxinZuHRinhmrUFP\n"+
>  "tYfpXd3lLoil8gILxboWvEiqQoLH824h2j1MlhfitQvh4PKaDwsD1cdMamOkpi75\n"+
>  "GfzTYMK3HnJvRYdZsRerpjcF3Kb59lj5vuhbqNLlaHsU0mzpECvd0QDooODiWC04\n"+
>  "t+1v8PiV7k2p3Izlzbj8IDSiyCHgorvn0ZVZg33KA3VREGok7hI3vSSbsAU=\n"+
>  "-----END ENCRYPTED PRIVATE KEY-----\n"
>
> I can produce the Pem string using the Util.toPemString() method but it
is
> not the same!
>
> Cheers.....Dave
>


smime.p7s