| Modifier and Type | Field and Description |
|---|---|
| private static Map | |
| protected String | |
| protected boolean |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| private KeyGenerator | |
| protected KeyGenerator | |
| private void | |
| 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 |
| public void | setContentTransferEncoding(String
the encoding to use, default "base64", use "binary" for a binary encoding. encoding)set the content-transfer-encoding for the CMS block (enveloped data, signature, etc...) in the message. |
| BASE_CIPHER_NAMES | back to summary |
|---|---|
| private static Map<K, V> BASE_CIPHER_NAMES | |
| encoding | back to summary |
|---|---|
| protected String encoding | |
| useBase64 | back to summary |
|---|---|
| protected boolean useBase64 | |
| SMIMEGenerator | back to summary |
|---|---|
| protected SMIMEGenerator() base constructor | |
| createKeyGenerator | back to summary |
|---|---|
| private KeyGenerator createKeyGenerator(String algName, Provider provider) throws NoSuchAlgorithmException | |
| createSymmetricKeyGenerator | back to summary |
|---|---|
| protected KeyGenerator createSymmetricKeyGenerator(String encryptionOID, Provider provider) throws NoSuchAlgorithmException | |
| extractHeaders | back to summary |
|---|---|
| private void extractHeaders(MimeBodyPart content, MimeMessage message) throws MessagingException | |
| makeContentBodyPart | back to summary |
|---|---|
| protected MimeBodyPart makeContentBodyPart(MimeBodyPart content) throws SMIMEException Make sure we have a valid content body part - setting the headers with defaults if neccessary. | |
| makeContentBodyPart | back to summary |
|---|---|
| protected MimeBodyPart makeContentBodyPart(MimeMessage message) throws SMIMEException extract an appropriate body part from the passed in MimeMessage | |
| setContentTransferEncoding | back to summary |
|---|---|
| public void setContentTransferEncoding(String encoding) set the content-transfer-encoding for the CMS block (enveloped data, signature, etc...) in the message.
| |