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

Diff of /classpath/java/security/DummySignature.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  /* DummySignature.java  /* DummySignature.java - Signature wrapper for SignatureSpi.
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 47  final class DummySignature extends Signa Line 47  final class DummySignature extends Signa
47      this.sigSpi = sigSpi;      this.sigSpi = sigSpi;
48    }    }
49    
50      public Object clone() throws CloneNotSupportedException
51      {
52        if (!(sigSpi instanceof Cloneable))
53          throw new CloneNotSupportedException();
54    
55        Signature result = new DummySignature
56                ((SignatureSpi) sigSpi.clone(), this.getAlgorithm());
57        result.provider = this.getProvider();
58        return result;
59      }
60    
61    protected void engineInitVerify(PublicKey publicKey)    protected void engineInitVerify(PublicKey publicKey)
62      throws InvalidKeyException      throws InvalidKeyException
63    {    {

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