Interface Key

    • Method Detail

      • getAlgorithm

        Algorithm getAlgorithm()
        The algorithm the key is for.
        Returns:
        the key's algorithm.
      • equals

        boolean equals​(java.lang.Object o)
        Return true if o is an equivalent key to this.
        Overrides:
        equals in class java.lang.Object
        Parameters:
        o - object to compare to.
        Returns:
        true if o is the same or equivalent key, false otherwise.
      • hashCode

        int hashCode()
        Return the hashCode for the key.
        Overrides:
        hashCode in class java.lang.Object
        Returns:
        the key's hashCode.