src/java.base/share/classes/sun/security/ssl/SSLRecord.java
branchJDK-8145252-TLS13-branch
changeset 56542 56aaa6cb3693
parent 47216 71c04702a3d5
child 56761 001e4e7c0a01
equal deleted inserted replaced
56541:92cbbfc996f3 56542:56aaa6cb3693
     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 =