eu.emi.security.authn.x509.helpers.ns
Class NamespaceChecker
java.lang.Object
eu.emi.security.authn.x509.helpers.ns.NamespaceChecker
public class NamespaceChecker
- extends Object
Implements namespace policy checking. The class is populated with a namespace policy store
which provides the policies. The implementation gets
- Author:
- K. Benedyczak
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NamespaceChecker
public NamespaceChecker(NamespaceCheckingMode mode,
EuGridPmaNamespacesStore pmaStore,
GlobusNamespacesStore globusStore)
check
public List<ValidationError> check(X509Certificate[] chain)
- Checks all certificates in the chain whether they are correct w.r.t. namespace policies
which are configured. If the parameter contains any proxy certificates those are ignored.
Self signed certificates in the chain are ignored, so the root CA certificate may be safely
present in the chain.
- Parameters:
chain
- to be checked
Copyright © 2012-2013 European Middleware Initiative. All Rights Reserved.