01: package org.bouncycastle.crypto;
02:
03: /**
04: * Signer with message recovery.
05: */
06: public interface SignerWithRecovery extends Signer {
07: /**
08: * Returns true if the signer has recovered the full message as
09: * part of signature verification.
10: *
11: * @return true if full message recovered.
12: */
13: public boolean hasFullMessage();
14:
15: /**
16: * Returns a reference to what message was recovered (if any).
17: *
18: * @return full/partial message, null if nothing.
19: */
20: public byte[] getRecoveredMessage();
21: }
|