Class DocumentConstraint

    • Constructor Detail

      • DocumentConstraint

        public DocumentConstraint()
    • Method Detail

      • getType

        public LeafConstraint getType()
        Get the constraint for type.
        Returns:
        The constraint for type.
      • setType

        public void setType​(LeafConstraint constraint)
        Set the constraint for type.
        Parameters:
        constraint - The constraint for type.
      • getNumber

        public LeafConstraint getNumber()
        Get the constraint for number.
        Returns:
        The constraint for number.
      • setNumber

        public void setNumber​(LeafConstraint constraint)
        Set the constraint for number.
        Parameters:
        constraint - The constraint for number.
      • getIssuer

        public IssuerConstraint getIssuer()
        Get the constraint for issuer.
        Returns:
        The constraint for issuer.
      • setIssuer

        public void setIssuer​(IssuerConstraint constraint)
        Set the constraint for issuer.
        Parameters:
        constraint - The constraint for issuer.
      • getDateOfIssuance

        public LeafConstraint getDateOfIssuance()
        Get the constraint for date_of_issuance.
        Returns:
        The constraint for date_of_issuance.
      • setDateOfIssuance

        public void setDateOfIssuance​(LeafConstraint constraint)
        Set the constraint for date_of_issuance.
        Parameters:
        constraint - The constraint for date_of_issuance.
      • getDateOfExpiry

        public LeafConstraint getDateOfExpiry()
        Get the constraint for date_of_expiry.
        Returns:
        The constraint for date_of_expiry.
      • setDateOfExpiry

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

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