Package | Description |
---|---|
org.wildfly.security.x500.cert |
Package containing APIs for generating certificates and certificate signing requests.
|
Modifier and Type | Method and Description |
---|---|
SelfSignedX509CertificateAndSigningKey.Builder |
SelfSignedX509CertificateAndSigningKey.Builder.addExtension(boolean critical,
String extensionName,
String extensionValue)
Add an X.509 certificate extension using the given extension name and string value.
|
SelfSignedX509CertificateAndSigningKey.Builder |
SelfSignedX509CertificateAndSigningKey.Builder.addExtension(X509CertificateExtension extension)
Add an X.509 certificate extension.
|
static SelfSignedX509CertificateAndSigningKey.Builder |
SelfSignedX509CertificateAndSigningKey.builder()
Construct a new builder instance.
|
SelfSignedX509CertificateAndSigningKey.Builder |
SelfSignedX509CertificateAndSigningKey.Builder.setDn(X500Principal dn)
Set the DN.
|
SelfSignedX509CertificateAndSigningKey.Builder |
SelfSignedX509CertificateAndSigningKey.Builder.setKeyAlgorithmName(String keyAlgorithmName)
Set the key algorithm name to use when generating the key pair.
|
SelfSignedX509CertificateAndSigningKey.Builder |
SelfSignedX509CertificateAndSigningKey.Builder.setKeySize(int keySize)
Set the key size to use when generating the key pair.
|
SelfSignedX509CertificateAndSigningKey.Builder |
SelfSignedX509CertificateAndSigningKey.Builder.setNotValidAfter(ZonedDateTime notValidAfter)
Set the not-valid-after date.
|
SelfSignedX509CertificateAndSigningKey.Builder |
SelfSignedX509CertificateAndSigningKey.Builder.setNotValidBefore(ZonedDateTime notValidBefore)
Set the not-valid-before date.
|
SelfSignedX509CertificateAndSigningKey.Builder |
SelfSignedX509CertificateAndSigningKey.Builder.setSignatureAlgorithmName(String signatureAlgorithmName)
Set the signature algorithm name to use when signing the self-signed certificate.
|
Copyright © 2020 JBoss by Red Hat. All rights reserved.