Top Fields Constructors Methods
io.vertx.core.net.impl

public Class SelfSignedCertificateImpl

extends Object
implements SelfSignedCertificate
Class Inheritance
All Implemented Interfaces
io.vertx.core.net.SelfSignedCertificate
Imports
io.vertx.core.VertxException, io.vertx.core.net.*, java.security.cert.CertificateException

Author
Julien Ponge

Field Summary

Modifier and TypeField and Description
private final SelfSignedCertificate

Constructor Summary

AccessConstructor and Description
public
public

Method Summary

Modifier and TypeMethod and Description
public String
certificatePath()

Implements io.vertx.core.net.SelfSignedCertificate.certificatePath.

Filesystem path to the X.509 certificate file in PEM format .

public void
delete()

Implements io.vertx.core.net.SelfSignedCertificate.delete.

Delete the private key and certificate files.

public PemKeyCertOptions
keyCertOptions()

Implements io.vertx.core.net.SelfSignedCertificate.keyCertOptions.

Provides the KeyCertOptions RSA private key file in PEM format corresponding to the privateKeyPath()

public String
privateKeyPath()

Implements io.vertx.core.net.SelfSignedCertificate.privateKeyPath.

Filesystem path to the RSA private key file in PEM format

public PemTrustOptions
trustOptions()

Implements io.vertx.core.net.SelfSignedCertificate.trustOptions.

Provides the TrustOptions X.509 certificate file in PEM format corresponding to the certificatePath()

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

certificateback to summary
private final SelfSignedCertificate certificate

Constructor Detail

SelfSignedCertificateImplback to summary
public SelfSignedCertificateImpl()
SelfSignedCertificateImplback to summary
public SelfSignedCertificateImpl(String fqdn)

Method Detail

certificatePathback to summary
public String certificatePath()

Implements io.vertx.core.net.SelfSignedCertificate.certificatePath.

Doc from io.vertx.core.net.SelfSignedCertificate.certificatePath.

Filesystem path to the X.509 certificate file in PEM format .

Returns:String

the absolute path to the certificate.

Annotations
@Override
deleteback to summary
public void delete()

Implements io.vertx.core.net.SelfSignedCertificate.delete.

Doc from io.vertx.core.net.SelfSignedCertificate.delete.

Delete the private key and certificate files.

Annotations
@Override
keyCertOptionsback to summary
public PemKeyCertOptions keyCertOptions()

Implements io.vertx.core.net.SelfSignedCertificate.keyCertOptions.

Doc from io.vertx.core.net.SelfSignedCertificate.keyCertOptions.

Provides the KeyCertOptions RSA private key file in PEM format corresponding to the privateKeyPath()

Returns:PemKeyCertOptions

a PemKeyCertOptions based on the generated certificate.

Annotations
@Override
privateKeyPathback to summary
public String privateKeyPath()

Implements io.vertx.core.net.SelfSignedCertificate.privateKeyPath.

Doc from io.vertx.core.net.SelfSignedCertificate.privateKeyPath.

Filesystem path to the RSA private key file in PEM format

Returns:String

the absolute path to the private key.

Annotations
@Override
trustOptionsback to summary
public PemTrustOptions trustOptions()

Implements io.vertx.core.net.SelfSignedCertificate.trustOptions.

Doc from io.vertx.core.net.SelfSignedCertificate.trustOptions.

Provides the TrustOptions X.509 certificate file in PEM format corresponding to the certificatePath()

Returns:PemTrustOptions

a PemTrustOptions based on the generated certificate.

Annotations
@Override