Package net.i2p.crypto
Enum SigContext
- All Implemented Interfaces:
Serializable
,Comparable<SigContext>
,java.lang.constant.Constable
Defines the context for signing with personalized hashes.
See proposal 148.
- Since:
- 0.9.40
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
The AlgorithmParameterSpec.Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptiongetSpec()
The AlgorithmParameterSpec.static SigContext
Returns the enum constant of this type with the specified name.static SigContext[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
SC_NONE
-
SC_DATAGRAM
-
SC_I2CP
-
SC_NETDB
-
SC_NTCP
-
SC_SSU
-
SC_STREAMING
-
SC_SU3
-
SC_TEST
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
getSpec
The AlgorithmParameterSpec. Pass this as an argument in setParameter() to the Blake sign/verify engines.
-