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

Diff of /classpath/java/security/KeyPairGeneratorSpi.java

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

revision 1.4 by mark, Tue Jan 22 22:27:00 2002 UTC revision 1.5 by mark, Sat Nov 16 23:28:25 2002 UTC
# Line 1  Line 1 
1  /* KeyPairGeneratorSpi.java --- Key Pair Generator SPI Class  /* KeyPairGeneratorSpi.java --- Key Pair Generator SPI Class
2     Copyright (C) 1999 Free Software Foundation, Inc.     Copyright (C) 1999, 2002 Free Software Foundation, Inc.
3    
4  This file is part of GNU Classpath.  This file is part of GNU Classpath.
5    
# Line 90  public abstract class KeyPairGeneratorSp Line 90  public abstract class KeyPairGeneratorSp
90       @return a key pair       @return a key pair
91     */     */
92    public abstract KeyPair generateKeyPair();    public abstract KeyPair generateKeyPair();
93    
94      /**
95         Returns a clone of this class.
96    
97         If cloning is not supported, then by default the class throws a
98         CloneNotSupportedException.  The MessageDigestSpi provider
99         implementation has to overload this class in order to be
100         cloneable.
101       */
102      public Object clone() throws CloneNotSupportedException
103      {
104        if (this instanceof Cloneable)
105          return super.clone();
106        else
107          throw new CloneNotSupportedException();
108      }
109  }  }

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

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