|
83 | 83 | [java.security PrivateKey]
|
84 | 84 | [javax.net.ssl
|
85 | 85 | SSLHandshakeException
|
| 86 | + TrustManager |
86 | 87 | TrustManagerFactory]))
|
87 | 88 |
|
88 | 89 | ;;;
|
|
744 | 745 | (.trustManager builder ^File trust-store)
|
745 | 746 | (instance? InputStream trust-store)
|
746 | 747 | (.trustManager builder ^InputStream trust-store)
|
| 748 | + (instance? TrustManager trust-store) |
| 749 | + (.trustManager builder ^TrustManager trust-store) |
747 | 750 | (instance? TrustManagerFactory trust-store)
|
748 | 751 | (.trustManager builder ^TrustManagerFactory trust-store)
|
749 | 752 | (instance? cert-array-class trust-store)
|
|
763 | 766 | | `private-key` | a `java.io.File`, `java.io.InputStream`, or `java.security.PrivateKey` containing the client-side private key.
|
764 | 767 | | `certificate-chain` | a `java.io.File`, `java.io.InputStream`, sequence of `java.security.cert.X509Certificate`, or array of `java.security.cert.X509Certificate` containing the client's certificate chain.
|
765 | 768 | | `private-key-password` | a string, the private key's password (optional).
|
766 |
| - | `trust-store` | a `java.io.File`, `java.io.InputStream`, array of `java.security.cert.X509Certificate`, or a `javax.net.ssl.TrustManagerFactory` to initialize the context's trust manager. |
| 769 | + | `trust-store` | a `java.io.File`, `java.io.InputStream`, array of `java.security.cert.X509Certificate`, `javax.net.ssl.TrustManager`, or a `javax.net.ssl.TrustManagerFactory` to initialize the context's trust manager. |
767 | 770 | | `ssl-provider` | `SslContext` implementation to use, on of `:jdk`, `:openssl` or `:openssl-refcnt`. Note, that when using OpenSSL based implementations, the library should be installed and linked properly.
|
768 | 771 | | `ciphers` | a sequence of strings, the cipher suites to enable, in the order of preference.
|
769 | 772 | | `protocols` | a sequence of strings, the TLS protocol versions to enable.
|
|
845 | 848 | | `private-key` | a `java.io.File`, `java.io.InputStream`, or `java.security.PrivateKey` containing the server-side private key.
|
846 | 849 | | `certificate-chain` | a `java.io.File`, `java.io.InputStream`, or array of `java.security.cert.X509Certificate` containing the server's certificate chain.
|
847 | 850 | | `private-key-password` | a string, the private key's password (optional).
|
848 |
| - | `trust-store` | a `java.io.File`, `java.io.InputStream`, sequence of `java.security.cert.X509Certificate`, array of `java.security.cert.X509Certificate`, or a `javax.net.ssl.TrustManagerFactory` to initialize the context's trust manager. |
| 851 | + | `trust-store` | a `java.io.File`, `java.io.InputStream`, sequence of `java.security.cert.X509Certificate`, array of `java.security.cert.X509Certificate`, `javax.net.ssl.TrustManager`, or a `javax.net.ssl.TrustManagerFactory` to initialize the context's trust manager. |
849 | 852 | | `ssl-provider` | `SslContext` implementation to use, on of `:jdk`, `:openssl` or `:openssl-refcnt`. Note, that when using OpenSSL based implementations, the library should be installed and linked properly.
|
850 | 853 | | `ciphers` | a sequence of strings, the cipher suites to enable, in the order of preference.
|
851 | 854 | | `protocols` | a sequence of strings, the TLS protocol versions to enable.
|
|
0 commit comments