public final class SelfSignedX509CertificateAndSigningKey extends Object
Modifier and Type | Class and Description |
---|---|
static class |
SelfSignedX509CertificateAndSigningKey.Builder
A
Builder to configure and generate a SelfSignedX509CertificateAndSigningKey . |
Modifier and Type | Method and Description |
---|---|
static SelfSignedX509CertificateAndSigningKey.Builder |
builder()
Construct a new builder instance.
|
PKCS10CertificateSigningRequest |
generatePKCS10CertificateSigningRequest()
Generate a PKCS #10 certificate signing request using the self-signed X.509 certificate and the signing key.
|
X509Certificate |
getSelfSignedCertificate()
Get the self-signed X.509 certificate.
|
PrivateKey |
getSigningKey()
Get the private key used to sign the self-signed X.509 certificate.
|
public X509Certificate getSelfSignedCertificate()
public PrivateKey getSigningKey()
public PKCS10CertificateSigningRequest generatePKCS10CertificateSigningRequest()
public static SelfSignedX509CertificateAndSigningKey.Builder builder()
Copyright © 2020 JBoss by Red Hat. All rights reserved.