From 1516d54906fd413c02328d8bb21a6af38dfd4d07 Mon Sep 17 00:00:00 2001 From: "Aaron M. Renn" Date: Fri, 21 Aug 1998 02:09:40 +0000 Subject: Initial Checkin --- java/security/interfaces/DSAKey.java | 44 ++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 java/security/interfaces/DSAKey.java (limited to 'java/security/interfaces/DSAKey.java') diff --git a/java/security/interfaces/DSAKey.java b/java/security/interfaces/DSAKey.java new file mode 100644 index 000000000..bcfb78a4d --- /dev/null +++ b/java/security/interfaces/DSAKey.java @@ -0,0 +1,44 @@ +/************************************************************************* +/* DSAKey.java -- Interface for Digital Signature Algorith 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; + +/** + * This interface is implemented by a class to return the parameters + * of a Digital Signature Algorithm (DSA) public or private key. + * + * @version 0.0 + * + * @author Aaron M. Renn (arenn@urbanophile.com) + */ +public interface DSAKey +{ + +/** + * This method returns non-secret parameters of the DSA key + * + * @return The DSA parameters + */ +public abstract DSAParams +getParams(); + +} // interface DSAKey + -- cgit v1.2.1