Class Verification

    • Constructor Detail

      • Verification

        public Verification()
    • Method Detail

      • getTrustFramework

        public String getTrustFramework()
        Get the trust framework governing the identity verification process and the identity assurance level of the OP.
        Returns:
        The trust framework.
      • setTrustFramework

        public Verification setTrustFramework​(String framework)
        Set the trust framework governing the identity verification process and the identity assurance level of the OP.
        Parameters:
        framework - The trust framework.
        Returns:
        this object.
      • containsTrustFramework

        public boolean containsTrustFramework()
        Check if this object contains "trust_framework".
        Returns:
        true if this object contains "trust_framework".
      • removeTrustFramework

        public String removeTrustFramework()
        Remove "trust_framework" from this object.
        Returns:
        The old value that may have existed before removal.
      • getTime

        public String getTime()
        Get the date and time when identity verification took place.
        Returns:
        The date and time when identity verification took place.
      • setTime

        public Verification setTime​(String time)
        Set the date and time when identity verification took place.
        Parameters:
        time - The date and time when identity verification took place.
        Returns:
        this object.
      • containsTime

        public boolean containsTime()
        Check if this object contains "time".
        Returns:
        true if this object contains "time".
      • removeTime

        public String removeTime()
        Remove "time" from this object.
        Returns:
        The old value that may have existed before removal.
      • getVerificationProcess

        public String getVerificationProcess()
        Get the identity verification process.
        Returns:
        The identity verification process.
      • setVerificationProcess

        public Verification setVerificationProcess​(String process)
        Set the identity verification process.
        Parameters:
        process - The identity verification process.
        Returns:
        this object.
      • containsVerificationProcess

        public boolean containsVerificationProcess()
        Check if this object contains "verification_process".
        Returns:
        true if this object contains "verification_process".
      • removeVerificationProcess

        public String removeVerificationProcess()
        Remove "verification_process" from this object.
        Returns:
        The old value that may have existed before removal.
      • getEvidence

        public EvidenceArray getEvidence()
        Get the evidence the OP used to verify the user's identity.
        Returns:
        The evidence the OP used to verify the user's identity.
      • setEvidence

        public Verification setEvidence​(EvidenceArray evidence)
        Set the evidence the OP used to verify the user's identity.
        Parameters:
        evidence - The evidence the OP used to verify the user's identity.
        Returns:
        this object.
      • containsEvidence

        public boolean containsEvidence()
        Check if this object contains "evidence".
        Returns:
        true if this object contains "evidence".
      • removeEvidence

        public EvidenceArray removeEvidence()
        Remove "evidence" from this object.
        Returns:
        The old value that may have existed before removal.
      • addEvidence

        public Verification addEvidence​(Evidence evidence)
        Add the evidence the OP used to verify the user's identity.
        Parameters:
        evidence - The evidence the OP used to verify the user's identity.
        Returns:
        this object.
      • extract

        public static Verification extract​(Map<?,​?> map,
                                           String key)
                                    throws IdentityAssuranceException
        Create a Verification 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 Verification instance that represents "verification". If the map does not contain the given key, null is returned.
        Throws:
        IdentityAssuranceException - The structure of the map does not conform to the specification (OpenID Connect for Identity Assurance 1.0).