|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mozilla.jss.crypto.Algorithm
org.mozilla.jss.crypto.DigestAlgorithm
org.mozilla.jss.crypto.HMACAlgorithm
public class HMACAlgorithm
Algorithms for performing HMACs. These can be used to create MessageDigests.
Field Summary | |
---|---|
static HMACAlgorithm |
SHA1
SHA-1 HMAC. |
Fields inherited from class org.mozilla.jss.crypto.DigestAlgorithm |
---|
MD2, MD5 |
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, getParameterClasses, isValidParameterObject, toOID, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
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
java.security.NoSuchAlgorithmException
- If no registered HMAC algorithm
has the given OID.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |