public interface UaStackServerConfig
Set<EndpointConfiguration> getEndpoints()
EndpointConfigurations for this server.LocalizedText getApplicationName()
ApplicationDescription returned to clients.String getApplicationUri()
ApplicationDescription returned to clients.
The application uri must match the application uri used on the server's application instance certificate.String getProductUri()
ApplicationDescription returned to clients.EncodingLimits getEncodingLimits()
EncodingLimits.UInteger getMinimumSecureChannelLifetime()
UInteger getMaximumSecureChannelLifetime()
CertificateManager getCertificateManager()
CertificateManager for this server.TrustListManager getTrustListManager()
TrustListManager for this server.ServerCertificateValidator getCertificateValidator()
ServerCertificateValidator for this server.Optional<KeyPair> getHttpsKeyPair()
KeyPair used for SSL/TLS with HTTPS endpoints.Optional<X509Certificate> getHttpsCertificate()
X509Certificate used for SSL/TLS with HTTPS endpoints.ExecutorService getExecutor()
ExecutorService for this server.static UaStackServerConfigBuilder builder()
UaStackServerConfigBuilder.static UaStackServerConfigBuilder copy(UaStackServerConfig config)
UaStackServerConfig into a new UaStackServerConfigBuilder.
This builder can be used to make any desired modifications before invoking
UaStackServerConfigBuilder.build() to produce a new config.
config - the UaStackServerConfig to copy from.UaStackServerConfigBuilder pre-populated with values from config.static UaStackServerConfig copy(UaStackServerConfig config, Consumer<UaStackServerConfigBuilder> consumer)
UaStackServerConfig into a new UaStackServerConfigBuilder
and then submit the builder to the provided consumer for modification.config - the UaStackServerConfig to copy from.consumer - a Consumer that may modify the builder.UaStackServerConfig built from the builder provided to consumer.Copyright © 2021. All rights reserved.