@Immutable public final class Issuer extends Identifier
Valid issuer identifiers are URIs with "https" schema and no query or fragment component.
DEFAULT_BYTE_LENGTH| Constructor and Description |
|---|
Issuer(java.lang.String value)
Creates a new issuer identifier with the specified value.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object object)
Overrides
Object.equals(). |
boolean |
isValid()
Checks if this issuer is a valid identifier.
|
static boolean |
isValid(Issuer value)
Checks if the specified issuer is a valid identifier.
|
static boolean |
isValid(java.lang.String value)
Checks if the specified string represents a valid issuer identifier.
|
static boolean |
isValid(java.net.URI value)
Checks if the specified URI represents a valid issuer identifier.
|
compareTo, getValue, hashCode, toJSONString, toStringpublic Issuer(java.lang.String value)
value - The issuer identifier value. Must not be null
or empty string.public static boolean isValid(java.lang.String value)
null-safe.value - The issuer string.true if the string represents a valid issuer
identifier, else false.public static boolean isValid(Issuer value)
null-safe.value - The issuer.true if the value is a valid identifier, else
false.public static boolean isValid(java.net.URI value)
null-safe.value - The URI.true if the values represents a valid issuer
identifier, else false.public boolean isValid()
null-safe.true if the value is a valid identifier, else
false.public boolean equals(java.lang.Object object)
IdentifierObject.equals().equals in class Identifierobject - The object to compare to.true if the objects have the same value, otherwise
false.Copyright © 2014 Connect2id Ltd.. All Rights Reserved.