diff options
Diffstat (limited to 'libjava/classpath/gnu/java/security/key/dss')
8 files changed, 30 insertions, 30 deletions
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) |

