de.buelowssiege.mail.pgp_mime
Interface BodyPartVerifier

All Known Implementing Classes:
GnuPGBodyPartSigner

public interface BodyPartVerifier

An implementation of this interface verifies the signature in a multipart/signed as described in RFC 1847.

Version:
$Id: BodyPartVerifier.html,v 1.1 2004/02/11 12:51:34 mschwerin Exp $
Author:
Maximilian Schwerin

Method Summary
 void setContentPart(javax.mail.BodyPart contentPart)
          Sets the content part containing the content that was signed.
 void setSignaturePart(javax.mail.BodyPart signaturePart)
          Sets the body part, that contains the signature created over the content part.
 void verify()
          This method does the actual verifying.
 

Method Detail

verify

public void verify()
            throws javax.mail.MessagingException
This method does the actual verifying. Both the content part and the signature part must have been set.

javax.mail.MessagingException

setContentPart

public void setContentPart(javax.mail.BodyPart contentPart)
Sets the content part containing the content that was signed.


setSignaturePart

public void setSignaturePart(javax.mail.BodyPart signaturePart)
Sets the body part, that contains the signature created over the content part.