Uses of Class
org.apache.sshd.common.util.buffer.Buffer
Packages that use Buffer
-
Uses of Buffer in org.apache.sshd.common.compression
Methods in org.apache.sshd.common.compression with parameters of type BufferModifier and TypeMethodDescriptionvoidCompress the given buffer in place.voidvoidvoidCompression.uncompress(Buffer from, Buffer to) Uncompress the data in a buffer into another buffer.voidCompressionNone.uncompress(Buffer from, Buffer to) voidCompressionZlib.uncompress(Buffer from, Buffer to) -
Uses of Buffer in org.apache.sshd.common.io
Methods in org.apache.sshd.common.io that return BufferModifier and TypeMethodDescriptionIoReadFuture.getBuffer()Retrieves the buffer data was read into.Methods in org.apache.sshd.common.io with parameters of type BufferModifier and TypeMethodDescriptionNOTE: the buffer must not be touched until the returned read future is completed.IoOutputStream.writeBuffer(Buffer buffer) Write the given buffer.IoSession.writeBuffer(Buffer buffer) Write a packet on the socket. -
Uses of Buffer in org.apache.sshd.common.kex.extension
Methods in org.apache.sshd.common.kex.extension with parameters of type BufferModifier and TypeMethodDescriptionKexExtensionParser.parseExtension(Buffer buffer) KexExtensions.parseExtensions(Buffer buffer) Attempts to parse anSSH_MSG_EXT_INFOmessagevoidKexExtensionParser.putExtension(T value, Buffer buffer) Adds the name + value to the bufferstatic voidKexExtensions.putExtensions(Collection<? extends Map.Entry<String, ?>> exts, Buffer buffer) Creates anSSH_MSG_EXT_INFOmessage using the provided extensions. -
Uses of Buffer in org.apache.sshd.common.kex.extension.parser
Methods in org.apache.sshd.common.kex.extension.parser with parameters of type BufferModifier and TypeMethodDescriptionprotected abstract voidprotected voidDelayCompression.encode(DelayedCompressionAlgorithms algos, Buffer buffer) protected voidprotected voidprotected voidprotected voidDelayCompression.parseExtension(Buffer buffer) Elevation.parseExtension(Buffer buffer) HostBoundPubkeyAuthentication.parseExtension(Buffer buffer) NoFlowControl.parseExtension(Buffer buffer) ServerSignatureAlgorithms.parseExtension(Buffer buffer) voidAbstractKexExtensionParser.putExtension(T value, Buffer buffer) -
Uses of Buffer in org.apache.sshd.common.util.buffer
Subclasses of Buffer in org.apache.sshd.common.util.bufferModifier and TypeClassDescriptionclassProvides an implementation ofBufferusing a backing byte arrayMethods in org.apache.sshd.common.util.buffer with type parameters of type BufferModifier and TypeMethodDescriptionstatic <B extends Buffer>
BBufferUtils.clear(B buffer) Invokesclear()Methods in org.apache.sshd.common.util.buffer that return BufferModifier and TypeMethodDescriptionBuffer.clear()Reset read/write positions to zero - Note: zeroes any previously existing dataabstract BufferBuffer.clear(boolean wipeData) Reset read/write positions to zeroByteArrayBuffer.clear(boolean wipeData) Buffer.ensureCapacity(int capacity) abstract BufferBuffer.ensureCapacity(int capacity, IntUnaryOperator growthFactor) ByteArrayBuffer.ensureCapacity(int capacity, IntUnaryOperator growthFactor) Methods in org.apache.sshd.common.util.buffer with parameters of type BufferModifier and TypeMethodDescriptionstatic intBufferUtils.updateLengthPlaceholder(Buffer buffer, int lenPos) Used for encodings where we don't know the data length before adding it to the buffer.static voidBufferUtils.updateLengthPlaceholder(Buffer buffer, int lenPos, long dataLength) Updates a 32-bit "placeholder" location for data length - moves the write position to the specified placeholder position, updates the length value and then moves the write position it back to its original value. -
Uses of Buffer in org.apache.sshd.common.util.buffer.keys
Methods in org.apache.sshd.common.util.buffer.keys with parameters of type BufferModifier and TypeMethodDescriptionprotected ECPublicKeyECBufferPublicKeyParser.getRawECKey(String expectedCurve, ECParameterSpec spec, Buffer buffer) BufferPublicKeyParser.getRawPublicKey(String keyType, Buffer buffer) DSSBufferPublicKeyParser.getRawPublicKey(String keyType, Buffer buffer) ECBufferPublicKeyParser.getRawPublicKey(String keyType, Buffer buffer) ED25519BufferPublicKeyParser.getRawPublicKey(String keyType, Buffer buffer) OpenSSHCertPublicKeyParser.getRawPublicKey(String keyType, Buffer buffer) RSABufferPublicKeyParser.getRawPublicKey(String keyType, Buffer buffer) SkECBufferPublicKeyParser.getRawPublicKey(String keyType, Buffer buffer) SkED25519BufferPublicKeyParser.getRawPublicKey(String keyType, Buffer buffer) -
Uses of Buffer in org.apache.sshd.common.util.security
Methods in org.apache.sshd.common.util.security with type parameters of type BufferModifier and TypeMethodDescriptionstatic <B extends Buffer>
BSecurityUtils.putEDDSAKeyPair(B buffer, KeyPair kp) static <B extends Buffer>
BSecurityUtils.putEDDSAKeyPair(B buffer, PublicKey pubKey, PrivateKey prvKey) static <B extends Buffer>
BSecurityUtils.putRawEDDSAPublicKey(B buffer, PublicKey key) Methods in org.apache.sshd.common.util.security with parameters of type BufferModifier and TypeMethodDescriptionstatic KeyPairSecurityUtils.extractEDDSAKeyPair(Buffer buffer, String keyType) -
Uses of Buffer in org.apache.sshd.common.util.security.eddsa
Methods in org.apache.sshd.common.util.security.eddsa with type parameters of type BufferModifier and TypeMethodDescriptionstatic <B extends Buffer>
BEdDSASecurityProviderUtils.putEDDSAKeyPair(B buffer, PublicKey pubKey, PrivateKey prvKey) <B extends Buffer>
BNetI2pCryptoEdDSASupport.putEDDSAKeyPair(B buffer, PublicKey pubKey, PrivateKey prvKey) static <B extends Buffer>
BEdDSASecurityProviderUtils.putRawEDDSAPublicKey(B buffer, PublicKey key) <B extends Buffer>
BNetI2pCryptoEdDSASupport.putRawEDDSAPublicKey(B buffer, PublicKey key) -
Uses of Buffer in org.apache.sshd.common.util.security.eddsa.bouncycastle
Methods in org.apache.sshd.common.util.security.eddsa.bouncycastle with type parameters of type BufferModifier and TypeMethodDescription<B extends Buffer>
BBouncyCastleEdDSASupport.putEDDSAKeyPair(B buffer, PublicKey pubKey, PrivateKey prvKey) <B extends Buffer>
BBouncyCastleEdDSASupport.putRawEDDSAPublicKey(B buffer, PublicKey key) -
Uses of Buffer in org.apache.sshd.common.util.security.eddsa.generic
Methods in org.apache.sshd.common.util.security.eddsa.generic with type parameters of type BufferModifier and TypeMethodDescription<B extends Buffer>
BEdDSASupport.putEDDSAKeyPair(B buffer, PublicKey pubKey, PrivateKey prvKey) <B extends Buffer>
BEdDSASupport.putRawEDDSAPublicKey(B buffer, PublicKey key) -
Uses of Buffer in org.apache.sshd.server.shell
Methods in org.apache.sshd.server.shell that return BufferModifier and TypeMethodDescriptionprotected BufferTtyFilterInputStream.insertCharacter(Buffer org, int c) Methods in org.apache.sshd.server.shell with parameters of type BufferModifier and TypeMethodDescriptionprotected BufferTtyFilterInputStream.insertCharacter(Buffer org, int c)