public class IDDocumentConstraint extends EvidenceConstraint
id_document.| Constructor and Description |
|---|
IDDocumentConstraint() |
| Modifier and Type | Method and Description |
|---|---|
static IDDocumentConstraint |
extract(Map<?,?> map)
Create an
IDDocumentConstraint instance from the given object. |
DocumentConstraint |
getDocument()
Get the constraint for
document. |
LeafConstraint |
getMethod()
Get the constraint for
method. |
TimeConstraint |
getTime()
Get the constraint for
time. |
VerifierConstraint |
getVerifier()
Get the constraint for
verifier. |
void |
setDocument(DocumentConstraint constraint)
Set the constraint for
document. |
void |
setMethod(LeafConstraint constraint)
Set the constraint for
method. |
void |
setTime(TimeConstraint constraint)
Set the constraint for
time. |
void |
setVerifier(VerifierConstraint constraint)
Set the constraint for
verifier. |
Map<String,Object> |
toMap()
Create a
Map instance that represents this object in the way
conforming to the structure defined in 5. |
extract, getType, setTypepublic LeafConstraint getMethod()
method.method.public void setMethod(LeafConstraint constraint)
method.constraint - The constraint for method.public VerifierConstraint getVerifier()
verifier.verifier.public void setVerifier(VerifierConstraint constraint)
verifier.constraint - The constraint for verifier.public TimeConstraint getTime()
time.time.public void setTime(TimeConstraint constraint)
time.constraint - The constraint for time.public DocumentConstraint getDocument()
document.document.public void setDocument(DocumentConstraint constraint)
document.constraint - The constraint for document.public static IDDocumentConstraint extract(Map<?,?> map) throws ConstraintException
IDDocumentConstraint instance from the given object.map - A map that represents "id_document".IDDocumentConstraint instance that represents
"id_document".ConstraintException - The structure of the map does not conform to the specification
(OpenID Connect for Identity Assurance 1.0).public Map<String,Object> toMap()
BaseConstraintMap 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.toMap in class EvidenceConstraintMap instance that represents this object.
If BaseConstraint.exists() returns false or BaseConstraint.isNull()
returns true, this method returns null.Copyright © 2022. All rights reserved.