| Modifier and Type | Class and Description |
|---|---|
| public static class | |
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| private final String | |
| private final int | |
| private final int | |
| private static final Map | |
| private final String | |
| public static final BuiltinMacs | hmacmd5
Deprecated
|
| public static final BuiltinMacs | hmacmd596
Deprecated
|
| public static final BuiltinMacs | |
| public static final BuiltinMacs | hmacsha196
Deprecated
|
| public static final BuiltinMacs | |
| public static final BuiltinMacs | |
| public static final BuiltinMacs | |
| public static final BuiltinMacs | |
| public static final BuiltinMacs | |
| public static final Set |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public Mac | |
| public static BuiltinMacs | Returns: The matchingorg. whose factory name matches (case
insensitive) the digest factory nameThe factory)org. for the MAC - ignored if null
|
| public static BuiltinMacs | Returns: The matchingBuiltinMacs whose factory name matches (case insensitive) the provided
name - null if no matchThe factory name - ignored if name)null/empty
|
| public static BuiltinMacs | Returns: The matchingorg. whose Enum#name() matches (case
insensitive) the provided argument - null if no matchThe s)Enum's name - ignored if null/empty
|
| public final String | |
| public final int | |
| public final int | |
| public final String | |
| public static NavigableSet | Returns: ANavigableSet of the currently registered extensions, sorted according to the factory name (case
insensitive)
|
| public final boolean | |
| public static BuiltinMacs. | Returns: AParseResult containing the successfully parsed factories and the unknown onesNote it is up to caller to ensure that the lists do not contain duplicates A comma-separated list of MACs' names - ignored if macs)null/empty
|
| public static BuiltinMacs. | |
| public static BuiltinMacs. | |
| public static void | registerExtension(MacFactory
The factory to register extension)Registered a |
| public static MacFactory | Returns: The factory ornull if it is neither a built-in one or a registered extensionThe factory name name)
|
| public final String | toString()
Overrides java. Returns the name of this enum constant, as contained in the declaration. |
| public static MacFactory | Returns: The registered extension -null if not foundThe factory name - ignored if name)null/emptyUnregisters specified extension |
| public static BuiltinMacs | |
| public static BuiltinMacs[] |
| algorithm | back to summary |
|---|---|
| private final String algorithm | |
| bsize | back to summary |
|---|---|
| private final int bsize | |
| defbsize | back to summary |
|---|---|
| private final int defbsize | |
| EXTENSIONS | back to summary |
|---|---|
| private static final Map<String, MacFactory> EXTENSIONS | |
| factoryName | back to summary |
|---|---|
| private final String factoryName | |
| hmacmd5 | back to summary |
|---|---|
| public static final BuiltinMacs hmacmd5
Deprecated
| |
| hmacmd596 | back to summary |
|---|---|
| public static final BuiltinMacs hmacmd596
Deprecated
| |
| hmacsha1 | back to summary |
|---|---|
| public static final BuiltinMacs hmacsha1 | |
| hmacsha196 | back to summary |
|---|---|
| public static final BuiltinMacs hmacsha196
Deprecated
| |
| hmacsha1etm | back to summary |
|---|---|
| public static final BuiltinMacs hmacsha1etm | |
| hmacsha256 | back to summary |
|---|---|
| public static final BuiltinMacs hmacsha256 See RFC 6668 | |
| hmacsha256etm | back to summary |
|---|---|
| public static final BuiltinMacs hmacsha256etm | |
| hmacsha512 | back to summary |
|---|---|
| public static final BuiltinMacs hmacsha512 See RFC 6668 | |
| hmacsha512etm | back to summary |
|---|---|
| public static final BuiltinMacs hmacsha512etm | |
| VALUES | back to summary |
|---|---|
| public static final Set<BuiltinMacs> VALUES | |
| BuiltinMacs | back to summary |
|---|---|
| private BuiltinMacs(String factoryName, String algorithm, int bsize, int defbsize) | |
| create | back to summary |
|---|---|
| public Mac create() Implements org.
| |
| fromFactory | back to summary |
|---|---|
public static BuiltinMacs fromFactory(NamedFactory<Mac> factory)
| |
| fromFactoryName | back to summary |
|---|---|
public static BuiltinMacs fromFactoryName(String name)
| |
| fromString | back to summary |
|---|---|
public static BuiltinMacs fromString(String s)
| |
| getAlgorithm | back to summary |
|---|---|
| public final String getAlgorithm() Implements org.
| |
| getBlockSize | back to summary |
|---|---|
| public final int getBlockSize() Implements org.
| |
| getDefaultBlockSize | back to summary |
|---|---|
| public final int getDefaultBlockSize() Implements org.
| |
| getName | back to summary |
|---|---|
| public final String getName() Implements org.
| |
| getRegisteredExtensions | back to summary |
|---|---|
public static NavigableSet
| |
| isSupported | back to summary |
|---|---|
| public final boolean isSupported() Implements org.
| |
| parseMacsList | back to summary |
|---|---|
public static BuiltinMacs.
| |
| parseMacsList | back to summary |
|---|---|
| public static BuiltinMacs. | |
| parseMacsList | back to summary |
|---|---|
| public static BuiltinMacs. | |
| registerExtension | back to summary |
|---|---|
| public static void registerExtension(MacFactory extension) Registered a
| |
| resolveFactory | back to summary |
|---|---|
public static MacFactory resolveFactory(String name)
| |
| toString | back to summary |
|---|---|
| public final String toString() Overrides java. Doc from java. Returns the name of this enum constant, as contained in the declaration. This method may be overridden, though it typically isn't necessary or desirable. An enum class should override this method when a more "programmer-friendly" string form exists. | |
| unregisterExtension | back to summary |
|---|---|
| public static MacFactory unregisterExtension(String name) Unregisters specified extension
| |
| valueOf | back to summary |
|---|---|
| public static BuiltinMacs valueOf(String name) | |
| values | back to summary |
|---|---|
| public static BuiltinMacs[] values() | |
| Modifier and Type | Field and Description |
|---|---|
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String |
| Access | Constructor and Description |
|---|---|
| private |
| ETM_HMAC_SHA1 | back to summary |
|---|---|
| public static final String ETM_HMAC_SHA1 | |
| ETM_HMAC_SHA2_256 | back to summary |
|---|---|
| public static final String ETM_HMAC_SHA2_256 | |
| ETM_HMAC_SHA2_512 | back to summary |
|---|---|
| public static final String ETM_HMAC_SHA2_512 | |
| HMAC_MD5 | back to summary |
|---|---|
| public static final String HMAC_MD5 | |
| HMAC_MD5_96 | back to summary |
|---|---|
| public static final String HMAC_MD5_96 | |
| HMAC_SHA1 | back to summary |
|---|---|
| public static final String HMAC_SHA1 | |
| HMAC_SHA1_96 | back to summary |
|---|---|
| public static final String HMAC_SHA1_96 | |
| HMAC_SHA2_256 | back to summary |
|---|---|
| public static final String HMAC_SHA2_256 | |
| HMAC_SHA2_512 | back to summary |
|---|---|
| public static final String HMAC_SHA2_512 | |
| Constants | back to summary |
|---|---|
| private Constants() | |
| Modifier and Type | Field and Description |
|---|---|
| public static final BuiltinMacs. |
| Access | Constructor and Description |
|---|---|
| public |
| EMPTY | back to summary |
|---|---|
| public static final BuiltinMacs. | |
| ParseResult | back to summary |
|---|---|
| public ParseResult(List<MacFactory> parsed, List<String> unsupported) | |