org.bouncycastle.crypto.tls
public class TlsUtils extends Object
Method Summary | |
---|---|
protected static void | checkVersion(byte[] readVersion, TlsProtocolHandler handler) |
protected static void | checkVersion(InputStream is, TlsProtocolHandler handler) |
protected static void | PRF(byte[] secret, byte[] label, byte[] seed, byte[] buf) |
protected static void | readFully(byte[] buf, InputStream is) |
protected static int | readUint16(InputStream is) |
protected static int | readUint24(InputStream is) |
protected static long | readUint32(InputStream is) |
protected static short | readUint8(InputStream is) |
protected static void | writeUint16(int i, OutputStream os) |
protected static void | writeUint16(int i, byte[] buf, int offset) |
protected static void | writeUint24(int i, OutputStream os) |
protected static void | writeUint24(int i, byte[] buf, int offset) |
protected static void | writeUint32(long i, OutputStream os) |
protected static void | writeUint32(long i, byte[] buf, int offset) |
protected static void | writeUint64(long i, OutputStream os) |
protected static void | writeUint64(long i, byte[] buf, int offset) |
protected static void | writeUint8(short i, OutputStream os) |
protected static void | writeUint8(short i, byte[] buf, int offset) |
protected static void | writeVersion(OutputStream os) |