|
Oracle Fusion Middleware S/MIME Java API Reference for Oracle Security Developer Tools 11g Release 1 (11.1.1) E10672-05 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.security.crypto.smime.SmimeCompressed
public class SmimeCompressed
A S/MIME RFC 3274 Compressed Message.
Constructor Summary | |
---|---|
SmimeCompressed(MimeBodyPart content) Create a SmimeCompressed . |
|
SmimeCompressed(MimeBodyPart content, oracle.security.crypto.core.AlgorithmIdentifier contentCompressionAlgID) Create a SmimeCompressed . |
Method Summary | |
---|---|
java.lang.String |
generateContentType() Returns the content type. |
java.lang.String |
generateContentType(boolean useStandardContentTypes) Returns the content type. |
oracle.security.crypto.core.AlgorithmIdentifier |
getContentCompressionAlgID() Returns the content compression algorithm. |
MimeBodyPart |
getEnclosedBodyPart() Returns the Decompressed Content. |
void |
writeTo(java.io.OutputStream os, java.lang.String mimeType) Writes this SmimeCompressed to the given output stream. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SmimeCompressed(MimeBodyPart content) throws MessagingException, java.io.IOException
SmimeCompressed
.
content
- The message content.MessagingException
- An error occurred while setting the message content.java.io.IOException
public SmimeCompressed(MimeBodyPart content, oracle.security.crypto.core.AlgorithmIdentifier contentCompressionAlgID) throws MessagingException, java.io.IOException
SmimeCompressed
.
content
- The message content.contentCompressionAlgID
- The content compression algorithm identifier.MessagingException
- An error occurred while setting the message content.java.io.IOException
Method Detail |
---|
public MimeBodyPart getEnclosedBodyPart() throws oracle.security.crypto.core.AlgorithmIdentifierException, oracle.security.crypto.util.InvalidInputException, MessagingException
oracle.security.crypto.core.AlgorithmIdentifierException
- The content compression algorithm is not supported.oracle.security.crypto.util.InvalidInputException
- The message content type is incorrect.MessagingException
- An error occurred while setting the decrypted content.public oracle.security.crypto.core.AlgorithmIdentifier getContentCompressionAlgID()
public java.lang.String generateContentType(boolean useStandardContentTypes)
generateContentType
in interface SmimeObject
useStandardContentTypes
- If true
the standard content type is generated; If false
the experimental content type is generated.public java.lang.String generateContentType()
generateContentType
in interface SmimeObject
public void writeTo(java.io.OutputStream os, java.lang.String mimeType) throws java.io.IOException, MessagingException
SmimeCompressed
to the given output stream. Relevant canonicalizations, such as transforming text line-breaks to CRLF
, are applied.writeTo
in interface SmimeObject
os
- The output stream to which this SmimeCompressed
will be written.mimeType
- Ignored.java.io.IOException
- An I/O error occurred.MessagingException
- An error occurred while creating the smime message.
|
Oracle Fusion Middleware S/MIME Java API Reference for Oracle Security Developer Tools 11g Release 1 (11.1.1) E10672-05 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |