public class VerificationConstraint extends BaseConstraint
verified_claims/verification.| Constructor and Description |
|---|
VerificationConstraint() |
| Modifier and Type | Method and Description |
|---|---|
static VerificationConstraint |
extract(Map<?,?> map,
String key)
Create a
VerificationConstraint instance from an object in the given map. |
EvidenceArrayConstraint |
getEvidence()
Get the constraint for
evidence. |
TimeConstraint |
getTime()
Get the constraint for
time. |
LeafConstraint |
getTrustFramework()
Get the constraint for
trust_framework. |
LeafConstraint |
getVerificationProcess()
Get the constraint for
verification_process. |
void |
setEvidence(EvidenceArrayConstraint constraint)
Set the constraint for
evidence. |
void |
setTime(TimeConstraint constraint)
Set the constraint for
time. |
void |
setTrustFramework(LeafConstraint constraint)
Set the constraint for
trust_framework. |
void |
setVerificationProcess(LeafConstraint constraint)
Set the constraint for
verification_process. |
Map<String,Object> |
toMap()
Create a
Map instance that represents this object in the way
conforming to the structure defined in 5. |
public LeafConstraint getTrustFramework()
trust_framework.trust_framework.public void setTrustFramework(LeafConstraint constraint)
trust_framework.constraint - The constraint for trust_framework.public TimeConstraint getTime()
time.time.public void setTime(TimeConstraint constraint)
time.constraint - The constraint for time.public LeafConstraint getVerificationProcess()
verification_process.verification_process.public void setVerificationProcess(LeafConstraint constraint)
verification_process.constraint - The constraint for verification_process.public EvidenceArrayConstraint getEvidence()
evidence.evidence.public void setEvidence(EvidenceArrayConstraint constraint)
evidence.constraint - The constraint for evidence.public static VerificationConstraint extract(Map<?,?> map, String key) throws ConstraintException
VerificationConstraint instance from an object in the given map.map - A map that may contain "verification".key - The key that identifies the object in the map. In normal cases,
the key is "verification".VerificationConstraint instance that represents
"verification". Even if the map does not contain the
given key, an instance of VerificationConstraint is
returned.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 BaseConstraintMap instance that represents this object.
If BaseConstraint.exists() returns false or BaseConstraint.isNull()
returns true, this method returns null.Copyright © 2021. All rights reserved.