|
Cryptix OpenPGP | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcryptix.message.Message
cryptix.message.SignedMessage
Represents a message that is signed by one or more public keys.
Constructor Summary | |
SignedMessage(java.lang.String format)
Creates a SignedMessage of the specified format. |
Method Summary | |
abstract Message |
getContents()
Get the message itself |
abstract KeyID[] |
getKeyIDHints()
Returns hints for which key was used to sign this message |
abstract boolean |
verify(KeyBundle pubkey)
Verify if this message was correctly signed by a particular keybundle. |
abstract boolean |
verify(java.security.PublicKey pubkey)
Verify if this message was correctly signed by a particular public key. |
Methods inherited from class cryptix.message.Message |
equals, getAttribute, getEncoded, getFormat, hashCode |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SignedMessage(java.lang.String format)
Method Detail |
public abstract Message getContents() throws MessageException
MessageException
- on a variety of format specific problems.public abstract boolean verify(java.security.PublicKey pubkey) throws MessageException
MessageException
- on a variety of format specific problems.public abstract boolean verify(KeyBundle pubkey) throws MessageException
MessageException
- on a variety of format specific problems.public abstract KeyID[] getKeyIDHints() throws MessageException
MessageException
- on a variety of format specific problems.
|
Cryptix OpenPGP | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |