java.security.cert.X509Certificate
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static X509Certificate | Returns: the x509 certificatethe CA key pair caKeyPair, String the subject name subject)Generate version 1 self signed |
| public static X509Certificate | |
| public static X509Certificate | Returns: the x509 certificatethe key pair keyPair, PrivateKey the CA private key caPrivateKey, X509Certificate the CA certificate caCert, String the subject name subject)Generates version 3 |
| CertificateUtils | back to summary |
|---|---|
| public CertificateUtils() | |
| generateV1SelfSignedCertificate | back to summary |
|---|---|
| public static X509Certificate generateV1SelfSignedCertificate(KeyPair caKeyPair, String subject) Generate version 1 self signed
| |
| generateV1SelfSignedCertificate | back to summary |
|---|---|
| public static X509Certificate generateV1SelfSignedCertificate(KeyPair caKeyPair, String subject, BigInteger serialNumber) | |
| generateV3Certificate | back to summary |
|---|---|
| public static X509Certificate generateV3Certificate(KeyPair keyPair, PrivateKey caPrivateKey, X509Certificate caCert, String subject) throws Exception Generates version 3
| |