org.cert.cc.description
Class SMIMEEncrytpedProcessor

java.lang.Object
  extended by org.cert.cc.encryption.AbstractProcessor
      extended by org.cert.cc.encryption.AbstractSMIMEProcessor<String>
          extended by org.cert.cc.description.SMIMEEncrytpedProcessor
All Implemented Interfaces:
DescriptionProcessor

public final class SMIMEEncrytpedProcessor
extends AbstractSMIMEProcessor<String>
implements DescriptionProcessor

SMIMEEncrytpedProcessor handles any S/MIME encrypted email message.

© 2009 Carnegie Mellon University

Author:
Steve Scholnick

Field Summary
 
Fields inherited from class org.cert.cc.encryption.AbstractProcessor
log
 
Constructor Summary
SMIMEEncrytpedProcessor()
           
 
Method Summary
protected  String extractData(MimeBodyPart part)
          Returns the extracted data extracted from the MimeBodyPart
 String generateDescription(Message message)
          Creates and returns the description
 
Methods inherited from class org.cert.cc.encryption.AbstractSMIMEProcessor
process
 
Methods inherited from class org.cert.cc.encryption.AbstractProcessor
getApplicationProperty, getPassword, getSecretsProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SMIMEEncrytpedProcessor

public SMIMEEncrytpedProcessor()
Method Detail

extractData

protected String extractData(MimeBodyPart part)
                      throws IOException,
                             MessagingException
Returns the extracted data extracted from the MimeBodyPart

Specified by:
extractData in class AbstractSMIMEProcessor<String>
Parameters:
part - MimeBodyPart data
Returns:
Extracted dat
Throws:
IOException - If unable to extract the data
MessagingException

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