| Package | Description |
|---|---|
| com.github.f4b6a3.uuid | |
| com.github.f4b6a3.uuid.enums | |
| com.github.f4b6a3.uuid.factory | |
| com.github.f4b6a3.uuid.factory.standard |
| Modifier and Type | Field and Description |
|---|---|
static UuidNamespace |
UuidCreator.NAMESPACE_DNS
Name space to be used when the name string is a fully-qualified domain name.
|
static UuidNamespace |
UuidCreator.NAMESPACE_OID
Name space to be used when the name string is an ISO OID.
|
static UuidNamespace |
UuidCreator.NAMESPACE_URL
Name space to be used when the name string is a URL.
|
static UuidNamespace |
UuidCreator.NAMESPACE_X500
Name space to be used when the name string is an X.500 DN (DER or text).
|
| Modifier and Type | Method and Description |
|---|---|
static UUID |
UuidCreator.getNameBasedMd5(UuidNamespace namespace,
byte[] name)
Returns a name-based unique identifier that uses MD5 hashing (UUIDv3).
|
static UUID |
UuidCreator.getNameBasedMd5(UuidNamespace namespace,
String name)
Returns a name-based unique identifier that uses MD5 hashing (UUIDv3).
|
static UUID |
UuidCreator.getNameBasedSha1(UuidNamespace namespace,
byte[] name)
Returns a name-based unique identifier that uses SHA-1 hashing (UUIDv5).
|
static UUID |
UuidCreator.getNameBasedSha1(UuidNamespace namespace,
String name)
Returns a name-based unique identifier that uses SHA-1 hashing (UUIDv5).
|
| Modifier and Type | Method and Description |
|---|---|
static UuidNamespace |
UuidNamespace.getNamespace(UUID value)
Get the enum value.
|
static UuidNamespace |
UuidNamespace.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UuidNamespace[] |
UuidNamespace.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
UUID |
AbstNameBasedFactory.create(UuidNamespace namespace,
byte[] name)
Returns a name-based UUID.
|
UUID |
AbstNameBasedFactory.create(UuidNamespace namespace,
String name)
Returns a name-based UUID.
|
protected static byte[] |
UuidFactory.namespaceBytes(UuidNamespace namespace)
Converts a name space enumeration into a byte array.
|
UuidFactory.Parameters.Builder |
UuidFactory.Parameters.Builder.withNamespace(UuidNamespace namespace)
Use the name space enum.
|
| Constructor and Description |
|---|
NameBasedMd5Factory(UuidNamespace namespace)
Constructor with a namespace.
|
NameBasedSha1Factory(UuidNamespace namespace)
Constructor with a namespace.
|
Copyright © 2024. All rights reserved.