Class QESConstraint
- java.lang.Object
-
- com.authlete.common.assurance.constraint.BaseConstraint
-
- com.authlete.common.assurance.constraint.EvidenceConstraint
-
- com.authlete.common.assurance.constraint.QESConstraint
-
- All Implemented Interfaces:
Constraint
public class QESConstraint extends EvidenceConstraint
The class that represents the constraint forqes.- Since:
- 2.63
- See Also:
- OpenID Connect for Identity Assurance 1.0
-
-
Constructor Summary
Constructors Constructor Description QESConstraint()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static QESConstraintextract(Map<?,?> map)Create aQESConstraintinstance from the given object.LeafConstraintgetCreatedAt()Get the constraint forcreated_at.LeafConstraintgetIssuer()Get the constraint forissuer.LeafConstraintgetSerialNumber()Get the constraint forserial_number.voidsetCreatedAt(LeafConstraint constraint)Set the constraint forcreated_at.voidsetIssuer(LeafConstraint constraint)Set the constraint forissuer.voidsetSerialNumber(LeafConstraint constraint)Set the constraint forserial_number.Map<String,Object>toMap()Create aMapinstance that represents this object in the way conforming to the structure defined in 5.-
Methods inherited from class com.authlete.common.assurance.constraint.EvidenceConstraint
extract, getType, setType
-
-
-
-
Method Detail
-
getIssuer
public LeafConstraint getIssuer()
Get the constraint forissuer.- Returns:
- The constraint for
issuer.
-
setIssuer
public void setIssuer(LeafConstraint constraint)
Set the constraint forissuer.- Parameters:
constraint- The constraint forissuer.
-
getSerialNumber
public LeafConstraint getSerialNumber()
Get the constraint forserial_number.- Returns:
- The constraint for
serial_number.
-
setSerialNumber
public void setSerialNumber(LeafConstraint constraint)
Set the constraint forserial_number.- Parameters:
constraint- The constraint forserial_number.
-
getCreatedAt
public LeafConstraint getCreatedAt()
Get the constraint forcreated_at.- Returns:
- The constraint for
created_at.
-
setCreatedAt
public void setCreatedAt(LeafConstraint constraint)
Set the constraint forcreated_at.- Parameters:
constraint- The constraint forcreated_at.
-
extract
public static QESConstraint extract(Map<?,?> map) throws ConstraintException
Create aQESConstraintinstance from the given object.- Parameters:
map- A map that represents"qes".- Returns:
- A
QESConstraintinstance that represents"qes". - Throws:
ConstraintException- The structure of the map does not conform to the specification (OpenID Connect for Identity Assurance 1.0).
-
toMap
public Map<String,Object> toMap()
Description copied from class:BaseConstraintCreate aMapinstance that represents this object in the way conforming to the structure defined in 5. Requesting Verified Claims of OpenID Connect for Identity Assurance 1.0.- Overrides:
toMapin classEvidenceConstraint- Returns:
- A
Mapinstance that represents this object. IfBaseConstraint.exists()returnsfalseorBaseConstraint.isNull()returnstrue, this method returns null.
-
-