Module jpms_dss_tsl_validation
Class CertSubjectDNAttributeCondition
java.lang.Object
eu.europa.esig.dss.tsl.dto.condition.CertSubjectDNAttributeCondition
- All Implemented Interfaces:
eu.europa.esig.dss.model.tsl.Condition,Serializable
public class CertSubjectDNAttributeCondition
extends Object
implements eu.europa.esig.dss.model.tsl.Condition
CertSubjectDNAttribute
Presence: This field is optional.
Description: It provides a non empty set of OIDs. Each OID maps to a possible attribute in the Subject DN of
the certificate. The criteria is matched if all OID refers to an attribute present in the DN.
Format: A non-empty sequence of OIDs representing Directory attributes, whose meaning respect the
description above. For the formal definition see CertSubjectDNAttribute element in the
schema referenced by clause C.2 (point 3).
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
CertSubjectDNAttributeCondition
Default constructor- Parameters:
oids- a list of DN attribute OIDs to be checked
-
-
Method Details
-
getAttributeOids
Returns the list of DN attribute OIDs to be checked against the certificate’s subject DN.- Returns:
- an unmodifiable list, possibly empty; 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
-