org.cert.cc.encryption
Class MessageSMIMEProcessor

java.lang.Object
  extended by org.cert.cc.encryption.AbstractProcessor
      extended by org.cert.cc.encryption.AbstractSMIMEProcessor<Object>
          extended by org.cert.cc.encryption.MessageSMIMEProcessor

public final class MessageSMIMEProcessor
extends AbstractSMIMEProcessor<Object>

MessageSMIMEProcessor returns the decrypted data that could be a Multipart object or possible a String. See MimeBodyPart.getContent() for details.

© 2009 Carnegie Mellon University

Author:
Steve Scholnick

Field Summary
 
Fields inherited from class org.cert.cc.encryption.AbstractProcessor
log
 
Constructor Summary
MessageSMIMEProcessor()
           
 
Method Summary
protected  Object extractData(MimeBodyPart part)
          Returns the extracted data extracted from the MimeBodyPart
 
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

MessageSMIMEProcessor

public MessageSMIMEProcessor()
Method Detail

extractData

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

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


Copyright © 2012 Carnegie Mellon University