public enum CipherProvider extends java.lang.Enum<CipherProvider>
Modifier and Type | Field and Description |
---|---|
java.lang.String |
cipherProviderName |
int |
ecmaId |
java.lang.String |
jceId |
Modifier and Type | Method and Description |
---|---|
static CipherProvider |
fromEcmaId(int ecmaId) |
static CipherProvider |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CipherProvider[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CipherProvider rc4
public static final CipherProvider aes
public final java.lang.String jceId
public final int ecmaId
public final java.lang.String cipherProviderName
public static CipherProvider[] values()
for (CipherProvider c : CipherProvider.values()) System.out.println(c);
public static CipherProvider valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static CipherProvider fromEcmaId(int ecmaId)
Copyright 2018 The Apache Software Foundation or its licensors, as applicable.