Class EncryptionAlgorithmChoices
java.lang.Object
lib.pwss.algorithm_switch.EncryptionAlgorithmChoices
A class representing a set of choices for encryption algorithms.
This class holds three cryptographic algorithms and provides methods to
retrieve them.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedEncryptionAlgorithmChoices(String algorithm1, String algorithm2, String algorithm3) Constructor to initialize the encryption algorithm choices with given values. -
Method Summary
Modifier and TypeMethodDescriptionGets the first cryptographic algorithm.Gets the second cryptographic algorithm.Gets the third cryptographic algorithm.
-
Constructor Details
-
EncryptionAlgorithmChoices
Constructor to initialize the encryption algorithm choices with given values.- Parameters:
algorithm1- The first algorithm choice.algorithm2- The second algorithm choice.algorithm3- The third algorithm choice.
-
-
Method Details
-
getAlgorithm1
Gets the first cryptographic algorithm.- Returns:
- The value of ALGORITHM_1.
-
getAlgorithm2
Gets the second cryptographic algorithm.- Returns:
- The value of ALGORITHM_2.
-
getAlgorithm3
Gets the third cryptographic algorithm.- Returns:
- The value of ALGORITHM_3.
-