public class SSLContextAllocator
extends java.lang.Object
| Constructor and Description |
|---|
SSLContextAllocator(java.net.URI location,
java.util.function.Function<java.lang.String,char[]> passphraseCallback) |
| Modifier and Type | Method and Description |
|---|---|
int |
addChangeListener(java.util.function.Consumer<SSLContextAllocator> listener) |
javax.net.ssl.SSLContext |
alloc() |
javax.net.ssl.SSLContext |
alloc(java.security.cert.X509CertSelector selector) |
KeyInfo |
getKeyInfo() |
TrustManager |
getTrustManager() |
void |
removeChangeListener(int id) |
public SSLContextAllocator(java.net.URI location,
java.util.function.Function<java.lang.String,char[]> passphraseCallback)
throws java.lang.Exception
java.lang.Exceptionpublic int addChangeListener(java.util.function.Consumer<SSLContextAllocator> listener)
public void removeChangeListener(int id)
public javax.net.ssl.SSLContext alloc()
throws java.lang.Exception
java.lang.Exceptionpublic javax.net.ssl.SSLContext alloc(java.security.cert.X509CertSelector selector)
throws java.lang.Exception
java.lang.Exceptionpublic KeyInfo getKeyInfo()
public TrustManager getTrustManager()