java.lang.Object | |
↳ | org.bouncycastle.jce.examples.PKCS12Example |
Example of how to set up a certificiate chain and a PKCS 12 store for a private individual - obviously you'll need to generate your own keys, and you may need to add a NetscapeCertType extension or add a key usage extension depending on your application, but you should get the idea! As always this is just an example...
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
we generate a certificate signed by our CA's intermediate certficate
| |||||||||||
we generate an intermediate certificate signed by our CA
| |||||||||||
we generate the CA's certificate
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
we generate a certificate signed by our CA's intermediate certficate
Exception |
---|
we generate an intermediate certificate signed by our CA
Exception |
---|
we generate the CA's certificate
Exception |
---|