au.net.aba.crypto.provider
Class ABAProvider
java.lang.Object
|
+--java.util.Dictionary
|
+--java.util.Hashtable
|
+--java.util.Properties
|
+--java.security.Provider
|
+--au.net.aba.crypto.provider.ABAProvider
- public final class ABAProvider
- extends java.security.Provider
ABA Security provider. To use this provider via the JCE requires
runtime registration of the provider or static registration.
To add the provider at runtime use:
import java.security.Security;
import au.net.aba.crypto.provider.ABAProvider;
Security.addProvider(new ABAProvider());
To add the provider via static registration add an entry to the
java.security properties file (usually
$JAVA_HOME/lib/security/java.security). See that file for instructions.
The following message digest algorithms are supported by this provider:
The following block ciphers are supported by the ABA provider (these
ciphers all default to ECB mode with no padding:
Algorithm |
Modes |
Key Lengths |
Padding |
DES |
ECB, CBC |
64 bit |
PKCS5Padding, NoPadding |
DESede |
ECB, CBC |
192 bit |
PKCS5Padding, NoPadding |
IDEA |
ECB, CBC |
128 bit |
PKCS5Padding, NoPadding |
Blowfish |
ECB, CBC |
128 bit to 448 bit |
PKCS5Padding, NoPadding |
Twofish |
ECB, CBC |
128, 192 or 256 bits |
PKCS7Padding, NoPadding |
RSA |
ECB |
96 bit up |
PKCS1Padding, NoPadding |
The following stream ciphers are supported by the ABA provider:
Algorithm |
Key Lengths |
RC4 |
40 - 1024 bit |
Key generation is currently available for all algorithms.
Key factory classes are provided for all algorithms.
The following password based ciphers are supported by the ABA provider:
Algorithm |
Specification |
PBEWithMD5AndDES |
PKCS#5 |
PBEWithSHA1And120BitRC4 |
PKCS#12 |
The following Mac algorithms are supported by the ABA provider:
The following signature algorithms are supported by the ABA provider:
Algorithm |
Specification |
MD5withRSA |
PKCS#1 |
The following KeyStore types are supported by the ABA provider:
Name |
Input/Output Stream Cipher Algorithm |
ABA |
PBEWithSHA-1And128BitRC4 |
- See Also:
- Serialized Form
Field Summary |
static java.lang.String |
ident
|
Fields inherited from class java.util.Properties |
defaults |
Constructor Summary |
ABAProvider()
Construct a new provider. |
Methods inherited from class java.security.Provider |
clear,
entrySet,
getInfo,
getName,
getVersion,
keySet,
load,
put,
putAll,
remove,
toString,
values |
Methods inherited from class java.util.Properties |
getProperty,
getProperty,
list,
list,
propertyNames,
save,
setProperty,
store |
Methods inherited from class java.util.Hashtable |
clone,
contains,
containsKey,
containsValue,
elements,
equals,
get,
hashCode,
isEmpty,
keys,
rehash,
size |
Methods inherited from class java.lang.Object |
finalize,
getClass,
notify,
notifyAll,
wait,
wait,
wait |
ident
public static final java.lang.String ident
ABAProvider
public ABAProvider()
- Construct a new provider. This should only be required when
using runtime registration of the provider using the
Security.addProvider()
mechanism.