Class DataCodecKeyPair
java.lang.Object
org.geysermc.floodgate.core.crypto.DataCodec
org.geysermc.floodgate.core.crypto.DataCodecKeyPair
- Direct Known Subclasses:
Ed25519DataCodec,RsaDataCodec
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondecode(List<ByteBuffer> dataSections) 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 datavoidMethods inherited from class org.geysermc.floodgate.core.crypto.DataCodec
ensureAlgorithm, ensureSectionCount
-
Constructor Details
-
DataCodecKeyPair
-
-
Method Details
-
init
Description copied from class:DataCodecInitializes the instance by giving it the key it needs to sign/verify or encrypt/decrypt data -
init
-
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)
-