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 theoriginal
non 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 String
certificatePath()
static SelfSignedCertificate
create()
static SelfSignedCertificate
create(String fqdn)
void
delete()
boolean
equals(Object o)
io.vertx.core.net.SelfSignedCertificate
getDelegate()
int
hashCode()
io.vertx.core.net.PemKeyCertOptions
keyCertOptions()
static SelfSignedCertificate
newInstance(io.vertx.core.net.SelfSignedCertificate arg)
String
privateKeyPath()
String
toString()
io.vertx.core.net.PemTrustOptions
trustOptions()
-
-
-
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
PemKeyCertOptions
based on the generated certificate.
-
trustOptions
public io.vertx.core.net.PemTrustOptions trustOptions()
- Returns:
- a
PemTrustOptions
based 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)
-
-