Package io.vertx.mutiny.core.net
Class SelfSignedCertificate
- java.lang.Object
-
- io.vertx.mutiny.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 Mutiny-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(io.vertx.core.net.SelfSignedCertificate delegate)SelfSignedCertificate(Object delegate)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringcertificatePath()static SelfSignedCertificatecreate()static SelfSignedCertificatecreate(String fqdn)voiddelete()booleanequals(Object o)io.vertx.core.net.SelfSignedCertificategetDelegate()inthashCode()io.vertx.core.net.PemKeyCertOptionskeyCertOptions()static SelfSignedCertificatenewInstance(io.vertx.core.net.SelfSignedCertificate arg)StringprivateKeyPath()StringtoString()io.vertx.core.net.PemTrustOptionstrustOptions()
-
-
-
Field Detail
-
__TYPE_ARG
public static final TypeArg<SelfSignedCertificate> __TYPE_ARG
-
-
Constructor Detail
-
SelfSignedCertificate
public SelfSignedCertificate(io.vertx.core.net.SelfSignedCertificate delegate)
-
SelfSignedCertificate
public SelfSignedCertificate(Object delegate)
-
-
Method Detail
-
getDelegate
public io.vertx.core.net.SelfSignedCertificate getDelegate()
-
keyCertOptions
public io.vertx.core.net.PemKeyCertOptions keyCertOptions()
- Returns:
- a
PemKeyCertOptionsbased on the generated certificate.
-
trustOptions
public io.vertx.core.net.PemTrustOptions trustOptions()
- Returns:
- a
PemTrustOptionsbased on the generated certificate.
-
privateKeyPath
public String privateKeyPath()
- Returns:
- the absolute path to the private key.
-
certificatePath
public String certificatePath()
- Returns:
- the absolute path to the certificate.
-
delete
public void delete()
-
create
public static SelfSignedCertificate create()
- Returns:
- a new instance.
-
create
public static SelfSignedCertificate create(String fqdn)
- Parameters:
fqdn- a fully qualified domain name.- Returns:
- a new instance.
-
newInstance
public static SelfSignedCertificate newInstance(io.vertx.core.net.SelfSignedCertificate arg)
-
-