Serializable, Comparable<Identifier>, net.minidev.json.JSONAware@Immutable public class StateHash extends HashClaim
s_hash).
Related specifications:
DEFAULT_BYTE_LENGTH| Constructor | Description |
|---|---|
StateHash(String value) |
Creates a new state hash with the specified value.
|
| Modifier and Type | Method | Description |
|---|---|---|
static StateHash |
compute(State state,
com.nimbusds.jose.JWSAlgorithm alg) |
Computes the hash for the specified state and reference JSON
Web Signature (JWS) algorithm.
|
boolean |
equals(Object object) |
computeValue, getMessageDigestInstancecompareTo, getValue, hashCode, toJSONString, toStringpublic static StateHash compute(State state, com.nimbusds.jose.JWSAlgorithm alg)
state - The state. Must not be null.alg - The reference JWS algorithm. Must not be null.null if the JWS algorithm is not
supported.public boolean equals(Object object)
equals in class IdentifierCopyright © 2018 Connect2id Ltd.. All rights reserved.