Enum Class EncryptorId
- All Implemented Interfaces:
Serializable,Comparable<EncryptorId>,Constable
Enumeration with constants for parameter sharedInfo1.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionActivation layer 2 encryption.Generic activation encryption.Generic application encryption.Recovery code confirmation encryption.Create token encryption.Upgrade protocol encryption.Vault unlock encryption. -
Method Summary
Modifier and TypeMethodDescriptionbyte[]getEciesSharedInfo1(String protocolVersion) Get bytes of sharedInfo1 parameter for ECIES scheme.scope()Get encryptor's scope;value()Get identifier's value.static EncryptorIdReturns the enum constant of this class with the specified name.static EncryptorId[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
APPLICATION_SCOPE_GENERIC
Generic application encryption. -
ACTIVATION_SCOPE_GENERIC
Generic activation encryption. -
ACTIVATION_LAYER_2
Activation layer 2 encryption. -
UPGRADE
Upgrade protocol encryption. -
VAULT_UNLOCK
Vault unlock encryption. -
CREATE_TOKEN
Create token encryption. -
CONFIRM_RECOVERY_CODE
Recovery code confirmation encryption.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
value
Get identifier's value.- Returns:
- String with encryptor's identifier.
-
scope
Get encryptor's scope;- Returns:
- Encryptor's scope;
-