Class VerificationConstraint

    • Constructor Detail

      • VerificationConstraint

        public VerificationConstraint()
    • Method Detail

      • getTrustFramework

        public LeafConstraint getTrustFramework()
        Get the constraint for trust_framework.
        Returns:
        The constraint for trust_framework.
      • setTrustFramework

        public void setTrustFramework​(LeafConstraint constraint)
        Set the constraint for trust_framework.
        Parameters:
        constraint - The constraint for trust_framework.
      • getTime

        public TimeConstraint getTime()
        Get the constraint for time.
        Returns:
        The constraint for time.
      • setTime

        public void setTime​(TimeConstraint constraint)
        Set the constraint for time.
        Parameters:
        constraint - The constraint for time.
      • getVerificationProcess

        public LeafConstraint getVerificationProcess()
        Get the constraint for verification_process.
        Returns:
        The constraint for verification_process.
      • setVerificationProcess

        public void setVerificationProcess​(LeafConstraint constraint)
        Set the constraint for verification_process.
        Parameters:
        constraint - The constraint for verification_process.
      • getEvidence

        public EvidenceArrayConstraint getEvidence()
        Get the constraint for evidence.
        Returns:
        The constraint for evidence.
      • setEvidence

        public void setEvidence​(EvidenceArrayConstraint constraint)
        Set the constraint for evidence.
        Parameters:
        constraint - The constraint for evidence.
      • extract

        public static VerificationConstraint extract​(Map<?,​?> map,
                                                     String key)
                                              throws ConstraintException
        Create a VerificationConstraint instance from an object in the given map.
        Parameters:
        map - A map that may contain "verification".
        key - The key that identifies the object in the map. In normal cases, the key is "verification".
        Returns:
        A VerificationConstraint instance that represents "verification". Even if the map does not contain the given key, an instance of VerificationConstraint is returned.
        Throws:
        ConstraintException - The structure of the map does not conform to the specification (OpenID Connect for Identity Assurance 1.0).