|
For the latest news and information visit The GNU Crypto project |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object gnu.crypto.cipher.CipherFactory
A Factory to instantiate symmetric block cipher instances.
Field Summary |
Method Summary | |
static IBlockCipher |
getInstance(java.lang.String name)
Returns an instance of a block cipher given its name. |
static java.util.Set |
getNames()
Returns a Set of symmetric key block cipher implementation
names supported by this Factory. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static final IBlockCipher getInstance(java.lang.String name)
Returns an instance of a block cipher given its name.
name
- the case-insensitive name of the symmetric-key block cipher
algorithm.
null
if none is found.
java.lang.InternalError
- if the implementation does not pass its
self-test.public static final java.util.Set getNames()
Returns a Set
of symmetric key block cipher implementation
names supported by this Factory.
Set
of block cipher names (Strings).
|
For the latest news and information visit The GNU Crypto project |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |