| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | |
| pack-priv static class | |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private static final int | |
| private static final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static IssuerAndSerialNumber | Returns: an IssuerAndSerialNumber structure representing the certificate.the X.509 certificate to get the issuer and serial number for. cert)Return a CMS IssuerAndSerialNumber structure for the passed in X.509 certificate. |
| pack-priv static boolean | |
| public static boolean | |
| pack-priv static void | outputBodyPart(OutputStream out, boolean topLevel, BodyPart bodyPart, String defaultContentTransferEncoding)
|
| pack-priv static void | outputPostamble(SMIMEUtil.
internal postamble is generally included in signatures, while this is technically wrong, if we find internal postamble we include it by default. |
| pack-priv static void | outputPostamble(SMIMEUtil.
|
| pack-priv static void | outputPreamble(SMIMEUtil.
internal preamble is generally included in signatures, while this is technically wrong, if we find internal preamble we include it by default. |
| private static String | |
| public static MimeBodyPart | toMimeBodyPart(byte[] content)
return the MimeBodyPart described in the raw bytes provided in content |
| public static MimeBodyPart | |
| public static FileBackedMimeBodyPart | toMimeBodyPart(CMSTypedStream content)
return a file backed MimeBodyPart described in |
| public static FileBackedMimeBodyPart | Returns: the decoded body part.content stream containing body part. content, File file to store the decoded body part in. file)Return a file based MimeBodyPart represented by content and backed by the file represented by file. |
| pack-priv static FileBackedMimeBodyPart |
| BUF_SIZE | back to summary |
|---|---|
| private static final int BUF_SIZE | |
| MULTIPART | back to summary |
|---|---|
| private static final String MULTIPART | |
| SMIMEUtil | back to summary |
|---|---|
| public SMIMEUtil() | |
| createIssuerAndSerialNumberFor | back to summary |
|---|---|
| public static IssuerAndSerialNumber createIssuerAndSerialNumberFor(X509Certificate cert) throws CertificateParsingException Return a CMS IssuerAndSerialNumber structure for the passed in X.509 certificate.
| |
| isCanonicalisationRequired | back to summary |
|---|---|
| pack-priv static boolean isCanonicalisationRequired(MimeBodyPart bodyPart, String defaultContentTransferEncoding) throws MessagingException | |
| isMultipartContent | back to summary |
|---|---|
| public static boolean isMultipartContent(Part part) throws MessagingException | |
| outputBodyPart | back to summary |
|---|---|
| pack-priv static void outputBodyPart(OutputStream out, boolean topLevel, BodyPart bodyPart, String defaultContentTransferEncoding) throws MessagingException, IOException | |
| outputPostamble | back to summary |
|---|---|
| pack-priv static void outputPostamble(SMIMEUtil. internal postamble is generally included in signatures, while this is technically wrong, if we find internal postamble we include it by default. | |
| outputPostamble | back to summary |
|---|---|
| pack-priv static void outputPostamble(SMIMEUtil. | |
| outputPreamble | back to summary |
|---|---|
| pack-priv static void outputPreamble(SMIMEUtil. internal preamble is generally included in signatures, while this is technically wrong, if we find internal preamble we include it by default. | |
| readLine | back to summary |
|---|---|
| private static String readLine(InputStream in) throws IOException | |
| toMimeBodyPart | back to summary |
|---|---|
| public static MimeBodyPart toMimeBodyPart(byte[] content) throws SMIMEException return the MimeBodyPart described in the raw bytes provided in content | |
| toMimeBodyPart | back to summary |
|---|---|
| public static MimeBodyPart toMimeBodyPart(InputStream content) throws SMIMEException return the MimeBodyPart described in the input stream content | |
| toMimeBodyPart | back to summary |
|---|---|
| public static FileBackedMimeBodyPart toMimeBodyPart(CMSTypedStream content) throws SMIMEException return a file backed MimeBodyPart described in | |
| toMimeBodyPart | back to summary |
|---|---|
| public static FileBackedMimeBodyPart toMimeBodyPart(CMSTypedStream content, File file) throws SMIMEException Return a file based MimeBodyPart represented by content and backed by the file represented by file.
| |
| toWriteOnceBodyPart | back to summary |
|---|---|
| pack-priv static FileBackedMimeBodyPart toWriteOnceBodyPart(CMSTypedStream content) throws SMIMEException | |
| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| protected int | |
| protected static byte[] |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | write(int
the i)byte.Overrides java. byte to this output stream.
|
| public void | write(byte[]
the data to be written. buf)Overrides java. b.length bytes to this output stream.
|
| public void | write(byte[]
the data. buf, int the start offset in the data. off, int the number of bytes to write. len)Overrides java. len bytes from the specified
byte array starting at offset off to
this output stream.
|
| public void |
| isCrlfStream | back to summary |
|---|---|
| private boolean isCrlfStream | |
| lastb | back to summary |
|---|---|
| protected int lastb | |
| newline | back to summary |
|---|---|
| protected static byte[] newline | |
| Base64CRLFOutputStream | back to summary |
|---|---|
| public Base64CRLFOutputStream(OutputStream outputstream) | |
| write | back to summary |
|---|---|
| public void write(int i) throws IOException Overrides java. Doc from java. Writes the specified
The
Implements the abstract
| |
| write | back to summary |
|---|---|
| public void write(byte[] buf) throws IOException Overrides java. Doc from java. Writes
| |
| write | back to summary |
|---|---|
| public void write(byte[] buf, int off, int len) throws IOException Overrides java. Doc from java. Writes
| |
| writeln | back to summary |
|---|---|
| public void writeln() throws IOException | |
| Modifier and Type | Field and Description |
|---|---|
| private static byte[] |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static byte[] | |
| public void | |
| public void |
| newline | back to summary |
|---|---|
| private static byte[] newline | |
| LineOutputStream | back to summary |
|---|---|
| public LineOutputStream(OutputStream outputstream) | |
| getBytes | back to summary |
|---|---|
| private static byte[] getBytes(String s) | |
| writeln | back to summary |
|---|---|
| public void writeln(String s) throws MessagingException | |
| writeln | back to summary |
|---|---|
| public void writeln() throws MessagingException | |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | writeTo(OutputStream
the stream to write to out)Overrides org. Implements javax. |
| WriteOnceFileBackedMimeBodyPart | back to summary |
|---|---|
| public WriteOnceFileBackedMimeBodyPart(InputStream content, File file) throws MessagingException, IOException | |
| writeTo | back to summary |
|---|---|
| public void writeTo(OutputStream out) throws MessagingException, IOException Overrides org. Implements javax. Doc from javax. Output the body part as an RFC 822 format stream.
| |