org.bouncycastle.mail.smime.handlers.pkcs7_mime Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bcmail-lts8on Show documentation
Show all versions of bcmail-lts8on Show documentation
The Bouncy Castle Java APIs for doing S/MIME with JavaMail. The APIs are designed primarily to be used in conjunction with the BC LTS provider.
package org.bouncycastle.mail.smime.handlers;
import java.awt.datatransfer.DataFlavor;
import javax.activation.ActivationDataFlavor;
import javax.mail.internet.MimeBodyPart;
public class pkcs7_mime
extends PKCS7ContentHandler
{
private static final ActivationDataFlavor ADF = new ActivationDataFlavor(MimeBodyPart.class, "application/pkcs7-mime", "Encrypted Data");
private static final DataFlavor[] DFS = new DataFlavor[] { ADF };
public pkcs7_mime()
{
super(ADF, DFS);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy