Class KeyInfoCriterion

  • All Implemented Interfaces:
    Criterion

    public final class KeyInfoCriterion
    extends Object
    implements Criterion
    An implementation of Criterion which specifies criteria based on the contents of a KeyInfo element.
    • Field Detail

      • keyInfo

        private KeyInfo keyInfo
        The KeyInfo which serves as the source for credential criteria.
    • Constructor Detail

      • KeyInfoCriterion

        public KeyInfoCriterion​(@Nullable
                                KeyInfo newKeyInfo)
        Constructor.
        Parameters:
        newKeyInfo - the KeyInfo credential criteria to use
    • Method Detail

      • getKeyInfo

        @Nullable
        public KeyInfo getKeyInfo()
        Gets the KeyInfo which is the source of credential criteria.
        Returns:
        the KeyInfo credential criteria
      • setKeyInfo

        public void setKeyInfo​(@Nullable
                               KeyInfo newKeyInfo)
        Sets the KeyInfo which is the source of credential criteria.
        Parameters:
        newKeyInfo - the KeyInfo to use as credential criteria
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object