Package io.micronaut.mqtt.ssl
Class MqttCertificateConfiguration
java.lang.Object
io.micronaut.mqtt.ssl.MqttCertificateConfiguration
@ConfigurationProperties("mqtt.client.ssl")
public class MqttCertificateConfiguration
extends Object
MQTT client SSL configuration.
- Since:
- 1.0.0
- Author:
- James Kleeh
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionio.micronaut.core.io.Readable
io.micronaut.core.io.Readable
char[]
io.micronaut.core.io.Readable
void
setCertificate
(io.micronaut.core.io.Readable certificate) void
setCertificateAuthority
(io.micronaut.core.io.Readable certificateAuthority) void
setPassword
(char[] password) void
setPrivateKey
(io.micronaut.core.io.Readable privateKey)
-
Constructor Details
-
MqttCertificateConfiguration
public MqttCertificateConfiguration()
-
-
Method Details
-
getCertificateAuthority
public io.micronaut.core.io.Readable getCertificateAuthority()- Returns:
- The certificate authority
-
setCertificateAuthority
public void setCertificateAuthority(io.micronaut.core.io.Readable certificateAuthority) - Parameters:
certificateAuthority
- The certificate authority location
-
getCertificate
public io.micronaut.core.io.Readable getCertificate()- Returns:
- The certificate
-
setCertificate
public void setCertificate(io.micronaut.core.io.Readable certificate) - Parameters:
certificate
- The client certificate location
-
getPrivateKey
public io.micronaut.core.io.Readable getPrivateKey()- Returns:
- The client key
-
setPrivateKey
public void setPrivateKey(io.micronaut.core.io.Readable privateKey) - Parameters:
privateKey
- The client private key location
-
getPassword
public char[] getPassword()- Returns:
- The key password
-
setPassword
public void setPassword(char[] password) - Parameters:
password
- The key password
-