Re: How Java work with PKCS12?
From: Didi (didi1976NO_at_SPAMgmx.net)
Date: 07/28/03
- Next message: Joseph V. Morris: "Re: Norton Internet Security Problems"
- Previous message: Dave Korn: "Re: Is this a new virus ?"
- In reply to: Samui: "How Java work with PKCS12?"
- Next in thread: Samui: "Re: How Java work with PKCS12?"
- Reply: Samui: "Re: How Java work with PKCS12?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Mon, 28 Jul 2003 18:14:03 +0200
Hi,
you can access a PKCS12-File directly from Java.
java.security.KeyStore ks = java.security.KeyStore.getInstance("PKCS12");
ks.load(new
java.io.FileInputStream("yourStore.p12"),"yourPassword".toCharArray());
Didi
"Samui" <samuicheng@yahoo.com.hk> schrieb im Newsbeitrag
news:978c0c78.0307232208.a66f8f2@posting.google.com...
> Hi,
> I'm a beginner of Java security.
> Is it possible to get Public Key and Private Key from a PKCS12
> certificate by Java program?
> How can I do it?
> Is there any sample codes or tutorial?
>
> Thanks!
>
> Samui
- Next message: Joseph V. Morris: "Re: Norton Internet Security Problems"
- Previous message: Dave Korn: "Re: Is this a new virus ?"
- In reply to: Samui: "How Java work with PKCS12?"
- Next in thread: Samui: "Re: How Java work with PKCS12?"
- Reply: Samui: "Re: How Java work with PKCS12?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|