src/java.base/share/classes/sun/security/provider/DSAPrivateKey.java
changeset 57950 4612a3cfb927
parent 47216 71c04702a3d5
equal deleted inserted replaced
57945:e09c993ac476 57950:4612a3cfb927
     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
    55 
    55 
    56 public final class DSAPrivateKey extends PKCS8Key
    56 public final class DSAPrivateKey extends PKCS8Key
    57 implements java.security.interfaces.DSAPrivateKey, Serializable {
    57 implements java.security.interfaces.DSAPrivateKey, Serializable {
    58 
    58 
    59     /** use serialVersionUID from JDK 1.1. for interoperability */
    59     /** use serialVersionUID from JDK 1.1. for interoperability */
       
    60     @java.io.Serial
    60     private static final long serialVersionUID = -3244453684193605938L;
    61     private static final long serialVersionUID = -3244453684193605938L;
    61 
    62 
    62     /* the private key */
    63     /* the private key */
    63     private BigInteger x;
    64     private BigInteger x;
    64 
    65