Class DataCodecUsingSignature
java.lang.Object
org.geysermc.floodgate.core.crypto.DataCodec<KeyPair>
org.geysermc.floodgate.core.crypto.DataCodecKeyPair
org.geysermc.floodgate.core.crypto.DataCodecUsingSignature
- Direct Known Subclasses:
Ed25519DataCodec
-
Field Summary
Fields inherited from class org.geysermc.floodgate.core.crypto.DataCodecKeyPair
algorithmName, keyPair -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondecode(List<ByteBuffer> dataSections) Decodes the given data using the Key provided inDataCodec.init(Object)encode(ByteBuffer plainText) Encodes the given data using the Key provided inDataCodec.init(Object)Methods inherited from class org.geysermc.floodgate.core.crypto.DataCodecKeyPair
initMethods inherited from class org.geysermc.floodgate.core.crypto.DataCodec
ensureAlgorithm, ensureSectionCount
-
Constructor Details
-
DataCodecUsingSignature
-
-
Method Details
-
encode
Description copied from class:DataCodecEncodes the given data using the Key provided inDataCodec.init(Object) -
decode
Description copied from class:DataCodecDecodes the given data using the Key provided inDataCodec.init(Object)
-