equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1996, 2015, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1996, 2018, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
30 * |
30 * |
31 * @author David Brownell |
31 * @author David Brownell |
32 */ |
32 */ |
33 interface SSLRecord extends Record { |
33 interface SSLRecord extends Record { |
34 |
34 |
35 static final int headerSize = 5; // SSLv3 record header |
35 static final int headerSize = 5; // SSLv3 record header |
|
36 static final int handshakeHeaderSize = 4; // SSLv3 handshake header |
36 |
37 |
37 /* |
38 /* |
38 * The size of the header plus the max IV length |
39 * The size of the header plus the max IV length |
39 */ |
40 */ |
40 static final int headerPlusMaxIVSize = |
41 static final int headerPlusMaxIVSize = |