15ca87050dafe566d8d4e2b11e395f7d06a2d837bNathan Mittler/* 25ca87050dafe566d8d4e2b11e395f7d06a2d837bNathan Mittler * Copyright (C) 2014 The Android Open Source Project 35ca87050dafe566d8d4e2b11e395f7d06a2d837bNathan Mittler * 45ca87050dafe566d8d4e2b11e395f7d06a2d837bNathan Mittler * Licensed under the Apache License, Version 2.0 (the "License"); 55ca87050dafe566d8d4e2b11e395f7d06a2d837bNathan Mittler * you may not use this file except in compliance with the License. 65ca87050dafe566d8d4e2b11e395f7d06a2d837bNathan Mittler * You may obtain a copy of the License at 75ca87050dafe566d8d4e2b11e395f7d06a2d837bNathan Mittler * 85ca87050dafe566d8d4e2b11e395f7d06a2d837bNathan Mittler * http://www.apache.org/licenses/LICENSE-2.0 95ca87050dafe566d8d4e2b11e395f7d06a2d837bNathan Mittler * 105ca87050dafe566d8d4e2b11e395f7d06a2d837bNathan Mittler * Unless required by applicable law or agreed to in writing, software 115ca87050dafe566d8d4e2b11e395f7d06a2d837bNathan Mittler * distributed under the License is distributed on an "AS IS" BASIS, 125ca87050dafe566d8d4e2b11e395f7d06a2d837bNathan Mittler * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 135ca87050dafe566d8d4e2b11e395f7d06a2d837bNathan Mittler * See the License for the specific language governing permissions and 145ca87050dafe566d8d4e2b11e395f7d06a2d837bNathan Mittler * limitations under the License. 155ca87050dafe566d8d4e2b11e395f7d06a2d837bNathan Mittler */ 165ca87050dafe566d8d4e2b11e395f7d06a2d837bNathan Mittlerpackage libcore.tlswire.record; 175ca87050dafe566d8d4e2b11e395f7d06a2d837bNathan Mittler/** 185ca87050dafe566d8d4e2b11e395f7d06a2d837bNathan Mittler * Protocols that can run over the TLS Record Protocol from TLS 1.2 RFC 5246. 195ca87050dafe566d8d4e2b11e395f7d06a2d837bNathan Mittler */ 205ca87050dafe566d8d4e2b11e395f7d06a2d837bNathan Mittlerpublic class TlsProtocols { 215ca87050dafe566d8d4e2b11e395f7d06a2d837bNathan Mittler public static final int CHANGE_CIPHER_SPEC = 20; 225ca87050dafe566d8d4e2b11e395f7d06a2d837bNathan Mittler public static final int ALERT = 21; 235ca87050dafe566d8d4e2b11e395f7d06a2d837bNathan Mittler public static final int HANDSHAKE = 22; 245ca87050dafe566d8d4e2b11e395f7d06a2d837bNathan Mittler public static final int APPLICATION_DATA = 23; 255ca87050dafe566d8d4e2b11e395f7d06a2d837bNathan Mittler public static final int HEARTBEAT = 24; 265ca87050dafe566d8d4e2b11e395f7d06a2d837bNathan Mittler private TlsProtocols() {} 275ca87050dafe566d8d4e2b11e395f7d06a2d837bNathan Mittler} 28