public enum UuidNamespace extends Enum<UuidNamespace>
List of name spaces:
NAMESPACE_DNS: 6ba7b810-9dad-11d1-80b4-00c04fd430c8
NAMESPACE_URL: 6ba7b811-9dad-11d1-80b4-00c04fd430c8
NAMESPACE_OID: 6ba7b812-9dad-11d1-80b4-00c04fd430c8
NAMESPACE_X500: 6ba7b814-9dad-11d1-80b4-00c04fd430c8
| Enum Constant and Description |
|---|
NAMESPACE_DNS
Name space to be used when the name string is a fully-qualified domain name.
|
NAMESPACE_OID
Name space to be used when the name string is an ISO OID.
|
NAMESPACE_URL
Name space to be used when the name string is a URL.
|
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 UuidNamespace |
getNamespace(UUID value)
Get the enum value.
|
UUID |
getValue()
Get the UUID value
|
static UuidNamespace |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UuidNamespace[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UuidNamespace NAMESPACE_DNS
public static final UuidNamespace NAMESPACE_URL
public static final UuidNamespace NAMESPACE_OID
public static final UuidNamespace NAMESPACE_X500
public static UuidNamespace[] values()
for (UuidNamespace c : UuidNamespace.values()) System.out.println(c);
public static UuidNamespace valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic UUID getValue()
public static UuidNamespace getNamespace(UUID value)
value - a UUID.Copyright © 2024. All rights reserved.