Top Description Fields Methods
sun.security.ssl

pack-priv Interface Record

Known Direct Subinterfaces
sun.security.ssl.SSLRecord, sun.security.ssl.DTLSRecord
Known Direct Implementers
sun.security.ssl.InputRecord, sun.security.ssl.OutputRecord
Imports
java.io.IOException, java.nio.ByteBuffer, javax.net.ssl.SSLException

SSL/(D)TLS record. This is the base interface, which defines common information and interfaces used by both Input and Output records.
Author
David Brownell

Field Summary

Modifier and TypeField and Description
public static final boolean
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int

Method Summary

Modifier and TypeMethod and Description
public static byte[]
public static byte[]
public static byte[]
public static int
public static int
public static int
public static int
public static void
putBytes16(ByteBuffer m, byte[] s)

public static void
putBytes24(ByteBuffer m, byte[] s)

public static void
putBytes8(ByteBuffer m, byte[] s)

public static void
putInt16(ByteBuffer m, int i)

public static void
putInt24(ByteBuffer m, int i)

public static void
putInt32(ByteBuffer m, int i)

public static void
putInt8(ByteBuffer m, int i)

public static void

Field Detail

enableCBCProtectionback to summary
public static final boolean enableCBCProtection
maxDataSizeback to summary
public static final int maxDataSize
maxFragmentSizeback to summary
public static final int maxFragmentSize
maxIVLengthback to summary
public static final int maxIVLength
maxMacSizeback to summary
public static final int maxMacSize
maxPaddingback to summary
public static final int maxPadding
OVERFLOW_OF_INT08back to summary
public static final int OVERFLOW_OF_INT08
OVERFLOW_OF_INT16back to summary
public static final int OVERFLOW_OF_INT16
OVERFLOW_OF_INT24back to summary
public static final int OVERFLOW_OF_INT24

Method Detail

getBytes16back to summary
public static byte[] getBytes16(ByteBuffer m) throws IOException
getBytes24back to summary
public static byte[] getBytes24(ByteBuffer m) throws IOException
getBytes8back to summary
public static byte[] getBytes8(ByteBuffer m) throws IOException
getInt16back to summary
public static int getInt16(ByteBuffer m) throws IOException
getInt24back to summary
public static int getInt24(ByteBuffer m) throws IOException
getInt32back to summary
public static int getInt32(ByteBuffer m) throws IOException
getInt8back to summary
public static int getInt8(ByteBuffer m) throws IOException
putBytes16back to summary
public static void putBytes16(ByteBuffer m, byte[] s) throws IOException
putBytes24back to summary
public static void putBytes24(ByteBuffer m, byte[] s) throws IOException
putBytes8back to summary
public static void putBytes8(ByteBuffer m, byte[] s) throws IOException
putInt16back to summary
public static void putInt16(ByteBuffer m, int i) throws IOException
putInt24back to summary
public static void putInt24(ByteBuffer m, int i) throws IOException
putInt32back to summary
public static void putInt32(ByteBuffer m, int i) throws IOException
putInt8back to summary
public static void putInt8(ByteBuffer m, int i) throws IOException
verifyLengthback to summary
public static void verifyLength(ByteBuffer m, int len) throws SSLException