Class Credential.MD5

java.lang.Object
org.eclipse.jetty.util.security.Credential
org.eclipse.jetty.util.security.Credential.MD5
All Implemented Interfaces:
Serializable
Enclosing class:
Credential

public static class Credential.MD5 extends Credential
MD5 Credentials
See Also:
  • Method Details

    • getDigest

      public byte[] getDigest()
    • check

      public boolean check(Object credentials)
      Description copied from class: Credential
      Check a credential
      Specified by:
      check in class Credential
      Parameters:
      credentials - The credential to check against. This may either be another Credential object, a Password object or a String which is interpreted by this credential.
      Returns:
      True if the credentials indicated that the shared secret is known to both this Credential and the passed credential.
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • digest

      public static String digest(String password)
      Used only by Command Line Password utility