|
IAIK CMS/SMIME Toolkit Demo API Documentation
Version 6.1 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdemo.DemoUtil
demo.DemoSMimeUtil
public class DemoSMimeUtil
Some basic utility methods used by the S/MIME demos.
Field Summary |
---|
Fields inherited from class demo.DemoUtil |
---|
CREATE_DEMO_KEYSTORE_AUTOMATICAllY, DEMO_DEBUG, IAIK_JAVA_SECURITY_DEMO_CMS_OID |
Method Summary | |
---|---|
static javax.activation.CommandMap |
addContentHandlers(javax.activation.MailcapCommandMap mc)
Adds the IAIK S/MIME content handlers to the given MailcapCommandMap. |
static javax.mail.Session |
getSession()
Returns (the default) mail session object. |
static javax.mail.Session |
getSession(java.lang.String mailhost)
Returns a mail session object for the given mailhost. |
static void |
initDemos()
Perform a some initial setup to allow the demos to work |
static void |
initDemos(boolean quickStart)
Perform a some initial setup to allow the demos to work |
static void |
registerMailCapEntries()
Registers the IAIK content handlers for the mailcap command map. |
Methods inherited from class demo.DemoUtil |
---|
addIaikProvider, addProvider, createPssAlgorithmID, getIaikProviderVersion, initRandom, initRandom, waitKey |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void initDemos()
public static void initDemos(boolean quickStart)
quickStart
- whether to init the random generator with a
(not strong) seed for quick start (ONLY FOR
DEMO PURPOSES; NOT FOR PRODUCTION ENVIRONMENT!)public static void registerMailCapEntries()
public static javax.activation.CommandMap addContentHandlers(javax.activation.MailcapCommandMap mc)
mc
- the MailcapCommandMap to which to add the content handlers
public static javax.mail.Session getSession()
public static javax.mail.Session getSession(java.lang.String mailhost)
mailhost
- the mailhost to be used
|
IAIK CMS/SMIME Toolkit Demo API Documentation
Version 6.1 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
![]() |
v6.1 (c) 2002 IAIK, (c) 2003 - 2025 SIC |
![]() |