Trust Config
Configuration for the trust store, used to verify the identity of the clients. Using this configuration, the server will only accept connections from clients that are trusted. If no trust store is configured, the server will accept any client.
Properties
Functions
Load certificate data from the classpath. The certificate can be in PEM, P7B/PKCS#7 or DER format.
Load certificate data from a given input stream. The certificate can be in PEM, P7B/PKCS#7 or DER format.
Load certificate data from a given path in the system. The certificate can be in PEM, P7B/PKCS#7 or DER format.
Load P7B certificate data from a given string. The certificate must be in P7B/PKCS#7 format.
Load pem formatted identity data from a given string. The certificate must be in PEM format.
Load a trust store from the classpath.
Load a trust store from a given input stream. The trust store can be in JKS or PKCS12 format.
Load a trust store from a given path in the system. The trust store can be in JKS or PKCS12 format.