Class Issuer

    • Constructor Detail

      • Issuer

        public Issuer()
    • Method Detail

      • getName

        public String getName()
        Get the name of the issuer.
        Returns:
        The name of the issuer.
      • setName

        public Issuer setName​(String name)
        Set the name of the issuer.
        Parameters:
        name - The name of the issuer.
        Returns:
        this object.
      • containsName

        public boolean containsName()
        Check if this object contains "name".
        Returns:
        true if this object contains "name".
      • removeName

        public String removeName()
        Remove "name" from this object.
        Returns:
        The old value that may have existed before removal.
      • getCountry

        public String getCountry()
        Get the country or organization that issued the document.
        Returns:
        The country or organization that issued the document.
      • setCountry

        public Issuer setCountry​(String country)
        Set the country or organization that issued the document.
        Parameters:
        country - The country or organization that issued the document.
        Returns:
        this object.
      • containsCountry

        public boolean containsCountry()
        Check if this object contains "country".
        Returns:
        true if this object contains "country".
      • removeCountry

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

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