Class VerifierConstraint

    • Constructor Detail

      • VerifierConstraint

        public VerifierConstraint()
    • Method Detail

      • getOrganization

        public LeafConstraint getOrganization()
        Get the constraint for organization.
        Returns:
        The constraint for organization.
      • setOrganization

        public void setOrganization​(LeafConstraint constraint)
        Set the constraint for organization.
        Parameters:
        constraint - The constraint for organization.
      • getTxn

        public LeafConstraint getTxn()
        Get the constraint for txn.
        Returns:
        The constraint for txn.
      • setTxn

        public void setTxn​(LeafConstraint constraint)
        Set the constraint for txn.
        Parameters:
        constraint - The constraint for txn.
      • extract

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