/[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.7 by cbj, Thu Mar 27 03:32:08 2003 UTC revision 1.8 by rsdio, Wed Apr 23 23:15:47 2003 UTC
# Line 41  import java.security.spec.KeySpec; Line 41  import java.security.spec.KeySpec;
41  import java.security.spec.InvalidKeySpecException;  import java.security.spec.InvalidKeySpecException;
42  import java.security.NoSuchAlgorithmException;  import java.security.NoSuchAlgorithmException;
43    
44    import gnu.java.security.Engine;
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 192  public class KeyFactory Line 194  public class KeyFactory
194            Engine.getInstance(KEY_FACTORY, algorithm, provider),            Engine.getInstance(KEY_FACTORY, algorithm, provider),
195            provider, algorithm);            provider, algorithm);
196        }        }
197        catch (java.lang.reflect.InvocationTargetException ite)
198          {
199            throw new NoSuchAlgorithmException(algorithm);
200          }
201      catch (ClassCastException cce)      catch (ClassCastException cce)
202        {        {
203          throw new NoSuchAlgorithmException(algorithm);          throw new NoSuchAlgorithmException(algorithm);

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

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