public interface SelfSignedCertificate
While it helps for testing and development, it should never ever be used in production settings.
Modifier and Type | Method and Description |
---|---|
String |
certificatePath()
Filesystem path to the X.509 certificate file in PEM format .
|
static SelfSignedCertificate |
create()
Create a new
SelfSignedCertificate instance. |
static SelfSignedCertificate |
create(String fqdn)
Create a new
SelfSignedCertificate instance with a fully-qualified domain name, |
void |
delete()
Delete the private key and certificate files.
|
PemKeyCertOptions |
keyCertOptions()
Provides the
KeyCertOptions RSA private key file in PEM format corresponding to the privateKeyPath() |
String |
privateKeyPath()
Filesystem path to the RSA private key file in PEM format
|
PemTrustOptions |
trustOptions()
Provides the
TrustOptions X.509 certificate file in PEM format corresponding to the certificatePath() |
PemKeyCertOptions keyCertOptions()
KeyCertOptions
RSA private key file in PEM format corresponding to the privateKeyPath()
PemKeyCertOptions
based on the generated certificate.PemTrustOptions trustOptions()
TrustOptions
X.509 certificate file in PEM format corresponding to the certificatePath()
PemTrustOptions
based on the generated certificate.String privateKeyPath()
String certificatePath()
void delete()
static SelfSignedCertificate create()
SelfSignedCertificate
instance.static SelfSignedCertificate create(String fqdn)
SelfSignedCertificate
instance with a fully-qualified domain name,fqdn
- a fully qualified domain name.Copyright © 2024 Eclipse. All rights reserved.