Package org.uncommons.maths.random
Class AESCounterRNG.AESKey
- java.lang.Object
-
- org.uncommons.maths.random.AESCounterRNG.AESKey
-
- All Implemented Interfaces:
java.io.Serializable
,java.security.Key
- Enclosing class:
- AESCounterRNG
private static final class AESCounterRNG.AESKey extends java.lang.Object implements java.security.Key
Trivial key implementation for use with AES cipher.
-
-
Field Summary
Fields Modifier and Type Field Description private byte[]
keyData
-
Constructor Summary
Constructors Modifier Constructor Description private
AESKey(byte[] keyData)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getAlgorithm()
byte[]
getEncoded()
java.lang.String
getFormat()
-
-
-
Method Detail
-
getAlgorithm
public java.lang.String getAlgorithm()
- Specified by:
getAlgorithm
in interfacejava.security.Key
-
getFormat
public java.lang.String getFormat()
- Specified by:
getFormat
in interfacejava.security.Key
-
getEncoded
public byte[] getEncoded()
- Specified by:
getEncoded
in interfacejava.security.Key
-
-