Serializable, Comparable<Identifier>, net.minidev.json.JSONAware@Immutable public final class JWTID extends Identifier
DEFAULT_BYTE_LENGTH| Constructor | Description |
|---|---|
JWTID() |
Creates a new JWT identifier with a randomly generated 256-bit
(32-byte) value, Base64URL-encoded.
|
JWTID(int byteLength) |
Creates a new JWT identifier with a randomly generated value of the
specified byte length, Base64URL-encoded.
|
JWTID(String value) |
Creates a new JWT identifier with the specified value.
|
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
equals(Object object) |
compareTo, getValue, hashCode, toJSONString, toStringpublic JWTID(String value)
value - The JWT identifier value. Must not be null or
empty string.public JWTID(int byteLength)
byteLength - The byte length of the value to generate. Must be
greater than one.public JWTID()
public boolean equals(Object object)
equals in class IdentifierCopyright © 2018 Connect2id Ltd.. All rights reserved.