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 |
|
|
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 |
{ |
{ |