Class Signature

java.lang.Object
org.springframework.vault.support.Signature

public class Signature extends Object
Value object representing a Signature.
Since:
2.0
Author:
Luander Ribeiro, Mark Paluch
  • Method Details

    • of

      public static Signature of(String signature)
      Factory method to create a Signature from the given signature.
      Parameters:
      signature - the signature, must not be null or empty.
      Returns:
      the Signature encapsulating signature.
    • getSignature

      public String getSignature()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object