Package org.geysermc.floodgate.crypto
Class AesKeyProducer
- java.lang.Object
-
- org.geysermc.floodgate.crypto.AesKeyProducer
-
- All Implemented Interfaces:
KeyProducer
public final class AesKeyProducer extends java.lang.Object implements KeyProducer
-
-
Field Summary
Fields Modifier and Type Field Description static intKEY_SIZE
-
Constructor Summary
Constructors Constructor Description AesKeyProducer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.crypto.SecretKeyproduce()javax.crypto.SecretKeyproduceFrom(byte[] keyFileData)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.geysermc.floodgate.crypto.KeyProducer
produceFrom
-
-
-
-
Field Detail
-
KEY_SIZE
public static final int KEY_SIZE
- See Also:
- Constant Field Values
-
-
Method Detail
-
produce
public javax.crypto.SecretKey produce()
- Specified by:
producein interfaceKeyProducer
-
produceFrom
public javax.crypto.SecretKey produceFrom(byte[] keyFileData)
- Specified by:
produceFromin interfaceKeyProducer
-
-