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 QESConstraint
extract(Map<?,?> map)
Create aQESConstraint
instance from the given object.LeafConstraint
getCreatedAt()
Get the constraint forcreated_at
.LeafConstraint
getIssuer()
Get the constraint forissuer
.LeafConstraint
getSerialNumber()
Get the constraint forserial_number
.void
setCreatedAt(LeafConstraint constraint)
Set the constraint forcreated_at
.void
setIssuer(LeafConstraint constraint)
Set the constraint forissuer
.void
setSerialNumber(LeafConstraint constraint)
Set the constraint forserial_number
.Map<String,Object>
toMap()
Create aMap
instance 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 aQESConstraint
instance from the given object.- Parameters:
map
- A map that represents"qes"
.- Returns:
- A
QESConstraint
instance 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:BaseConstraint
Create aMap
instance 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:
toMap
in classEvidenceConstraint
- Returns:
- A
Map
instance that represents this object. IfBaseConstraint.exists()
returnsfalse
orBaseConstraint.isNull()
returnstrue
, this method returns null.
-
-