Package org.conscrypt

Class ContentType

java.lang.Object
org.conscrypt.ContentType

public class ContentType
extends Object
This class incapsulates the constants determining the types of SSL/TLS record's content data. Constant values are taken according to the TLS v1 specification (http://www.ietf.org/rfc/rfc2246.txt).
  • Field Details

    • CHANGE_CIPHER_SPEC

      protected static final byte CHANGE_CIPHER_SPEC
      Identifies change cipher spec message
      See Also:
      Constant Field Values
    • ALERT

      protected static final byte ALERT
      Identifies alert message
      See Also:
      Constant Field Values
    • HANDSHAKE

      protected static final byte HANDSHAKE
      Identifies handshake message
      See Also:
      Constant Field Values
    • APPLICATION_DATA

      protected static final byte APPLICATION_DATA
      Identifies application data message
      See Also:
      Constant Field Values
  • Constructor Details

    • ContentType

      public ContentType()