public class HelloSecureWorld
extends java.lang.Object
A version of the Hello World example that connects to a server using SSL/TLS.
This example can load a specified key store of trusted signing authorities, use the Java default key store, or use a stub that accepts any server certificate. It can also load client certificates from a specified key store, or connect without a certificate.
In part to demonstrate the available configuration options, connections are forced to use TLS with strong ciphers using 256 bit keys, as might be desirable with highly sensitive data being transmitted over public networks.
Click here for the source code for this class.
Constructor and Description |
---|
HelloSecureWorld() |
Modifier and Type | Method and Description |
---|---|
static void |
main(java.lang.String[] args) |
Copyright © 2020 MarkLogic
Corporation
Complete online documentation for MarkLogic Server,
XQuery and related components may
be found at
developer.marklogic.com