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.KeyTrivial key implementation for use with AES cipher.
-
-
Field Summary
Fields Modifier and Type Field Description private byte[]keyData
-
Constructor Summary
Constructors Modifier Constructor Description privateAESKey(byte[] keyData)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetAlgorithm()byte[]getEncoded()java.lang.StringgetFormat()
-
-
-
Method Detail
-
getAlgorithm
public java.lang.String getAlgorithm()
- Specified by:
getAlgorithmin interfacejava.security.Key
-
getFormat
public java.lang.String getFormat()
- Specified by:
getFormatin interfacejava.security.Key
-
getEncoded
public byte[] getEncoded()
- Specified by:
getEncodedin interfacejava.security.Key
-
-