org.cert.cc.description
Class PGPEncryptedEmailBodyProcessor
java.lang.Object
org.cert.cc.encryption.AbstractProcessor
org.cert.cc.encryption.AbstractPGPProcessor<String>
org.cert.cc.description.PGPEncryptedEmailBodyProcessor
- All Implemented Interfaces:
- DescriptionProcessor
public final class PGPEncryptedEmailBodyProcessor
- extends AbstractPGPProcessor<String>
- implements DescriptionProcessor
PGPEncryptedEmailBodyProcessor handles any PGP encrypted email message.
© 2009 Carnegie Mellon University
- Author:
- Steve Scholnick
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PGPEncryptedEmailBodyProcessor
public PGPEncryptedEmailBodyProcessor()
extractData
protected String extractData(PGPLiteralData data)
throws IOException
- Returns the clear data extracted from the
PGPLiteralData
- Specified by:
extractData
in class AbstractPGPProcessor<String>
- Parameters:
data
- PGPLiteralData
data
- Returns:
- Clear data
- Throws:
IOException
- If unable to extract the clear data
generateDescription
public String generateDescription(Message message)
throws MessagingException
- Creates and returns the description
- Specified by:
generateDescription
in interface DescriptionProcessor
- Parameters:
message
- Email Message
- Returns:
- Clear text description
- Throws:
MessagingException
- If unable to generate the description
Copyright © 2012 Carnegie Mellon University