equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2005, 2013, 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 |
43 * release. |
43 * release. |
44 */ |
44 */ |
45 @Deprecated |
45 @Deprecated |
46 public class TlsKeyMaterialSpec implements KeySpec, SecretKey { |
46 public class TlsKeyMaterialSpec implements KeySpec, SecretKey { |
47 |
47 |
|
48 @java.io.Serial |
48 static final long serialVersionUID = 812912859129525028L; |
49 static final long serialVersionUID = 812912859129525028L; |
49 |
50 |
50 private final SecretKey clientMacKey, serverMacKey; |
51 private final SecretKey clientMacKey, serverMacKey; |
51 private final SecretKey clientCipherKey, serverCipherKey; |
52 private final SecretKey clientCipherKey, serverCipherKey; |
52 private final IvParameterSpec clientIv, serverIv; |
53 private final IvParameterSpec clientIv, serverIv; |