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 bcjmail-lts8on Show documentation
Show all versions of bcjmail-lts8on Show documentation
The Bouncy Castle Java APIs for doing S/MIME with the Jakarta Mail APIs. 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 jakarta.activation.ActivationDataFlavor;
import jakarta.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 ActivationDataFlavor[] DFS = new ActivationDataFlavor[] { ADF };
public pkcs7_mime()
{
super(ADF, DFS);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy