Package org.mule.tests.extensions.fips
Class FipsComplianceTestOperations
java.lang.Object
org.mule.tests.extensions.fips.FipsComplianceTestOperations
Test extension to validate fips.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiontestAES()testEc()testKeyGenerator(String alg, int keySize) testMac()testProviderKeyGenerator(String algorithm, String provider) testRSA()
-
Field Details
-
BCFIPS_PROVIDER_NAME
- See Also:
-
THE_PROVIDER_IS_NOT_BCFIPS_ERROR_MESSAGE
- See Also:
-
THE_RSA_FACTORY_IS_NULL_ERROR_MESSAGE
- See Also:
-
RSA_KEYSTORE_FACTORY_TYPE
- See Also:
-
EC_KEYSTORE_FACTORY_TYPE
- See Also:
-
THE_EC_PROVIDER_IS_NULL_ERROR_MESSAGE
- See Also:
-
SECP_384_R_1_SPEC
- See Also:
-
SECP_256_R_1_SPEC
- See Also:
-
FAILED_TO_GENERATE_KEY_PAIR_ERROR_MESSAGE
- See Also:
-
JDK_TLS_DISABLED_ALGORITHMS_PROP
- See Also:
-
DISABLE_SUITES_TEMPLATE_ERROR_MESSAGE
- See Also:
-
X_509_CERTIFICATE_FACTORY
- See Also:
-
THE_FACTORY_IS_NULL_ERROR_MESSAGE
- See Also:
-
PROVIDER_ERROR_TEMPLATE_MESSAGE
- See Also:
-
DEFAULT_ALGORITH
- See Also:
-
NONCEANDIV_ALGORITHM
- See Also:
-
EXPECTED_TO_GENERATE_SYMMETRIC_KEY_ERROR_MESSAGE
- See Also:
-
AES_CIPHER_ALGORITH
- See Also:
-
AES_ALGORITH_KEY_GENERATOR_NAME
- See Also:
-
SHA_384
- See Also:
-
SHA_512
- See Also:
-
SHA_3_256
- See Also:
-
SHA_3_384
- See Also:
-
SHA_3_512
- See Also:
-
SHA_256
- See Also:
-
RSA_NONE_OAEPWITH_SHA_1_AND_MGF_1_PADDING
- See Also:
-
RSA_NONE_OAEPWITH_SHA_256_AND_MGF_1_PADDING
- See Also:
-
TESTING_KEY_WRAP_MODE_FOR_CIPHER_ERROR_MESSAGE
- See Also:
-
-
Constructor Details
-
FipsComplianceTestOperations
public FipsComplianceTestOperations()
-
-
Method Details
-
testKeyGenerator
@MediaType(value="*/*", strict=false) public String testKeyGenerator(String alg, int keySize) throws NoSuchAlgorithmException - Throws:
NoSuchAlgorithmException
-
testProviderKeyGenerator
@MediaType(value="*/*", strict=false) public String testProviderKeyGenerator(String algorithm, String provider) throws Exception - Throws:
Exception
-
testAES
- Throws:
Exception
-
testCertificateFactory
- Throws:
Exception
-
testCipherSuiteDisabled
- Throws:
Exception
-
testEc
- Throws:
Exception
-
testRsaKeyFactory
- Throws:
Exception
-
testEcKeyFactory
- Throws:
Exception
-
testKeyStore
- Throws:
Exception
-
testMac
- Throws:
Exception
-
testMessageDigest
- Throws:
Exception
-
testPasswordInput
- Throws:
Exception
-
testRSA
- Throws:
Exception
-