diff options
| author | Bryce McKinlay <mckinlay@redhat.com> | 2001-09-25 04:30:59 +0000 |
|---|---|---|
| committer | Bryce McKinlay <mckinlay@redhat.com> | 2001-09-25 04:30:59 +0000 |
| commit | fa260dfd99f3e978056ac222a473b11e48db7e68 (patch) | |
| tree | 5911416f78fce57f7df3c9801b164b4dc2c4e890 /java/security/interfaces/RSAPrivateCrtKey.java | |
| parent | 986e38631eb362bd3c454a0e432be97084a0ec2f (diff) | |
| download | classpath-fa260dfd99f3e978056ac222a473b11e48db7e68.tar.gz | |
* gnu/java/security/provider/DefaultPolicy.java: New file, from libgcj.
* java/security: Merge from libgcj. These are mostly formatting
fixes, with a few fixes and enhancements.
Diffstat (limited to 'java/security/interfaces/RSAPrivateCrtKey.java')
| -rw-r--r-- | java/security/interfaces/RSAPrivateCrtKey.java | 120 |
1 files changed, 50 insertions, 70 deletions
diff --git a/java/security/interfaces/RSAPrivateCrtKey.java b/java/security/interfaces/RSAPrivateCrtKey.java index 5e2d74b2d..7e895dc12 100644 --- a/java/security/interfaces/RSAPrivateCrtKey.java +++ b/java/security/interfaces/RSAPrivateCrtKey.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath 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 @@ -24,79 +24,59 @@ resulting executable to be covered by the GNU General Public License. This exception does not however invalidate any other reasons why the executable file might be covered by the GNU General Public License. */ - package java.security.interfaces; import java.math.BigInteger; /** - * This interface provides access to information about an RSA private - * key in Chinese Remainder Theorem (CRT) format. - * - * @version 0.0 - * - * @author Aaron M. Renn (arenn@urbanophile.com) - */ + * This interface provides access to information about an RSA private + * key in Chinese Remainder Theorem (CRT) format. + * + * @version 0.0 + * + * @author Aaron M. Renn (arenn@urbanophile.com) + */ public interface RSAPrivateCrtKey extends RSAPrivateKey { - -/** - * Returns the public exponent for this key - * - * @return The public exponent for this key - */ -public abstract BigInteger -getPublicExponent(); - -/*************************************************************************/ - -/** - * Returns the primeP value - * - * @return The primeP value - */ -public abstract BigInteger -getPrimeP(); - -/*************************************************************************/ - -/** - * Returns the primeQ value - * - * @return The primeQ value - */ -public abstract BigInteger -getPrimeQ(); - -/*************************************************************************/ - -/** - * Returns the primeExponentP - * - * @return The primeExponentP - */ -public abstract BigInteger -getPrimeExponentP(); - -/*************************************************************************/ - -/** - * Returns the primeExponentQ - * - * @return The primeExponentQ - */ -public abstract BigInteger -getPrimeExponentQ(); - -/*************************************************************************/ - -/** - * Returns the CRT coefficient - * - * @return The CRT coefficient - */ -public abstract BigInteger -getCrtCoefficient(); - -} // interface RSAPrivateCrtKey - + /** + * Returns the public exponent for this key + * + * @return The public exponent for this key + */ + public abstract BigInteger getPublicExponent(); + + /** + * Returns the primeP value + * + * @return The primeP value + */ + public abstract BigInteger getPrimeP(); + + /** + * Returns the primeQ value + * + * @return The primeQ value + */ + public abstract BigInteger getPrimeQ(); + + /** + * Returns the primeExponentP + * + * @return The primeExponentP + */ + public abstract BigInteger getPrimeExponentP(); + + /** + * Returns the primeExponentQ + * + * @return The primeExponentQ + */ + public abstract BigInteger getPrimeExponentQ(); + + /** + * Returns the CRT coefficient + * + * @return The CRT coefficient + */ + public abstract BigInteger getCrtCoefficient(); +} |
