Interface X509CredentialNameEvaluator

  • All Known Implementing Classes:
    BasicX509CredentialNameEvaluator

    public interface X509CredentialNameEvaluator
    Interface for classes which evaluate an X509Credential against a supplied set of trusted names.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean evaluate​(org.opensaml.security.x509.X509Credential credential, Set<String> trustedNames)
      Evaluate the specified credential against the specified set of trusted names.
    • Method Detail

      • evaluate

        boolean evaluate​(@Nonnull
                         org.opensaml.security.x509.X509Credential credential,
                         @Nullable
                         Set<String> trustedNames)
                  throws org.opensaml.security.SecurityException
        Evaluate the specified credential against the specified set of trusted names.

        The types of names supported, and the manner in which they are evaluated, is implementation-specific.

        Parameters:
        credential - the X.509 credential to evaluate
        trustedNames - trusted names against which the credential will be evaluated
        Returns:
        true if the name evaluation succeeds, false otherwise
        Throws:
        org.opensaml.security.SecurityException - thrown if there is an error during name evaluation