Top Description Fields Constructors Methods
org.bouncycastle.crypto.util

pack-priv Class SSHBuffer

extends Object
Class Inheritance
Imports
java.math.BigInteger, org.bouncycastle.util.Arrays, .Strings

A Buffer for dealing with SSH key products.

Field Summary

Modifier and TypeField and Description
private final byte[]
private int

Constructor Summary

AccessConstructor and Description
public
SSHBuffer(byte[] magic, byte[] buffer)

public
SSHBuffer(byte[] buffer)

Method Summary

Modifier and TypeMethod and Description
public byte[]
public boolean
public BigInteger
public byte[]
public byte[]
public byte[]
readPaddedBlock(int blockSize)

public String
public int
public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

bufferback to summary
private final byte[] buffer
posback to summary
private int pos

Constructor Detail

SSHBufferback to summary
public SSHBuffer(byte[] magic, byte[] buffer)
SSHBufferback to summary
public SSHBuffer(byte[] buffer)

Method Detail

getBufferback to summary
public byte[] getBuffer()
hasRemainingback to summary
public boolean hasRemaining()
readBigNumPositiveback to summary
public BigInteger readBigNumPositive()
readBlockback to summary
public byte[] readBlock()
readPaddedBlockback to summary
public byte[] readPaddedBlock()
readPaddedBlockback to summary
public byte[] readPaddedBlock(int blockSize)
readStringback to summary
public String readString()
readU32back to summary
public int readU32()
skipBlockback to summary
public void skipBlock()