public enum SigContext extends Enum<SigContext>
| Modifier and Type | Class and Description |
|---|---|
static class | SigContext.SigContextSpecAlgorithm parameter specification for personalized hash contexts in digital signatures. |
| Enum Constant and Description |
|---|
SC_DATAGRAMContext for datagram protocol signatures (proposal 148) |
SC_I2CPContext for I2CP session configuration |
SC_NETDBContext for network database entries |
SC_NONENo context personalization |
SC_NTCPContext for NTCP handshake signatures |
SC_SSUContext for SSU handshake signatures |
SC_STREAMINGContext for streaming protocol signatures |
SC_SU3Context for SU3 file format signatures |
SC_TESTTest context for development |
| Modifier and Type | Method and Description |
|---|---|
SigContext.SigContextSpec | getSpec()The AlgorithmParameterSpec. |
static SigContext | valueOf(String name)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. |
public static final SigContext SC_DATAGRAM
public static final SigContext SC_I2CP
public static final SigContext SC_NETDB
public static final SigContext SC_NONE
public static final SigContext SC_NTCP
public static final SigContext SC_SSU
public static final SigContext SC_STREAMING
public static final SigContext SC_SU3
public static final SigContext SC_TEST
public SigContext.SigContextSpec getSpec()
public static SigContext 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 SigContext[] values()
for (SigContext c : SigContext.values()) System.out.println(c);