Class PublicKeyInfo

java.lang.Object
net.visma.autopay.http.signature.PublicKeyInfo

public class PublicKeyInfo extends Object
Public key properties, needed when verifying signatures

Provided by a user function defined in VerificationSpec

See Also:
  • Method Details

    • builder

      public static PublicKeyInfo.Builder builder()
      Returns builder used to construct PublicKeyInfo object
      Returns:
      A PublicKeyInfo builder
    • toString

      public String toString()
      String representation of this object. It does not contain public key data.
      Overrides:
      toString in class Object
      Returns:
      String representation of this PublicKeyInfo
    • equals

      public boolean equals(Object o)
      Compares the specified object with this PublicKeyInfo for equality. Returns true if the given object is of the same class as this PublicKeyInfo, and all object fields are equal.
      Overrides:
      equals in class Object
      Parameters:
      o - Object to be compared with this PublicKeyInfo
      Returns:
      True is specified object is equal to this PublicKeyInfo
    • hashCode

      public int hashCode()
      Returns hash code for this PublicKeyInfo, which is composed of hash codes of all object fields
      Overrides:
      hashCode in class Object
      Returns:
      The hash code for this PublicKeyInfo