Package com.adobe.livecycle.signatures.common
Classpublic final class FIPSCompliance
InheritanceFIPSCompliance Inheritance Object

Enables you to determine whether the digest algorithm is FIPS compliant.



Public Methods
 MethodDefined by
  
int getKeyLength(Key key)
[static] Returns the length of the specified key.
FIPSCompliance
  
int getKeyLength(Key key, AlgorithmParameters params)
[static] Gets the key length (currently supports RSA and DSA keys only).
FIPSCompliance
  
boolean isDigestAlgoCompliant(String algName)
[static] Checks if the digest algorithm is FIPS compliant.
FIPSCompliance
  
boolean isEncryptAlgoCompliant(String algName, Key key)
[static] Checks if the encryption algorithm and its key length is FIPS compliant.
FIPSCompliance
  
boolean isEncryptAlgoCompliant(String algName, Key key, AlgorithmParameters params)
[static] Checks if the encryption algorithm and its key length is FIPS compliant.
FIPSCompliance
  
boolean isSignatureAlgoFIPSCompliant(String alg, Key key)
[static] Check if the signature algorithm is FIPS compliant.
FIPSCompliance
  
boolean isSignatureAlgoFIPSCompliant(String alg, Key key, AlgorithmParameters params)
[static] Check if the signature algorithm is FIPS compliant.
FIPSCompliance
  
Map parseSignatureAlgo(String alg)
[static] For internal use.
FIPSCompliance
Method Detail
getKeyLength()
public static int getKeyLength(Key key)

Returns the length of the specified key.

Parameters

key

Returns
getKeyLength() 
public static int getKeyLength(Key key, AlgorithmParameters params)

Gets the key length (currently supports RSA and DSA keys only).

Parameters

key — The key for which a length value is returned.
 
params

Returns
The length of the key.
isDigestAlgoCompliant() 
public static boolean isDigestAlgoCompliant(String algName)

Checks if the digest algorithm is FIPS compliant.

Parameters

algName — A string value that specifies the name of the algorithm.

Returns
A Boolean value that specifies whether the FIPS compliant.
isEncryptAlgoCompliant() 
public static boolean isEncryptAlgoCompliant(String algName, Key key)

Checks if the encryption algorithm and its key length is FIPS compliant.

Parameters

algName — A string value that specifies the name of the algorithm.
 
key — A Key that is used for encryption.

Returns
A Boolean value that specifies whether the key length is FIPS compliant.
isEncryptAlgoCompliant() 
public static boolean isEncryptAlgoCompliant(String algName, Key key, AlgorithmParameters params)

Checks if the encryption algorithm and its key length is FIPS compliant.

Parameters

algName — A string value that specifies the name of the algorithm.
 
key — A Key that is used for encryption.
 
params

Returns
A Boolean value that specifies whether the key length is FIPS compliant.
isSignatureAlgoFIPSCompliant() 
public static boolean isSignatureAlgoFIPSCompliant(String alg, Key key)

Check if the signature algorithm is FIPS compliant.

Parameters

alg — A string value that specifies the name of the algorithm.
 
key — A Key that is used for encryption.

Returns
A Boolean value that specifies whether the key length is FIPS compliant.
isSignatureAlgoFIPSCompliant() 
public static boolean isSignatureAlgoFIPSCompliant(String alg, Key key, AlgorithmParameters params)

Check if the signature algorithm is FIPS compliant.

Parameters

alg — A string value that specifies the name of the algorithm.
 
key — A Key that is used for encryption.
 
params

Returns
A Boolean value that specifies whether the key length is FIPS compliant.
parseSignatureAlgo() 
public static Map parseSignatureAlgo(String alg)

For internal use. Do not invoke this method.

Parameters

alg

Returns




 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/livecycle/es/sdkHelp/programmer/javadoc/com/adobe/livecycle/signatures/common/FIPSCompliance.html