org.bouncycastle.mail.smime.handlers.pkcs7_signature Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bcmail-fips Show documentation
Show all versions of bcmail-fips 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 FIPS provider. The APIs may also be used with other providers although if being used in a FIPS context it is the responsibility of the user to ensure that any other providers used are FIPS certified and used appropriately.
The newest version!
package org.bouncycastle.mail.smime.handlers;
import java.awt.datatransfer.DataFlavor;
import javax.activation.ActivationDataFlavor;
import javax.mail.internet.MimeBodyPart;
public class pkcs7_signature
extends PKCS7ContentHandler
{
private static final ActivationDataFlavor ADF = new ActivationDataFlavor(MimeBodyPart.class, "application/pkcs7-signature", "Signature");
private static final DataFlavor[] DFS = new DataFlavor[] { ADF };
public pkcs7_signature()
{
super(ADF, DFS);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy