Interface Condition

All Superinterfaces:
Serializable
All Known Implementing Classes:
CertSubjectDNAttributeCondition, CompositeCondition, ExtendedKeyUsageCondition, KeyUsageCondition, PolicyIdCondition, QCStatementCondition

public interface Condition extends Serializable
Represents a condition defined in the trusted list on a certificate.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    check(CertificateToken certificateToken)
    Returns true if the condition is evaluated to true for the given certificate.
    toString(String indent)
    Returns a string representation of the condition
  • Method Details

    • check

      boolean check(CertificateToken certificateToken)
      Returns true if the condition is evaluated to true for the given certificate.
      Parameters:
      certificateToken - CertificateToken to be checked
      Returns:
      true if the condition is filled
    • toString

      String toString(String indent)
      Returns a string representation of the condition
      Parameters:
      indent - the indentation to be used
      Returns:
      a human readable condition