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

Diff of /classpath/java/security/KeyFactory.java

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

revision 1.8 by rsdio, Wed Apr 23 23:15:47 2003 UTC revision 1.8.2.1 by gnu_andrew, Sat Jan 15 17:02:08 2005 UTC
# Line 1  Line 1 
1  /* KeyFactory.java --- Key Factory Class  /* KeyFactory.java --- Key Factory Class
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.KeySpec;  package java.security;
 import java.security.spec.InvalidKeySpecException;  
 import java.security.NoSuchAlgorithmException;  
40    
41  import gnu.java.security.Engine;  import gnu.java.security.Engine;
42    
43    import java.security.spec.InvalidKeySpecException;
44    import java.security.spec.KeySpec;
45    
46  /**  /**
47   * <p>Key factories are used to convert keys (opaque cryptographic keys of type   * <p>Key factories are used to convert keys (opaque cryptographic keys of type
48   * {@link Key}) into key specifications (transparent representations of the   * {@link Key}) into key specifications (transparent representations of the
# Line 132  public class KeyFactory Line 132  public class KeyFactory
132          {          {
133            return getInstance(algorithm, p[i]);            return getInstance(algorithm, p[i]);
134          }          }
135        catch (NoSuchAlgorithmException ignored) {}        catch (NoSuchAlgorithmException e)
136            {
137              // Ignore.
138            }
139    
140      throw new NoSuchAlgorithmException(algorithm);      throw new NoSuchAlgorithmException(algorithm);
141    }    }

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.8.2.1

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