* 30), new Date(System.currentTimeMillis()
+ (1000L * 60 * 60 * 24 * 365 * 10)), new X500Name(
"CN=0.0.0.0, OU=None, O=None, L=None, C=None"),
SubjectPublicKeyInfo.getInstance(kp.getPublic()
.getEncoded()));
ContentSigner signer = new JcaContentSignerBuilder(
"SHA256WithRSAEncryption").build(kp.getPrivate());
Certificate certificate = new JcaX509CertificateConverter()
.getCertificate(v3CertGen.build(signer));
final KeyStore keystore = KeyStore.getInstance(KeyStore