| Modifier and Type | Class and Description |
|---|---|
| public static class | |
| public static class | BuiltinCiphers.
Holds the result of |
| Modifier and Type | Field and Description |
|---|---|
| public static final BuiltinCiphers | |
| public static final BuiltinCiphers | |
| public static final BuiltinCiphers | |
| public static final BuiltinCiphers | |
| public static final BuiltinCiphers | |
| public static final BuiltinCiphers | |
| public static final BuiltinCiphers | |
| public static final BuiltinCiphers | |
| private final String | |
| public static final BuiltinCiphers | arcfour128
Deprecated
|
| public static final BuiltinCiphers | arcfour256
Deprecated
|
| private final int | |
| private final int | |
| public static final BuiltinCiphers | blowfishcbc
Deprecated
|
| public static final BuiltinCiphers | |
| private static final Map | |
| private final String | |
| private final int | |
| private final int | |
| public static final BuiltinCiphers | |
| private final AtomicReference | |
| private final String | |
| public static final BuiltinCiphers | tripledescbc
Deprecated
|
| public static final Set |
| Access | Constructor and Description |
|---|---|
| private | BuiltinCiphers(String factoryName, int ivsize, int authSize, String algorithm, int keySizeInBits, String transformation, int blkSize)
|
| Modifier and Type | Method and Description |
|---|---|
| public Cipher | |
| public static BuiltinCiphers | Returns: The matchingBuiltinCiphers whose factory name matches (case insensitive) the
cipher factory nameThe factory)NamedFactory for the cipher - ignored if null
|
| public static BuiltinCiphers | Returns: The matchingBuiltinCiphers whose factory name matches (case insensitive) the
provided name - null if no matchThe factory name - ignored if name)null/empty
|
| public static BuiltinCiphers | Returns: The matchingBuiltinCiphers whose Enum#name() matches (case insensitive) the
provided argument - null if no matchThe s)Enum's name - ignored if null/empty
|
| public String | |
| public int | |
| public int | |
| public int | |
| public int | |
| public int | |
| public final String | |
| public static NavigableSet | Returns: ASortedSet of the currently registered extensions, sorted according to the factory name (case
insensitive)
|
| public String | |
| public boolean | Returns: true if the current JVM configuration supports this cipher - e.g., AES-256 requires the
Java Cryptography Extension (JCE)Implements org.
|
| public static BuiltinCiphers. | Returns: AParseResult containing the successfully parsed factories and the unknown onesNote it is up to caller to ensure that the lists do not contain duplicates A comma-separated list of ciphers' names - ignored if ciphers)null/empty
|
| public static BuiltinCiphers. | |
| public static BuiltinCiphers. | |
| public static void | registerExtension(CipherFactory
The factory to register extension)Registered a |
| public static CipherFactory | Returns: The factory ornull if it is neither a built-in one or a registered extensionThe factory name name)
|
| public final String | toString()
Overrides java. Returns the name of this enum constant, as contained in the declaration. |
| public static NamedFactory | Returns: The registered extension -null if not foundThe factory name - ignored if name)null/emptyUnregisters specified extension |
| public static BuiltinCiphers | |
| public static BuiltinCiphers[] |
| aes128cbc | back to summary |
|---|---|
| public static final BuiltinCiphers aes128cbc | |
| aes128ctr | back to summary |
|---|---|
| public static final BuiltinCiphers aes128ctr | |
| aes128gcm | back to summary |
|---|---|
| public static final BuiltinCiphers aes128gcm | |
| aes192cbc | back to summary |
|---|---|
| public static final BuiltinCiphers aes192cbc | |
| aes192ctr | back to summary |
|---|---|
| public static final BuiltinCiphers aes192ctr | |
| aes256cbc | back to summary |
|---|---|
| public static final BuiltinCiphers aes256cbc | |
| aes256ctr | back to summary |
|---|---|
| public static final BuiltinCiphers aes256ctr | |
| aes256gcm | back to summary |
|---|---|
| public static final BuiltinCiphers aes256gcm | |
| algorithm | back to summary |
|---|---|
| private final String algorithm | |
| arcfour128 | back to summary |
|---|---|
| public static final BuiltinCiphers arcfour128
Deprecated
| |
| arcfour256 | back to summary |
|---|---|
| public static final BuiltinCiphers arcfour256
Deprecated
| |
| authSize | back to summary |
|---|---|
| private final int authSize | |
| blkSize | back to summary |
|---|---|
| private final int blkSize | |
| blowfishcbc | back to summary |
|---|---|
| public static final BuiltinCiphers blowfishcbc
Deprecated
| |
| cc20p1305_openssh | back to summary |
|---|---|
| public static final BuiltinCiphers cc20p1305_openssh | |
| EXTENSIONS | back to summary |
|---|---|
| private static final Map<String, CipherFactory> EXTENSIONS | |
| factoryName | back to summary |
|---|---|
| private final String factoryName | |
| ivsize | back to summary |
|---|---|
| private final int ivsize | |
| keySize | back to summary |
|---|---|
| private final int keySize | |
| none | back to summary |
|---|---|
| public static final BuiltinCiphers none | |
| supported | back to summary |
|---|---|
| private final AtomicReference<Boolean> supported | |
| transformation | back to summary |
|---|---|
| private final String transformation | |
| tripledescbc | back to summary |
|---|---|
| public static final BuiltinCiphers tripledescbc
Deprecated
| |
| VALUES | back to summary |
|---|---|
| public static final Set<BuiltinCiphers> VALUES | |
| BuiltinCiphers | back to summary |
|---|---|
| private BuiltinCiphers(String factoryName, int ivsize, int authSize, String algorithm, int keySizeInBits, String transformation, int blkSize) | |
| create | back to summary |
|---|---|
| public Cipher create() Implements org.
| |
| fromFactory | back to summary |
|---|---|
public static BuiltinCiphers fromFactory(NamedFactory<Cipher> factory)
| |
| fromFactoryName | back to summary |
|---|---|
public static BuiltinCiphers fromFactoryName(String name)
| |
| fromString | back to summary |
|---|---|
public static BuiltinCiphers fromString(String s)
| |
| getAlgorithm | back to summary |
|---|---|
| public String getAlgorithm() Implements org.
| |
| getAuthenticationTagSize | back to summary |
|---|---|
| public int getAuthenticationTagSize() Implements org.
| |
| getCipherBlockSize | back to summary |
|---|---|
| public int getCipherBlockSize() Implements org.
| |
| getIVSize | back to summary |
|---|---|
| public int getIVSize() Implements org.
| |
| getKdfSize | back to summary |
|---|---|
| public int getKdfSize() Implements org.
| |
| getKeySize | back to summary |
|---|---|
| public int getKeySize() Implements org.
| |
| getName | back to summary |
|---|---|
| public final String getName() Implements org.
| |
| getRegisteredExtensions | back to summary |
|---|---|
public static NavigableSet
| |
| getTransformation | back to summary |
|---|---|
| public String getTransformation() Implements org.
| |
| isSupported | back to summary |
|---|---|
| public boolean isSupported() Implements org.
| |
| parseCiphersList | back to summary |
|---|---|
public static BuiltinCiphers.
| |
| parseCiphersList | back to summary |
|---|---|
| public static BuiltinCiphers. | |
| parseCiphersList | back to summary |
|---|---|
| public static BuiltinCiphers. | |
| registerExtension | back to summary |
|---|---|
| public static void registerExtension(CipherFactory extension) Registered a
| |
| resolveFactory | back to summary |
|---|---|
public static CipherFactory resolveFactory(String name)
| |
| toString | back to summary |
|---|---|
| public final String toString() Overrides java. Doc from java. Returns the name of this enum constant, as contained in the declaration. This method may be overridden, though it typically isn't necessary or desirable. An enum class should override this method when a more "programmer-friendly" string form exists. | |
| unregisterExtension | back to summary |
|---|---|
| public static NamedFactory Unregisters specified extension
| |
| valueOf | back to summary |
|---|---|
| public static BuiltinCiphers valueOf(String name) | |
| values | back to summary |
|---|---|
| public static BuiltinCiphers[] values() | |
| Modifier and Type | Field and Description |
|---|---|
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final Pattern | |
| public static final String |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static boolean |
| AES128_CBC | back to summary |
|---|---|
| public static final String AES128_CBC | |
| AES128_CTR | back to summary |
|---|---|
| public static final String AES128_CTR | |
| AES128_GCM | back to summary |
|---|---|
| public static final String AES128_GCM | |
| AES192_CBC | back to summary |
|---|---|
| public static final String AES192_CBC | |
| AES192_CTR | back to summary |
|---|---|
| public static final String AES192_CTR | |
| AES256_CBC | back to summary |
|---|---|
| public static final String AES256_CBC | |
| AES256_CTR | back to summary |
|---|---|
| public static final String AES256_CTR | |
| AES256_GCM | back to summary |
|---|---|
| public static final String AES256_GCM | |
| ARCFOUR128 | back to summary |
|---|---|
| public static final String ARCFOUR128 | |
| ARCFOUR256 | back to summary |
|---|---|
| public static final String ARCFOUR256 | |
| BLOWFISH_CBC | back to summary |
|---|---|
| public static final String BLOWFISH_CBC | |
| CC20P1305_OPENSSH | back to summary |
|---|---|
| public static final String CC20P1305_OPENSSH | |
| NONE | back to summary |
|---|---|
| public static final String NONE | |
| NONE_CIPHER_PATTERN | back to summary |
|---|---|
| public static final Pattern NONE_CIPHER_PATTERN | |
| TRIPLE_DES_CBC | back to summary |
|---|---|
| public static final String TRIPLE_DES_CBC | |
| Constants | back to summary |
|---|---|
| private Constants() | |
| isNoneCipherIncluded | back to summary |
|---|---|
| public static boolean isNoneCipherIncluded(String s) | |
BuiltinCiphers#parseCiphersList(String)
| Modifier and Type | Field and Description |
|---|---|
| public static final BuiltinCiphers. |
| Access | Constructor and Description |
|---|---|
| public |
| EMPTY | back to summary |
|---|---|
| public static final BuiltinCiphers. | |
| ParseResult | back to summary |
|---|---|
| public ParseResult(List<CipherFactory> parsed, List<String> unsupported) | |