equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2005, 2011, 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 |
138 throw new ProviderException(e); |
138 throw new ProviderException(e); |
139 } |
139 } |
140 } |
140 } |
141 |
141 |
142 private static final class TlsMasterSecretKey implements TlsMasterSecret { |
142 private static final class TlsMasterSecretKey implements TlsMasterSecret { |
|
143 private static final long serialVersionUID = 1019571680375368880L; |
143 |
144 |
144 private byte[] key; |
145 private byte[] key; |
145 private final int majorVersion, minorVersion; |
146 private final int majorVersion, minorVersion; |
146 |
147 |
147 TlsMasterSecretKey(byte[] key, int majorVersion, int minorVersion) { |
148 TlsMasterSecretKey(byte[] key, int majorVersion, int minorVersion) { |