diff options
Diffstat (limited to 'java/security/interfaces/DSAPrivateKey.java')
-rw-r--r-- | java/security/interfaces/DSAPrivateKey.java | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/java/security/interfaces/DSAPrivateKey.java b/java/security/interfaces/DSAPrivateKey.java new file mode 100644 index 000000000..f3b913cf4 --- /dev/null +++ b/java/security/interfaces/DSAPrivateKey.java @@ -0,0 +1,61 @@ +/************************************************************************* +/* DSAPrivateKey.java -- A Digital Signature Algorithm private key +/* +/* Copyright (c) 1998 Free Software Foundation, Inc. +/* Written by Aaron M. Renn (arenn@urbanophile.com) +/* +/* This library is free software; you can redistribute it and/or modify +/* it under the terms of the GNU Library General Public License as published +/* by the Free Software Foundation, either version 2 of the License, or +/* (at your option) any later verion. +/* +/* This library is distributed in the hope that it will be useful, but +/* WITHOUT ANY WARRANTY; without even the implied warranty of +/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +/* GNU Library General Public License for more details. +/* +/* You should have received a copy of the GNU Library General Public License +/* along with this library; if not, write to the Free Software Foundation +/* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307 USA +/*************************************************************************/ + +package java.security.interfaces; + +import java.security.PrivateKey; +import java.math.BigInteger; + +/** + * This interface models a Digital Signature Algorithm (DSA) private key + * + * @version 0.0 + * + * @author Aaron M. Renn (arenn@urbanophile.com) + */ +public interface DSAPrivateKey extends DSAKey, PrivateKey +{ + +/*************************************************************************/ + +/** + * Static Variables + */ + +/** + * This is the serialization UID for this interface + */ +public static final long serialVersionUID = 0L; + +/*************************************************************************/ + +/** + * Instance Methods + */ + +/** + * This method returns the value of the DSA private key + */ +public abstract BigInteger +getX(); + +} // interface DSAPrivateKey + |