Package net.dona.doip.server
Class DoipServerConfig.TlsConfig
java.lang.Object
net.dona.doip.server.DoipServerConfig.TlsConfig
- Enclosing class:
- DoipServerConfig
TLS configuration for a
DoipServer
.-
Field Summary
FieldsModifier and TypeFieldDescriptionCertificate chain for the server.Identifier for the server, which will be included in any automatically generated server certificate.Private key for the server.Public key for the server. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
id
Identifier for the server, which will be included in any automatically generated server certificate. If only id is present, a keypair will be minted on server startup. IfcertificateChain
is provided this is ignored. -
publicKey
Public key for the server. IfcertificateChain
is provided this is ignored. Otherwise a self-signed certificate using this public key is automatically generated. -
privateKey
Private key for the server. Required ifpublicKey
orcertificateChain
are present. -
certificateChain
Certificate chain for the server.
-
-
Constructor Details
-
TlsConfig
public TlsConfig()
-
-
Method Details