Package io.vertx.rxjava.core.net
Class SelfSignedCertificate
- java.lang.Object
-
- io.vertx.rxjava.core.net.SelfSignedCertificate
-
public class SelfSignedCertificate extends Object
A self-signed certificate helper for testing and development purposes.While it helps for testing and development, it should never ever be used in production settings.
NOTE: This class has been automatically generated from theoriginalnon RX-ified interface using Vert.x codegen.
-
-
Field Summary
Fields Modifier and Type Field Description static TypeArg<SelfSignedCertificate>__TYPE_ARG
-
Constructor Summary
Constructors Constructor Description SelfSignedCertificate(SelfSignedCertificate delegate)SelfSignedCertificate(Object delegate)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringcertificatePath()Filesystem path to the X.509 certificate file in PEM format .static SelfSignedCertificatecreate()Create a newSelfSignedCertificateinstance.static SelfSignedCertificatecreate(String fqdn)Create a newSelfSignedCertificateinstance with a fully-qualified domain name,voiddelete()Delete the private key and certificate files.booleanequals(Object o)SelfSignedCertificategetDelegate()inthashCode()PemKeyCertOptionskeyCertOptions()Provides theKeyCertOptionsRSA private key file in PEM format corresponding to theprivateKeyPath()static SelfSignedCertificatenewInstance(SelfSignedCertificate arg)StringprivateKeyPath()Filesystem path to the RSA private key file in PEM formatStringtoString()PemTrustOptionstrustOptions()Provides theTrustOptionsX.509 certificate file in PEM format corresponding to thecertificatePath()
-
-
-
Field Detail
-
__TYPE_ARG
public static final TypeArg<SelfSignedCertificate> __TYPE_ARG
-
-
Constructor Detail
-
SelfSignedCertificate
public SelfSignedCertificate(SelfSignedCertificate delegate)
-
SelfSignedCertificate
public SelfSignedCertificate(Object delegate)
-
-
Method Detail
-
getDelegate
public SelfSignedCertificate getDelegate()
-
keyCertOptions
public PemKeyCertOptions keyCertOptions()
Provides theKeyCertOptionsRSA private key file in PEM format corresponding to theprivateKeyPath()- Returns:
- a
PemKeyCertOptionsbased on the generated certificate.
-
trustOptions
public PemTrustOptions trustOptions()
Provides theTrustOptionsX.509 certificate file in PEM format corresponding to thecertificatePath()- Returns:
- a
PemTrustOptionsbased on the generated certificate.
-
privateKeyPath
public String privateKeyPath()
Filesystem path to the RSA private key file in PEM format- Returns:
- the absolute path to the private key.
-
certificatePath
public String certificatePath()
Filesystem path to the X.509 certificate file in PEM format .- Returns:
- the absolute path to the certificate.
-
delete
public void delete()
Delete the private key and certificate files.
-
create
public static SelfSignedCertificate create()
Create a newSelfSignedCertificateinstance.- Returns:
- a new instance.
-
create
public static SelfSignedCertificate create(String fqdn)
Create a newSelfSignedCertificateinstance with a fully-qualified domain name,- Parameters:
fqdn- a fully qualified domain name.- Returns:
- a new instance.
-
newInstance
public static SelfSignedCertificate newInstance(SelfSignedCertificate arg)
-
-