public class X509TrustManager extends Object implements X509TrustManager
| Modifier and Type | Field and Description |
|---|---|
protected org.opensaml.xml.security.CriteriaSet |
criteriaSet |
protected org.opensaml.xml.security.trust.TrustEngine<org.opensaml.xml.security.x509.X509Credential> |
trustEngine |
| Constructor and Description |
|---|
X509TrustManager(org.opensaml.xml.security.CriteriaSet criteriaSet,
org.opensaml.xml.security.trust.TrustEngine<org.opensaml.xml.security.x509.X509Credential> trustEngine)
Creates an X509 trust engine which delegates trust verification to the supplied trust engine.
|
| Modifier and Type | Method and Description |
|---|---|
void |
checkClientTrusted(X509Certificate[] x509Certificates,
String s) |
void |
checkServerTrusted(X509Certificate[] x509Certificates,
String s) |
X509Certificate[] |
getAcceptedIssuers() |
protected org.opensaml.xml.security.CriteriaSet criteriaSet
protected org.opensaml.xml.security.trust.TrustEngine<org.opensaml.xml.security.x509.X509Credential> trustEngine
public X509TrustManager(org.opensaml.xml.security.CriteriaSet criteriaSet,
org.opensaml.xml.security.trust.TrustEngine<org.opensaml.xml.security.x509.X509Credential> trustEngine)
criteriaSet - criteria set to determine trusted credentials within the trust enginetrustEngine - trust enginepublic void checkClientTrusted(X509Certificate[] x509Certificates, String s) throws CertificateException
checkClientTrusted in interface X509TrustManagerCertificateExceptionpublic void checkServerTrusted(X509Certificate[] x509Certificates, String s) throws CertificateException
checkServerTrusted in interface X509TrustManagerCertificateExceptionpublic X509Certificate[] getAcceptedIssuers()
getAcceptedIssuers in interface X509TrustManager