|
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.cms.ecc.StaticStaticECDHDemo
public abstract class StaticStaticECDHDemo
Base class for ECDHAuthEnvelopedDataDemo
and
ECDHAuthenticatedDataDemo
demonstrating the
usage of the CMS AuthEnvelopedData and AuthenticatedData content types
by using Static-Static ECDH according to 6278 as
key agreement method.
Reads keys/certificates required for this demo from a keystore
file "cmsecc.keystore" located in your current working directory. If
the keystore file does not exist you can create it by running the
SetupCMSEccKeyStore
program.
Additionally to iaik_cms.jar
you also must have
iaik_jce_(full).jar
(IAIK-JCE,
https://sic.tech/products/core-crypto-toolkits/jca-jce/),
and iaik_eccelarate.jar
(IAIK-ECCelerateTM,
https://sic.tech/products/core-crypto-toolkits/eccelerate/)
in your classpath.
ECDHAuthEnvelopedDataDemo
,
ECDHAuthenticatedDataDemo
,
AuthEnvelopedDataStream
,
AuthEnvelopedData
,
AuthEnvelopedDataOutputStream
,
RecipientInfo
,
KeyAgreeRecipientInfo
,
SetupCMSEccKeyStore
Constructor Summary | |
---|---|
StaticStaticECDHDemo()
Setup the demo certificate chains. |
Method Summary | |
---|---|
iaik.cms.RecipientInfo[] |
createRecipients()
Creates the RecipientInfos. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StaticStaticECDHDemo() throws java.io.IOException
SetupCMSEccKeyStore
program.
java.io.IOException
- if keys/certificates cannot be read from the keystoreMethod Detail |
---|
public iaik.cms.RecipientInfo[] createRecipients() throws iaik.cms.CMSException
iaik.cms.CMSException
- if an error occurs when creating the recipient infos
|
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 |
![]() |