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
Modifier and TypeMethodDescriptiongetPolicies
(X509Certificate[] chain, int position) Gets namespace policies applicable for the CA.getPolicies
(X500Principal[] chain, int position) AsgetPolicies(X509Certificate[], int)
but with principals of certificates onlyvoid
setPolicies
(Collection<String> locations)
-
Method Details
-
setPolicies
-
getPolicies
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
- chainposition
- position- Returns:
- policies
-
getPolicies
AsgetPolicies(X509Certificate[], int)
but with principals of certificates only- Parameters:
chain
- chainposition
- position- Returns:
- policies
-