public class

SMIMEGenerator

extends Object
java.lang.Object
   ↳ org.bouncycastle.mail.smime.SMIMEGenerator
Known Direct Subclasses

Class Overview

super class of the various generators.

Summary

Fields
protected String encoding
protected boolean useBase64
Protected Constructors
SMIMEGenerator()
base constructor
Public Methods
void setContentTransferEncoding(String encoding)
set the content-transfer-encoding for the signature.
Protected Methods
KeyGenerator createSymmetricKeyGenerator(String encryptionOID, Provider provider)
MimeBodyPart makeContentBodyPart(MimeBodyPart content)
Make sure we have a valid content body part - setting the headers with defaults if neccessary.
MimeBodyPart makeContentBodyPart(MimeMessage message)
extract an appropriate body part from the passed in MimeMessage
[Expand]
Inherited Methods
From class java.lang.Object

Fields

protected String encoding

protected boolean useBase64

Protected Constructors

protected SMIMEGenerator ()

base constructor

Public Methods

public void setContentTransferEncoding (String encoding)

set the content-transfer-encoding for the signature.

Protected Methods

protected KeyGenerator createSymmetricKeyGenerator (String encryptionOID, Provider provider)

protected MimeBodyPart makeContentBodyPart (MimeBodyPart content)

Make sure we have a valid content body part - setting the headers with defaults if neccessary.

protected MimeBodyPart makeContentBodyPart (MimeMessage message)

extract an appropriate body part from the passed in MimeMessage