@Immutable public final class Issuer extends Identifier
DEFAULT_BYTE_LENGTH| Constructor and Description |
|---|
Issuer()
Creates a new issuer identifier with a randomly generated 256-bit
(32-byte) value, Base64URL-encoded.
|
Issuer(int byteLength)
Creates a new issuer identifier with a randomly generated value of
the specified byte length, Base64URL-encoded.
|
Issuer(String value)
Creates a new issuer identifier with the specified value.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object object)
Overrides
Object.equals(). |
getValue, hashCode, toJSONString, toStringpublic Issuer(String value)
value - The issuer identifier value. Must not be null
or empty string.public Issuer(int byteLength)
byteLength - The byte length of the value to generate. Must be
greater than one.public Issuer()
public boolean equals(Object object)
IdentifierObject.equals().equals in class Identifierobject - The object to compare to.true if the objects have the same value, otherwise
false.Copyright © 2013 NimbusDS. All Rights Reserved.