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
Exception
public static X509Certificate generateV1SelfSignedCertificate(KeyPair keyPair, String subject) throws Exception
Exception
Copyright © 2015. All Rights Reserved.