Package org.uncommons.maths.random
Class AESCounterRNG.AESKey
java.lang.Object
org.uncommons.maths.random.AESCounterRNG.AESKey
- All Implemented Interfaces:
Serializable
,Key
- Enclosing class:
AESCounterRNG
Trivial key implementation for use with AES cipher.
-
Field Summary
FieldsFields inherited from interface java.security.Key
serialVersionUID
-
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
keyData
private final byte[] keyData
-
-
Constructor Details
-
AESKey
private AESKey(byte[] keyData)
-
-
Method Details
-
getAlgorithm
- Specified by:
getAlgorithm
in interfaceKey
-
getFormat
-
getEncoded
public byte[] getEncoded()- Specified by:
getEncoded
in interfaceKey
-