org.bouncycastle.mail.smime.test
Class SMIMETestUtil
java.lang.Object
org.bouncycastle.mail.smime.test.SMIMETestUtil
public class SMIMETestUtil
extends java.lang.Object
DEBUG
public static final boolean DEBUG
desede128kg
public static KeyGenerator desede128kg
desede192kg
public static KeyGenerator desede192kg
dsaKpg
public static KeyPairGenerator dsaKpg
kpg
public static KeyPairGenerator kpg
rand
public static SecureRandom rand
rc240kg
public static KeyGenerator rc240kg
serialNumber
public static BigInteger serialNumber
makeCertificate
public static X509Certificate makeCertificate(KeyPair _subKP,
String _subDN,
KeyPair _issKP,
String _issDN)
throws GeneralSecurityException,
IOException
makeDSAKeyPair
public static KeyPair makeDSAKeyPair()
makeDesede128Key
public static SecretKey makeDesede128Key()
makeDesede192Key
public static SecretKey makeDesede192Key()
makeKeyPair
public static KeyPair makeKeyPair()
makeMimeBodyPart
public static MimeBodyPart makeMimeBodyPart(MimeMultipart _mm)
throws MessagingException
makeMimeBodyPart
public static MimeBodyPart makeMimeBodyPart(String _msg)
throws MessagingException
makeMimeMultipart
public static MimeMultipart makeMimeMultipart(String _msg1,
String _msg2)
throws MessagingException
makeRC240Key
public static SecretKey makeRC240Key()