| Modifier and Type | Field and Description |
|---|---|
| protected final byte[] |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public abstract byte[] | |
| public abstract int | |
| public Buffer | Returns: Reference to this bufferReset read/write positions to zero - Note: zeroes any previously existing data |
| public abstract Buffer | Returns: Reference to this bufferWhether to zero any previously existing data wipeData)Reset read/write positions to zero |
| public abstract void | |
| protected abstract void | |
| public void | |
| public void | |
| public int | Returns: Same as input if validation successfulRequested data in bytes reqLen)Makes sure the buffer contains enough data to accommodate the requested length |
| public Buffer | |
| public abstract Buffer | Returns: This buffer instanceThe required capacity capacity, IntUnaryOperator An growthFactor)IntUnaryOperator that is invoked if the current capacity is insufficient. The
argument is the minimum required new data length, the function result should be the
effective new data length to be allocated - if less than minimum then an exception is thrown
|
| protected KeyPair | |
| public Collection | |
| public Collection | Returns: The remaining data as a list of stringsThe charset)Charset to use for the strings
|
| public boolean | |
| public byte | |
| public byte[] | |
| public abstract byte[] | |
| public abstract byte[] | |
| public List | |
| public List | Returns: the parsed result, nevernull, but possibly emptyCharset to use for converting bytes to charactersAccording to PROTOCOL.certkeys: Critical Options is a set of bytes that is [overall length][name(string)][[length of buffer][[length of string][data(string)]]]... |
| public byte[] | |
| public int | |
| public KeyPair | |
| public long | |
| public BigInteger | |
| public byte[] | |
| public List | Returns: The parsed resultAccording to RFC 4251: A name-list is represented as a uint32 containing its length (number of bytes that follow) followed by a comma-separated list of zero or more names. |
| public List | |
| public List | |
| public List | Returns: AList of the parsed valuesThe charset, char Charset to use to read the stringThe separator separator)Parses a string that contains values separated by a delimiter |
| public PublicKey | |
| public PublicKey | getPublicKey(BufferPublicKeyParser<? extends PublicKey>
A parser)BufferPublicKeyParser to extract the key from the buffer - never null
|
| public void | |
| public PublicKey | |
| public PublicKey | getRawPublicKey(BufferPublicKeyParser<? extends PublicKey>
A parser)BufferPublicKeyParser to extract the key from the buffer - never null
|
| public short | |
| public String | |
| public abstract String | |
| public Collection | Returns: ACollection of the read stringsIf usePrependedLength)true then there is a 32-bit value indicating the number of strings to read.
Otherwise, the method will use a "greedy" reading of strings while more data
available.
|
| public Collection | Returns: ACollection of the read stringsIf usePrependedLength, Charset true then there is a 32-bit value indicating the number of strings to read.
Otherwise, the method will use a "greedy" reading of strings while more data
available.The charset)Charset to use for the strings
|
| public List | Returns: AList with the specified number of stringsThe exact number of strings to read - can be zero count)
|
| public List | Returns: AList with the specified number of stringsThe exact number of strings to read - can be zero count, Charset The charset)Charset of the strings
|
| public int | |
| public long | |
| public int | |
| private static boolean | |
| public boolean | |
| public boolean | |
| public void | putAndWipeBytes(byte[]
The buffer to add - OK if b)nullAdds the bytes to the buffer and wipes the data from the input buffer after having added it - useful for sensitive information such as password |
| public void | |
| public void | putAndWipeChars(char[]
The characters to put in the buffer - may be chars)null/emptyZeroes the input array after having put the characters in the buffer - useful for sensitive information such as passwords |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public abstract int | |
| public abstract void | |
| public void | putBufferedData(Object
The (never buffer)null) buffer object to putChecks if the buffer argument is an array of bytes, a |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | putCertificateOptions(List<OpenSshCertificate.
to write into the buffer, may be options,null or empty but must not contain null elementsThe charset)Charset to use for string optionsAccording to PROTOCOL.certkeys: Certificate Options is a set of bytes that is [overall length][name(string)][[length of buffer][[length of string][data(string)]]]... |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | putNameList(Collection<String>
The name list to put names)According to RFC 4251: |
| public void | |
| public void | |
| public void | putNameList(Collection<String>
The names to set names, Charset The charset, char Charset to use to encode the stringThe separator separator)Adds a string that contains values separated by a delimiter |
| public void | putOptionalBufferedData(Object
The buffered data object to inspect buffer)Checks if the buffer argument is an array of bytes, a |
| public void | |
| public void | |
| public abstract void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | putStringList(Collection<?>
The objects to be encoded in the buffer - OK if objects, boolean null/emptyIf prependLength)true then the list is preceded by a 32-bit count of the number of members in the
listEncodes the |
| public void | putStringList(Collection<?>
The objects to be encoded in the buffer - OK if objects, Charset null/emptyThe charset, boolean Charset to use for encodingIf prependLength)true then the list is preceded by a 32-bit count of the number of members in the
listEncodes the |
| public void | |
| public byte | Returns: The byte at the specified position without changing the currentread positionNote no validation is made whether the position lies within array boundaries A position in the raw underlying data bytes pos)
|
| public long | Returns: The unsigned 32 bit integer at the specified position without changing the currentread positionNote no validation is made whether the position and the required extra 4 bytes lie within array boundaries A position in the raw underlying data bytes pos)
|
| public abstract int | |
| public abstract void | |
| protected abstract int | |
| public String | |
| public String | |
| public abstract int | |
| public abstract void | wpos(int
Set current writing position - Note: if necessary, the underlying data buffer will be
increased so as to allow writing from the new position wpos)
|