Class IDDocumentConstraint
- java.lang.Object
-
- com.authlete.common.assurance.constraint.BaseConstraint
-
- com.authlete.common.assurance.constraint.EvidenceConstraint
-
- com.authlete.common.assurance.constraint.IDDocumentConstraint
-
- All Implemented Interfaces:
Constraint
public class IDDocumentConstraint extends EvidenceConstraint
The class that represents the constraint forid_document.- Since:
- 2.63
- See Also:
- OpenID Connect for Identity Assurance 1.0
-
-
Constructor Summary
Constructors Constructor Description IDDocumentConstraint()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static IDDocumentConstraintextract(Map<?,?> map)Create anIDDocumentConstraintinstance from the given object.DocumentConstraintgetDocument()Get the constraint fordocument.LeafConstraintgetMethod()Get the constraint formethod.TimeConstraintgetTime()Get the constraint fortime.VerifierConstraintgetVerifier()Get the constraint forverifier.voidsetDocument(DocumentConstraint constraint)Set the constraint fordocument.voidsetMethod(LeafConstraint constraint)Set the constraint formethod.voidsetTime(TimeConstraint constraint)Set the constraint fortime.voidsetVerifier(VerifierConstraint constraint)Set the constraint forverifier.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
-
getMethod
public LeafConstraint getMethod()
Get the constraint formethod.- Returns:
- The constraint for
method.
-
setMethod
public void setMethod(LeafConstraint constraint)
Set the constraint formethod.- Parameters:
constraint- The constraint formethod.
-
getVerifier
public VerifierConstraint getVerifier()
Get the constraint forverifier.- Returns:
- The constraint for
verifier.
-
setVerifier
public void setVerifier(VerifierConstraint constraint)
Set the constraint forverifier.- Parameters:
constraint- The constraint forverifier.
-
getTime
public TimeConstraint getTime()
Get the constraint fortime.- Returns:
- The constraint for
time.
-
setTime
public void setTime(TimeConstraint constraint)
Set the constraint fortime.- Parameters:
constraint- The constraint fortime.
-
getDocument
public DocumentConstraint getDocument()
Get the constraint fordocument.- Returns:
- The constraint for
document.
-
setDocument
public void setDocument(DocumentConstraint constraint)
Set the constraint fordocument.- Parameters:
constraint- The constraint fordocument.
-
extract
public static IDDocumentConstraint extract(Map<?,?> map) throws ConstraintException
Create anIDDocumentConstraintinstance from the given object.- Parameters:
map- A map that represents"id_document".- Returns:
- An
IDDocumentConstraintinstance that represents"id_document". - 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.
-
-