Class MD5Digest

  • All Implemented Interfaces:
    Digest

    public class MD5Digest
    extends java.lang.Object
    implements Digest
    An implementation of Digest that represents an MD5 digest
    • Constructor Summary

      Constructors 
      Constructor Description
      MD5Digest​(java.lang.String value)
      Constructs a new MD5Digest with the provided MD5 value
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      o.a.c.sidecar.client.shaded.common.request.data.Digest toSidecarDigest()
      java.lang.String toString()  
      java.lang.String value()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • MD5Digest

        public MD5Digest​(@NotNull
                         java.lang.String value)
        Constructs a new MD5Digest with the provided MD5 value
        Parameters:
        value - the MD5 value
    • Method Detail

      • value

        public java.lang.String value()
        Specified by:
        value in interface Digest
        Returns:
        the string representation of the digest
      • toSidecarDigest

        public o.a.c.sidecar.client.shaded.common.request.data.Digest toSidecarDigest()
        Specified by:
        toSidecarDigest in interface Digest
        Returns:
        the digest translated to Sidecar digest
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object