Class SelfSignedHttpsCertificateBuilder
java.lang.Object
org.eclipse.milo.opcua.stack.core.util.SelfSignedHttpsCertificateBuilder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddDnsName(String dnsName) addIpAddress(String ipAddress) build()setCommonName(String commonName) Set the Common Name, which should be the hostname when building an SSL/TLS certificate.setOrganization(String organization) setValidityPeriod(Period validityPeriod)
-
Constructor Details
-
SelfSignedHttpsCertificateBuilder
-
-
Method Details
-
setValidityPeriod
-
setCommonName
Set the Common Name, which should be the hostname when building an SSL/TLS certificate.- Parameters:
commonName- the hostname to place in the Common Name field.- Returns:
thisSelfSignedHttpsCertificateBuilder.
-
setOrganization
-
addDnsName
-
addIpAddress
-
build
- Throws:
Exception
-