org.bouncycastle.mail.smime.examples

Class ExampleUtils

public class ExampleUtils extends Object

Method Summary
static voiddumpContent(MimeBodyPart bodyPart, String fileName)
Dump the content of the passed in BodyPart to the file fileName.
static StringfindKeyAlias(KeyStore store, String storeName, char[] password)

Method Detail

dumpContent

public static void dumpContent(MimeBodyPart bodyPart, String fileName)
Dump the content of the passed in BodyPart to the file fileName.

Throws: MessagingException IOException

findKeyAlias

public static String findKeyAlias(KeyStore store, String storeName, char[] password)