Interface KexExtensionParser<T>
- Type Parameters:
T
- Extension generic type
- All Superinterfaces:
NamedResource
- All Known Implementing Classes:
AbstractKexExtensionParser
,DelayCompression
,Elevation
,HostBoundPubkeyAuthentication
,NoFlowControl
,ServerSignatureAlgorithms
Parses a known KEX extension
-
Field Summary
Fields inherited from interface org.apache.sshd.common.NamedResource
BY_NAME_COMPARATOR, NAME_EXTRACTOR
-
Method Summary
Modifier and TypeMethodDescriptiondefault T
parseExtension
(byte[] data) default T
parseExtension
(byte[] data, int off, int len) parseExtension
(Buffer buffer) void
putExtension
(T value, Buffer buffer) Adds the name + value to the bufferMethods inherited from interface org.apache.sshd.common.NamedResource
getName
-
Method Details
-
parseExtension
- Throws:
IOException
-
parseExtension
- Throws:
IOException
-
parseExtension
- Throws:
IOException
-
putExtension
Adds the name + value to the buffer- Parameters:
value
- The value of the extensionbuffer
- The targetBuffer
- Throws:
IOException
- If failed to encode
-