Top Constructors Methods
org.bouncycastle.mail.smime.examples

public Class ExampleUtils

extends Object
Class Inheritance
Imports
java.io.FileInputStream, .FileOutputStream, .IOException, .InputStream, .OutputStream, java.security.KeyStore, java.util.Enumeration, javax.mail.MessagingException, javax.mail.internet.MimeBodyPart

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static void
dumpContent(MimeBodyPart bodyPart, String fileName)

Dump the content of the passed in BodyPart to the file fileName.

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

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

ExampleUtilsback to summary
public ExampleUtils()

Method Detail

dumpContentback to summary
public static void dumpContent(MimeBodyPart bodyPart, String fileName) throws MessagingException, IOException

Dump the content of the passed in BodyPart to the file fileName.

findKeyAliasback to summary
public static String findKeyAlias(KeyStore store, String storeName, char[] password) throws Exception