diff options
Diffstat (limited to 'libjava/classpath/gnu/java/security/key')
19 files changed, 77 insertions, 77 deletions
diff --git a/libjava/classpath/gnu/java/security/key/IKeyPairCodec.java b/libjava/classpath/gnu/java/security/key/IKeyPairCodec.java index f09743d2b60..5c88c86ca1f 100644 --- a/libjava/classpath/gnu/java/security/key/IKeyPairCodec.java +++ b/libjava/classpath/gnu/java/security/key/IKeyPairCodec.java @@ -1,4 +1,4 @@ -/* IKeyPairCodec.java -- +/* IKeyPairCodec.java -- Copyright 2001, 2002, 2006 Free Software Foundation, Inc. This file is a part of GNU Classpath. @@ -69,14 +69,14 @@ public interface IKeyPairCodec /** * Returns the unique identifier (within this library) of the format used to * externalise public and private keys. - * + * * @return the identifier of the format, the object supports. */ int getFormatID(); /** * Encodes an instance of a public key for storage or transmission purposes. - * + * * @param key the non-null key to encode. * @return a byte sequence representing the encoding of the designated key * according to the format supported by this codec. @@ -87,7 +87,7 @@ public interface IKeyPairCodec /** * Encodes an instance of a private key for storage or transmission purposes. - * + * * @param key the non-null key to encode. * @return a byte sequence representing the encoding of the designated key * according to the format supported by this codec. @@ -99,7 +99,7 @@ public interface IKeyPairCodec /** * Decodes an instance of an external public key into its native Java * representation. - * + * * @param input the source of the externalised key to decode. * @return a concrete instance of a public key, reconstructed from the * designated input. @@ -112,7 +112,7 @@ public interface IKeyPairCodec /** * Decodes an instance of an external private key into its native Java * representation. - * + * * @param input the source of the externalised key to decode. * @return a concrete instance of a private key, reconstructed from the * designated input. diff --git a/libjava/classpath/gnu/java/security/key/IKeyPairGenerator.java b/libjava/classpath/gnu/java/security/key/IKeyPairGenerator.java index 8d7842e935f..72aac2463aa 100644 --- a/libjava/classpath/gnu/java/security/key/IKeyPairGenerator.java +++ b/libjava/classpath/gnu/java/security/key/IKeyPairGenerator.java @@ -1,4 +1,4 @@ -/* IKeyPairGenerator.java -- +/* IKeyPairGenerator.java -- Copyright 2001, 2002, 2006 Free Software Foundation, Inc. This file is a part of GNU Classpath. @@ -48,14 +48,14 @@ public interface IKeyPairGenerator { /** * Returns the canonical name of this keypair generator. - * + * * @return the canonical name of this instance. */ String name(); /** * [Re]-initialises this instance for use with a given set of attributes. - * + * * @param attributes a map of name/value pairs to use for setting up the * instance. * @exception IllegalArgumentException if at least one of the mandatory @@ -66,7 +66,7 @@ public interface IKeyPairGenerator /** * Generates a new keypair based on the attributes used to configure the * instance. - * + * * @return a new keypair. */ KeyPair generate(); diff --git a/libjava/classpath/gnu/java/security/key/KeyPairCodecFactory.java b/libjava/classpath/gnu/java/security/key/KeyPairCodecFactory.java index e68a7d65c3a..d428664235f 100644 --- a/libjava/classpath/gnu/java/security/key/KeyPairCodecFactory.java +++ b/libjava/classpath/gnu/java/security/key/KeyPairCodecFactory.java @@ -1,4 +1,4 @@ -/* KeyPairCodecFactory.java -- +/* KeyPairCodecFactory.java -- Copyright 2001, 2002, 2006 Free Software Foundation, Inc. This file is a part of GNU Classpath. @@ -79,7 +79,7 @@ public class KeyPairCodecFactory * <b>IMPORTANT</b>: For backward compatibility, when the encoding format * name is missing, the Raw encoding format is assumed. When this is the case * the trailing forward slash is discarded from the name. - * + * * @param name the case-insensitive key codec name. * @return an instance of the keypair codec, or <code>null</code> if none * found. @@ -113,7 +113,7 @@ public class KeyPairCodecFactory * Returns an instance of a keypair codec given the canonical name of the * key-pair algorithm, and the name of the encoding format to use when * externalizing the keys. - * + * * @param name the case-insensitive key-pair algorithm name. * @param format the name of the encoding format to use when externalizing the * keys generated by the key-pair algorithm. @@ -133,7 +133,7 @@ public class KeyPairCodecFactory * Returns an instance of a keypair codec given the canonical name of the * key-pair algorithm, and the identifier of the format to use when * externalizing the keys. - * + * * @param name the case-insensitive key-pair algorithm name. * @param formatID the identifier of the format to use when externalizing the * keys generated by the key-pair algorithm. @@ -161,7 +161,7 @@ public class KeyPairCodecFactory /** * Returns an instance of a keypair codec given a key. - * + * * @param key the key to encode. * @return an instance of the keypair codec, or <code>null</code> if none * found. diff --git a/libjava/classpath/gnu/java/security/key/KeyPairGeneratorFactory.java b/libjava/classpath/gnu/java/security/key/KeyPairGeneratorFactory.java index 4872fc3d1a1..151cace3912 100644 --- a/libjava/classpath/gnu/java/security/key/KeyPairGeneratorFactory.java +++ b/libjava/classpath/gnu/java/security/key/KeyPairGeneratorFactory.java @@ -1,4 +1,4 @@ -/* KeyPairGeneratorFactory.java -- +/* KeyPairGeneratorFactory.java -- Copyright 2001, 2002, 2003, 2006 Free Software Foundation, Inc. This file is a part of GNU Classpath. @@ -60,7 +60,7 @@ public class KeyPairGeneratorFactory /** * Returns an instance of a keypair generator given its name. - * + * * @param name the case-insensitive key generator name. * @return an instance of the keypair generator, or <code>null</code> if * none found. @@ -89,7 +89,7 @@ public class KeyPairGeneratorFactory * Returns a {@link Set} of keypair generator names supported by this * <i>Factory</i>. Those keypair generators may be used in conjunction with * the digital signature schemes with appendix supported by this library. - * + * * @return a {@link Set} of keypair generator names (Strings). */ public static final Set getNames() diff --git a/libjava/classpath/gnu/java/security/key/dss/DSSKey.java b/libjava/classpath/gnu/java/security/key/dss/DSSKey.java index d4cf36513eb..49f229f7b2b 100644 --- a/libjava/classpath/gnu/java/security/key/dss/DSSKey.java +++ b/libjava/classpath/gnu/java/security/key/dss/DSSKey.java @@ -1,4 +1,4 @@ -/* DSSKey.java -- +/* DSSKey.java -- Copyright 2001, 2002, 2003, 2006 Free Software Foundation, Inc. This file is a part of GNU Classpath. @@ -66,7 +66,7 @@ import java.security.spec.DSAParameterSpec; * <b>IMPORTANT</b>: Under certain circumstances (e.g. in an X.509 certificate * with inherited AlgorithmIdentifier's parameters of a SubjectPublicKeyInfo * element) these three MPIs may be <code>null</code>. - * + * * @see DSSPrivateKey#getEncoded * @see DSSPublicKey#getEncoded */ @@ -108,7 +108,7 @@ public abstract class DSSKey /** * Trivial protected constructor. - * + * * @param defaultFormat the identifier of the encoding format to use by * default when externalizing the key. * @param p the DSS parameter <code>p</code>. @@ -156,7 +156,7 @@ public abstract class DSSKey * <i>inherited</i>. This may be the case when the key is re-constructed from * an X.509 certificate with absent or NULL AlgorithmIdentifier's parameters * field. - * + * * @param obj the other non-null DSS key to compare to. * @return <code>true</code> if the designated object is of the same type * and value as this one. diff --git a/libjava/classpath/gnu/java/security/key/dss/DSSKeyPairGenerator.java b/libjava/classpath/gnu/java/security/key/dss/DSSKeyPairGenerator.java index 1bad0b62ed6..6bda4e88e34 100644 --- a/libjava/classpath/gnu/java/security/key/dss/DSSKeyPairGenerator.java +++ b/libjava/classpath/gnu/java/security/key/dss/DSSKeyPairGenerator.java @@ -1,4 +1,4 @@ -/* DSSKeyPairGenerator.java -- +/* DSSKeyPairGenerator.java -- Copyright 2001, 2002, 2003, 2006 Free Software Foundation, Inc. This file is a part of GNU Classpath. @@ -217,7 +217,7 @@ public class DSSKeyPairGenerator /** * Configures this instance. - * + * * @param attributes the map of name/value pairs to use. * @exception IllegalArgumentException if the designated MODULUS_LENGTH value * is not greater than 512, less than 1024 and not of the form @@ -361,7 +361,7 @@ public class DSSKeyPairGenerator /** * Fills the designated byte array with random data. - * + * * @param buffer the byte array to fill with random data. */ private void nextRandomBytes(byte[] buffer) diff --git a/libjava/classpath/gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java b/libjava/classpath/gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java index 06b8e849a50..a59ca3cee7a 100644 --- a/libjava/classpath/gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java +++ b/libjava/classpath/gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java @@ -88,7 +88,7 @@ public class DSSKeyPairPKCS8Codec /** * Returns the PKCS#8 ASN.1 <i>PrivateKeyInfo</i> representation of a DSA * private key. The ASN.1 specification is as follows: - * + * * <pre> * PrivateKeyInfo ::= SEQUENCE { * version INTEGER, -- MUST be 0 @@ -107,7 +107,7 @@ public class DSSKeyPairPKCS8Codec * g INTEGER * } * </pre> - * + * * @return the DER encoded form of the ASN.1 representation of the * <i>PrivateKeyInfo</i> field in an X.509 certificate. * @throw InvalidParameterException if an error occurs during the marshalling diff --git a/libjava/classpath/gnu/java/security/key/dss/DSSKeyPairRawCodec.java b/libjava/classpath/gnu/java/security/key/dss/DSSKeyPairRawCodec.java index b1135b75f1f..5b93c6b1e93 100644 --- a/libjava/classpath/gnu/java/security/key/dss/DSSKeyPairRawCodec.java +++ b/libjava/classpath/gnu/java/security/key/dss/DSSKeyPairRawCodec.java @@ -1,4 +1,4 @@ -/* DSSKeyPairRawCodec.java -- +/* DSSKeyPairRawCodec.java -- Copyright 2001, 2002, 2003, 2006 Free Software Foundation, Inc. This file is a part of GNU Classpath. @@ -92,7 +92,7 @@ public class DSSKeyPairRawCodec * the <code>toByteArray()</code> method on the DSA parameter <code>y</code>, * </li> * </ol> - * + * * @param key the key to encode. * @return the <i>Raw</i> format encoding of the designated key. * @throws IllegalArgumentException if the designated key is not a DSS @@ -235,7 +235,7 @@ public class DSSKeyPairRawCodec * the <code>toByteArray()</code> method on the DSA parameter <code>x</code>, * </li> * </ol> - * + * * @param key the key to encode. * @return the <i>Raw</i> format encoding of the designated key. * @throws IllegalArgumentException if the designated key is not a DSS diff --git a/libjava/classpath/gnu/java/security/key/dss/DSSKeyPairX509Codec.java b/libjava/classpath/gnu/java/security/key/dss/DSSKeyPairX509Codec.java index a5e8e9d47eb..8c26910f129 100644 --- a/libjava/classpath/gnu/java/security/key/dss/DSSKeyPairX509Codec.java +++ b/libjava/classpath/gnu/java/security/key/dss/DSSKeyPairX509Codec.java @@ -103,11 +103,11 @@ public class DSSKeyPairX509Codec * <p> * The <i>subjectPublicKey</i> field, which is a BIT STRING, contains the * DER-encoded form of the DSA public key as an INTEGER. - * + * * <pre> * DSAPublicKey ::= INTEGER -- public key, Y * </pre> - * + * * @param key the {@link PublicKey} instance to encode. MUST be an instance of * {@link DSSPublicKey}. * @return the ASN.1 representation of the <i>SubjectPublicKeyInfo</i> in an diff --git a/libjava/classpath/gnu/java/security/key/dss/DSSPrivateKey.java b/libjava/classpath/gnu/java/security/key/dss/DSSPrivateKey.java index 633fcf7ce08..de3668c0131 100644 --- a/libjava/classpath/gnu/java/security/key/dss/DSSPrivateKey.java +++ b/libjava/classpath/gnu/java/security/key/dss/DSSPrivateKey.java @@ -1,4 +1,4 @@ -/* DSSPrivateKey.java -- +/* DSSPrivateKey.java -- Copyright 2001, 2002, 2003, 2006 Free Software Foundation, Inc. This file is a part of GNU Classpath. @@ -52,7 +52,7 @@ import java.security.interfaces.DSAPrivateKey; /** * An object that embodies a DSS (Digital Signature Standard) private key. - * + * * @see #getEncoded */ public class DSSPrivateKey @@ -72,7 +72,7 @@ public class DSSPrivateKey * Convenience constructor. Calls the constructor with 5 arguments passing * {@link Registry#RAW_ENCODING_ID} as the identifier of the preferred * encoding format. - * + * * @param p the public modulus. * @param q the public prime divisor of <code>p-1</code>. * @param g a generator of the unique cyclic group <code>Z<sup>*</sup> @@ -87,7 +87,7 @@ public class DSSPrivateKey /** * Constructs a new instance of a <code>DSSPrivateKey</code> given the * designated arguments. - * + * * @param preferredFormat the indetifier of the preferred encoding format to * use when externalizing this key. * @param p the public modulus. @@ -110,7 +110,7 @@ public class DSSPrivateKey * method of a DSS keypair codec object (an instance implementing * {@link gnu.java.security.key.IKeyPairCodec} for DSS keys, and re-constructs * an instance of this object. - * + * * @param k the contents of a previously encoded instance of this object. * @exception ArrayIndexOutOfBoundsException if there is not enough bytes, in * <code>k</code>, to represent a valid encoding of an @@ -141,7 +141,7 @@ public class DSSPrivateKey /** * Returns the encoded form of this private key according to the designated * format. - * + * * @param format the desired format identifier of the resulting encoding. * @return the byte sequence encoding this key according to the designated * format. @@ -170,7 +170,7 @@ public class DSSPrivateKey * Returns <code>true</code> if the designated object is an instance of * {@link DSAPrivateKey} and has the same DSS (Digital Signature Standard) * parameter values as this one. - * + * * @param obj the other non-null DSS key to compare to. * @return <code>true</code> if the designated object is of the same type * and value as this one. diff --git a/libjava/classpath/gnu/java/security/key/dss/DSSPublicKey.java b/libjava/classpath/gnu/java/security/key/dss/DSSPublicKey.java index e5c53467176..d7c1afe1517 100644 --- a/libjava/classpath/gnu/java/security/key/dss/DSSPublicKey.java +++ b/libjava/classpath/gnu/java/security/key/dss/DSSPublicKey.java @@ -1,4 +1,4 @@ -/* DSSPublicKey.java -- +/* DSSPublicKey.java -- Copyright 2001, 2002, 2003, 2006 Free Software Foundation, Inc. This file is a part of GNU Classpath. @@ -51,7 +51,7 @@ import java.security.interfaces.DSAPublicKey; /** * An object that embodies a DSS (Digital Signature Standard) public key. - * + * * @see #getEncoded */ public class DSSPublicKey @@ -71,7 +71,7 @@ public class DSSPublicKey * Conveience constructor. Calls the constructor with 5 arguments passing * {@link Registry#RAW_ENCODING_ID} as the identifier of the preferred * encoding format. - * + * * @param p the public modulus. * @param q the public prime divisor of <code>p-1</code>. * @param g a generator of the unique cyclic group <code>Z<sup>*</sup> @@ -86,7 +86,7 @@ public class DSSPublicKey /** * Constructs a new instance of <code>DSSPublicKey</code> given the * designated arguments. - * + * * @param preferredFormat the identifier of the preferred encoding format to * use when externalizing this key. * @param p the public modulus. @@ -109,7 +109,7 @@ public class DSSPublicKey * method of a DSS keypair codec object (an instance implementing * {@link gnu.java.security.key.IKeyPairCodec} for DSS keys, and re-constructs * an instance of this object. - * + * * @param k the contents of a previously encoded instance of this object. * @exception ArrayIndexOutOfBoundsException if there is not enough bytes, in * <code>k</code>, to represent a valid encoding of an @@ -140,7 +140,7 @@ public class DSSPublicKey /** * Returns the encoded form of this public key according to the designated * format. - * + * * @param format the desired format identifier of the resulting encoding. * @return the byte sequence encoding this key according to the designated * format. @@ -169,7 +169,7 @@ public class DSSPublicKey * Returns <code>true</code> if the designated object is an instance of * {@link DSAPublicKey} and has the same DSS (Digital Signature Standard) * parameter values as this one. - * + * * @param obj the other non-null DSS key to compare to. * @return <code>true</code> if the designated object is of the same type * and value as this one. diff --git a/libjava/classpath/gnu/java/security/key/dss/FIPS186.java b/libjava/classpath/gnu/java/security/key/dss/FIPS186.java index 65dc5800c77..5d371e10cfd 100644 --- a/libjava/classpath/gnu/java/security/key/dss/FIPS186.java +++ b/libjava/classpath/gnu/java/security/key/dss/FIPS186.java @@ -1,4 +1,4 @@ -/* FIPS186.java -- +/* FIPS186.java -- Copyright 2001, 2002, 2003, 2006 Free Software Foundation, Inc. This file is a part of GNU Classpath. @@ -241,7 +241,7 @@ public class FIPS186 /** * Fills the designated byte array with random data. - * + * * @param buffer the byte array to fill with random data. */ private void nextRandomBytes(byte[] buffer) diff --git a/libjava/classpath/gnu/java/security/key/rsa/GnuRSAKey.java b/libjava/classpath/gnu/java/security/key/rsa/GnuRSAKey.java index 0419ac96ee4..38530ee4c85 100644 --- a/libjava/classpath/gnu/java/security/key/rsa/GnuRSAKey.java +++ b/libjava/classpath/gnu/java/security/key/rsa/GnuRSAKey.java @@ -1,4 +1,4 @@ -/* GnuRSAKey.java -- +/* GnuRSAKey.java -- Copyright 2001, 2002, 2003, 2006 Free Software Foundation, Inc. This file is a part of GNU Classpath. @@ -72,7 +72,7 @@ public abstract class GnuRSAKey /** * Trivial protected constructor. - * + * * @param defaultFormat the identifier of the encoding format to use by * default when externalizing the key. * @param n the public modulus <code>n</code>. @@ -111,7 +111,7 @@ public abstract class GnuRSAKey /** * Returns the modulus <code>n</code>. - * + * * @return the modulus <code>n</code>. */ public BigInteger getN() @@ -121,7 +121,7 @@ public abstract class GnuRSAKey /** * Returns the public exponent <code>e</code>. - * + * * @return the public exponent <code>e</code>. */ public BigInteger getPublicExponent() @@ -131,7 +131,7 @@ public abstract class GnuRSAKey /** * Same as {@link #getPublicExponent()}. - * + * * @return the public exponent <code>e</code>. */ public BigInteger getE() @@ -142,7 +142,7 @@ public abstract class GnuRSAKey /** * Returns <code>true</code> if the designated object is an instance of * {@link RSAKey} and has the same RSA parameter values as this one. - * + * * @param obj the other non-null RSA key to compare to. * @return <code>true</code> if the designated object is of the same type * and value as this one. diff --git a/libjava/classpath/gnu/java/security/key/rsa/GnuRSAPrivateKey.java b/libjava/classpath/gnu/java/security/key/rsa/GnuRSAPrivateKey.java index e554f2f3f02..39f91cbe463 100644 --- a/libjava/classpath/gnu/java/security/key/rsa/GnuRSAPrivateKey.java +++ b/libjava/classpath/gnu/java/security/key/rsa/GnuRSAPrivateKey.java @@ -1,4 +1,4 @@ -/* GnuRSAPrivateKey.java -- +/* GnuRSAPrivateKey.java -- Copyright 2001, 2002, 2003, 2006 Free Software Foundation, Inc. This file is a part of GNU Classpath. @@ -92,7 +92,7 @@ public class GnuRSAPrivateKey * Convenience constructor. Calls the constructor with 5 arguments passing * {@link Registry#RAW_ENCODING_ID} as the identifier of the preferred * encoding format. - * + * * @param p the modulus first prime divisor. * @param q the modulus second prime divisor. * @param e the public exponent. @@ -106,7 +106,7 @@ public class GnuRSAPrivateKey /** * Constructs a new instance of a <code>GnuRSAPrivateKey</code> given the * designated arguments. - * + * * @param preferredFormat the indetifier of the preferred encoding format to * use when externalizing this key. * @param p the modulus first prime divisor. @@ -128,7 +128,7 @@ public class GnuRSAPrivateKey /** * Constructs a new instance of a <code>GnuRSAPrivateKey</code> given the * designated arguments. - * + * * @param preferredFormat the indetifier of the preferred encoding format to * use when externalizing this key. * @param n the public modulus, which is also the product of <code>p</code> @@ -173,7 +173,7 @@ public class GnuRSAPrivateKey * method of an RSA keypair codec object (an instance implementing * {@link IKeyPairCodec} for RSA keys, and re-constructs an instance of this * object. - * + * * @param k the contents of a previously encoded instance of this object. * @throws ArrayIndexOutOfBoundsException if there is not enough bytes, in * <code>k</code>, to represent a valid encoding of an instance @@ -229,7 +229,7 @@ public class GnuRSAPrivateKey /** * Returns the encoded form of this private key according to the designated * format. - * + * * @param format the desired format identifier of the resulting encoding. * @return the byte sequence encoding this key according to the designated * format. @@ -258,7 +258,7 @@ public class GnuRSAPrivateKey /** * Returns <code>true</code> if the designated object is an instance of this * class and has the same RSA parameter values as this one. - * + * * @param obj the other non-null RSA key to compare to. * @return <code>true</code> if the designated object is of the same type * and value as this one. diff --git a/libjava/classpath/gnu/java/security/key/rsa/GnuRSAPublicKey.java b/libjava/classpath/gnu/java/security/key/rsa/GnuRSAPublicKey.java index 3217130c258..0bad92881a3 100644 --- a/libjava/classpath/gnu/java/security/key/rsa/GnuRSAPublicKey.java +++ b/libjava/classpath/gnu/java/security/key/rsa/GnuRSAPublicKey.java @@ -1,4 +1,4 @@ -/* GnuRSAPublicKey.java -- +/* GnuRSAPublicKey.java -- Copyright 2001, 2002, 2003, 2006 Free Software Foundation, Inc. This file is a part of GNU Classpath. @@ -72,7 +72,7 @@ public class GnuRSAPublicKey * Conveience constructor. Calls the constructor with 3 arguments passing * {@link Registry#RAW_ENCODING_ID} as the identifier of the preferred * encoding format. - * + * * @param n the modulus. * @param e the public exponent. */ @@ -84,7 +84,7 @@ public class GnuRSAPublicKey /** * Constructs a new instance of <code>GnuRSAPublicKey</code> given the * designated arguments. - * + * * @param preferredFormat the identifier of the preferred encoding format to * use when externalizing this key. * @param n the modulus. @@ -102,7 +102,7 @@ public class GnuRSAPublicKey * method of an RSA keypair codec object (an instance implementing * {@link IKeyPairCodec} for RSA keys, and re-constructs an instance of this * object. - * + * * @param k the contents of a previously encoded instance of this object. * @throws ArrayIndexOutOfBoundsException if there is not enough bytes, in * <code>k</code>, to represent a valid encoding of an instance @@ -128,7 +128,7 @@ public class GnuRSAPublicKey /** * Returns the encoded form of this public key according to the designated * format. - * + * * @param format the desired format identifier of the resulting encoding. * @return the byte sequence encoding this key according to the designated * format. @@ -156,7 +156,7 @@ public class GnuRSAPublicKey /** * Returns <code>true</code> if the designated object is an instance of this * class and has the same RSA parameter values as this one. - * + * * @param obj the other non-null RSA key to compare to. * @return <code>true</code> if the designated object is of the same type * and value as this one. diff --git a/libjava/classpath/gnu/java/security/key/rsa/RSAKeyPairGenerator.java b/libjava/classpath/gnu/java/security/key/rsa/RSAKeyPairGenerator.java index c31cc4cc1e0..bec60d350ca 100644 --- a/libjava/classpath/gnu/java/security/key/rsa/RSAKeyPairGenerator.java +++ b/libjava/classpath/gnu/java/security/key/rsa/RSAKeyPairGenerator.java @@ -1,4 +1,4 @@ -/* RSAKeyPairGenerator.java -- +/* RSAKeyPairGenerator.java -- Copyright 2001, 2002, 2003, 2006 Free Software Foundation, Inc. This file is a part of GNU Classpath. @@ -135,7 +135,7 @@ public class RSAKeyPairGenerator /** * Configures this instance. - * + * * @param attributes the map of name/value pairs to use. * @exception IllegalArgumentException if the designated MODULUS_LENGTH value * is less than 1024. @@ -175,7 +175,7 @@ public class RSAKeyPairGenerator * The algorithm used here is described in <i>nessie-pss-B.pdf</i> document * which is part of the RSA-PSS submission to NESSIE. * </p> - * + * * @return an RSA keypair. */ public KeyPair generate() @@ -225,7 +225,7 @@ public class RSAKeyPairGenerator /** * Fills the designated byte array with random data. - * + * * @param buffer the byte array to fill with random data. */ private void nextRandomBytes(byte[] buffer) diff --git a/libjava/classpath/gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java b/libjava/classpath/gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java index 7a51d0a0dd0..2785f02c8ae 100644 --- a/libjava/classpath/gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java +++ b/libjava/classpath/gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java @@ -116,7 +116,7 @@ public class RSAKeyPairPKCS8Codec * coefficient INTEGER, -- (inverse of q) mod p * } * </pre> - * + * * @return the DER encoded form of the ASN.1 representation of the * <i>PrivateKeyInfo</i> field for an RSA {@link PrivateKey}.. * @throw InvalidParameterException if an error occurs during the marshalling @@ -251,7 +251,7 @@ public class RSAKeyPairPKCS8Codec der = new DERReader(pkBytes); DERValue derRSAPrivateKey = der.read(); DerUtil.checkIsConstructed(derRSAPrivateKey, "Wrong RSAPrivateKey field"); - + val = der.read(); DerUtil.checkIsBigInteger(val, "Wrong RSAPrivateKey Version field"); version = (BigInteger) val.getValue(); diff --git a/libjava/classpath/gnu/java/security/key/rsa/RSAKeyPairRawCodec.java b/libjava/classpath/gnu/java/security/key/rsa/RSAKeyPairRawCodec.java index 95220236617..f088e794e68 100644 --- a/libjava/classpath/gnu/java/security/key/rsa/RSAKeyPairRawCodec.java +++ b/libjava/classpath/gnu/java/security/key/rsa/RSAKeyPairRawCodec.java @@ -1,4 +1,4 @@ -/* RSAKeyPairRawCodec.java -- +/* RSAKeyPairRawCodec.java -- Copyright 2001, 2002, 2003, 2006 Free Software Foundation, Inc. This file is a part of GNU Classpath. @@ -190,7 +190,7 @@ public class RSAKeyPairRawCodec * the <code>toByteArray()</code> method on the RSA parameter <code>d</code>, * </li> * </ol> - * + * * @param key the key to encode. * @return the <i>Raw</i> format encoding of the designated key. */ diff --git a/libjava/classpath/gnu/java/security/key/rsa/RSAKeyPairX509Codec.java b/libjava/classpath/gnu/java/security/key/rsa/RSAKeyPairX509Codec.java index b11e1c01371..9ad6ae02978 100644 --- a/libjava/classpath/gnu/java/security/key/rsa/RSAKeyPairX509Codec.java +++ b/libjava/classpath/gnu/java/security/key/rsa/RSAKeyPairX509Codec.java @@ -97,14 +97,14 @@ public class RSAKeyPairX509Codec * <p> * The <i>subjectPublicKey</i> field, which is a BIT STRING, contains the * DER-encoded form of the RSA public key defined as: - * + * * <pre> * RSAPublicKey ::= SEQUENCE { * modulus INTEGER, -- n * publicExponent INTEGER -- e * } * </pre> - * + * * @param key the {@link PublicKey} instance to encode. MUST be an instance of * {@link GnuRSAPublicKey}. * @return the ASN.1 representation of the <i>SubjectPublicKeyInfo</i> in an |

