|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.adobe.livecycle.signatures.common.FIPSCompliance
public final class FIPSCompliance
Enables you to determine whether the digest algorithm is FIPS compliant.
Method Summary | |
---|---|
static int |
getKeyLength(Key key)
Returns the length of the specified key. |
static int |
getKeyLength(Key key,
AlgorithmParameters params)
Gets the key length (currently supports RSA and DSA keys only). |
static boolean |
isDigestAlgoCompliant(String algName)
Checks if the digest algorithm is FIPS compliant. |
static boolean |
isEncryptAlgoCompliant(String algName,
Key key)
Checks if the encryption algorithm and its key length is FIPS compliant. |
static boolean |
isEncryptAlgoCompliant(String algName,
Key key,
AlgorithmParameters params)
Checks if the encryption algorithm and its key length is FIPS compliant. |
static boolean |
isSignatureAlgoFIPSCompliant(String alg,
Key key)
Check if the signature algorithm is FIPS compliant. |
static boolean |
isSignatureAlgoFIPSCompliant(String alg,
Key key,
AlgorithmParameters params)
Check if the signature algorithm is FIPS compliant. |
static Map |
parseSignatureAlgo(String alg)
For internal use. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static boolean isDigestAlgoCompliant(String algName)
algName
- A string value that specifies the name of the algorithm.
public static boolean isEncryptAlgoCompliant(String algName, Key key)
algName
- A string value that specifies the name of the algorithm.key
- A Key that is used for encryption.
public static boolean isEncryptAlgoCompliant(String algName, Key key, AlgorithmParameters params)
algName
- A string value that specifies the name of the algorithm.key
- A Key that is used for encryption.
public static int getKeyLength(Key key)
public static int getKeyLength(Key key, AlgorithmParameters params)
key
- The key for which a length value is returned.
public static Map parseSignatureAlgo(String alg)
public static boolean isSignatureAlgoFIPSCompliant(String alg, Key key)
alg
- A string value that specifies the name of the algorithm.key
- A Key that is used for encryption.
public static boolean isSignatureAlgoFIPSCompliant(String alg, Key key, AlgorithmParameters params)
alg
- A string value that specifies the name of the algorithm.key
- A Key that is used for encryption.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |