public class SMIMEGenerator extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
encoding |
protected boolean |
useBase64 |
Modifier | Constructor and Description |
---|---|
protected |
SMIMEGenerator()
base constructor
|
Modifier and Type | Method and Description |
---|---|
protected KeyGenerator |
createSymmetricKeyGenerator(String encryptionOID,
Provider provider) |
protected javax.mail.internet.MimeBodyPart |
makeContentBodyPart(javax.mail.internet.MimeBodyPart content)
Make sure we have a valid content body part - setting the headers
with defaults if neccessary.
|
protected javax.mail.internet.MimeBodyPart |
makeContentBodyPart(javax.mail.internet.MimeMessage message)
extract an appropriate body part from the passed in MimeMessage
|
void |
setContentTransferEncoding(String encoding)
set the content-transfer-encoding for the signature.
|
protected boolean useBase64
protected String encoding
public void setContentTransferEncoding(String encoding)
protected javax.mail.internet.MimeBodyPart makeContentBodyPart(javax.mail.internet.MimeBodyPart content) throws SMIMEException
SMIMEException
protected javax.mail.internet.MimeBodyPart makeContentBodyPart(javax.mail.internet.MimeMessage message) throws SMIMEException
SMIMEException
protected KeyGenerator createSymmetricKeyGenerator(String encryptionOID, Provider provider) throws NoSuchAlgorithmException
NoSuchAlgorithmException
Copyright © 2015. All rights reserved.