Package eu.europa.esig.dss.spi.tsl
Class Condition
- java.lang.Object
-
- eu.europa.esig.dss.spi.tsl.Condition
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
CertSubjectDNAttributeCondition,CompositeCondition,ExtendedKeyUsageCondition,KeyUsageCondition,PolicyIdCondition
public abstract class Condition extends Object implements Serializable
Represents a condition defined in the trusted list on a certificate.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Condition()
-
Method Summary
Modifier and Type Method Description abstract booleancheck(CertificateToken certificateToken)Returns true if the condition is evaluated to true for the given certificate.abstract StringtoString(String indent)Returns a string representation of the condition
-
-
-
Method Detail
-
check
public abstract boolean check(CertificateToken certificateToken)
Returns true if the condition is evaluated to true for the given certificate.- Parameters:
certificateToken-CertificateTokento be checked- Returns:
- true if the condition is filled
-
-