|
Cryptix OpenPGP | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Service provider interface for SignedMessageOutputStream
| Method Summary | |
void |
engineAddSigner(KeyBundle signingkey,
char[] passphrase)
Adds a signer from a keybundle, decrypting it with the given passphrase. |
void |
engineAddSigner(java.security.PrivateKey signingkey)
Adds a signer |
| Methods inherited from interface cryptix.message.stream.MessageOutputStreamSpi |
engineClose, engineFlush, engineInit, engineSetAttribute, engineWrite, engineWrite, engineWrite |
| Method Detail |
public void engineAddSigner(java.security.PrivateKey signingkey)
throws java.lang.IllegalStateException,
java.io.IOException,
MessageStreamException
InvalidStateException - if this message has not been initialized
properly or if data has already been streamed
java.io.IOException - on a general IOException that is not format specific.
MessageStreamException - on a variety of format specific problems.
java.lang.IllegalStateException
public void engineAddSigner(KeyBundle signingkey,
char[] passphrase)
throws java.lang.IllegalStateException,
java.io.IOException,
MessageStreamException,
java.security.UnrecoverableKeyException
InvalidStateException - if this message has not been initialized
properly or if data has already been streamed
java.io.IOException - on a general IOException that is not format specific.
MessageStreamException - on a variety of format specific problems.
java.security.UnrecoverableKeyException - if the private key cannot be retrieved
from the keybundle (for example because of an incorrect
passphrase).
java.lang.IllegalStateException
|
Cryptix OpenPGP | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||