Class Verifier

    • Constructor Detail

      • Verifier

        public Verifier()
    • Method Detail

      • getOrganization

        public String getOrganization()
        Get the organization which performed the verification on behalf of the OP.
        Returns:
        The organization which performed the verification on behalf of the OP.
      • setOrganization

        public Verifier setOrganization​(String organization)
        Set the organization which performed the verification on behalf of the OP.
        Parameters:
        organization - The organization which performed the verification on behalf of the OP.
        Returns:
        this object.
      • containsOrganization

        public boolean containsOrganization()
        Check if this object contains "organization".
        Returns:
        true if this object contains "organization".
      • removeOrganization

        public String removeOrganization()
        Remove "organization" from this object.
        Returns:
        The old value that may have existed before removal.
      • getTxn

        public String getTxn()
        Get the identifier referring to the identity verification transaction.
        Returns:
        The identifier referring to the identity verification transaction.
      • setTxn

        public Verifier setTxn​(String txn)
        Set the identifier referring to the identity verification transaction.
        Parameters:
        txn - The identifier referring to the identity verification transaction.
        Returns:
        this object.
      • containsTxn

        public boolean containsTxn()
        Check if this object contains "txn".
        Returns:
        true if this object contains "txn".
      • removeTxn

        public String removeTxn()
        Remove "txn" from this object.
        Returns:
        The old value that may have existed before removal.
      • extract

        public static Verifier extract​(Map<?,​?> map,
                                       String key)
                                throws IdentityAssuranceException
        Create a Verifier instance from an object in the given map.
        Parameters:
        map - A map that may contain "verifier".
        key - The key that identifies the object in the map. In normal cases, the key is "verifier".
        Returns:
        A Verifier instance that represents "verifier". 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).