eu.emi.security.authn.x509.helpers.ns
Interface NamespacesStore

All Known Implementing Classes:
AbstractEuGridPmaNamespacesStore, AbstractGlobusNamespacesStore, AbstractNamespacesStore, EuGridPmaNamespacesStore, GlobusNamespacesStore, LazyEuGridPmaNamespacesStore, LazyGlobusNamespacesStore

public interface NamespacesStore

Store of NamespacePolicy objects. The objects are retrieved by the issuer name. The implementations must be thread safe.

Author:
K. Benedyczak

Method Summary
 List<NamespacePolicy> getPolicies(X500Principal[] chain, int position)
          As getPolicies(X509Certificate[], int) but with principals of certificates only
 List<NamespacePolicy> getPolicies(X509Certificate[] chain, int position)
          Gets namespace policies applicable for the CA.
 void setPolicies(Collection<String> locations)
           
 

Method Detail

setPolicies

void setPolicies(Collection<String> locations)

getPolicies

List<NamespacePolicy> getPolicies(X509Certificate[] chain,
                                  int position)
Gets namespace policies applicable for the CA. The CA must be present in the cert chain, at the position given. The subsequent chain elements might be used if there is no explicit policy defined for the CA itself: then it is checked if any of the parent CAs defined policy for this CA.

Parameters:
chain -
position -
Returns:

getPolicies

List<NamespacePolicy> getPolicies(X500Principal[] chain,
                                  int position)
As getPolicies(X509Certificate[], int) but with principals of certificates only

Parameters:
chain -
position -
Returns:


Copyright © 2012-2013 European Middleware Initiative. All Rights Reserved.