src/java.base/share/classes/com/sun/crypto/provider/TlsMasterSecretGenerator.java
equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2005, 2017, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2005, 2019, 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 |
152 } |
152 } |
153 } |
153 } |
154 |
154 |
155 @SuppressWarnings("deprecation") |
155 @SuppressWarnings("deprecation") |
156 private static final class TlsMasterSecretKey implements TlsMasterSecret { |
156 private static final class TlsMasterSecretKey implements TlsMasterSecret { |
|
157 @java.io.Serial |
157 private static final long serialVersionUID = 1019571680375368880L; |
158 private static final long serialVersionUID = 1019571680375368880L; |
158 |
159 |
159 private byte[] key; |
160 private byte[] key; |
160 private final int majorVersion, minorVersion; |
161 private final int majorVersion, minorVersion; |
161 |
162 |