Interface NamespacesStore

    • Method Detail

      • setPolicies

        void setPolicies​(java.util.Collection<java.lang.String> locations)
      • getPolicies

        java.util.List<NamespacePolicy> getPolicies​(java.security.cert.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 - chain
        position - position
        Returns:
        policies
      • getPolicies

        java.util.List<NamespacePolicy> getPolicies​(javax.security.auth.x500.X500Principal[] chain,
                                                    int position)
        As getPolicies(X509Certificate[], int) but with principals of certificates only
        Parameters:
        chain - chain
        position - position
        Returns:
        policies