cryptix.openpgp
Class PGPDetachedSignatureMessage
java.lang.Object
cryptix.message.Message
cryptix.openpgp.PGPDetachedSignatureMessage
- public abstract class PGPDetachedSignatureMessage
- extends Message
Represents a detached signature.
- Version:
- $Revision: 1.3 $
- Author:
- Edwin Woudt
Method Summary |
abstract boolean |
verify(Message msg,
KeyBundle pubkey)
Verify if this detached signature is a correct signature on a particular
message by a particular keybundle. |
abstract boolean |
verify(Message msg,
java.security.PublicKey pubkey)
Verify if this detached signature is a correct signature on a particular
message by a particular public key. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
PGPDetachedSignatureMessage
protected PGPDetachedSignatureMessage(java.lang.String format)
- Creates a PGPDetachedSignatureMessage object.
verify
public abstract boolean verify(Message msg,
java.security.PublicKey pubkey)
throws MessageException
- Verify if this detached signature is a correct signature on a particular
message by a particular public key.
- Returns:
- true if the message is correctly signed by the public key,
false if the signature is invalid or if this message was not
signed at all by this public key.
- Throws:
MessageException
- on a variety of format specific problems.
verify
public abstract boolean verify(Message msg,
KeyBundle pubkey)
throws MessageException
- Verify if this detached signature is a correct signature on a particular
message by a particular keybundle.
- Returns:
- true if the message is correctly signed by the public key,
false if the signature is invalid or if this message was not
signed at all by this public key.
- Throws:
MessageException
- on a variety of format specific problems.
Copyright (C) 1999-2003 The Cryptix Foundation Ltd.