public class CertificateUtils extends Object
| Constructor and Description |
|---|
CertificateUtils() |
| Modifier and Type | Method and Description |
|---|---|
static X509Certificate |
generateV1SelfSignedCertificate(KeyPair keyPair,
String subject) |
static X509Certificate |
generateV3Certificate(KeyPair keyPair,
PrivateKey caPrivateKey,
X509Certificate caCert,
String subject) |
public static X509Certificate generateV3Certificate(KeyPair keyPair, PrivateKey caPrivateKey, X509Certificate caCert, String subject) throws Exception
Exceptionpublic static X509Certificate generateV1SelfSignedCertificate(KeyPair keyPair, String subject) throws Exception
ExceptionCopyright © 2014. All Rights Reserved.