Package eu.europa.esig.dss.spi.tsl
Interface Condition
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
CertSubjectDNAttributeCondition
,CompositeCondition
,ExtendedKeyUsageCondition
,KeyUsageCondition
,PolicyIdCondition
,QCStatementCondition
Represents a condition defined in the trusted list on a certificate.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
check
(CertificateToken certificateToken) Returns true if the condition is evaluated to true for the given certificate.Returns a string representation of the condition
-
Method Details
-
check
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
Returns a string representation of the condition- Parameters:
indent
- the indentation to be used- Returns:
- a human readable condition
-