| java.lang.Object org.bouncycastle.mail.smime.SMIMEUtil
SMIMEUtil | public class SMIMEUtil (Code) | | |
createIssuerAndSerialNumberFor | public static IssuerAndSerialNumber createIssuerAndSerialNumberFor(X509Certificate cert) throws CertificateParsingException(Code) | | Return a CMS IssuerAndSerialNumber structure for the passed in X.509 certificate.
Parameters: cert - the X.509 certificate to get the issuer and serial number for. an IssuerAndSerialNumber structure representing the certificate. |
isCanonicalisationRequired | static boolean isCanonicalisationRequired(MimeBodyPart bodyPart, String defaultContentTransferEncoding) throws MessagingException(Code) | | |
outputPreamble | static void outputPreamble(LineOutputStream lOut, MimeBodyPart part, String boundary) throws MessagingException, IOException(Code) | | internal preamble is generally included in signatures, while this is technically wrong,
if we find internal preamble we include it by default.
|
toMimeBodyPart | public static MimeBodyPart toMimeBodyPart(byte[] content) throws SMIMEException(Code) | | return the MimeBodyPart described in the raw bytes provided in content
|
toMimeBodyPart | public static MimeBodyPart toMimeBodyPart(InputStream content) throws SMIMEException(Code) | | return the MimeBodyPart described in the input stream content
|
toMimeBodyPart | public static FileBackedMimeBodyPart toMimeBodyPart(CMSTypedStream content, File file) throws SMIMEException(Code) | | Return a file based MimeBodyPart represented by content and backed
by the file represented by file.
Parameters: content - content stream containing body part. Parameters: file - file to store the decoded body part in. the decoded body part. throws: SMIMEException - |
|
|