|
JSS 3.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.mozilla.jss.crypto.Algorithm | +--org.mozilla.jss.crypto.DigestAlgorithm | +--org.mozilla.jss.crypto.HMACAlgorithm
Algorithms for performing HMACs. These can be used to create MessageDigests.
Field Summary | |
private static java.util.Hashtable |
oidMap
|
static HMACAlgorithm |
SHA1
SHA-1 HMAC. |
Fields inherited from class org.mozilla.jss.crypto.DigestAlgorithm |
MD2,
MD5,
oidMap,
outputSize,
SHA1 |
Constructor Summary | |
protected |
HMACAlgorithm(int oidIndex,
java.lang.String name,
OBJECT_IDENTIFIER oid,
int outputSize)
|
Method Summary | |
static DigestAlgorithm |
fromOID(OBJECT_IDENTIFIER oid)
Looks up the HMAC algorithm with the given OID. |
Methods inherited from class org.mozilla.jss.crypto.DigestAlgorithm |
getOutputSize |
Methods inherited from class org.mozilla.jss.crypto.Algorithm |
getParameterClass,
toOID,
toString |
Methods inherited from class java.lang.Object |
|
Field Detail |
private static java.util.Hashtable oidMap
public static final HMACAlgorithm SHA1
Constructor Detail |
protected HMACAlgorithm(int oidIndex, java.lang.String name, OBJECT_IDENTIFIER oid, int outputSize)
Method Detail |
public static DigestAlgorithm fromOID(OBJECT_IDENTIFIER oid) throws java.security.NoSuchAlgorithmException
|
JSS 3.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |