public enum KeyType extends Enum<KeyType>
Enum Constant and Description |
---|
DERIVATION
A key for deriving cipher keys.
|
SIGNING
A key for signing operations.
|
Modifier and Type | Method and Description |
---|---|
static KeyType |
findByIndex(int index) |
static KeyType |
findByName(String name)
Find the type with its enumeration name matching the passed in string (ignoring case).
|
String |
getBrokerName()
Get the name Absio Broker™ application recognizes for this
KeyType . |
int |
getIndex() |
static KeyType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KeyType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KeyType SIGNING
public static final KeyType DERIVATION
public static KeyType[] values()
for (KeyType c : KeyType.values()) System.out.println(c);
public static KeyType 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 static KeyType findByIndex(int index)
public static KeyType findByName(String name)
name
- the value to match ignoring casepublic String getBrokerName()
KeyType
.KeyType
public int getIndex()
Copyright © 2021. All rights reserved.