java.lang.Object
eu.europa.esig.dss.tsl.dto.condition.PolicyIdCondition
- All Implemented Interfaces:
eu.europa.esig.dss.model.tsl.Condition,Serializable
Checks if a certificate has a specific policy OID.
Objects based on this class are instantiated from trusted list or by SignedDocumentValidator for QCP and QCPPlus
Objects based on this class are instantiated from trusted list or by SignedDocumentValidator for QCP and QCPPlus
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionPolicyIdCondition(String policyId) The default constructor for PolicyIdCondition. -
Method Summary
-
Constructor Details
-
PolicyIdCondition
The default constructor for PolicyIdCondition.- Parameters:
policyId- the policy oid to check
-
-
Method Details
-
getPolicyOid
Returns the policy OID.- Returns:
- never
null
-
check
public boolean check(eu.europa.esig.dss.model.x509.CertificateToken certificateToken) - Specified by:
checkin interfaceeu.europa.esig.dss.model.tsl.Condition
-
toString
- Specified by:
toStringin interfaceeu.europa.esig.dss.model.tsl.Condition
-
toString
-