equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1996, 2013, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1996, 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 |
39 * @since 1.1 |
39 * @since 1.1 |
40 */ |
40 */ |
41 |
41 |
42 public final class KeyPair implements java.io.Serializable { |
42 public final class KeyPair implements java.io.Serializable { |
43 |
43 |
|
44 @java.io.Serial |
44 private static final long serialVersionUID = -7565189502268009837L; |
45 private static final long serialVersionUID = -7565189502268009837L; |
45 |
46 |
46 private PrivateKey privateKey; |
47 private PrivateKey privateKey; |
47 private PublicKey publicKey; |
48 private PublicKey publicKey; |
48 |
49 |