Package org.wildfly.security.auth.client
Class ElytronXmlParser.TrustManagerBuilder
- java.lang.Object
-
- org.wildfly.security.auth.client.ElytronXmlParser.TrustManagerBuilder
-
- Enclosing class:
- ElytronXmlParser
private static class ElytronXmlParser.TrustManagerBuilder extends Object
-
-
Field Summary
Fields Modifier and Type Field Description (package private) String
algorithm
(package private) boolean
crl
(package private) List<InputStream>
crlStreams
(package private) int
maxCertPath
(package private) boolean
maxCertPathSet
(package private) boolean
ocsp
(package private) URI
ocspResponder
(package private) boolean
onlyLeafCert
(package private) boolean
preferCrls
(package private) String
providerName
(package private) Supplier<Provider[]>
providers
(package private) String
responderCertAlias
(package private) org.wildfly.common.function.ExceptionSupplier<KeyStore,org.wildfly.client.config.ConfigXMLParseException>
responderStoreSupplier
(package private) boolean
softFail
(package private) KeyStore
trustStore
(package private) Location
xmlLocation
-
Constructor Summary
Constructors Constructor Description TrustManagerBuilder(Supplier<Provider[]> providers, Location xmlLocation)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) void
addCrlStream(InputStream crlStream)
(package private) X509TrustManager
build()
(package private) boolean
isMaxCertPathSet()
(package private) void
setAlgorithm(String algorithm)
(package private) void
setCrl()
(package private) void
setMaxCertPath(int maxCertPath)
void
setOcsp()
void
setOcspRescponderCertAlias(String alias)
void
setOcspResponder(URI ocspResponder)
void
setOcspResponderCertKeystoreSupplier(org.wildfly.common.function.ExceptionSupplier<KeyStore,org.wildfly.client.config.ConfigXMLParseException> supplier)
void
setOnlyLeafCert(boolean onlyLeafCert)
void
setPreferCrls(boolean preferCrls)
(package private) void
setProviderName(String providerName)
void
setSoftFail(boolean softFail)
(package private) void
setTrustStore(KeyStore trustStore)
-
-
-
Field Detail
-
xmlLocation
final Location xmlLocation
-
providerName
String providerName
-
algorithm
String algorithm
-
trustStore
KeyStore trustStore
-
crl
boolean crl
-
crlStreams
List<InputStream> crlStreams
-
maxCertPath
int maxCertPath
-
ocsp
boolean ocsp
-
preferCrls
boolean preferCrls
-
onlyLeafCert
boolean onlyLeafCert
-
softFail
boolean softFail
-
ocspResponder
URI ocspResponder
-
maxCertPathSet
boolean maxCertPathSet
-
responderCertAlias
String responderCertAlias
-
responderStoreSupplier
org.wildfly.common.function.ExceptionSupplier<KeyStore,org.wildfly.client.config.ConfigXMLParseException> responderStoreSupplier
-
-
Method Detail
-
setProviderName
void setProviderName(String providerName)
-
setAlgorithm
void setAlgorithm(String algorithm)
-
setTrustStore
void setTrustStore(KeyStore trustStore)
-
setCrl
void setCrl()
-
addCrlStream
void addCrlStream(InputStream crlStream)
-
setMaxCertPath
void setMaxCertPath(int maxCertPath)
-
isMaxCertPathSet
boolean isMaxCertPathSet()
-
setOcsp
public void setOcsp()
-
setPreferCrls
public void setPreferCrls(boolean preferCrls)
-
setOnlyLeafCert
public void setOnlyLeafCert(boolean onlyLeafCert)
-
setSoftFail
public void setSoftFail(boolean softFail)
-
setOcspResponder
public void setOcspResponder(URI ocspResponder)
-
setOcspRescponderCertAlias
public void setOcspRescponderCertAlias(String alias)
-
setOcspResponderCertKeystoreSupplier
public void setOcspResponderCertKeystoreSupplier(org.wildfly.common.function.ExceptionSupplier<KeyStore,org.wildfly.client.config.ConfigXMLParseException> supplier)
-
build
X509TrustManager build() throws NoSuchAlgorithmException, KeyStoreException, org.wildfly.client.config.ConfigXMLParseException
- Throws:
NoSuchAlgorithmException
KeyStoreException
org.wildfly.client.config.ConfigXMLParseException
-
-