Class AesKey
java.lang.Object
com.aquima.interactions.foundation.security.cert.AesKey
- All Implemented Interfaces:
Serializable
Class representing an AES key.
- Since:
- 17.1
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThis method returns the secret key.static AesKey
importFrom
(InputStream stream) This method reads a key from an input stream.
-
Constructor Details
-
AesKey
-
-
Method Details
-
getSecretKey
This method returns the secret key.- Returns:
- the secret key.
-
importFrom
This method reads a key from an input stream.- Parameters:
stream
- The input stream the key should be read from.- Returns:
- The key provided by the input stream.
- Throws:
CryptoGraphicException
- This exception is thrown when the key could not be read from the input stream.
-