Class SignatureValidation
java.lang.Object
org.springframework.vault.support.SignatureValidation
Value object representing the result of a
Signature
validation.- Since:
- 2.0
- Author:
- Mark Paluch
-
Method Summary
Modifier and TypeMethodDescriptionboolean
int
hashCode()
static SignatureValidation
invalid()
Factory method to create aSignatureValidation
object representing a failed signature validation.boolean
isValid()
toString()
static SignatureValidation
valid()
Factory method to create aSignatureValidation
object representing a successfully validated signature.
-
Method Details
-
valid
Factory method to create aSignatureValidation
object representing a successfully validated signature.- Returns:
- a
SignatureValidation
object representing a successfully validated signature.
-
invalid
Factory method to create aSignatureValidation
object representing a failed signature validation.- Returns:
- a
SignatureValidation
object representing a failed signature validation.
-
isValid
public boolean isValid() -
equals
-
hashCode
public int hashCode() -
toString
-