While it helps for testing and development, it should never ever be used in production settings.
| Modifier and Type | Method and Description |
|---|---|
| public String | Returns: the absolute path to the certificate.Filesystem path to the X.509 certificate file in PEM format . |
| public static SelfSignedCertificate | |
| public static SelfSignedCertificate | |
| public void | |
| public PemKeyCertOptions | Returns: aPemKeyCertOptions based on the generated certificate.Provides the |
| public String | Returns: the absolute path to the private key.Filesystem path to the RSA private key file in PEM format |
| public PemTrustOptions | Returns: aPemTrustOptions based on the generated certificate.Provides the |
| certificatePath | back to summary |
|---|---|
| public String certificatePath() Filesystem path to the X.509 certificate file in PEM format .
| |
| create | back to summary |
|---|---|
| public static SelfSignedCertificate create() Create a new
| |
| create | back to summary |
|---|---|
| public static SelfSignedCertificate create(String fqdn) Create a new
| |
| delete | back to summary |
|---|---|
| public void delete() Delete the private key and certificate files. | |
| keyCertOptions | back to summary |
|---|---|
| public PemKeyCertOptions keyCertOptions() Provides the
| |
| privateKeyPath | back to summary |
|---|---|
| public String privateKeyPath() Filesystem path to the RSA private key file in PEM format
| |
| trustOptions | back to summary |
|---|---|
| public PemTrustOptions trustOptions() Provides the
| |