|
|||||||||
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(java.security.Key key)
Returns the length of the specified key. |
static int |
getKeyLength(java.security.Key key,
java.security.AlgorithmParameters params)
Gets the key length (currently supports RSA and DSA keys only). |
static boolean |
isDigestAlgoCompliant(java.lang.String algName)
Checks if the digest algorithm is FIPS compliant. |
static boolean |
isEncryptAlgoCompliant(java.lang.String algName,
java.security.Key key)
Checks if the encryption algorithm and its key length is FIPS compliant. |
static boolean |
isEncryptAlgoCompliant(java.lang.String algName,
java.security.Key key,
java.security.AlgorithmParameters params)
Checks if the encryption algorithm and its key length is FIPS compliant. |
static boolean |
isSignatureAlgoFIPSCompliant(java.lang.String alg,
java.security.Key key)
Check if the signature algorithm is FIPS compliant. |
static boolean |
isSignatureAlgoFIPSCompliant(java.lang.String alg,
java.security.Key key,
java.security.AlgorithmParameters params)
Check if the signature algorithm is FIPS compliant. |
static java.util.Map |
parseSignatureAlgo(java.lang.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(java.lang.String algName)
algName
- A string value that specifies the name of the algorithm.
public static boolean isEncryptAlgoCompliant(java.lang.String algName, java.security.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(java.lang.String algName, java.security.Key key, java.security.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(java.security.Key key)
public static int getKeyLength(java.security.Key key, java.security.AlgorithmParameters params)
key
- The key for which a length value is returned.
public static java.util.Map parseSignatureAlgo(java.lang.String alg)
public static boolean isSignatureAlgoFIPSCompliant(java.lang.String alg, java.security.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(java.lang.String alg, java.security.Key key, java.security.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 |