/[classpath]/classpath/java/security/AlgorithmParameterGenerator.java
ViewVC logotype

Diff of /classpath/java/security/AlgorithmParameterGenerator.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.9 by mkoch, Sat Apr 17 18:46:40 2004 UTC revision 1.9.2.1 by gnu_andrew, Sat Jan 15 17:02:07 2005 UTC
# Line 1  Line 1 
1  /* AlgorithmParameterGenerator.java --- Algorithm Parameter Generator  /* AlgorithmParameterGenerator.java --- Algorithm Parameter Generator
2     Copyright (C) 1999, 2003 Free Software Foundation, Inc.     Copyright (C) 1999, 2003, 2004  Free Software Foundation, Inc.
3    
4  This file is part of GNU Classpath.  This file is part of GNU Classpath.
5    
# Line 35  this exception to your version of the li Line 35  this exception to your version of the li
35  obligated to do so.  If you do not wish to do so, delete this  obligated to do so.  If you do not wish to do so, delete this
36  exception statement from your version. */  exception statement from your version. */
37    
 package java.security;  
38    
39  import java.security.spec.AlgorithmParameterSpec;  package java.security;
40    
41  import gnu.java.security.Engine;  import gnu.java.security.Engine;
42    
43    import java.security.spec.AlgorithmParameterSpec;
44    
45  /**  /**
46   * <p>The <code>AlgorithmParameterGenerator</code> class is used to generate a   * <p>The <code>AlgorithmParameterGenerator</code> class is used to generate a
47   * set of parameters to be used with a certain algorithm. Parameter generators   * set of parameters to be used with a certain algorithm. Parameter generators
# Line 140  public class AlgorithmParameterGenerator Line 141  public class AlgorithmParameterGenerator
141          {          {
142            return getInstance(algorithm, p[i]);            return getInstance(algorithm, p[i]);
143          }          }
144        catch (NoSuchAlgorithmException ignored) {}        catch (NoSuchAlgorithmException e)
145            {
146              // Ignore.
147            }
148    
149      throw new NoSuchAlgorithmException(algorithm);      throw new NoSuchAlgorithmException(algorithm);
150    }    }

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.9.2.1

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26