Class AesDataCodec
java.lang.Object
org.geysermc.floodgate.core.crypto.DataCodec
org.geysermc.floodgate.core.crypto.aes.AesDataCodec
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondecode(List<ByteBuffer> ivAndCipherText) Decodes the given data using the Key provided inDataCodec.init(Key)encode(ByteBuffer plainText) Encodes the given data using the Key provided inDataCodec.init(Key)voidInitializes the instance by giving it the key it needs to sign/verify or encrypt/decrypt dataMethods inherited from class org.geysermc.floodgate.core.crypto.DataCodec
ensureAlgorithm, ensureSectionCount
-
Constructor Details
-
AesDataCodec
public AesDataCodec()
-
-
Method Details
-
init
Description copied from class:DataCodecInitializes the instance by giving it the key it needs to sign/verify or encrypt/decrypt data -
encode
Description copied from class:DataCodecEncodes the given data using the Key provided inDataCodec.init(Key) -
decode
Description copied from class:DataCodecDecodes the given data using the Key provided inDataCodec.init(Key)
-