public class TrustManager<T extends TrustManager<T>> extends Object
Constructor and Description |
---|
TrustManager(String key) |
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Adds a property change listener
|
String |
algorithm()
The name of the algorithm to use to create the underlying
TrustManagerFactory.
|
T |
algorithm(String value)
The name of the algorithm to use to create the underlying
TrustManagerFactory.
|
String |
aliasFilter()
A filter to apply to the aliases returned from the KeyStore, can either
be a comma separated list of aliases to return or one of the following
formats ALL:-alias1:-alias2, NONE:+alias1:+alias2
|
T |
aliasFilter(String value)
A filter to apply to the aliases returned from the KeyStore, can either
be a comma separated list of aliases to return or one of the following
formats ALL:-alias1:-alias2, NONE:+alias1:+alias2
|
Map |
certificateRevocationList()
Enables certificate revocation list checks to a trust manager.
|
T |
certificateRevocationList(Map value)
Enables certificate revocation list checks to a trust manager.
|
T |
certificateRevocationList(String key,
Object value)
Enables certificate revocation list checks to a trust manager.
|
String |
getKey() |
String |
keyStore()
Reference to the KeyStore to use to initialise the underlying
TrustManagerFactory.
|
T |
keyStore(String value)
Reference to the KeyStore to use to initialise the underlying
TrustManagerFactory.
|
Integer |
maximumCertPath()
The maximum number of non-self-issued intermediate certificates that may
exist in a certification path for OCSP and CRL checks.
|
T |
maximumCertPath(Integer value)
The maximum number of non-self-issued intermediate certificates that may
exist in a certification path for OCSP and CRL checks.
|
Map |
ocsp()
Enables online certificate status protocol checks to a trust manager.
|
T |
ocsp(Map value)
Enables online certificate status protocol checks to a trust manager.
|
T |
ocsp(String key,
Object value)
Enables online certificate status protocol checks to a trust manager.
|
Boolean |
onlyLeafCert()
Whether only leaf certificate should be checked for revocation status.
|
T |
onlyLeafCert(Boolean value)
Whether only leaf certificate should be checked for revocation status.
|
String |
providerName()
The name of the provider to use to create the underlying
TrustManagerFactory.
|
T |
providerName(String value)
The name of the provider to use to create the underlying
TrustManagerFactory.
|
String |
providers()
Reference to obtain the Provider[] to use when creating the underlying
TrustManagerFactory.
|
T |
providers(String value)
Reference to obtain the Provider[] to use when creating the underlying
TrustManagerFactory.
|
void |
removePropertyChangeListener(PropertyChangeListener listener)
Removes a property change listener
|
Boolean |
softFail()
Whether a certificate with unknown OCSP response should be accepted.
|
T |
softFail(Boolean value)
Whether a certificate with unknown OCSP response should be accepted.
|
public TrustManager(String key)
public String getKey()
public void addPropertyChangeListener(PropertyChangeListener listener)
public void removePropertyChangeListener(PropertyChangeListener listener)
public String algorithm()
public T algorithm(String value)
public String aliasFilter()
public T aliasFilter(String value)
public Map certificateRevocationList()
public T certificateRevocationList(Map value)
public T certificateRevocationList(String key, Object value)
public String keyStore()
public T keyStore(String value)
public Integer maximumCertPath()
public T maximumCertPath(Integer value)
public Map ocsp()
public T ocsp(String key, Object value)
public Boolean onlyLeafCert()
public T onlyLeafCert(Boolean value)
public String providerName()
public T providerName(String value)
public String providers()
public T providers(String value)
public Boolean softFail()
Copyright © 2020 JBoss by Red Hat. All rights reserved.