IAIK CMS/SMIME Toolkit Demo API Documentation
Version 6.1
A B C D E F G H I K M O P R S T U V W

A

addContentHandlers(MailcapCommandMap) - Static method in class demo.DemoSMimeUtil
Adds the IAIK S/MIME content handlers to the given MailcapCommandMap.
addIaikProvider() - Static method in class demo.DemoUtil
Adds the IAIK JCE as a first security provider.
addProvider(String) - Static method in class demo.DemoUtil
Adds the cryptography provider with the given name.
addRecipientKey(PrivateKey, X509Certificate[]) - Static method in class demo.keystore.CMSKeyStore
Adds a key and certificate by its key (certificate) ids to the given recipient keys/certs repositories.
addToKeyStore(KeyPair, X509Certificate[], String) - Method in class demo.cms.ecc.keystore.SetupCMSEccKeyStore
Adds the private key and the certificate chain to the key store.
addToKeyStore(KeyPair, X509Certificate[], String) - Method in class demo.keystore.SetupCMSKeyStore
Adds the private key and the certificate chain to the key store.
AESEnvelopedDataDemo - Class in demo.cms.envelopedData
Demonstrates the usage of class EnvelopedDataStream and EnvelopedData for encrypting data using the CMS type EnvelopedData with the AES cipher algorithm.
AESEnvelopedDataDemo() - Constructor for class demo.cms.envelopedData.AESEnvelopedDataDemo
Creates an AESEnvelopedDataDemo and setups the demo certificates.
afterComputeSignature(SignedDataStream) - Method in class demo.cms.signedData.CounterSignatureListener
Calculates and adds a CounterSignature to all or some specific SignerInfo(s).
afterComputeSignature(SignedDataStream) - Method in class demo.cms.tsp.TimeStampListener
 
ArcFourEnvelopedDataDemo - Class in demo.cms.envelopedData
This class demonstrates the EnvelopedDataStream/EncryptedContentInfoStream usages for the ARCFOUR algorithm.
ArcFourEnvelopedDataDemo() - Constructor for class demo.cms.envelopedData.ArcFourEnvelopedDataDemo
Setup the demo certificate chains.
AuthenticatedDataDemo - Class in demo.cms.authenticatedData
Demonstrates the usage of class AuthenticatedDataStream and AuthenticatedData for recipient-specific protecting the integrity of a message using the CMS type AuthenticatedData.
AuthenticatedDataDemo() - Constructor for class demo.cms.authenticatedData.AuthenticatedDataDemo
Creates and AuthenticatedDataDemo object and setups the demo certificates.
AuthenticatedDataDemo(AlgorithmID, int) - Constructor for class demo.cms.authenticatedData.AuthenticatedDataDemo
Creates and AuthenticatedDataDemo object and setups the demo certificates.
AuthenticatedDataOutputStreamDemo - Class in demo.cms.authenticatedData
Demonstrates the usage of class AuthenticatedDataOutputStream and AuthenticatedDataOutputStream for recipient-specific protecting the integrity of message using the CMS type AuthenticatedData.
AuthenticatedDataOutputStreamDemo() - Constructor for class demo.cms.authenticatedData.AuthenticatedDataOutputStreamDemo
Setup the demo certificate chains.
AuthEnvelopedDataDemo - Class in demo.cms.authEnvelopedData
Demonstrates the usage of class AuthEnvelopedDataStream and AuthEnvelopedData for authenticated encrypting data using the CMS type AuthEnvelopedData according to RFC 5083.
AuthEnvelopedDataDemo() - Constructor for class demo.cms.authEnvelopedData.AuthEnvelopedDataDemo
Setup the demo certificate chains.
AuthEnvelopedDataOutputStreamDemo - Class in demo.cms.authEnvelopedData
Demonstrates the usage of class AuthEnvelopedDataOutputStream and for authenticated encrypting data using the CMS type AuthEnvelopedData according to RFC 5083.
AuthEnvelopedDataOutputStreamDemo() - Constructor for class demo.cms.authEnvelopedData.AuthEnvelopedDataOutputStreamDemo
Setup the demo certificate chains.

B

beforeComputeSignature(SignedDataStream) - Method in class demo.cms.signedData.CounterSignatureListener
Does nothing.
beforeComputeSignature(SignedDataStream) - Method in class demo.cms.tsp.TimeStampListener
Does nothing.
BigSMimeMailDemo - Class in demo.smime.big
This class demonstrates the usage of the IAIK S/MIME implementation for handling S/MIME message with big content data.
BigSMimeMailDemo() - Constructor for class demo.smime.big.BigSMimeMailDemo
Default constructor.
BinarySignedDemo - Class in demo.smime.basic
This class shows how to create, sign and then parse/verify a mulitpart/signed message where the content is not canonicalized.
BinarySignedDemo() - Constructor for class demo.smime.basic.BinarySignedDemo
Default constructor.

C

ca_certificates - Static variable in class demo.keystore.CMSKeyStore
Ca certificates.
CA_DSA - Static variable in interface demo.keystore.CMSKeyStoreConstants
 
CA_ECDSA - Static variable in interface demo.cms.ecc.keystore.CMSEccKeyStoreConstants
 
ca_keys - Static variable in class demo.keystore.CMSKeyStore
Ca keys.
CA_RSA - Static variable in interface demo.keystore.CMSKeyStoreConstants
 
CA_RSAPSS - Static variable in interface demo.keystore.CMSKeyStoreConstants
 
calculateSignatureFromHash(AlgorithmID, AlgorithmID, PrivateKey, byte[]) - Method in class demo.cms.pkcs11.IaikPkcs11SecurityProvider
Calculates the signature value for a CMS SignerInfo over the given digest value with the given algorithm using the supplied private key.
calculateSignatureFromSignedAttributes(AlgorithmID, AlgorithmID, PrivateKey, byte[]) - Method in class demo.cms.pkcs11.IaikPkcs11SecurityProvider
Calculates the signature value for a CMS SignerInfo over the given signed attributes with the given algorithm using the supplied private key.
CamelliaEnvelopedDataDemo - Class in demo.cms.envelopedData
Demonstrates the usage of class EnvelopedDataStream and EnvelopedData for encrypting data using the CMS type EnvelopedData with the Camellia cipher algorithm.
CamelliaEnvelopedDataDemo() - Constructor for class demo.cms.envelopedData.CamelliaEnvelopedDataDemo
Creates an CamelliaEnvelopedDataDemo and setups the demo certificates.
CAST128EnvelopedDataDemo - Class in demo.cms.envelopedData
This class demonstrates the EnvelopedDataStream/EncryptedContentInfoStream usages for the CAST128 algorithm.
CAST128EnvelopedDataDemo() - Constructor for class demo.cms.envelopedData.CAST128EnvelopedDataDemo
Setup the demo certificate chains.
certificate_ - Variable in class demo.cms.pkcs11.EnvelopedDataStreamDemo
The certificate of the recipient.
certificate_ - Variable in class demo.smime.pkcs11.EncryptedMailDemo
The certificate of the recipient.
certificates - Static variable in class demo.keystore.CMSKeyStore
Certificates.
CertListDemo - Class in demo.cms.signedData
Reads a CMS (PKCS#7) certifcate list from a file.
CertListDemo() - Constructor for class demo.cms.signedData.CertListDemo
 
CMSDemo - Class in demo.cms.basic
This class shows some CMS examples where the content types are wrapped into a ContentInfo.
CMSDemo() - Constructor for class demo.cms.basic.CMSDemo
Setup the demo certificate chains.
CMSEccKeyStore - Class in demo.cms.ecc.keystore
Keystore for the ECC demos of IAIK-CMS.
CMSEccKeyStore() - Constructor for class demo.cms.ecc.keystore.CMSEccKeyStore
 
CMSEccKeyStoreConstants - Interface in demo.cms.ecc.keystore
Some constants for the keystore used by the ECC demos.
CMSKeyStore - Class in demo.keystore
KeyStore repository used providing keys and certificates for the several CMS and S/MIME demos.
CMSKeyStore() - Constructor for class demo.keystore.CMSKeyStore
 
CMSKeyStoreConstants - Interface in demo.keystore
Some constants for the keystore used by the demos.
CMSStreamDemo - Class in demo.smime.basic
This class shows the usage of the SMimeSigned and SMimeEncrypted classes.
CMSStreamDemo() - Constructor for class demo.smime.basic.CMSStreamDemo
Empty default constructor.
CompressedDataDemo - Class in demo.cms.compressedData
Demonstrates the usage of class CompressedDataStream and CompressedData for compressing/decompressing data using the CMS type CompressedData.
CompressedDataDemo() - Constructor for class demo.cms.compressedData.CompressedDataDemo
Default constructor.
CompressedDataOutputStreamDemo - Class in demo.cms.compressedData
Demonstrates the usage of class CompressedDataOutputStream and CompressedDataOutputStream for compressing data using the CMS type CompressedData.
CompressedDataOutputStreamDemo() - Constructor for class demo.cms.compressedData.CompressedDataOutputStreamDemo
Default constructor.
CounterSignatureDemo - Class in demo.cms.signedData
This class demonstrates the usage of the CounterSignature attribute.
CounterSignatureDemo() - Constructor for class demo.cms.signedData.CounterSignatureDemo
Constructor.
CounterSignatureListener - Class in demo.cms.signedData
A simple SignedDataStream encode listener implementation allowing an application to add a CounterSignature attribute to some SignerInfo(s) of a SignedDataStream (during the encoding is performed).
CounterSignatureListener(CertificateIdentifier, AlgorithmID, PrivateKey) - Constructor for class demo.cms.signedData.CounterSignatureListener
Creates a new CounterSignatureListener for the given counter signer information.
CounterSignatureListener(CertificateIdentifier, AlgorithmID, AlgorithmID, PrivateKey) - Constructor for class demo.cms.signedData.CounterSignatureListener
Creates a new CounterSignatureListener for the given counter signer information.
CREATE_DEMO_KEYSTORE_AUTOMATICAllY - Static variable in class demo.DemoUtil
Whether to create a new demo keystore automatically if it is not present or to explicitly ask if to create it.
create_E1_S1_O(Object, String, boolean, X509Certificate[], PrivateKey, AlgorithmID, AlgorithmID, MLExpansionHistory, X509Certificate, AlgorithmID, AlgorithmID, int) - Method in class demo.smime.ess.MLADemo
Encrypts and signs the given content.
create_S1_O(Object, String, boolean, X509Certificate[], PrivateKey, AlgorithmID, AlgorithmID, MLExpansionHistory) - Method in class demo.smime.ess.MLADemo
Signs the given content.
create_S2_E1_S1_0(Object, String, boolean, X509Certificate[], PrivateKey, AlgorithmID, AlgorithmID, MLExpansionHistory, X509Certificate, AlgorithmID, AlgorithmID, int, boolean, X509Certificate[], PrivateKey, AlgorithmID, AlgorithmID, MLExpansionHistory) - Method in class demo.smime.ess.MLADemo
Signs and encrypts and signs the given content.
create_S3_S2_E1_S1_0(Object, String, boolean, X509Certificate[], PrivateKey, AlgorithmID, AlgorithmID, MLExpansionHistory, X509Certificate, AlgorithmID, AlgorithmID, int, boolean, X509Certificate[], PrivateKey, AlgorithmID, AlgorithmID, MLExpansionHistory, boolean, X509Certificate[], PrivateKey, AlgorithmID, AlgorithmID, MLExpansionHistory) - Method in class demo.smime.ess.MLADemo
Signs and encrypts and double-signs the given content.
create_S3_S2_S1_O(Object, String, boolean, X509Certificate[], PrivateKey, AlgorithmID, AlgorithmID, MLExpansionHistory, boolean, X509Certificate[], PrivateKey, AlgorithmID, AlgorithmID, MLExpansionHistory, boolean, X509Certificate[], PrivateKey, AlgorithmID, AlgorithmID, MLExpansionHistory) - Method in class demo.smime.ess.MLADemo
Triple-signs the given content.
createAttributeCertificate() - Method in class demo.cms.signedData.SignedDataDemo
Creates an attribute certificate just for testing.
createAttributeCertificate() - Method in class demo.smime.ess.SigningCertificateDemo
Creates an attribute certificate just for testing.
createAuthEncryptedMessage(Session, AlgorithmID, int) - Method in class demo.smime.basic.SMimeDemo
Creates an authenticated encrypted message.
createAuthEncryptedMessage(Session, AlgorithmID, int, AlgorithmID, AlgorithmID, int) - Method in class demo.smime.basic.SMimeV3Demo
Creates an authenticated encrypted message.
createAuthEncryptedMessage(Session, AlgorithmID, int) - Method in class demo.smime.basic.SMimeV4Demo
Creates an authenticated encrypted message.
createAuthenticatedData(byte[], AlgorithmID, int, AlgorithmID, int) - Method in class demo.cms.authenticatedData.AuthenticatedDataDemo
Creates a CMS AuthenticatedData for the given message message.
createAuthenticatedData(byte[], boolean, int) - Method in class demo.cms.basic.CMSDemo
Creates a CMS AuthenticatedData for the given message message.
createAuthenticatedData(byte[], AlgorithmID, int, AlgorithmID, int) - Method in class demo.cms.ecc.ECDHAuthenticatedDataDemo
Creates a CMS AuthenticatedData for the given message message.
createAuthenticatedData(byte[], AlgorithmID, int, AlgorithmID, int, AlgorithmID, AlgorithmID, int) - Method in class demo.cms.ecc.EdDHAuthenticatedDataDemo
Creates a CMS AuthenticatedData for the given message message.
createAuthenticatedDataOutputStream(byte[], AlgorithmID, int, AlgorithmID, int) - Method in class demo.cms.ecc.ECDHAuthenticatedDataDemo
Creates a CMS AuthenticatedDataOutputStream for the given message message.
createAuthenticatedDataOutputStream(byte[], AlgorithmID, int, AlgorithmID, int, AlgorithmID, AlgorithmID, int) - Method in class demo.cms.ecc.EdDHAuthenticatedDataDemo
Creates a CMS AuthenticatedData message using the AuthenticatedDataOutputStream class.
createAuthenticatedDataStream(byte[], AlgorithmID, int, AlgorithmID, int) - Method in class demo.cms.authenticatedData.AuthenticatedDataDemo
Creates a CMS AuthenticatedDataStream for the given message message.
createAuthenticatedDataStream(byte[], AlgorithmID, int, AlgorithmID, int) - Method in class demo.cms.authenticatedData.AuthenticatedDataOutputStreamDemo
Creates a CMS AuthenticatedDataOutputStream for the given message message.
createAuthenticatedDataStream(byte[], boolean, int) - Method in class demo.cms.basic.CMSDemo
Creates a CMS AuthenticatedDataStream for the given message message.
createAuthenticatedDataStream(byte[], AlgorithmID, int, AlgorithmID, int) - Method in class demo.cms.ecc.ECDHAuthenticatedDataDemo
Creates a CMS AuthenticatedDataStream for the given message message.
createAuthenticatedDataStream(byte[], AlgorithmID, int, AlgorithmID, int, AlgorithmID, AlgorithmID, int) - Method in class demo.cms.ecc.EdDHAuthenticatedDataDemo
Creates a CMS AuthenticatedDataStream for the given message message.
createAuthEnvelopedData(byte[], AlgorithmID) - Method in class demo.cms.authEnvelopedData.AuthEnvelopedDataDemo
Creates a CMS AuthEnvelopedData message.
createAuthEnvelopedData(byte[], AlgorithmID) - Method in class demo.cms.authEnvelopedData.AuthEnvelopedDataOutputStreamDemo
Creates a CMS AuthEnvelopedData and wraps it into a ContentInfo.
createAuthEnvelopedData(byte[], AlgorithmID) - Method in class demo.cms.ecc.ECDHAuthEnvelopedDataDemo
Creates a CMS AuthEnvelopedData message.
createAuthEnvelopedData(byte[], AlgorithmID, X509Certificate, X509Certificate) - Method in class demo.cms.ecc.EckaEGAuthEnvelopedDataDemo
Creates a CMS AuthEnvelopedData message.
createAuthEnvelopedData(byte[], AlgorithmID, AlgorithmID, int, AlgorithmID) - Method in class demo.cms.ecc.EdDHAuthEnvelopedDataDemo
Creates a CMS AuthEnvelopedData message.
createAuthEnvelopedDataOutputStream(byte[], AlgorithmID) - Method in class demo.cms.ecc.ECDHAuthEnvelopedDataDemo
Creates a CMS AuthEnvelopedData message using the AuthEnvelopedDataOutputStream class.
createAuthEnvelopedDataOutputStream(byte[], AlgorithmID, X509Certificate, X509Certificate) - Method in class demo.cms.ecc.EckaEGAuthEnvelopedDataDemo
Creates a CMS AuthEnvelopedData message using class AuthEnvelopedDataOutputStream.
createAuthEnvelopedDataOutputStream(byte[], AlgorithmID, AlgorithmID, int, AlgorithmID) - Method in class demo.cms.ecc.EdDHAuthEnvelopedDataDemo
Creates a CMS AuthEnvelopedData message using the AuthEnvelopedDataOutputStream class.
createAuthEnvelopedDataStream(byte[], AlgorithmID) - Method in class demo.cms.authEnvelopedData.AuthEnvelopedDataDemo
Creates a CMS AuthEnvelopedDataStream message.
createAuthEnvelopedDataStream(byte[], AlgorithmID) - Method in class demo.cms.ecc.ECDHAuthEnvelopedDataDemo
Creates a CMS AuthEnvelopedDataStream message.
createAuthEnvelopedDataStream(byte[], AlgorithmID, X509Certificate, X509Certificate) - Method in class demo.cms.ecc.EckaEGAuthEnvelopedDataDemo
Creates a CMS AuthEnvelopedData message using class AuthEnvelopedDataStream.
createAuthEnvelopedDataStream(byte[], AlgorithmID, AlgorithmID, int, AlgorithmID) - Method in class demo.cms.ecc.EdDHAuthEnvelopedDataDemo
Creates a CMS AuthEnvelopedDataStream message.
createCertificate(Name, PublicKey, Name, PrivateKey, AlgorithmID, byte[], boolean) - Static method in class demo.cms.ecc.keystore.SetupCMSEccKeyStore
Creates a certificate from the given values.
createCertsOnlyMessage(Session) - Method in class demo.smime.basic.SMimeDemo
Creates a certs-only message.
createCertsOnlyMessage(Session) - Method in class demo.smime.basic.SMimeSendDemo
Creates a certs-only message.
createCertsOnlyMessage(Session) - Method in class demo.smime.basic.SMimeV3Demo
Creates a certs-only message.
createCertsOnlyMessage(Session) - Method in class demo.smime.basic.SMimeV4Demo
Creates a certs-only message.
createCertsOnlyMultiPartMessage(Session) - Method in class demo.smime.basic.SMimeDemo
Creates a certs-only message where the certificate list is transferred as attachment.
createCertsOnlyMultiPartMessage(Session) - Method in class demo.smime.basic.SMimeSendDemo
Creates a certs-only message where the certificate list is transferred as attachment.
createCertsOnlyMultiPartMessage(Session) - Method in class demo.smime.basic.SMimeV3Demo
Creates a certs-only message where the certificate list is transferred as attachment.
createCertsOnlyMultiPartMessage(Session) - Method in class demo.smime.basic.SMimeV4Demo
Creates a certs-only message where the certificate list is transferred as attachment.
createCompressedData(byte[], int) - Method in class demo.cms.compressedData.CompressedDataDemo
Creates a CMS CompressedData object.
createCompressedData(byte[]) - Method in class demo.cms.compressedData.CompressedDataOutputStreamDemo
Uses the IAIK-CMS CompressedDataOutputStream class to create a CMS CompressedData object for compressing the given message.
createCompressedData(byte[]) - Method in class demo.cms.ecc.EckaEGAuthEnvelopedDataDemo
Creates a CMS CompressedData object.
createCompressedDataStream(byte[], int) - Method in class demo.cms.compressedData.CompressedDataDemo
Creates a CMS CompressedData object.
createCompressedDataStream(byte[]) - Method in class demo.cms.ecc.EckaEGAuthEnvelopedDataDemo
Creates a CMS CompressedData object.
createCompressedMessage(Session, MimeMessage, AlgorithmID, boolean) - Method in class demo.smime.basic.ProcessMessageDemo
Creates a compressed message.
createCompressedMessage(Session, DataHandler, AlgorithmID) - Method in class demo.smime.basic.SMimeDemo
Creates a compressed message.
createCompressedMessage(Session, DataHandler, AlgorithmID) - Method in class demo.smime.basic.SMimeV3Demo
Creates a compressed message.
createCompressedMessage(Session, DataHandler, AlgorithmID) - Method in class demo.smime.basic.SMimeV4Demo
Creates a compressed message.
createCompressedMessage(Session, DataHandler, AlgorithmID) - Method in class demo.smime.big.BigSMimeMailDemo
Creates a compressed message.
createData(byte[]) - Method in class demo.cms.basic.CMSDemo
Creates a CMS Data object.
createData(byte[]) - Method in class demo.cms.data.DataDemo
Creates a CMS Data object.
createData(byte[]) - Method in class demo.cms.data.DataOutputStreamDemo
Uses the IAIK-CMS DataOutputStream class to encode the given data.
createData(byte[]) - Method in class demo.cms.pkcs7cms.PKCS7CMSDataDemo
Creates a CMS Data object.
createDataStream(byte[]) - Method in class demo.cms.basic.CMSDemo
Creates a CMS Data object and wraps it into a ContentInfo.
createDataStream(byte[]) - Method in class demo.cms.data.DataDemo
Creates a CMS Data object.
createDataStream(byte[]) - Method in class demo.cms.pkcs7cms.PKCS7CMSDataDemo
Creates a CMS Data object.
createDigestedData(byte[], int) - Method in class demo.cms.basic.CMSDemo
Creates a CMS DigestedData object.
createDigestedData(byte[], int) - Method in class demo.cms.digestedData.DigestedDataDemo
Creates a CMS DigestedData object.
createDigestedData(byte[], int) - Method in class demo.cms.digestedData.DigestedDataOutputStreamDemo
Uses the IAIK-CMS DigestedDataOutputStream class to create a CMS DigestedData object for digesting the given message.
createDigestedData(byte[], int) - Method in class demo.cms.pkcs7cms.PKCS7CMSDigestedDataDemo
Creates a CMS DigestedData object.
createDigestedDataStream(byte[], int) - Method in class demo.cms.basic.CMSDemo
Creates a CMS DigestedData object.
createDigestedDataStream(byte[], int) - Method in class demo.cms.digestedData.DigestedDataDemo
Creates a CMS DigestedData object.
createDigestedDataStream(byte[], int) - Method in class demo.cms.pkcs7cms.PKCS7CMSDigestedDataDemo
Creates a CMS DigestedData object.
createEncryptedContent(Object, String, X509Certificate, AlgorithmID, AlgorithmID, int) - Method in class demo.smime.ess.MLADemo
Creates an EncryptedContent.
createEncryptedContentInfoStream(byte[], AlgorithmID, int) - Method in class demo.cms.envelopedData.ArcFourEnvelopedDataDemo
Creates a CMS EnvelopedDataStream message.
createEncryptedContentInfoStream(byte[], AlgorithmID, int) - Method in class demo.cms.envelopedData.CAST128EnvelopedDataDemo
Creates a CMS EnvelopedDataStream message.
createEncryptedContentInfoStream(byte[], AlgorithmID, int) - Method in class demo.cms.envelopedData.RC2EnvelopedDataDemo
Creates a CMS EnvelopedDataStream message.
createEncryptedData(byte[], AlgorithmID, char[]) - Method in class demo.cms.basic.CMSDemo
Creates a CMS EncryptedData message.
createEncryptedData(byte[], AlgorithmID, char[]) - Method in class demo.cms.encryptedData.EncryptedDataDemo
Creates a CMS EncryptedData message.
createEncryptedData(byte[], char[]) - Method in class demo.cms.encryptedData.EncryptedDataOutputStreamDemo
Creates a CMS EncryptedData and wraps it into a ContentInfo.
createEncryptedData(byte[], AlgorithmID, char[]) - Method in class demo.cms.pkcs7cms.PKCS7CMSEncryptedDataDemo
Creates a CMS EncryptedData message.
createEncryptedDataStream(byte[], AlgorithmID, char[]) - Method in class demo.cms.basic.CMSDemo
Creates a CMS EncryptedDataStream message.
createEncryptedDataStream(byte[], AlgorithmID, char[]) - Method in class demo.cms.encryptedData.EncryptedDataDemo
Creates a CMS EncryptedDataStream message.
createEncryptedDataStream(byte[], AlgorithmID, char[]) - Method in class demo.cms.pkcs7cms.PKCS7CMSEncryptedDataDemo
Creates a CMS EncryptedDataStream message.
createEncryptedMessage(Session, MimeMessage, AlgorithmID, int, boolean) - Method in class demo.smime.basic.ProcessMessageDemo
Creates an encrypted message.
createEncryptedMessage(Session, AlgorithmID, int) - Method in class demo.smime.basic.SMimeDemo
Creates an encrypted message.
createEncryptedMessage(Session, AlgorithmID, int) - Method in class demo.smime.basic.SMimeEnvelopedDemoAEAD
Creates an encrypted message.
createEncryptedMessage(Session, AlgorithmID, int) - Method in class demo.smime.basic.SMimeOaepPssDemo
Creates an encrypted message.
createEncryptedMessage(Session, AlgorithmID, int) - Method in class demo.smime.basic.SMimeSendDemo
Creates an encrypted message.
createEncryptedMessage(Session, AlgorithmID, int, AlgorithmID, AlgorithmID, int) - Method in class demo.smime.basic.SMimeV3Demo
Creates an encrypted message.
createEncryptedMessage(Session, AlgorithmID, int) - Method in class demo.smime.basic.SMimeV4Demo
Creates an encrypted message.
createEncryptedMessage(Session, DataHandler, AlgorithmID, int, boolean) - Method in class demo.smime.big.BigSMimeMailDemo
Creates an encrypted message.
createEncryptedMessage(Session, AlgorithmID, int, AlgorithmID, AlgorithmID, int) - Method in class demo.smime.ecc.SMimeEccDemo
Creates an encrypted message.
createEncryptedMessage(Session, AlgorithmID, int, AlgorithmID, AlgorithmID, int, X509Certificate, X509Certificate) - Method in class demo.smime.ecc.SMimeEccSuiteBDemo
Creates an encrypted message.
createEncryptedMessage(Session, AlgorithmID, int, AlgorithmID, AlgorithmID, int, boolean, X509Certificate[]) - Method in class demo.smime.ecc.SMimeV4EccDemo
Creates an (maybe authenticated) encrypted message.
createEncryptedMessage(Session, DataHandler) - Method in class demo.smime.pkcs11.EncryptedMailDemo
Creates an encrypted message.
createEnvelopedData(byte[]) - Method in class demo.cms.basic.CMSDemo
Creates a CMS EnvelopedData message and wraps it into a ContentInfo.
createEnvelopedData(byte[]) - Method in class demo.cms.ecc.ECDHEnvelopedDataDemo
Creates a CMS EnvelopedData message.
createEnvelopedData(byte[], AlgorithmID, AlgorithmID, int) - Method in class demo.cms.ecc.EdDHEnvelopedDataDemo
Creates a CMS EnvelopedData message.
createEnvelopedData(byte[]) - Method in class demo.cms.envelopedData.EnvelopedDataDemo
Creates a CMS EnvelopedData message.
createEnvelopedData(byte[], AlgorithmID) - Method in class demo.cms.envelopedData.EnvelopedDataDemoAEAD
Creates a CMS EnvelopedData message.
createEnvelopedData(byte[]) - Method in class demo.cms.envelopedData.ExplicitEnvelopedDataDemo
Creates a CMS EnvelopedData message.
createEnvelopedData(byte[]) - Method in class demo.cms.envelopedData.OaepEnvelopedDataDemo
Creates a CMS EnvelopedData message.
createEnvelopedData(byte[], char[], AlgorithmID, AlgorithmParameterSpec, AlgorithmID, AlgorithmParameters) - Method in class demo.cms.envelopedData.PasswordRecipientInfoDemo
Creates a CMS EnvelopedData with a PasswordRecipientInfo and wraps it into a ContentInfo.
createEnvelopedData(byte[]) - Method in class demo.cms.pkcs7cms.PKCS7CMSEnvelopedDataDemo
Creates a CMS EnvelopedData message.
createEnvelopedDataOutputStream(byte[]) - Method in class demo.cms.ecc.ECDHEnvelopedDataDemo
Creates a CMS EnvelopedData message using the EnvelopedDataOutputStream class.
createEnvelopedDataOutputStream(byte[], AlgorithmID, AlgorithmID, int) - Method in class demo.cms.ecc.EdDHEnvelopedDataDemo
Creates a CMS EnvelopedData message using the EnvelopedDataOutputStream class.
createEnvelopedDataOutputStream(byte[], AlgorithmID) - Method in class demo.cms.envelopedData.EnvelopedDataDemoAEAD
Uses the EnvelopedDataOutputStream implementation to create an EnvelopedData message.
createEnvelopedDataStream(byte[]) - Method in class demo.cms.basic.CMSDemo
Creates a CMS EnvelopedData and wraps it into a ContentInfo.
createEnvelopedDataStream(byte[]) - Method in class demo.cms.ecc.ECDHEnvelopedDataDemo
Creates a CMS EnvelopedDataStream message.
createEnvelopedDataStream(byte[], AlgorithmID, AlgorithmID, int) - Method in class demo.cms.ecc.EdDHEnvelopedDataDemo
Creates a CMS EnvelopedDataStream message.
createEnvelopedDataStream(byte[], AlgorithmID, int) - Method in class demo.cms.envelopedData.ArcFourEnvelopedDataDemo
Creates a CMS EnvelopedDataStream message.
createEnvelopedDataStream(byte[], AlgorithmID, int) - Method in class demo.cms.envelopedData.CAST128EnvelopedDataDemo
Creates a CMS EnvelopedDataStream message.
createEnvelopedDataStream(byte[], AlgorithmID, int) - Method in class demo.cms.envelopedData.EncryptedContentInfoDemo
Creates a CMS EnvelopedDataStream message.
createEnvelopedDataStream(byte[]) - Method in class demo.cms.envelopedData.EnvelopedDataDemo
Creates a CMS EnvelopedDataStream message.
createEnvelopedDataStream(byte[], AlgorithmID) - Method in class demo.cms.envelopedData.EnvelopedDataDemoAEAD
Creates a CMS EnvelopedDataStream message.
createEnvelopedDataStream(byte[]) - Method in class demo.cms.envelopedData.EnvelopedDataOutputStreamDemo
Creates a CMS EnvelopedData and wraps it into a ContentInfo.
createEnvelopedDataStream(byte[]) - Method in class demo.cms.envelopedData.ExplicitEnvelopedDataDemo
Creates a CMS EnvelopedDataStream message.
createEnvelopedDataStream(byte[]) - Method in class demo.cms.envelopedData.OaepEnvelopedDataDemo
Creates a CMS EnvelopedDataStream message.
createEnvelopedDataStream(byte[], char[], AlgorithmID, AlgorithmParameterSpec, AlgorithmID, AlgorithmParameters) - Method in class demo.cms.envelopedData.PasswordRecipientInfoDemo
Creates a CMS EnvelopedData with a PasswordRecipientInfo and wraps it into a ContentInfo (stream implementation).
createEnvelopedDataStream(byte[], AlgorithmID, int) - Method in class demo.cms.envelopedData.RC2EnvelopedDataDemo
Creates a CMS EnvelopedDataStream message.
createEnvelopedDataStream(byte[], AlgorithmID, int) - Method in class demo.cms.pkcs7cms.PKCS7CMSEncryptedContentInfoDemo
Creates a CMS EnvelopedDataStream message.
createEnvelopedDataStream(byte[]) - Method in class demo.cms.pkcs7cms.PKCS7CMSEnvelopedDataDemo
Creates a CMS EnvelopedDataStream message.
createMessage(Session, String) - Method in class demo.smime.basic.ProcessMessageDemo
Creates a MIME message container with the given subject for the given session.
createMessage(Session, String) - Method in class demo.smime.basic.SMimeDemo
Creates a MIME message container with the given subject for the given session.
createMessage(Session, String) - Method in class demo.smime.basic.SMimeEnvelopedDemoAEAD
Creates a MIME message container with the given subject for the given session.
createMessage(Session, String) - Method in class demo.smime.basic.SMimeOaepPssDemo
Creates a MIME message container with the given subject for the given session.
createMessage(Session, String) - Method in class demo.smime.basic.SMimeSendDemo
Creates a MIME message container with the given subject for the given session.
createMessage(Session, String) - Method in class demo.smime.basic.SMimeV3Demo
Creates a MIME message container with the given subject for the given session.
createMessage(Session, String) - Method in class demo.smime.basic.SMimeV3SHA2withDSADemo
Creates a MIME message container with the given subject for the given session.
createMessage(Session, String) - Method in class demo.smime.basic.SMimeV4Demo
Creates a MIME message container with the given subject for the given session.
createMessage(Session, String) - Method in class demo.smime.big.BigSMimeMailDemo
Creates a MIME message container with the given subject for the given session.
createMessage(Session, String) - Method in class demo.smime.ecc.SMimeEccDemo
Creates a MIME message container with the given subject for the given session.
createMessage(Session, String) - Method in class demo.smime.ecc.SMimeEccSuiteBDemo
Creates a MIME message container with the given subject for the given session.
createMessage(Session, String) - Method in class demo.smime.ecc.SMimeV4EccDemo
Creates a MIME message container with the given subject for the given session.
createMessage(Session, String, String) - Method in class demo.smime.ess.MLADemo
Creates a new MimeMessage without content and sets the From:, To:, and Date: headers.
createMessage(Session, String) - Method in class demo.smime.ess.SecurityLabelDemo
Creates a MIME message container with the given subject for the given session.
createMessage(Session, String, String, String) - Method in class demo.smime.ess.SignedReceiptDemo
Creates a MimeMessage.
createMessage(Session, String) - Method in class demo.smime.ess.TripleWrappingDemo
Creates a MIME message container with the given subject for the given session.
createMessageWithSignedReceipt(Session, Message) - Method in class demo.smime.ess.SignedReceiptDemo
Creates a signed-receipt message from the received message.
createMLExpansionHistory(X509Certificate, Date, MLReceiptPolicy) - Static method in class demo.smime.ess.MLADemo
Creates a MLExpansionHistory containing only one MLData for the given MLA with given expansion time and MLReceiptPolicy.
createMLExpansionHistory(X509Certificate, Date, String) - Static method in class demo.smime.ess.SignedReceiptDemo
Creates a MLExpansionHistory containing only one MLData for the given MLA with given expansion time and a MLReceiptPolicy of type IN_ADDITION_TO for the given mlaEmailAddress.
createParamSpec(String) - Static method in class demo.cms.ecc.ECCDemoUtil
Creates an EC AlgorithmParameterSpec for the given curve name.
createPKCS10Message(Session) - Method in class demo.smime.basic.SMimeDemo
Creates a PKCS#10 certificate request message.
createPKCS10Message(Session) - Method in class demo.smime.basic.SMimeSendDemo
Creates a PKCS#10 certificate request message.
createPKCS10Message(Session) - Method in class demo.smime.basic.SMimeV3Demo
Creates a PKCS#10 certificate request message.
createPKCS10Message(Session) - Method in class demo.smime.basic.SMimeV4Demo
Creates a PKCS#10 certificate request message.
createPKCS10MultiPartMessage(Session) - Method in class demo.smime.basic.SMimeDemo
Creates a PKCS#10 message where the certificate request is transferred as attachment.
createPKCS10MultiPartMessage(Session) - Method in class demo.smime.basic.SMimeSendDemo
Creates a PKCS#10 message where the certificate request is transferred as attachment.
createPKCS10MultiPartMessage(Session) - Method in class demo.smime.basic.SMimeV3Demo
Creates a PKCS#10 message where the certificate request is transferred as attachment.
createPKCS10MultiPartMessage(Session) - Method in class demo.smime.basic.SMimeV4Demo
Creates a PKCS#10 message where the certificate request is transferred as attachment.
createPKCS7Data(byte[]) - Method in class demo.cms.pkcs7cms.PKCS7CMSDataDemo
Creates a PKCS#7 Data object.
createPKCS7DataStream(byte[]) - Method in class demo.cms.pkcs7cms.PKCS7CMSDataDemo
Creates a PKCS#7 Data object.
createPKCS7DigestedData(byte[], int) - Method in class demo.cms.pkcs7cms.PKCS7CMSDigestedDataDemo
Creates a PKCS#7 DigestedData object.
createPKCS7DigestedDataStream(byte[], int) - Method in class demo.cms.pkcs7cms.PKCS7CMSDigestedDataDemo
Creates a PKCS#7 DigestedData object.
createPKCS7EncryptedData(byte[], AlgorithmID, char[]) - Method in class demo.cms.pkcs7cms.PKCS7CMSEncryptedDataDemo
Creates a PKCS#7 EncryptedData message.
createPKCS7EncryptedDataStream(byte[], AlgorithmID, char[]) - Method in class demo.cms.pkcs7cms.PKCS7CMSEncryptedDataDemo
Creates a PKCS#7 EncryptedDataStream message.
createPKCS7EnvelopedData(byte[]) - Method in class demo.cms.pkcs7cms.PKCS7CMSEnvelopedDataDemo
Creates a PKCS#7 EnvelopedData message.
createPKCS7EnvelopedDataStream(byte[], AlgorithmID, int) - Method in class demo.cms.pkcs7cms.PKCS7CMSEncryptedContentInfoDemo
Creates a PKCS#7 EnvelopedDataStream message.
createPKCS7EnvelopedDataStream(byte[]) - Method in class demo.cms.pkcs7cms.PKCS7CMSEnvelopedDataDemo
Creates a PKCS#7 EnvelopedDataStream message.
createPKCS7SignedData(byte[], int) - Method in class demo.cms.pkcs7cms.PKCS7CMSSignedDataDemo
Creates a PKCS#7 SignedData object.
createPKCS7SignedDataStream(byte[], int) - Method in class demo.cms.pkcs7cms.PKCS7CMSSignedDataDemo
Creates a PKCS#7 SignedData object.
createPlainMessage(Session, DataHandler) - Method in class demo.smime.basic.ProcessMessageDemo
Creates a simple plain (neither signed nor encrypted) message.
createPlainMessage(Session, DataHandler) - Method in class demo.smime.basic.SMimeDemo
Creates a simple plain (neither signed nor encrypted) message.
createPlainMessage(Session, DataHandler) - Method in class demo.smime.basic.SMimeEnvelopedDemoAEAD
Creates a simple plain (neither signed nor encrypted) message.
createPlainMessage(Session, DataHandler) - Method in class demo.smime.basic.SMimeOaepPssDemo
Creates a simple plain (neither signed nor encrypted) message.
createPlainMessage(Session, DataHandler) - Method in class demo.smime.basic.SMimeSendDemo
Creates a simple plain (neither signed nor encrypted) message.
createPlainMessage(Session, DataHandler) - Method in class demo.smime.basic.SMimeV3Demo
Creates a simple plain (neither signed nor encrypted) message.
createPlainMessage(Session, DataHandler) - Method in class demo.smime.basic.SMimeV4Demo
Creates a simple plain (neither signed nor encrypted) message.
createPssAlgorithmID(AlgorithmID, AlgorithmID, int) - Static method in class demo.cms.signedData.PssSignedDataDemo
Creates an RSA-PSS AlgorithmID with the supplied parameters (hash algorithm id, mask generation function, salt length).
createPssAlgorithmID(AlgorithmID, AlgorithmID, int) - Static method in class demo.DemoUtil
Creates a RSA-PSS AlgorithmID with the supplied parameters (hash algorithm id, mask generation function, salt length).
createReceiptRequest(PublicKey, Date, String) - Method in class demo.smime.ess.SignedReceiptDemo
Creates a ReceiptRequest attribute to request all recipients to send a signed receipt to the entity to the given email address.
createRecipients() - Method in class demo.cms.authenticatedData.AuthenticatedDataDemo
Creates the RecipientInfos.
createRecipients() - Method in class demo.cms.authenticatedData.AuthenticatedDataOutputStreamDemo
Creates the RecipientInfos.
createRecipients() - Method in class demo.cms.authEnvelopedData.AuthEnvelopedDataDemo
Creates the RecipientInfos.
createRecipients() - Method in class demo.cms.ecc.ECDHEnvelopedDataDemo
Creates the RecipientInfos.
createRecipients(AlgorithmID, X509Certificate, X509Certificate) - Method in class demo.cms.ecc.EckaEGAuthEnvelopedDataDemo
Creates the RecipientInfos.
createRecipients(AlgorithmID, AlgorithmID, int) - Method in class demo.cms.ecc.EdDHAuthenticatedDataDemo
Creates the RecipientInfos.
createRecipients(AlgorithmID, AlgorithmID, int) - Method in class demo.cms.ecc.EdDHAuthEnvelopedDataDemo
Creates the RecipientInfos.
createRecipients(AlgorithmID, AlgorithmID, int) - Method in class demo.cms.ecc.EdDHEnvelopedDataDemo
Creates the RecipientInfos.
createRecipients() - Method in class demo.cms.ecc.StaticStaticECDHDemo
Creates the RecipientInfos.
createRecipients() - Method in class demo.cms.envelopedData.EnvelopedDataDemo
Creates the RecipientInfos.
createRecipients() - Method in class demo.cms.envelopedData.EnvelopedDataDemoAEAD
Creates the RecipientInfos.
createRecipients() - Method in class demo.cms.envelopedData.ExplicitEnvelopedDataDemo
Creates the RecipientInfos.
createRequest(SignerInfo, ObjectID) - Static method in class demo.cms.tsp.TSPDemoUtils
Creates a TimeStampRequest for the given SignerInfo.
createSignedAndEncryptedData(byte[]) - Method in class demo.cms.basic.CMSDemo
Creates a SignedAndEncrypted (i.e. sequential combination of SignedData and EnvelopedData) object.
createSignedAndEncryptedDataStream(byte[]) - Method in class demo.cms.basic.CMSDemo
Creates a SignedAndEncrypted (i.e. sequential combination of SignedData and EnvelopedData).
createSignedAndEncryptedMessage(Session, MimeMessage, boolean, boolean) - Method in class demo.smime.basic.ProcessMessageDemo
Creates a signed and encrypted message.
createSignedAndEncryptedMessage(Session, AlgorithmID, DataHandler, boolean) - Method in class demo.smime.basic.SMimeDemo
Creates a signed and encrypted message.
createSignedAndEncryptedMessage(Session, AlgorithmID, int, DataHandler, boolean, boolean) - Method in class demo.smime.basic.SMimeEnvelopedDemoAEAD
Creates a signed and encrypted message.
createSignedAndEncryptedMessage(Session, DataHandler, boolean) - Method in class demo.smime.basic.SMimeOaepPssDemo
Creates a signed and encrypted message.
createSignedAndEncryptedMessage(Session, DataHandler, boolean) - Method in class demo.smime.basic.SMimeSendDemo
Creates a signed and encrypted message.
createSignedAndEncryptedMessage(Session, AlgorithmID, DataHandler, boolean) - Method in class demo.smime.basic.SMimeV3Demo
Creates a signed and encrypted message.
createSignedAndEncryptedMessage(Session, AlgorithmID, int, DataHandler, boolean, boolean) - Method in class demo.smime.basic.SMimeV4Demo
Creates a signed and encrypted message.
createSignedAndEncryptedMessage(Session, DataHandler, AlgorithmID, int, boolean, boolean) - Method in class demo.smime.big.BigSMimeMailDemo
Creates a signed and encrypted message.
createSignedAndEncryptedMessage(Session, DataHandler, boolean, AlgorithmID, AlgorithmID) - Method in class demo.smime.ecc.SMimeEccDemo
Creates a signed and encrypted message.
createSignedAndEncryptedMessage(Session, DataHandler, boolean, AlgorithmID, AlgorithmID, PrivateKey, X509Certificate[], X509Certificate, AlgorithmID, int, AlgorithmID, AlgorithmID, int, X509Certificate) - Method in class demo.smime.ecc.SMimeEccSuiteBDemo
Creates a signed and encrypted message.
createSignedAndEncryptedMessage(Session, AlgorithmID, AlgorithmID, AlgorithmID, int, AlgorithmID, AlgorithmID, int, DataHandler, boolean, boolean, PrivateKey, X509Certificate[], X509Certificate[]) - Method in class demo.smime.ecc.SMimeV4EccDemo
Creates a signed and (maybe authenticated) encrypted message.
createSignedContent(Object, String, boolean, X509Certificate[], PrivateKey, AlgorithmID, AlgorithmID, MLExpansionHistory) - Method in class demo.smime.ess.MLADemo
Creates a SignedContent.
createSignedData(byte[], int) - Method in class demo.cms.basic.CMSDemo
Creates a CMS SignedData object and wraps it into a ContentInfo.
createSignedData(byte[], int, AlgorithmID, AlgorithmID, PrivateKey, X509Certificate[]) - Method in class demo.cms.ecc.ECDSASignedDataDemo
Creates an ECDSA signed CMS SignedData object and wraps it by a CMS ContentInfo object.
createSignedData(byte[], int, AlgorithmID, AlgorithmID, PrivateKey, X509Certificate[]) - Method in class demo.cms.ecc.EckaEGAuthEnvelopedDataDemo
Creates an ECDSA signed CMS SignedData object and wraps it by a CMS ContentInfo object.
createSignedData(byte[], int, AlgorithmID, AlgorithmID, PrivateKey, X509Certificate[]) - Method in class demo.cms.ecc.EdDSASignedDataDemo
Creates an EdDSA signed CMS SignedData object and wraps it by a CMS ContentInfo object.
createSignedData(byte[], int) - Method in class demo.cms.pkcs7cms.PKCS7CMSSignedDataDemo
Creates a CMS SignedData object.
createSignedData(byte[], int) - Method in class demo.cms.signedData.CounterSignatureDemo
Creates a CMS SignedData object.
createSignedData(byte[], int) - Method in class demo.cms.signedData.PssSignedDataDemo
Creates a CMS SignedData object.
createSignedData(byte[], int) - Method in class demo.cms.signedData.SHA2withDSASignedDataDemo
Creates a CMS SignedData object.
createSignedData(byte[], int) - Method in class demo.cms.signedData.SignedDataDemo
Creates a CMS SignedData object.
createSignedData(byte[], int) - Method in class demo.cms.tsp.TimeStampDemo
Creates a CMS SignedData object and adds a TimeStampToken as unsigned attribute.
createSignedData(byte[], int) - Method in class demo.smime.ess.SigningCertificateDemo
Creates a CMS SignedData object.
createSignedDataStream(byte[], int) - Method in class demo.cms.basic.CMSDemo
Creates a CMS SignedData object ans wraps it into a ContentInfo.
createSignedDataStream(byte[], int, AlgorithmID, AlgorithmID, PrivateKey, X509Certificate[]) - Method in class demo.cms.ecc.ECDSASignedDataDemo
Creates an ECDSA signed CMS SignedDataStream object and wraps it by a CMS ContentInfoStream.
createSignedDataStream(byte[], int, AlgorithmID, AlgorithmID, PrivateKey, X509Certificate[]) - Method in class demo.cms.ecc.ECDSASignedDataOutputStreamDemo
Creates an ECDSA signed CMS SignedDataStream object and wraps it by a CMS ContentInfoStream.
createSignedDataStream(byte[], int, AlgorithmID, AlgorithmID, PrivateKey, X509Certificate[]) - Method in class demo.cms.ecc.EckaEGAuthEnvelopedDataDemo
Creates an ECDSA signed CMS SignedDataStream object and wraps it by a CMS ContentInfoStream.
createSignedDataStream(byte[], int, AlgorithmID, AlgorithmID, PrivateKey, X509Certificate[]) - Method in class demo.cms.ecc.EdDSASignedDataDemo
Creates an EdDSA signed CMS SignedDataStream object and wraps it by a CMS ContentInfoStream.
createSignedDataStream(byte[], int, AlgorithmID, AlgorithmID, PrivateKey, X509Certificate[]) - Method in class demo.cms.ecc.EdDSASignedDataOutputStreamDemo
Creates an EdDSA signed CMS SignedDataOutputStream object and wraps it by a CMS ContentInfoOutputStream.
createSignedDataStream(byte[], int) - Method in class demo.cms.pkcs7cms.PKCS7CMSSignedDataDemo
Creates a CMS SignedData object.
createSignedDataStream(byte[], int) - Method in class demo.cms.signedData.CounterSignatureDemo
Creates a CMS SignedData object.
createSignedDataStream(byte[], int) - Method in class demo.cms.signedData.PssSignedDataDemo
Creates a CMS SignedData object.
createSignedDataStream(byte[], int) - Method in class demo.cms.signedData.SHA2withDSASignedDataDemo
Creates a CMS SignedData object.
createSignedDataStream(byte[], int) - Method in class demo.cms.signedData.SignedDataDemo
Creates a CMS SignedData object.
createSignedDataStream(byte[], int) - Method in class demo.cms.signedData.SignedDataInOutStreamDemoWithAdditionalSignerInfo
Creates a CMS SignedData object.
createSignedDataStream(byte[], int) - Method in class demo.cms.signedData.SignedDataOutputStreamDemo
Creates and encodes a CMS SignedData object.
createSignedDataStream(byte[], int) - Method in class demo.cms.signedData.SignedDataStreamDemoWithAdditionalSignerInfo
Creates a CMS SignedData object.
createSignedDataStream(byte[], int) - Method in class demo.cms.tsp.TimeStampDemo
Creates a CMS SignedData object (stream version) and adds a TimeStampToken as unsigned attribute.
createSignedDataStream(byte[], int) - Method in class demo.smime.ess.SigningCertificateDemo
Creates a CMS SignedData object.
createSignedMessage(Session, DataHandler) - Method in class demo.smime.basic.BinarySignedDemo
Creates a signed message.
createSignedMessage(Session, MimeMessage, boolean, boolean) - Method in class demo.smime.basic.ProcessMessageDemo
Creates a signed message.
createSignedMessage(Session, DataHandler, boolean) - Method in class demo.smime.basic.SMimeDemo
Creates a signed message.
createSignedMessage(Session, DataHandler, boolean, AlgorithmID, AlgorithmID) - Method in class demo.smime.basic.SMimeEnvelopedDemoAEAD
Creates a signed message.
createSignedMessage(Session, DataHandler, boolean) - Method in class demo.smime.basic.SMimeOaepPssDemo
Creates a signed message.
createSignedMessage(Session, DataHandler, boolean) - Method in class demo.smime.basic.SMimeSendDemo
Creates a signed message.
createSignedMessage(Session, DataHandler, boolean, AlgorithmID, AlgorithmID) - Method in class demo.smime.basic.SMimeV3Demo
Creates a signed message.
createSignedMessage(Session, DataHandler, boolean, AlgorithmID, AlgorithmID) - Method in class demo.smime.basic.SMimeV3SHA2withDSADemo
Creates a signed message.
createSignedMessage(Session, DataHandler, boolean, AlgorithmID, AlgorithmID) - Method in class demo.smime.basic.SMimeV4Demo
Creates a signed message.
createSignedMessage(Session, DataHandler, boolean) - Method in class demo.smime.big.BigSMimeMailDemo
Creates a signed message.
createSignedMessage(Session, DataHandler, boolean, AlgorithmID, AlgorithmID) - Method in class demo.smime.ecc.SMimeEccDemo
Creates a signed message.
createSignedMessage(Session, DataHandler, boolean, AlgorithmID, AlgorithmID, PrivateKey, X509Certificate[], X509Certificate) - Method in class demo.smime.ecc.SMimeEccSuiteBDemo
Creates a signed message.
createSignedMessage(Session, DataHandler, boolean, AlgorithmID, AlgorithmID, PrivateKey, X509Certificate[]) - Method in class demo.smime.ecc.SMimeV4EccDemo
Creates a signed message.
createSignedMessage(Session) - Method in class demo.smime.ess.SecurityLabelDemo
Creates a signed message containing an ESS SecurityLabel attribute.
createSignedMessage(Session, DataHandler, boolean) - Method in class demo.smime.pkcs11.SignedMailDemo
Creates a signed message.
createSignedMessageWithReceiptRequest(Session, boolean, OutputStream) - Method in class demo.smime.ess.SignedReceiptDemo
Creates a signed message that contains a ReceiptRequest attribute.
createSignerInfo(X509Certificate) - Method in class demo.cms.pkcs11.SignedDataStreamDemo
This method creates a SignerInfo for the given signer certificate.
createSigningCertificate(Certificate[]) - Method in class demo.smime.ess.SigningCertificateDemo
Creates a SigningCertificate attribute for the given certificates.
createSigningCertificate(Certificate[]) - Method in class demo.smime.ess.SigningCertificateV2Demo
Creates a SigningCertificateV2 attribute for the given certificates.

D

DataDemo - Class in demo.cms.data
Shows the usage of the IAIK-CMS Data(Stream) implementation.
DataDemo() - Constructor for class demo.cms.data.DataDemo
Default constructor.
DataOutputStreamDemo - Class in demo.cms.data
Demonstrates the usage of class DataOutputStream.
DataOutputStreamDemo() - Constructor for class demo.cms.data.DataOutputStreamDemo
Default constructor.
decrypt(String, String, char[]) - Method in class demo.cms.envelopedData.FileEncryptionDemo
Uses the given password to decrypt the contents from inFile and write the it to outFile.
decrypt(byte[]) - Method in class demo.cms.pkcs11.EnvelopedDataStreamDemo
This method decrypts the data from the provided CMS EnvelopedData.
decrypt(EncryptedContent, PrivateKey, X509Certificate) - Method in class demo.smime.ess.MLADemo
Decrypts the encrypted content with the given key of the identified recipient.
decryptKey(byte[], AlgorithmID, PrivateKey, String) - Method in class demo.cms.pkcs11.IaikPkcs11SecurityProvider
Decrypts the given encrypted content encryption key for a KeyTransRecipientInfo.
demo - package demo
 
demo.cms.authenticatedData - package demo.cms.authenticatedData
 
demo.cms.authEnvelopedData - package demo.cms.authEnvelopedData
 
demo.cms.basic - package demo.cms.basic
 
demo.cms.compressedData - package demo.cms.compressedData
 
demo.cms.data - package demo.cms.data
 
demo.cms.digestedData - package demo.cms.digestedData
 
demo.cms.ecc - package demo.cms.ecc
 
demo.cms.ecc.keystore - package demo.cms.ecc.keystore
 
demo.cms.encryptedData - package demo.cms.encryptedData
 
demo.cms.envelopedData - package demo.cms.envelopedData
 
demo.cms.pkcs11 - package demo.cms.pkcs11
 
demo.cms.pkcs7cms - package demo.cms.pkcs7cms
 
demo.cms.signedAndEnvelopedData - package demo.cms.signedAndEnvelopedData
 
demo.cms.signedData - package demo.cms.signedData
 
demo.cms.tsp - package demo.cms.tsp
 
demo.keystore - package demo.keystore
 
demo.smime - package demo.smime
 
demo.smime.basic - package demo.smime.basic
 
demo.smime.big - package demo.smime.big
 
demo.smime.ecc - package demo.smime.ecc
 
demo.smime.ess - package demo.smime.ess
 
demo.smime.pkcs11 - package demo.smime.pkcs11
 
DEMO_DEBUG - Static variable in class demo.DemoUtil
Debug flag for all demos
DemoAll - Class in demo
This class runs all available demos.
DemoAll() - Constructor for class demo.DemoAll
 
DemoPkcs11All - Class in demo
This class runs all CMS/SMIME PKCS#11 demos.
DemoPkcs11All() - Constructor for class demo.DemoPkcs11All
 
DemoSMimeUtil - Class in demo
Some basic utility methods used by the S/MIME demos.
DemoUtil - Class in demo
Some basic utility methods used by the demos.
DigestedDataDemo - Class in demo.cms.digestedData
Demonstrates the usage of class DigestedDataStream and DigestedData for digesting data using the CMS type DigestedData.
DigestedDataDemo() - Constructor for class demo.cms.digestedData.DigestedDataDemo
Default constructor.
DigestedDataOutputStreamDemo - Class in demo.cms.digestedData
Demonstrates the usage of class DigestedDataOutputStream and DigestedData for digesting data using the CMS type DigestedData.
DigestedDataOutputStreamDemo() - Constructor for class demo.cms.digestedData.DigestedDataOutputStreamDemo
Default constructor.
DSA - Static variable in class demo.keystore.CMSKeyStore
 
DSA_1024 - Static variable in interface demo.keystore.CMSKeyStoreConstants
 
DSA_2048 - Static variable in interface demo.keystore.CMSKeyStoreConstants
 
DSA_3072 - Static variable in interface demo.keystore.CMSKeyStoreConstants
 
dump(Object) - Method in class demo.smime.basic.SMimeShowDemo
Dumps the given object (message).
dump(Object) - Method in class demo.smime.DumpMessage
Dumps the given object (message, part,...) to System.out.
dumpAuthEncrypted(AuthEncryptedContent, KeyIdentifier) - Method in class demo.smime.DumpMessage
Dumps the given authenticated encrypted content.
dumpContent(DataHandler) - Method in class demo.smime.ess.MLADemo
Dumps the content of the original multipart message.
dumpEncrypted(EncryptedContent, KeyIdentifier) - Method in class demo.smime.DumpMessage
Dumps the given encrypted content.
dumpEncrypted(EncryptedContent, KeyIdentifier, PrivateKey) - Method in class demo.smime.DumpMessage
Dumps the given encrypted content for the recipient identified by the given recipient key id using the given private recipient decryption key.
dumpEncryptedMessage(Message) - Static method in class demo.smime.DumpMessage
Dumps the given encrypted message and decrypts the content for the several recipients.
dumpEnvelope(Message) - Static method in class demo.smime.basic.SMimeShowDemo
Prints the envelope of a message.
dumpEnvelope(Message) - Method in class demo.smime.DumpMessage
Prints the envelope of a message.
DumpMessage - Class in demo.smime
Simple utility for dumping a message to System.out.
DumpMessage() - Constructor for class demo.smime.DumpMessage
Default constructor.
dumpMsg(Message) - Static method in class demo.smime.DumpMessage
Dumps the given message to System.out.
dumpPKCS10(PKCS10Content) - Method in class demo.smime.DumpMessage
Dumps the given PKCS#10 content.
dumpReceiptContent(ReceiptContent) - Method in class demo.smime.DumpMessage
Dumps the given signed receipt.
dumpSigned(SignedContent) - Method in class demo.smime.DumpMessage
Dumps the given signed content.

E

ECCDemoUtil - Class in demo.cms.ecc
Some utilities for the ECC demos.
ECCDemoUtil() - Constructor for class demo.cms.ecc.ECCDemoUtil
 
ECDH - Static variable in class demo.cms.ecc.keystore.CMSEccKeyStore
 
ECDH_192_1 - Static variable in interface demo.cms.ecc.keystore.CMSEccKeyStoreConstants
 
ECDH_192_2 - Static variable in interface demo.cms.ecc.keystore.CMSEccKeyStoreConstants
 
ECDH_224_1 - Static variable in interface demo.cms.ecc.keystore.CMSEccKeyStoreConstants
 
ECDH_224_2 - Static variable in interface demo.cms.ecc.keystore.CMSEccKeyStoreConstants
 
ECDH_256_1 - Static variable in interface demo.cms.ecc.keystore.CMSEccKeyStoreConstants
 
ECDH_256_2 - Static variable in interface demo.cms.ecc.keystore.CMSEccKeyStoreConstants
 
ECDH_384_1 - Static variable in interface demo.cms.ecc.keystore.CMSEccKeyStoreConstants
 
ECDH_384_2 - Static variable in interface demo.cms.ecc.keystore.CMSEccKeyStoreConstants
 
ECDH_521_1 - Static variable in interface demo.cms.ecc.keystore.CMSEccKeyStoreConstants
 
ECDH_521_2 - Static variable in interface demo.cms.ecc.keystore.CMSEccKeyStoreConstants
 
ECDH_BRAINPOOL_192_1 - Static variable in interface demo.cms.ecc.keystore.CMSEccKeyStoreConstants
 
ECDH_BRAINPOOL_192_2 - Static variable in interface demo.cms.ecc.keystore.CMSEccKeyStoreConstants
 
ECDH_BRAINPOOL_224_1 - Static variable in interface demo.cms.ecc.keystore.CMSEccKeyStoreConstants
 
ECDH_BRAINPOOL_224_2 - Static variable in interface demo.cms.ecc.keystore.CMSEccKeyStoreConstants
 
ECDH_BRAINPOOL_256_1 - Static variable in interface demo.cms.ecc.keystore.CMSEccKeyStoreConstants
 
ECDH_BRAINPOOL_256_2 - Static variable in interface demo.cms.ecc.keystore.CMSEccKeyStoreConstants
 
ECDH_BRAINPOOL_384_1 - Static variable in interface demo.cms.ecc.keystore.CMSEccKeyStoreConstants
 
ECDH_BRAINPOOL_384_2 - Static variable in interface demo.cms.ecc.keystore.CMSEccKeyStoreConstants
 
ECDH_BRAINPOOL_512_1 - Static variable in interface demo.cms.ecc.keystore.CMSEccKeyStoreConstants
 
ECDH_BRAINPOOL_512_2 - Static variable in interface demo.cms.ecc.keystore.CMSEccKeyStoreConstants
 
ECDH_X25519 - Static variable in interface demo.cms.ecc.keystore.CMSEccKeyStoreConstants
 
ECDH_X448 - Static variable in interface demo.cms.ecc.keystore.CMSEccKeyStoreConstants
 
ECDHAuthenticatedDataDemo - Class in demo.cms.ecc
Demonstrates the usage of class AuthenticatedDataStream, AuthenticatedData and AuthenticatedDataOutputStream for authenticated encrypting data using the CMS type AuthenticatedData by using Static-Static ECDH according to 6278 as key agreement method.
ECDHAuthenticatedDataDemo() - Constructor for class demo.cms.ecc.ECDHAuthenticatedDataDemo
Setup the demo certificate chains.
ECDHAuthEnvelopedDataDemo - Class in demo.cms.ecc
Demonstrates the usage of class AuthEnvelopedDataStream, AuthEnvelopedData and AuthEnvelopedDataOutputStream for authenticated encrypting data using the CMS type AuthEnvelopedData by using Static-Static ECDH according to 6278 as key agreement method.
ECDHAuthEnvelopedDataDemo() - Constructor for class demo.cms.ecc.ECDHAuthEnvelopedDataDemo
Setup the demo certificate chains.
ECDHEnvelopedDataDemo - Class in demo.cms.ecc
Demonstrates the usage of class EnvelopedDataStream and EnvelopedData for encrypting data using the CMS type EnvelopedData by using Ephemeral-Static ECDH according to 3278 as key agreement method.
ECDHEnvelopedDataDemo() - Constructor for class demo.cms.ecc.ECDHEnvelopedDataDemo
Setup the demo certificate chains.
ECDSA - Static variable in class demo.cms.ecc.keystore.CMSEccKeyStore
 
ECDSA_192 - Static variable in interface demo.cms.ecc.keystore.CMSEccKeyStoreConstants
 
ECDSA_224 - Static variable in interface demo.cms.ecc.keystore.CMSEccKeyStoreConstants
 
ECDSA_256 - Static variable in interface demo.cms.ecc.keystore.CMSEccKeyStoreConstants
 
ECDSA_384 - Static variable in interface demo.cms.ecc.keystore.CMSEccKeyStoreConstants
 
ECDSA_521 - Static variable in interface demo.cms.ecc.keystore.CMSEccKeyStoreConstants
 
ECDSA_BRAINPOOL_192 - Static variable in interface demo.cms.ecc.keystore.CMSEccKeyStoreConstants
 
ECDSA_BRAINPOOL_224 - Static variable in interface demo.cms.ecc.keystore.CMSEccKeyStoreConstants
 
ECDSA_BRAINPOOL_256 - Static variable in interface demo.cms.ecc.keystore.CMSEccKeyStoreConstants
 
ECDSA_BRAINPOOL_384 - Static variable in interface demo.cms.ecc.keystore.CMSEccKeyStoreConstants
 
ECDSA_BRAINPOOL_512 - Static variable in interface demo.cms.ecc.keystore.CMSEccKeyStoreConstants
 
ECDSASignedDataDemo - Class in demo.cms.ecc
This class demonstrates the IAIK-CMS SignedData(Stream) implementation with the ECDSA (with SHA1, SHA224, SHA256, SHA384, SHA512, RIPEMD160) signature algorithm.
ECDSASignedDataDemo() - Constructor for class demo.cms.ecc.ECDSASignedDataDemo
Default Constructor.
ECDSASignedDataOutputStreamDemo - Class in demo.cms.ecc
This class demonstrates the IAIK-CMS SignedDataOutputStream implementation with the ECDSA (with SHA1, SHA224, SHA256, SHA384, SHA512, RIPEMD160) signature algorithm.
ECDSASignedDataOutputStreamDemo() - Constructor for class demo.cms.ecc.ECDSASignedDataOutputStreamDemo
Default Constructor.
EckaEGAuthEnvelopedDataDemo - Class in demo.cms.ecc
Demonstrates the usage of class SignedDataStream and SignedData, and AuthEnvelopedDataStream and AuthEnvelopedData according to the BSI Technical Recommendation EckaEGAuthEnvelopedDataDemo() - Constructor for class demo.cms.ecc.EckaEGAuthEnvelopedDataDemo
Setup the demo certificate chains.
EdDHAuthenticatedDataDemo - Class in demo.cms.ecc
Demonstrates the usage of class AuthenticatedDataStream, AuthenticatedData and AuthenticatedDataOutputStream for authenticated data with the CMS content type AuthenticatedData using the Elliptic Curve Diffie-Hellman (ECDH) key agreement algorithm with curve25519 and curve448 according to RFC 5652 and RFC 8418.
EdDHAuthenticatedDataDemo() - Constructor for class demo.cms.ecc.EdDHAuthenticatedDataDemo
Setup the demo certificate chains.
EdDHAuthEnvelopedDataDemo - Class in demo.cms.ecc
Demonstrates the usage of class AuthEnvelopedDataStream, AuthEnvelopedData and AuthEnvelopedDataOutputStream for authenticated encrypting data with the CMS content type AuthEnvelopedData using the Elliptic Curve Diffie-Hellman (ECDH) key agreement algorithm with curve25519 and curve448 according to RFC 5083 and RFC 8418.
EdDHAuthEnvelopedDataDemo() - Constructor for class demo.cms.ecc.EdDHAuthEnvelopedDataDemo
Setup the demo certificate chains.
EdDHEnvelopedDataDemo - Class in demo.cms.ecc
Demonstrates the usage of class EnvelopedDataStream, EnvelopedData and EnvelopedDataOutputStream for encrypting data using the CMS type EnvelopedData by using the Ephemeral-Static ECDH Elliptic Curve Diffie-Hellman (ECDH) key agreement algorithm with curve25519 and curve448 in the Cryptographic Message Syntax (CMS) according to RFC 8418.
EdDHEnvelopedDataDemo() - Constructor for class demo.cms.ecc.EdDHEnvelopedDataDemo
Setup the demo certificate chains.
EDDSA_ED25519 - Static variable in interface demo.cms.ecc.keystore.CMSEccKeyStoreConstants
 
EDDSA_ED448 - Static variable in interface demo.cms.ecc.keystore.CMSEccKeyStoreConstants
 
EdDSASignedDataDemo - Class in demo.cms.ecc
This class demonstrates the IAIK-CMS SignedData(Stream) implementation with the EdDSA (Ed25519, Ed448) signature algorithm.
EdDSASignedDataDemo() - Constructor for class demo.cms.ecc.EdDSASignedDataDemo
Default Constructor.
EdDSASignedDataOutputStreamDemo - Class in demo.cms.ecc
This class demonstrates the IAIK-CMS SignedDataOutputStream implementation with the EdDSA (Ed25519, Ed448) signature algorithm.
EdDSASignedDataOutputStreamDemo() - Constructor for class demo.cms.ecc.EdDSASignedDataOutputStreamDemo
Default Constructor.
encrypt(String, String, char[]) - Method in class demo.cms.envelopedData.FileEncryptionDemo
Uses the given password to encrypt the contents from inFile and write the encryption result to outFile.
encrypt(byte[]) - Method in class demo.cms.pkcs11.EnvelopedDataStreamDemo
This method uses the CMS EnvelopedData type to encrypt the given data.
EncryptedContentInfoDemo - Class in demo.cms.envelopedData
This class demonstrates the EnvelopedDataStream/EncryptedContentInfoStream usages for algorithms that require a specific parameter handling.
EncryptedContentInfoDemo() - Constructor for class demo.cms.envelopedData.EncryptedContentInfoDemo
Setup the demo certificate chains.
EncryptedDataDemo - Class in demo.cms.encryptedData
Demonstrates the usage of class EncryptedDataStream and EncryptedData for encrypting data using the CMS type EncryptedData.
EncryptedDataDemo() - Constructor for class demo.cms.encryptedData.EncryptedDataDemo
Default constructor.
EncryptedDataOutputStreamDemo - Class in demo.cms.encryptedData
Demonstrates the usage of class EncryptedDataOutputStream for PBE encrypting data using the CMS type EnryptedData.
EncryptedDataOutputStreamDemo() - Constructor for class demo.cms.encryptedData.EncryptedDataOutputStreamDemo
Default constructor.
EncryptedMailDemo - Class in demo.smime.pkcs11
This class shows how to en- and decrypt an S/MIME message using the PKCS#11 provider for accessing the private key on a smart card.
EncryptedMailDemo(String, char[]) - Constructor for class demo.smime.pkcs11.EncryptedMailDemo
Creates a EncryptedMailDemo object for the given module name.
EnvelopedDataDemo - Class in demo.cms.envelopedData
Demonstrates the usage of class EnvelopedDataStream and EnvelopedData for encrypting data using the CMS type EnvelopedData.
EnvelopedDataDemo() - Constructor for class demo.cms.envelopedData.EnvelopedDataDemo
Creates an EnvelopedDataDemo and setups the demo certificates.
EnvelopedDataDemo(AlgorithmID, AlgorithmID, int) - Constructor for class demo.cms.envelopedData.EnvelopedDataDemo
Creates an EnvelopedDataDemo and setups the demo certificates.
EnvelopedDataDemo(AlgorithmID, AlgorithmID, AlgorithmID, int) - Constructor for class demo.cms.envelopedData.EnvelopedDataDemo
Creates an EnvelopedDataDemo and setups the demo certificates.
EnvelopedDataDemoAEAD - Class in demo.cms.envelopedData
Demonstrates the usage of class EnvelopedDataStream, EnvelopedData and EnvelopedDataOutputStream for AEAD encrypting data using the CMS type EnvelopedData according to RFC 5652.
EnvelopedDataDemoAEAD() - Constructor for class demo.cms.envelopedData.EnvelopedDataDemoAEAD
Setup the demo certificate chains.
EnvelopedDataOutputStreamDemo - Class in demo.cms.envelopedData
Demonstrates the usage of class EnvelopedDataOutputStream and for encrypting data using the CMS type EnvelopedData.
EnvelopedDataOutputStreamDemo() - Constructor for class demo.cms.envelopedData.EnvelopedDataOutputStreamDemo
Setup the demo certificate chains.
EnvelopedDataStreamDemo - Class in demo.cms.pkcs11
This class shows how to en- and decrypt data with the CMS EnvelopedData type using the PKCS#11 provider for accessing the private key on a smart card.
EnvelopedDataStreamDemo(String, char[]) - Constructor for class demo.cms.pkcs11.EnvelopedDataStreamDemo
Creates a EnvelopedDataStreamDemo object for the given module name.
ESDH - Static variable in class demo.keystore.CMSKeyStore
 
ESDH_2048_1 - Static variable in interface demo.keystore.CMSKeyStoreConstants
 
ESDH_2048_2 - Static variable in interface demo.keystore.CMSKeyStoreConstants
 
ExplicitAESEnvelopedDataDemo - Class in demo.cms.envelopedData
Demonstrates the usage of class EnvelopedDataStream and EnvelopedData in explicit mode for encrypting data using the CMS type EnvelopedData with the AES cipher algorithm.
ExplicitAESEnvelopedDataDemo() - Constructor for class demo.cms.envelopedData.ExplicitAESEnvelopedDataDemo
Creates an AESEnvelopedDataDemo and setups the demo certificates.
ExplicitEnvelopedDataDemo - Class in demo.cms.envelopedData
Demonstrates the usage of class EnvelopedDataStream and EnvelopedData for encrypting data using the CMS type EnvelopedData where the encrypted data is not included in the EncryptedContentInfo (transferred by other means).
ExplicitEnvelopedDataDemo() - Constructor for class demo.cms.envelopedData.ExplicitEnvelopedDataDemo
Creates an EnvelopedDataDemo and setups the demo certificates.
ExplicitEnvelopedDataDemo(AlgorithmID, AlgorithmID, int) - Constructor for class demo.cms.envelopedData.ExplicitEnvelopedDataDemo
Creates an EnvelopedDataDemo and setups the demo certificates.
ExplicitEnvelopedDataDemo(AlgorithmID, AlgorithmID, AlgorithmID, int) - Constructor for class demo.cms.envelopedData.ExplicitEnvelopedDataDemo
Creates an EnvelopedDataDemo and setups the demo certificates.
ExplicitRSAPssSignedDataStreamDemo - Class in demo.cms.pkcs11
This class shows how to sign data (explicit, the content data is included) with RSA-PSS according to CMS using the IAIK PKCS#11 provider for accessing the private key on a smart card.
ExplicitRSAPssSignedDataStreamDemo() - Constructor for class demo.cms.pkcs11.ExplicitRSAPssSignedDataStreamDemo
Creates a ExplicitRSAPssSignedDataStreamDemo object that has to be explicitly initialized with a module name.
ExplicitRSAPssSignedDataStreamDemo(String, char[]) - Constructor for class demo.cms.pkcs11.ExplicitRSAPssSignedDataStreamDemo
Creates a ExplicitRSAPssSignedDataStreamDemo object for the given module name.
ExplicitSignedDataStreamDemo - Class in demo.cms.pkcs11
This class shows how to sign data (explicit, the content data is included) according to CMS using the IAIK PKCS#11 provider for accessing the private key on a smart card.
ExplicitSignedDataStreamDemo() - Constructor for class demo.cms.pkcs11.ExplicitSignedDataStreamDemo
Creates a ExplicitSignedDataStreamDemo object that has to be explicitly initialized with a module name.
ExplicitSignedDataStreamDemo(String, char[]) - Constructor for class demo.cms.pkcs11.ExplicitSignedDataStreamDemo
Creates a ExplicitSignedDataStreamDemo object for the given module name.
ExplicitSignedMailDemo - Class in demo.smime.pkcs11
This class shows how to create a signed message (explicit signed, the content data is included; content type multipart/signed) according to S/MIME using the IAIK PKCS#11 provider for accessing the private key on a smart card.
ExplicitSignedMailDemo(String, char[]) - Constructor for class demo.smime.pkcs11.ExplicitSignedMailDemo
Creates a ExplicitSignedDataStreamDemo object for the given module name.

F

FileEncryptionDemo - Class in demo.cms.envelopedData
This class shows how to use the CMS PasswordRecipientInfo type for password based encrypting the contents of a file (and later decrypting it again) with the CMS EnvelopedDataStream EnvelopedData} content type.
FileEncryptionDemo() - Constructor for class demo.cms.envelopedData.FileEncryptionDemo
Default constructor.

G

generateCertificates() - Method in class demo.cms.ecc.keystore.SetupCMSEccKeyStore
Generates the certificates.
generateCertificates() - Method in class demo.keystore.SetupCMSKeyStore
Generates the certificates.
generateEccKeyPair(String, String) - Static method in class demo.cms.ecc.keystore.SetupCMSEccKeyStore
Generates an ECC key pair for a curve with a certain name
generateKeyPair(String, int) - Method in class demo.cms.ecc.keystore.SetupCMSEccKeyStore
Generates a key pair for a curve with a certain name
getAuthenticatedData(byte[], byte[], Key, int) - Method in class demo.cms.authenticatedData.AuthenticatedDataDemo
Gets the content of the given AuthenticatedData object and verifies the mac for the recipient identified by its index into the recipientInfos field and uses the MAC key to verify the authenticated data.
getAuthenticatedData(byte[], byte[], Key, KeyIdentifier) - Method in class demo.cms.authenticatedData.AuthenticatedDataDemo
Gets the content of the given AuthenticatedData object and verifies the mac for the recipient identified by recipient identifier.
getAuthenticatedData(byte[], byte[], Key, X509Certificate, byte[]) - Method in class demo.cms.authenticatedData.AuthenticatedDataDemo
Gets the content of the given AuthenticatedData object and verifies the mac for the recipient identified by its recipient certificate or kekID.
getAuthenticatedData(byte[], byte[], PrivateKey, int) - Method in class demo.cms.basic.CMSDemo
Decrypts the encrypted MAC key for the recipient identified by its index into the recipientInfos field and uses the MAC key to verify the authenticated data.
getAuthenticatedData(byte[], byte[], Key, int) - Method in class demo.cms.ecc.ECDHAuthenticatedDataDemo
Decrypts the encrypted MAC key for the recipient identified by its index into the recipientInfos field and uses the MAC key to verify the authenticated data.
getAuthenticatedData(byte[], byte[], Key, KeyIdentifier) - Method in class demo.cms.ecc.ECDHAuthenticatedDataDemo
Decrypts the encrypted content of the given AuthenticatedData object for the recipient identified by recipient identifier.
getAuthenticatedData(byte[], byte[], Key, X509Certificate) - Method in class demo.cms.ecc.ECDHAuthenticatedDataDemo
Decrypts the encrypted content of the given AuthenticatedData object for the recipient identified by its recipient certificate.
getAuthenticatedData(byte[], byte[], Key, int) - Method in class demo.cms.ecc.EdDHAuthenticatedDataDemo
Decrypts the encrypted MAC key for the recipient identified by its index into the recipientInfos field and uses the MAC key to verify the authenticated data.
getAuthenticatedData(byte[], byte[], Key, KeyIdentifier) - Method in class demo.cms.ecc.EdDHAuthenticatedDataDemo
Decrypts the encrypted content of the given AuthenticatedData object for the recipient identified by recipient identifier.
getAuthenticatedData(byte[], byte[], Key, X509Certificate) - Method in class demo.cms.ecc.EdDHAuthenticatedDataDemo
Decrypts the encrypted content of the given AuthenticatedData object for the recipient identified by its recipient certificate.
getAuthenticatedDataStream(byte[], byte[], Key, int) - Method in class demo.cms.authenticatedData.AuthenticatedDataDemo
Decrypts the encrypted MAC key for the recipient identified by its index into the recipientInfos field and uses the MAC key to verify the authenticated data.
getAuthenticatedDataStream(byte[], byte[], Key, KeyIdentifier) - Method in class demo.cms.authenticatedData.AuthenticatedDataDemo
Decrypts the encrypted MAC key for the recipient identified by recipient identifier and uses the MAC key to verify the authenticated data.
getAuthenticatedDataStream(byte[], byte[], Key, X509Certificate, byte[]) - Method in class demo.cms.authenticatedData.AuthenticatedDataDemo
Decrypts the encrypted content of the given AuthenticatedData object for the recipient identified by its recipient certificate or kekID.
getAuthenticatedDataStream(byte[], byte[], Key, int) - Method in class demo.cms.authenticatedData.AuthenticatedDataOutputStreamDemo
Decrypts the encrypted MAC key for the recipient identified by its index into the recipientInfos field and uses the MAC key to verify the authenticated data.
getAuthenticatedDataStream(byte[], byte[], Key, KeyIdentifier) - Method in class demo.cms.authenticatedData.AuthenticatedDataOutputStreamDemo
Decrypts the encrypted MAC key for the recipient identified by recipient identifier and uses the MAC key to verify the authenticated data.
getAuthenticatedDataStream(byte[], byte[], Key, X509Certificate, byte[]) - Method in class demo.cms.authenticatedData.AuthenticatedDataOutputStreamDemo
Decrypts the encrypted content of the given AuthenticatedData object for the recipient identified by its recipient certificate or kekID.
getAuthenticatedDataStream(byte[], byte[], PrivateKey, int) - Method in class demo.cms.basic.CMSDemo
Decrypts the encrypted MAC key for the recipient identified by its index into the recipientInfos field and uses the MAC key to verify the authenticated data.
getAuthenticatedDataStream(byte[], byte[], Key, int) - Method in class demo.cms.ecc.ECDHAuthenticatedDataDemo
Decrypts the encrypted MAC key for the recipient identified by its index into the recipientInfos field and uses the MAC key to verify the authenticated data.
getAuthenticatedDataStream(byte[], byte[], Key, KeyIdentifier) - Method in class demo.cms.ecc.ECDHAuthenticatedDataDemo
Decrypts the encrypted MAC key for the recipient identified by recipient identifier and uses the MAC key to verify the authenticated data.
getAuthenticatedDataStream(byte[], byte[], Key, X509Certificate) - Method in class demo.cms.ecc.ECDHAuthenticatedDataDemo
Decrypts the encrypted content of the given AuthenticatedData object for the recipient identified by its recipient certificate.
getAuthenticatedDataStream(byte[], byte[], Key, int) - Method in class demo.cms.ecc.EdDHAuthenticatedDataDemo
Decrypts the encrypted MAC key for the recipient identified by its index into the recipientInfos field and uses the MAC key to verify the authenticated data.
getAuthenticatedDataStream(byte[], byte[], Key, KeyIdentifier) - Method in class demo.cms.ecc.EdDHAuthenticatedDataDemo
Decrypts the encrypted content of the given AuthenticatedData object for the recipient identified by recipient identifier.
getAuthenticatedDataStream(byte[], byte[], Key, X509Certificate) - Method in class demo.cms.ecc.EdDHAuthenticatedDataDemo
Decrypts the encrypted content of the given AuthenticatedData object for the recipient identified by its recipient certificate.
getAuthEnvelopedData(byte[], Key, int) - Method in class demo.cms.authEnvelopedData.AuthEnvelopedDataDemo
Decrypts the encrypted content of the given AuthEnvelopedData object for the recipient identified by its index into the recipientInfos field and verifies the message authentication code.
getAuthEnvelopedData(byte[], Key, KeyIdentifier) - Method in class demo.cms.authEnvelopedData.AuthEnvelopedDataDemo
Decrypts the encrypted content of the given AuthEnvelopedData object for the recipient identified by recipient identifier.
getAuthEnvelopedData(byte[], Key, X509Certificate, byte[]) - Method in class demo.cms.authEnvelopedData.AuthEnvelopedDataDemo
Decrypts the encrypted content of the given AuthEnvelopedData object for the recipient identified by its recipient certificate or keyID.
getAuthEnvelopedData(byte[], Key, int) - Method in class demo.cms.ecc.ECDHAuthEnvelopedDataDemo
Decrypts the encrypted content of the given AuthEnvelopedData object for the recipient identified by its index into the recipientInfos field.
getAuthEnvelopedData(byte[], Key, KeyIdentifier) - Method in class demo.cms.ecc.ECDHAuthEnvelopedDataDemo
Decrypts the encrypted content of the given AuthEnvelopedData object for the recipient identified by recipient identifier.
getAuthEnvelopedData(byte[], Key, X509Certificate) - Method in class demo.cms.ecc.ECDHAuthEnvelopedDataDemo
Decrypts the encrypted content of the given AuthEnvelopedData object for the recipient identified by its recipient certificate.
getAuthEnvelopedData(byte[], Key, int) - Method in class demo.cms.ecc.EckaEGAuthEnvelopedDataDemo
Decrypts the encrypted content of the given AuthEnvelopedData object for the recipient identified by its index into the recipientInfos field and verifies the message authentication code.
getAuthEnvelopedData(byte[], Key, KeyIdentifier) - Method in class demo.cms.ecc.EckaEGAuthEnvelopedDataDemo
Decrypts the encrypted content of the given AuthEnvelopedData object for the recipient identified by recipient identifier.
getAuthEnvelopedData(byte[], Key, X509Certificate) - Method in class demo.cms.ecc.EckaEGAuthEnvelopedDataDemo
Decrypts the encrypted content of the given AuthEnvelopedData object for the recipient identified by its recipient certificate.
getAuthEnvelopedData(byte[], Key, int) - Method in class demo.cms.ecc.EdDHAuthEnvelopedDataDemo
Decrypts the encrypted content of the given AuthEnvelopedData object for the recipient identified by its index into the recipientInfos field and verifies the message authentication code.
getAuthEnvelopedData(byte[], Key, KeyIdentifier) - Method in class demo.cms.ecc.EdDHAuthEnvelopedDataDemo
Decrypts the encrypted content of the given AuthEnvelopedData object for the recipient identified by recipient identifier.
getAuthEnvelopedData(byte[], Key, X509Certificate) - Method in class demo.cms.ecc.EdDHAuthEnvelopedDataDemo
Decrypts the encrypted content of the given AuthEnvelopedData object for the recipient identified by its recipient certificate or keyID.
getAuthEnvelopedDataStream(byte[], Key, int) - Method in class demo.cms.authEnvelopedData.AuthEnvelopedDataDemo
Decrypts the encrypted content of the given AuthEnvelopedData object for the recipient identified by its index into the recipientInfos field and verifies the message authentication code.
getAuthEnvelopedDataStream(byte[], Key, KeyIdentifier) - Method in class demo.cms.authEnvelopedData.AuthEnvelopedDataDemo
Decrypts the encrypted content of the given EnvelopedData object for the recipient identified by recipient identifier and verifies the message authentication code.
getAuthEnvelopedDataStream(byte[], Key, X509Certificate, byte[]) - Method in class demo.cms.authEnvelopedData.AuthEnvelopedDataDemo
Decrypts the encrypted content of the given AuthEnvelopedData object for the recipient identified by its recipient certificate or kekID and verifies the message authentication code.
getAuthEnvelopedDataStream(byte[], PrivateKey, int) - Method in class demo.cms.authEnvelopedData.AuthEnvelopedDataOutputStreamDemo
Decrypts the encrypted content of the given AuthEnvelopedData object and verifies the message authentication code for the specified recipient.
getAuthEnvelopedDataStream(byte[], Key, int) - Method in class demo.cms.ecc.ECDHAuthEnvelopedDataDemo
Decrypts the encrypted content of the given AuthEnvelopedData object for the recipient identified by its index into the recipientInfos field.
getAuthEnvelopedDataStream(byte[], Key, KeyIdentifier) - Method in class demo.cms.ecc.ECDHAuthEnvelopedDataDemo
Decrypts the encrypted content of the given AuthEnvelopedData object for the recipient identified by recipient identifier.
getAuthEnvelopedDataStream(byte[], Key, int) - Method in class demo.cms.ecc.EckaEGAuthEnvelopedDataDemo
Decrypts the encrypted content of the given AuthEnvelopedData object for the recipient identified by its index into the recipientInfos field and verifies the message authentication code.
getAuthEnvelopedDataStream(byte[], Key, KeyIdentifier) - Method in class demo.cms.ecc.EckaEGAuthEnvelopedDataDemo
Decrypts the encrypted content of the given EnvelopedData object for the recipient identified by recipient identifier and verifies the message authentication code.
getAuthEnvelopedDataStream(byte[], Key, X509Certificate) - Method in class demo.cms.ecc.EckaEGAuthEnvelopedDataDemo
Decrypts the encrypted content of the given AuthEnvelopedData object for the recipient identified by its recipient certificate and verifies the message authentication code.
getAuthEnvelopedDataStream(byte[], Key, int) - Method in class demo.cms.ecc.EdDHAuthEnvelopedDataDemo
Decrypts the encrypted content of the given AuthEnvelopedData object for the recipient identified by its index into the recipientInfos field and verifies the message authentication code.
getAuthEnvelopedDataStream(byte[], Key, KeyIdentifier) - Method in class demo.cms.ecc.EdDHAuthEnvelopedDataDemo
Decrypts the encrypted content of the given EnvelopedData object for the recipient identified by recipient identifier and verifies the message authentication code.
getAuthEnvelopedDataStream(byte[], Key, X509Certificate) - Method in class demo.cms.ecc.EdDHAuthEnvelopedDataDemo
Decrypts the encrypted content of the given AuthEnvelopedData object for the recipient identified by its recipient certificate and verifies the message authentication code.
getCaCertificate() - Static method in class demo.cms.ecc.keystore.CMSEccKeyStore
Returns the demo CA certificate.
getCaCertificate(int) - Static method in class demo.keystore.CMSKeyStore
Returns a demo CA certificate.
getCaPrivateKey() - Static method in class demo.cms.ecc.keystore.CMSEccKeyStore
Returns the private key of a CA certificate.
getCaPrivateKey(int) - Static method in class demo.keystore.CMSKeyStore
Returns the private key of a CA certificate.
getCertificateChain(int, int) - Static method in class demo.cms.ecc.keystore.CMSEccKeyStore
Returns a demo user certificate.
getCertificateChain(int, int) - Static method in class demo.keystore.CMSKeyStore
Returns a demo user certificate.
getCertOfSignerToBeCounterSigned() - Method in class demo.cms.signedData.CounterSignatureListener
Identifies the SignerInfo to be counter signed.
getCompressedData(byte[], byte[]) - Method in class demo.cms.compressedData.CompressedDataDemo
Parses a CMS CompressedData object.
getCompressedData(byte[]) - Method in class demo.cms.compressedData.CompressedDataOutputStreamDemo
Parses a CMS CompressedData object.
getCompressedData(byte[]) - Method in class demo.cms.ecc.EckaEGAuthEnvelopedDataDemo
Parses a CMS CompressedData object.
getCompressedDataStream(byte[], byte[]) - Method in class demo.cms.compressedData.CompressedDataDemo
Parses a CMS CompressedData object.
getCompressedDataStream(byte[]) - Method in class demo.cms.ecc.EckaEGAuthEnvelopedDataDemo
Parses a CMS CompressedData object.
getData(byte[]) - Method in class demo.cms.basic.CMSDemo
Parses a CMS Data object.
getData(byte[]) - Method in class demo.cms.data.DataDemo
Parses a CMS Data object.
getData(byte[]) - Method in class demo.cms.data.DataOutputStreamDemo
Parses a CMS Data object.
getData(ASN1Object) - Method in class demo.cms.pkcs7cms.PKCS7CMSDataDemo
Parses a CMS Data object.
getDataStream(byte[]) - Method in class demo.cms.basic.CMSDemo
Parses a CMS Data object.
getDataStream(byte[]) - Method in class demo.cms.data.DataDemo
Parses a CMS Data object.
getDataStream(byte[]) - Method in class demo.cms.pkcs7cms.PKCS7CMSDataDemo
Parses a CMS Data object.
getDigestAlgorithm() - Method in class demo.smime.ecc.SimpleSMimeV4EcDemo
Gets the digest algorithm used for signing.
getDigestAlgorithm() - Method in class demo.smime.ecc.SimpleSMimeV4EdDemo
Gets the digest algorithm used for signing.
getDigestedData(byte[], byte[]) - Method in class demo.cms.basic.CMSDemo
Parses a CMS DigestedData object and verifies the hash value.
getDigestedData(byte[], byte[]) - Method in class demo.cms.digestedData.DigestedDataDemo
Parses a CMS DigestedData object and verifies the hash value.
getDigestedData(byte[], byte[]) - Method in class demo.cms.digestedData.DigestedDataOutputStreamDemo
Parses a CMS DigestedData object and verifies the hash.
getDigestedData(ASN1Object, byte[]) - Method in class demo.cms.pkcs7cms.PKCS7CMSDigestedDataDemo
Parses a CMS DigestedData object and verifies the hash value.
getDigestedDataStream(byte[], byte[]) - Method in class demo.cms.basic.CMSDemo
Parses a CMS DigestedData object and verifies the hash.
getDigestedDataStream(byte[], byte[]) - Method in class demo.cms.digestedData.DigestedDataDemo
Parses a CMS DigestedData object and verifies the hash.
getDigestedDataStream(byte[], byte[]) - Method in class demo.cms.pkcs7cms.PKCS7CMSDigestedDataDemo
Parses a CMS DigestedData object and verifies the hash.
getECCelerateVersion() - Static method in class demo.cms.ecc.ECCDemoUtil
Gets the version of the IAIK ECCelerate provider (if used).
getEncryptedContentInfoStream(byte[], PrivateKey, int) - Method in class demo.cms.envelopedData.ArcFourEnvelopedDataDemo
Decrypts the encrypted content of the given EnvelopedData object for the specified recipient and returns the decrypted (= original) message.
getEncryptedContentInfoStream(byte[], PrivateKey, int) - Method in class demo.cms.envelopedData.CAST128EnvelopedDataDemo
Decrypts the encrypted content of the given EnvelopedData object for the specified recipient and returns the decrypted (= original) message.
getEncryptedContentInfoStream(byte[], PrivateKey, int) - Method in class demo.cms.envelopedData.RC2EnvelopedDataDemo
Decrypts the encrypted content of the given EnvelopedData object for the specified recipient and returns the decrypted (= original) message.
getEncryptedData(byte[], char[]) - Method in class demo.cms.basic.CMSDemo
Decrypts the PBE-encrypted content of the given EncryptedData object using the specified password and returns the decrypted (= original) message.
getEncryptedData(byte[], char[]) - Method in class demo.cms.encryptedData.EncryptedDataDemo
Decrypts the PBE-encrypted content of the given CMS EncryptedData object using the specified password and returns the decrypted (= original) message.
getEncryptedData(byte[], char[]) - Method in class demo.cms.encryptedData.EncryptedDataOutputStreamDemo
Decrypts the encrypted content of the given EncryptedData object.
getEncryptedData(ASN1Object, char[]) - Method in class demo.cms.pkcs7cms.PKCS7CMSEncryptedDataDemo
Decrypts the PBE-encrypted content of the given CMS EncryptedData object using the specified password and returns the decrypted (= original) message.
getEncryptedDataStream(byte[], char[]) - Method in class demo.cms.basic.CMSDemo
Decrypts the PBE-encrypted content of the given EncryptedData object using the specified password and returns the decrypted (= original) message.
getEncryptedDataStream(byte[], char[]) - Method in class demo.cms.encryptedData.EncryptedDataDemo
Decrypts the PBE-encrypted content of the given CMS EncryptedData object using the specified password and returns the decrypted (= original) message.
getEncryptedDataStream(byte[], char[]) - Method in class demo.cms.pkcs7cms.PKCS7CMSEncryptedDataDemo
Decrypts the PBE-encrypted content of the given CMS EncryptedData object using the specified password and returns the decrypted (= original) message.
getEnvelopedData(byte[], PrivateKey, int) - Method in class demo.cms.basic.CMSDemo
Decrypts the encrypted content of the given EnvelopedData object for the specified recipient and returns the decrypted (= original) message.
getEnvelopedData(byte[], Key, int) - Method in class demo.cms.ecc.ECDHEnvelopedDataDemo
Decrypts the encrypted content of the given EnvelopedData object for the recipient identified by its index into the recipientInfos field.
getEnvelopedData(byte[], Key, KeyIdentifier) - Method in class demo.cms.ecc.ECDHEnvelopedDataDemo
Decrypts the encrypted content of the given EnvelopedData object for the recipient identified by recipient identifier.
getEnvelopedData(byte[], Key, X509Certificate) - Method in class demo.cms.ecc.ECDHEnvelopedDataDemo
Decrypts the encrypted content of the given EnvelopedData object for the recipient identified by its recipient certificate.
getEnvelopedData(byte[], Key, int) - Method in class demo.cms.ecc.EdDHEnvelopedDataDemo
Decrypts the encrypted content of the given EnvelopedData object for the recipient identified by its index into the recipientInfos field.
getEnvelopedData(byte[], Key, KeyIdentifier) - Method in class demo.cms.ecc.EdDHEnvelopedDataDemo
Decrypts the encrypted content of the given EnvelopedData object for the recipient identified by recipient identifier.
getEnvelopedData(byte[], Key, X509Certificate) - Method in class demo.cms.ecc.EdDHEnvelopedDataDemo
Decrypts the encrypted content of the given EnvelopedData object for the recipient identified by its recipient certificate.
getEnvelopedData(byte[], Key, int) - Method in class demo.cms.envelopedData.EnvelopedDataDemo
Decrypts the encrypted content of the given EnvelopedData object for the recipient identified by its index into the recipientInfos field.
getEnvelopedData(byte[], Key, KeyIdentifier) - Method in class demo.cms.envelopedData.EnvelopedDataDemo
Decrypts the encrypted content of the given EnvelopedData object for the recipient identified by recipient identifier.
getEnvelopedData(byte[], Key, X509Certificate, byte[]) - Method in class demo.cms.envelopedData.EnvelopedDataDemo
Decrypts the encrypted content of the given EnvelopedData object for the recipient identified by its recipient certificate or keyID.
getEnvelopedData(byte[], Key, int) - Method in class demo.cms.envelopedData.EnvelopedDataDemoAEAD
Decrypts the encrypted content of the given EnvelopedData object for the recipient identified by its index into the recipientInfos field and verifies the message authentication code.
getEnvelopedData(byte[], Key, KeyIdentifier) - Method in class demo.cms.envelopedData.EnvelopedDataDemoAEAD
Decrypts the encrypted content of the given EnvelopedData object for the recipient identified by recipient identifier.
getEnvelopedData(byte[], Key, X509Certificate, byte[]) - Method in class demo.cms.envelopedData.EnvelopedDataDemoAEAD
Decrypts the encrypted content of the given EnvelopedData object for the recipient identified by its recipient certificate or keyID.
getEnvelopedData(byte[], byte[], Key, int) - Method in class demo.cms.envelopedData.ExplicitEnvelopedDataDemo
Decrypts the encrypted content of the given EnvelopedData object for the recipient identified by its index into the recipientInfos field.
getEnvelopedData(byte[], byte[], Key, KeyIdentifier) - Method in class demo.cms.envelopedData.ExplicitEnvelopedDataDemo
Decrypts the encrypted content of the given EnvelopedData object for the recipient identified by recipient identifier.
getEnvelopedData(byte[], byte[], Key, X509Certificate, byte[]) - Method in class demo.cms.envelopedData.ExplicitEnvelopedDataDemo
Decrypts the encrypted content of the given EnvelopedData object for the recipient identified by its recipient certificate or keyID.
getEnvelopedData(byte[], PrivateKey, int) - Method in class demo.cms.envelopedData.OaepEnvelopedDataDemo
Decrypts the encrypted content of the given EnvelopedData object for the specified recipient and returns the decrypted (= original) message.
getEnvelopedData(byte[], char[], String) - Method in class demo.cms.envelopedData.PasswordRecipientInfoDemo
PBE based decrypts the encrypted content of the given EnvelopedData object and returns the decrypted (= original) message.
getEnvelopedData(ASN1Object, PrivateKey, int) - Method in class demo.cms.pkcs7cms.PKCS7CMSEnvelopedDataDemo
Decrypts the encrypted content of the given EnvelopedData object for the specified recipient and returns the decrypted (= original) message.
getEnvelopedDataStream(byte[], PrivateKey, int) - Method in class demo.cms.basic.CMSDemo
Decrypts the encrypted content of the given EnvelopedData object for the specified recipient and returns the decrypted (= original) message.
getEnvelopedDataStream(byte[], Key, int) - Method in class demo.cms.ecc.ECDHEnvelopedDataDemo
Decrypts the encrypted content of the given EnvelopedData object for the recipient identified by its index into the recipientInfos field.
getEnvelopedDataStream(byte[], Key, KeyIdentifier) - Method in class demo.cms.ecc.ECDHEnvelopedDataDemo
Decrypts the encrypted content of the given EnvelopedData object for the recipient identified by recipient identifier.
getEnvelopedDataStream(byte[], Key, int) - Method in class demo.cms.ecc.EdDHEnvelopedDataDemo
Decrypts the encrypted content of the given EnvelopedData object for the recipient identified by its index into the recipientInfos field.
getEnvelopedDataStream(byte[], Key, KeyIdentifier) - Method in class demo.cms.ecc.EdDHEnvelopedDataDemo
Decrypts the encrypted content of the given EnvelopedData object for the recipient identified by recipient identifier.
getEnvelopedDataStream(byte[], PrivateKey, int) - Method in class demo.cms.envelopedData.ArcFourEnvelopedDataDemo
Decrypts the encrypted content of the given EnvelopedData object for the specified recipient and returns the decrypted (= original) message.
getEnvelopedDataStream(byte[], PrivateKey, int) - Method in class demo.cms.envelopedData.CAST128EnvelopedDataDemo
Decrypts the encrypted content of the given EnvelopedData object for the specified recipient and returns the decrypted (= original) message.
getEnvelopedDataStream(byte[], PrivateKey, int) - Method in class demo.cms.envelopedData.EncryptedContentInfoDemo
Decrypts the encrypted content of the given CMS EnvelopedData object for the specified recipient and returns the decrypted (= original) message.
getEnvelopedDataStream(byte[], Key, int) - Method in class demo.cms.envelopedData.EnvelopedDataDemo
Decrypts the encrypted content of the given EnvelopedData object for the recipient identified by its index into the recipientInfos field.
getEnvelopedDataStream(byte[], Key, KeyIdentifier) - Method in class demo.cms.envelopedData.EnvelopedDataDemo
Decrypts the encrypted content of the given EnvelopedData object for the recipient identified by recipient identifier.
getEnvelopedDataStream(byte[], Key, X509Certificate, byte[]) - Method in class demo.cms.envelopedData.EnvelopedDataDemo
Decrypts the encrypted content of the given EnvelopedData object for the recipient identified by its recipient certificate or kekID.
getEnvelopedDataStream(byte[], Key, int) - Method in class demo.cms.envelopedData.EnvelopedDataDemoAEAD
Decrypts the encrypted content of the given EnvelopedData object for the recipient identified by its index into the recipientInfos field and verifies the message authentication code.
getEnvelopedDataStream(byte[], Key, KeyIdentifier) - Method in class demo.cms.envelopedData.EnvelopedDataDemoAEAD
Decrypts the encrypted content of the given EnvelopedData object for the recipient identified by recipient identifier and verifies the message authentication code.
getEnvelopedDataStream(byte[], Key, X509Certificate, byte[]) - Method in class demo.cms.envelopedData.EnvelopedDataDemoAEAD
Decrypts the encrypted content of the given EnvelopedData object for the recipient identified by its recipient certificate or kekID and verifies the message authentication code.
getEnvelopedDataStream(byte[], PrivateKey, int) - Method in class demo.cms.envelopedData.EnvelopedDataOutputStreamDemo
Decrypts the encrypted content of the given EnvelopedData object for the specified recipient and returns the decrypted (= original) message.
getEnvelopedDataStream(byte[], byte[], Key, int) - Method in class demo.cms.envelopedData.ExplicitEnvelopedDataDemo
Decrypts the encrypted content of the given EnvelopedData object for the recipient identified by its index into the recipientInfos field.
getEnvelopedDataStream(byte[], byte[], Key, KeyIdentifier) - Method in class demo.cms.envelopedData.ExplicitEnvelopedDataDemo
Decrypts the encrypted content of the given EnvelopedData object for the recipient identified by recipient identifier.
getEnvelopedDataStream(byte[], byte[], Key, X509Certificate, byte[]) - Method in class demo.cms.envelopedData.ExplicitEnvelopedDataDemo
Decrypts the encrypted content of the given EnvelopedData object for the recipient identified by its recipient certificate or kekID.
getEnvelopedDataStream(byte[], PrivateKey, int) - Method in class demo.cms.envelopedData.OaepEnvelopedDataDemo
Decrypts the encrypted content of the given EnvelopedData object for the specified recipient and returns the decrypted (= original) message.
getEnvelopedDataStream(byte[], char[], String) - Method in class demo.cms.envelopedData.PasswordRecipientInfoDemo
PBE based decrypts the encrypted content of the given EnvelopedData object and returns the decrypted (= original) message (stream implementation).
getEnvelopedDataStream(byte[], PrivateKey, int) - Method in class demo.cms.envelopedData.RC2EnvelopedDataDemo
Decrypts the encrypted content of the given EnvelopedData object for the specified recipient and returns the decrypted (= original) message.
getEnvelopedDataStream(byte[], PrivateKey, int) - Method in class demo.cms.pkcs7cms.PKCS7CMSEncryptedContentInfoDemo
Decrypts the encrypted content of the given CMS EnvelopedData object for the specified recipient and returns the decrypted (= original) message.
getEnvelopedDataStream(byte[], PrivateKey, int) - Method in class demo.cms.pkcs7cms.PKCS7CMSEnvelopedDataDemo
Decrypts the encrypted content of the given EnvelopedData object for the specified recipient and returns the decrypted (= original) message.
getIaikProviderVersion() - Static method in class demo.DemoUtil
Gets the version number of the IAIK-JCE provider used for this demos.
getJDKVersion() - Static method in class demo.cms.ecc.ECCDemoUtil
Gets the version number of the current JDK.
getKeyAndCertificate() - Method in class demo.cms.pkcs11.EnvelopedDataStreamDemo
This method gets the key store of the PKCS#11 provider and searches for a certificate and corresponding private key entry that can en/decrypt the data.
getKeyAndCertificate() - Method in class demo.smime.pkcs11.EncryptedMailDemo
This method gets the key store of the PKCS#11 provider and searches for a certificate and corresponding private key entry that can en/decrypt the data.
getKeyStore() - Method in class demo.cms.pkcs11.PKCS11Demo
This method gets the key store of the PKCS#11 provider and stores a reference atpkcs11ClientKeystore_.
getPKCS7Data(ASN1Object) - Method in class demo.cms.pkcs7cms.PKCS7CMSDataDemo
Parses a PKCS#7 Data object.
getPKCS7DataStream(byte[]) - Method in class demo.cms.pkcs7cms.PKCS7CMSDataDemo
Parses a PKCS#7 Data object.
getPKCS7DigestedData(ASN1Object, byte[]) - Method in class demo.cms.pkcs7cms.PKCS7CMSDigestedDataDemo
Parses a PKCS#7 DigestedData object and verifies the hash value.
getPKCS7DigestedDataStream(byte[], byte[]) - Method in class demo.cms.pkcs7cms.PKCS7CMSDigestedDataDemo
Parses a PKCS#7 DigestedData object and verifies the hash.
getPKCS7EncryptedData(ASN1Object, char[]) - Method in class demo.cms.pkcs7cms.PKCS7CMSEncryptedDataDemo
Decrypts the PBE-encrypted content of the given PKCS#7 EncryptedData object using the specified password and returns the decrypted (= original) message.
getPKCS7EncryptedDataStream(byte[], char[]) - Method in class demo.cms.pkcs7cms.PKCS7CMSEncryptedDataDemo
Decrypts the PBE-encrypted content of the given PKCS#7 EncryptedData object using the specified password and returns the decrypted (= original) message.
getPKCS7EnvelopedData(ASN1Object, PrivateKey, int) - Method in class demo.cms.pkcs7cms.PKCS7CMSEnvelopedDataDemo
Decrypts the encrypted content of the given EnvelopedData object for the specified recipient and returns the decrypted (= original) message.
getPKCS7EnvelopedDataStream(byte[], PrivateKey, int) - Method in class demo.cms.pkcs7cms.PKCS7CMSEncryptedContentInfoDemo
Decrypts the encrypted content of the given PKCS#7 EnvelopedData object for the specified recipient and returns the decrypted (= original) message.
getPKCS7EnvelopedDataStream(byte[], PrivateKey, int) - Method in class demo.cms.pkcs7cms.PKCS7CMSEnvelopedDataDemo
Decrypts the encrypted content of the given EnvelopedData object for the specified recipient and returns the decrypted (= original) message.
getPKCS7SignedData(ASN1Object, byte[]) - Method in class demo.cms.pkcs7cms.PKCS7CMSSignedDataDemo
Parses a PKCS#7 SignedData object and verifies the signatures for all participated signers.
getPKCS7SignedDataStream(byte[], byte[]) - Method in class demo.cms.pkcs7cms.PKCS7CMSSignedDataDemo
Parses a PKCS#7 SignedData object and verifies the signatures for all participated signers.
getPort() - Method in class demo.cms.tsp.TSPServer
Gets the port number the server is listening on.
getPrivateKey(int, int) - Static method in class demo.cms.ecc.keystore.CMSEccKeyStore
Returns the private key of a CA certificate.
getPrivateKey(int, int) - Static method in class demo.keystore.CMSKeyStore
Returns the private key of a CA certificate.
getRecipientCert(CertificateIdentifier) - Static method in class demo.keystore.CMSKeyStore
Gets a recipient cert by the given certificate id from the given recipient certs repository.
getRecipientCerts() - Method in class demo.smime.ecc.SimpleSMimeV4EcDemo
Gets the recipient certificates.
getRecipientCerts() - Method in class demo.smime.ecc.SimpleSMimeV4EdDemo
Gets the recipient certificates.
getRecipientKey(KeyIdentifier) - Static method in class demo.keystore.CMSKeyStore
Gets a recipient key by the given key (certificate) id.
getSession() - Static method in class demo.DemoSMimeUtil
Returns (the default) mail session object.
getSession(String) - Static method in class demo.DemoSMimeUtil
Returns a mail session object for the given mailhost.
getSignature(String, int, Key) - Method in class demo.cms.pkcs11.IaikPkcs11SecurityProvider
This method returns the desired Signature object which uses the PKCS#11 provider if the key is a PKCS#11 key.
getSignature(AlgorithmID, int, Key, AlgorithmParameterSpec) - Method in class demo.cms.pkcs11.IaikPkcs11SecurityProvider
This method returns the desired Signature object.
getSignatureAlgorithm() - Method in class demo.smime.ecc.SimpleSMimeV4EcDemo
Gets the signature algorithm.
getSignatureAlgorithm() - Method in class demo.smime.ecc.SimpleSMimeV4EdDemo
Gets the signature algorithm.
getSignatureKey() - Method in class demo.cms.pkcs11.SignedDataStreamDemo
This method gets the key stores of all inserted (compatible) smart cards and simply takes the first key-entry.
getSignatureKey(String) - Method in class demo.cms.pkcs11.SignedDataStreamDemo
This method gets the key stores of all inserted (compatible) smart cards and simply takes the first key-entry.
getSignatureKey() - Method in class demo.smime.pkcs11.SignedMailDemo
This method gets the key stores of all inserted (compatible) smart cards and simply takes the first key-entry.
getSignedAndEncryptedData(byte[]) - Method in class demo.cms.basic.CMSDemo
Recovers the original message and verifies the signature.
getSignedAndEncryptedDataStream(byte[]) - Method in class demo.cms.basic.CMSDemo
Recovers the original message and verifies the signature.
getSignedData(byte[], byte[]) - Method in class demo.cms.basic.CMSDemo
Parses a CMS SignedData object and verifies the signatures for all participated signers.
getSignedData(byte[], byte[], X509Certificate[]) - Method in class demo.cms.ecc.ECDSASignedDataDemo
Parses a CMS ContentInfo holding a SignedData object and verifies the signature.
getSignedData(byte[], byte[], X509Certificate[]) - Method in class demo.cms.ecc.EckaEGAuthEnvelopedDataDemo
Parses a CMS ContentInfo holding a SignedData object and verifies the signature.
getSignedData(byte[], byte[], X509Certificate[]) - Method in class demo.cms.ecc.EdDSASignedDataDemo
Parses a CMS ContentInfo holding a SignedData object and verifies the signature.
getSignedData(ASN1Object, byte[]) - Method in class demo.cms.pkcs7cms.PKCS7CMSSignedDataDemo
Parses a CMS or PKCS#7 SignedData object and verifies the signatures for all participated signers.
getSignedData(byte[], byte[], boolean) - Method in class demo.cms.signedData.CounterSignatureDemo
Parses a CMS SignedData object and verifies the signatures for all participated signers.
getSignedData(byte[], byte[]) - Method in class demo.cms.signedData.PssSignedDataDemo
Parses a CMS SignedData object and verifies the signatures for all participated signers.
getSignedData(byte[], byte[]) - Method in class demo.cms.signedData.SHA2withDSASignedDataDemo
Parses a CMS SignedData object and verifies the signatures for all participated signers.
getSignedData(byte[], byte[]) - Method in class demo.cms.signedData.SignedDataDemo
Parses a CMS SignedData object and verifies the signatures for all participated signers.
getSignedData(byte[], byte[]) - Method in class demo.cms.tsp.TimeStampDemo
Parses a CMS SignedData object and verifies the signature.
getSignedData(byte[], byte[]) - Method in class demo.smime.ess.SigningCertificateDemo
Parses a CMS SignedData object and verifies the signatures for all participated signers.
getSignedDataStream(byte[], byte[]) - Method in class demo.cms.basic.CMSDemo
Parses a CMS SignedData object and verifies the signatures for all participated signers.
getSignedDataStream(byte[], byte[], X509Certificate[]) - Method in class demo.cms.ecc.ECDSASignedDataDemo
Parses a CMS ContentInfo object holding a SignedData object and verifies the signature.
getSignedDataStream(byte[], byte[], X509Certificate[]) - Method in class demo.cms.ecc.ECDSASignedDataOutputStreamDemo
Parses a CMS ContentInfo object holding a SignedData object and verifies the signature.
getSignedDataStream(byte[], byte[], X509Certificate[]) - Method in class demo.cms.ecc.EckaEGAuthEnvelopedDataDemo
Parses a CMS ContentInfo object holding a SignedData object and verifies the signature.
getSignedDataStream(byte[], byte[], X509Certificate[]) - Method in class demo.cms.ecc.EdDSASignedDataDemo
Parses a CMS ContentInfo object holding a SignedData object and verifies the signature.
getSignedDataStream(byte[], byte[], X509Certificate[]) - Method in class demo.cms.ecc.EdDSASignedDataOutputStreamDemo
Parses a CMS ContentInfo object holding a SignedData object and verifies the signature.
getSignedDataStream(byte[], byte[]) - Method in class demo.cms.pkcs7cms.PKCS7CMSSignedDataDemo
Parses a CMS or PKCS#7 SignedData object and verifies the signatures for all participated signers.
getSignedDataStream(byte[], byte[], boolean) - Method in class demo.cms.signedData.CounterSignatureDemo
Parses a CMS SignedData object and verifies the signatures for all participated signers.
getSignedDataStream(byte[], byte[]) - Method in class demo.cms.signedData.PssSignedDataDemo
Parses a CMS SignedData object and verifies the signatures for all participated signers.
getSignedDataStream(byte[], byte[]) - Method in class demo.cms.signedData.SHA2withDSASignedDataDemo
Parses a CMS SignedData object and verifies the signatures for all participated signers.
getSignedDataStream(byte[], byte[]) - Method in class demo.cms.signedData.SignedDataDemo
Parses a CMS SignedData object and verifies the signatures for all participated signers.
getSignedDataStream(byte[], byte[], boolean) - Method in class demo.cms.signedData.SignedDataInOutStreamDemoWithAdditionalSignerInfo
Parses a CMS SignedData object and verifies the signatures for all participated signers.
getSignedDataStream(byte[], byte[]) - Method in class demo.cms.signedData.SignedDataOutputStreamDemo
Parses a CMS SignedData object and verifies the signatures for all participated signers.
getSignedDataStream(byte[], byte[], boolean) - Method in class demo.cms.signedData.SignedDataStreamDemoWithAdditionalSignerInfo
Parses a CMS SignedData object and verifies the signatures for all participated signers.
getSignedDataStream(byte[], byte[]) - Method in class demo.cms.tsp.TimeStampDemo
Parses a CMS SignedData object and verifies the signature.
getSignedDataStream(byte[], byte[]) - Method in class demo.smime.ess.SigningCertificateDemo
Parses a CMS SignedData object and verifies the signatures for all participated signers.
getSignerCerts() - Method in class demo.smime.DumpMessage
Gets the certificates of the signer included in a signed message.
getSignerKeyAndCert() - Method in class demo.smime.ecc.SimpleSMimeV4EcDemo
Gets signing key and certificate.
getSignerKeyAndCert() - Method in class demo.smime.ecc.SimpleSMimeV4EdDemo
Gets signing key and certificate.
getSigningCertificate(SignerInfo) - Method in class demo.smime.ess.SigningCertificateDemo
Gets the SigningCertificate attribute from the given SignerInfo.
getSigningCertificate(SignerInfo) - Method in class demo.smime.ess.SigningCertificateV2Demo
Gets the SigningCertificateV2 attribute from the given SignerInfo.
getTimeStampRequest() - Method in class demo.cms.tsp.TimeStampListener
Gets the TimeStampRequest.
getTimeStampResponse() - Method in class demo.cms.tsp.TimeStampListener
Gets the TimeStampResponse.
getTspFailure() - Method in class demo.cms.tsp.TimeStampListener
Returns a TspException, if has been thrown during TSP processing.
getTspServerCertificate() - Static method in class demo.keystore.CMSKeyStore
Returns the certificate chain of the TSP demo server.
getTspServerPrivateKey() - Static method in class demo.keystore.CMSKeyStore
Returns the private key of the TSP demo server.

H

HMACwith3DESAuthenticatedDataDemo - Class in demo.cms.authenticatedData
Demonstrates the usage of class AuthenticatedDataStream and AuthenticatedData for recipient-specific protecting the integrity of a message using the CMS type AuthenticatedData with the HMACwith3DESwrap algorithm for wrapping the HMAC key.
HMACwith3DESAuthenticatedDataDemo() - Constructor for class demo.cms.authenticatedData.HMACwith3DESAuthenticatedDataDemo
Creates an HMACwith3DESAuthenticatedDataDemo and setups the demo certificates.
HMACwithAESAuthenticatedDataDemo - Class in demo.cms.authenticatedData
Demonstrates the usage of class AuthenticatedDataStream and AuthenticatedData for recipient-specific protecting the integrity of a message using the CMS type AuthenticatedData with the HMACwithAESwrap algorithm for wrapping the HMAC key.
HMACwithAESAuthenticatedDataDemo() - Constructor for class demo.cms.authenticatedData.HMACwithAESAuthenticatedDataDemo
Creates an HMACwithAESAuthenticatedDataDemo and setups the demo certificates.

I

IAIK_JAVA_SECURITY_DEMO_CMS_OID - Static variable in class demo.DemoUtil
Base OID for IAIK-CMS demos.
iaikPkcs11Provider_ - Variable in class demo.cms.pkcs11.IaikPkcs11SecurityProvider
Reference to the installed PKCS#11 provider instance.
iaikPkcs11Provider_ - Variable in class demo.cms.pkcs11.PKCS11Demo
The PKCS#11 JCE provider.
IaikPkcs11SecurityProvider - Class in demo.cms.pkcs11
This class implements a SecurityProvider for the IAIK-CMS toolkit.
IaikPkcs11SecurityProvider(IAIKPkcs11) - Constructor for class demo.cms.pkcs11.IaikPkcs11SecurityProvider
The given PKCS#11 provider instance must already be installed in the JCA framework.
iaikSoftwareProvider_ - Variable in class demo.cms.pkcs11.PKCS11Demo
The IAIK JCE software provider.
ImplicitRSAPssSignedDataStreamDemo - Class in demo.cms.pkcs11
This class shows how to sign data (implicit, the content data is included) with RSA-PSS according to CMS using the IAIK PKCS#11 provider for accessing the private key on a smart card.
ImplicitRSAPssSignedDataStreamDemo() - Constructor for class demo.cms.pkcs11.ImplicitRSAPssSignedDataStreamDemo
Creates a ImplicitRSAPssSignedDataStreamDemo object that has to be explicitly initialized with a module name.
ImplicitRSAPssSignedDataStreamDemo(String, char[]) - Constructor for class demo.cms.pkcs11.ImplicitRSAPssSignedDataStreamDemo
Creates a ImplicitRSAPssSignedDataStreamDemo object for the given module name.
ImplicitSignedDataStreamDemo - Class in demo.cms.pkcs11
This class shows how to sign data (implicit, the content data is included) according to CMS using the IAIK PKCS#11 provider for accessing the private key on a smart card.
ImplicitSignedDataStreamDemo() - Constructor for class demo.cms.pkcs11.ImplicitSignedDataStreamDemo
Creates a ImplicitSignedDataStreamDemo object that has to be explicitly initialized with a module name.
ImplicitSignedDataStreamDemo(String, char[]) - Constructor for class demo.cms.pkcs11.ImplicitSignedDataStreamDemo
Creates a ImplicitSignedDataStreamDemo object for the given module name.
ImplicitSignedMailDemo - Class in demo.smime.pkcs11
This class shows how to create a signed message (implicit signed, the content data is included; content type application/pkcs7-mime) according to S/MIME using the IAIK PKCS#11 provider for accessing the private key on a smart card.
ImplicitSignedMailDemo(String, char[]) - Constructor for class demo.smime.pkcs11.ImplicitSignedMailDemo
Creates a ImplicitSignedDataStreamDemo object for the given module name.
init(String, char[]) - Method in class demo.cms.pkcs11.PKCS11Demo
Inits this PKCS11Demo object for the given module name.
init(String[]) - Method in class demo.cms.pkcs11.SignedDataStreamDemo
This method starts the demo based on the given command line arguments.
initDemos() - Static method in class demo.DemoSMimeUtil
Perform a some initial setup to allow the demos to work
initDemos(boolean) - Static method in class demo.DemoSMimeUtil
Perform a some initial setup to allow the demos to work
initDemos() - Static method in class demo.DemoUtil
Perform a some initial setup to allow the demos to work
initDemos(boolean) - Static method in class demo.DemoUtil
Perform a some initial setup to allow the demos to work
initKeyStore() - Static method in class demo.keystore.CMSKeyStore
Initializes the keystore.
initRandom() - Static method in class demo.DemoUtil
Setup the random number generator for a quick start.
initRandom(boolean) - Static method in class demo.DemoUtil
Setup the random number generator for a quick start.
installIaikEccelerateProvider() - Static method in class demo.cms.ecc.ECCDemoUtil
Installs the IAIK ECCelerate SecurityProvider.
installIaikEccProvider() - Static method in class demo.cms.ecc.ECCDemoUtil
Installs an ECC supporting IAIK SecurityProvider.

K

keys - Static variable in class demo.keystore.CMSKeyStore
Keys.
KS_DIRECTORY - Static variable in interface demo.cms.ecc.keystore.CMSEccKeyStoreConstants
 
KS_DIRECTORY - Static variable in interface demo.keystore.CMSKeyStoreConstants
 
KS_FILENAME - Static variable in interface demo.cms.ecc.keystore.CMSEccKeyStoreConstants
 
ks_filename - Static variable in class demo.keystore.CMSKeyStore
The KeyStore file name.
KS_FILENAME - Static variable in interface demo.keystore.CMSKeyStoreConstants
 
KS_PASSWORD - Static variable in interface demo.cms.ecc.keystore.CMSEccKeyStoreConstants
 
KS_PASSWORD - Static variable in interface demo.keystore.CMSKeyStoreConstants
 

M

main(String[]) - Static method in class demo.cms.authenticatedData.AuthenticatedDataDemo
Main method.
main(String[]) - Static method in class demo.cms.authenticatedData.AuthenticatedDataOutputStreamDemo
Main method.
main(String[]) - Static method in class demo.cms.authenticatedData.HMACwith3DESAuthenticatedDataDemo
Main method.
main(String[]) - Static method in class demo.cms.authenticatedData.HMACwithAESAuthenticatedDataDemo
Main method.
main(String[]) - Static method in class demo.cms.authEnvelopedData.AuthEnvelopedDataDemo
Main method.
main(String[]) - Static method in class demo.cms.authEnvelopedData.AuthEnvelopedDataOutputStreamDemo
Main method.
main(String[]) - Static method in class demo.cms.basic.CMSDemo
Starts the CMS content type implementation tests.
main(String[]) - Static method in class demo.cms.compressedData.CompressedDataDemo
Main method.
main(String[]) - Static method in class demo.cms.compressedData.CompressedDataOutputStreamDemo
Main method.
main(String[]) - Static method in class demo.cms.data.DataDemo
Main method.
main(String[]) - Static method in class demo.cms.data.DataOutputStreamDemo
Main method.
main(String[]) - Static method in class demo.cms.digestedData.DigestedDataDemo
Main method.
main(String[]) - Static method in class demo.cms.digestedData.DigestedDataOutputStreamDemo
Main method.
main(String[]) - Static method in class demo.cms.ecc.ECDHAuthenticatedDataDemo
Main method.
main(String[]) - Static method in class demo.cms.ecc.ECDHAuthEnvelopedDataDemo
Main method.
main(String[]) - Static method in class demo.cms.ecc.ECDHEnvelopedDataDemo
Main method.
main(String[]) - Static method in class demo.cms.ecc.ECDSASignedDataDemo
Starts the demo.
main(String[]) - Static method in class demo.cms.ecc.ECDSASignedDataOutputStreamDemo
Starts the demo.
main(String[]) - Static method in class demo.cms.ecc.EckaEGAuthEnvelopedDataDemo
Main method.
main(String[]) - Static method in class demo.cms.ecc.EdDHAuthenticatedDataDemo
Main method.
main(String[]) - Static method in class demo.cms.ecc.EdDHAuthEnvelopedDataDemo
Main method.
main(String[]) - Static method in class demo.cms.ecc.EdDHEnvelopedDataDemo
Main method.
main(String[]) - Static method in class demo.cms.ecc.EdDSASignedDataDemo
Starts the demo.
main(String[]) - Static method in class demo.cms.ecc.EdDSASignedDataOutputStreamDemo
Starts the demo.
main(String[]) - Static method in class demo.cms.ecc.keystore.SetupCMSEccKeyStore
Creates the test certificates.
main(String[]) - Static method in class demo.cms.encryptedData.EncryptedDataDemo
Maim method.
main(String[]) - Static method in class demo.cms.encryptedData.EncryptedDataOutputStreamDemo
Main method.
main(String[]) - Static method in class demo.cms.envelopedData.AESEnvelopedDataDemo
Main method.
main(String[]) - Static method in class demo.cms.envelopedData.ArcFourEnvelopedDataDemo
The main method.
main(String[]) - Static method in class demo.cms.envelopedData.CamelliaEnvelopedDataDemo
Main method.
main(String[]) - Static method in class demo.cms.envelopedData.CAST128EnvelopedDataDemo
The main method.
main(String[]) - Static method in class demo.cms.envelopedData.EncryptedContentInfoDemo
The main method.
main(String[]) - Static method in class demo.cms.envelopedData.EnvelopedDataDemo
Main method.
main(String[]) - Static method in class demo.cms.envelopedData.EnvelopedDataDemoAEAD
Main method.
main(String[]) - Static method in class demo.cms.envelopedData.EnvelopedDataOutputStreamDemo
Main method.
main(String[]) - Static method in class demo.cms.envelopedData.ExplicitAESEnvelopedDataDemo
Main method.
main(String[]) - Static method in class demo.cms.envelopedData.ExplicitEnvelopedDataDemo
Main method.
main(String[]) - Static method in class demo.cms.envelopedData.FileEncryptionDemo
Main method.
main(String[]) - Static method in class demo.cms.envelopedData.OaepEnvelopedDataDemo
Main method.
main(String[]) - Static method in class demo.cms.envelopedData.PasswordRecipientInfoDemo
Main method.
main(String[]) - Static method in class demo.cms.envelopedData.RC2EnvelopedDataDemo
The main method.
main(String[]) - Static method in class demo.cms.envelopedData.TripleDESEnvelopedDataDemo
Main method.
main(String[]) - Static method in class demo.cms.pkcs11.EnvelopedDataStreamDemo
This is the main method that is called by the JVM during startup.
main(String[]) - Static method in class demo.cms.pkcs11.ExplicitRSAPssSignedDataStreamDemo
This is the main method that is called by the JVM during startup.
main(String[]) - Static method in class demo.cms.pkcs11.ExplicitSignedDataStreamDemo
This is the main method that is called by the JVM during startup.
main(String[]) - Static method in class demo.cms.pkcs11.ImplicitRSAPssSignedDataStreamDemo
This is the main method that is called by the JVM during startup.
main(String[]) - Static method in class demo.cms.pkcs11.ImplicitSignedDataStreamDemo
This is the main method that is called by the JVM during startup.
main(String[]) - Static method in class demo.cms.pkcs7cms.PKCS7CMSDataDemo
Starts the CMS - PKCS#7 tests.
main(String[]) - Static method in class demo.cms.pkcs7cms.PKCS7CMSDigestedDataDemo
Tests the IAIK CMS DigestedData(Stream) implementation against the PKCS#7 DigestedData(Stream) implementation
main(String[]) - Static method in class demo.cms.pkcs7cms.PKCS7CMSEncryptedContentInfoDemo
The main method.
main(String[]) - Static method in class demo.cms.pkcs7cms.PKCS7CMSEncryptedDataDemo
Tests the IAIK CMS against the IAIK PKCS#7 EncryptedData(Stream) implementation.
main(String[]) - Static method in class demo.cms.pkcs7cms.PKCS7CMSEnvelopedDataDemo
The main method.
main(String[]) - Static method in class demo.cms.pkcs7cms.PKCS7CMSSignedDataDemo
Main method.
main(String[]) - Static method in class demo.cms.signedAndEnvelopedData.SignedAndEnvelopedDataDemo
Main method.
main(String[]) - Static method in class demo.cms.signedAndEnvelopedData.SignedAndEnvelopedDataOutputStreamDemo
Main method.
main(String[]) - Static method in class demo.cms.signedData.CertListDemo
Reads a CMS (PKCS#7) certificate chain from a file and dumps the certificates stored inside.
main(String[]) - Static method in class demo.cms.signedData.CounterSignatureDemo
Main method.
main(String[]) - Static method in class demo.cms.signedData.PssSignedDataDemo
The main method.
main(String[]) - Static method in class demo.cms.signedData.SHA2withDSASignedDataDemo
The main method.
main(String[]) - Static method in class demo.cms.signedData.SignedDataDemo
The main method.
main(String[]) - Static method in class demo.cms.signedData.SignedDataDemoWithAdditionalSignerInfo
Main method.
main(String[]) - Static method in class demo.cms.signedData.SignedDataInOutStreamDemoWithAdditionalSignerInfo
The main method.
main(String[]) - Static method in class demo.cms.signedData.SignedDataOutputStreamDemo
The main method.
main(String[]) - Static method in class demo.cms.signedData.SignedDataStreamDemoWithAdditionalSignerInfo
The main method.
main(String[]) - Static method in class demo.cms.tsp.TimeStampDemo
Main method.
main(String[]) - Static method in class demo.DemoAll
Performs all tests.
main(String[]) - Static method in class demo.DemoPkcs11All
Performs all tests.
main(String[]) - Static method in class demo.keystore.SetupCMSKeyStore
Creates the test certificates.
main(String[]) - Static method in class demo.smime.basic.BinarySignedDemo
The main method.
main(String[]) - Static method in class demo.smime.basic.CMSStreamDemo
The main method.
main(String[]) - Static method in class demo.smime.basic.ProcessMessageDemo
The main method.
main(String[]) - Static method in class demo.smime.basic.SMimeCamelliaDemo
The main method.
main(String[]) - Static method in class demo.smime.basic.SMimeDemo
The main method.
main(String[]) - Static method in class demo.smime.basic.SMimeEnvelopedDemoAEAD
The main method.
main(String[]) - Static method in class demo.smime.basic.SMimeOaepPssDemo
The main method.
main(String[]) - Static method in class demo.smime.basic.SMimeSendDemo
Main method.
main(String[]) - Static method in class demo.smime.basic.SMimeShowDemo
Main method.
main(String[]) - Static method in class demo.smime.basic.SMimeV3CamelliaDemo
The main method.
main(String[]) - Static method in class demo.smime.basic.SMimeV3Demo
The main method.
main(String[]) - Static method in class demo.smime.basic.SMimeV3SHA2withDSADemo
The main method.
main(String[]) - Static method in class demo.smime.basic.SMimeV4Demo
The main method.
main(String[]) - Static method in class demo.smime.big.BigSMimeMailDemo
The main method.
main(String[]) - Static method in class demo.smime.ecc.SimpleSMimeV4EcDemo
The main method.
main(String[]) - Static method in class demo.smime.ecc.SimpleSMimeV4EdDemo
The main method.
main(String[]) - Static method in class demo.smime.ecc.SMimeEccDemo
The main method.
main(String[]) - Static method in class demo.smime.ecc.SMimeEccSuiteBDemo
The main method.
main(String[]) - Static method in class demo.smime.ecc.SMimeV4BrainpoolDemo
The main method.
main(String[]) - Static method in class demo.smime.ecc.SMimeV4EccDemo
The main method.
main(String[]) - Static method in class demo.smime.ess.MLADemo
Main method.
main(String[]) - Static method in class demo.smime.ess.SecurityLabelDemo
The main method.
main(String[]) - Static method in class demo.smime.ess.SignedReceiptDemo
Main method.
main(String[]) - Static method in class demo.smime.ess.SigningCertificateDemo
The main method.
main(String[]) - Static method in class demo.smime.ess.SigningCertificateV2Demo
The main method.
main(String[]) - Static method in class demo.smime.ess.TripleWrappingDemo
Main method.
main(String[]) - Static method in class demo.smime.pkcs11.EncryptedMailDemo
This is the main method that is called by the JVM during startup.
main(String[]) - Static method in class demo.smime.pkcs11.ExplicitSignedMailDemo
This is the main method that is called by the JVM during startup.
main(String[]) - Static method in class demo.smime.pkcs11.ImplicitSignedMailDemo
This is the main method that is called by the JVM during startup.
MLADemo - Class in demo.smime.ess
A ESS mailing list agent (MLA) demo.
MLADemo() - Constructor for class demo.smime.ess.MLADemo
Empty default constructor.
moduleName_ - Variable in class demo.cms.pkcs11.PKCS11Demo
Module name (native PKCS#11 module of the cryptographic hardware.
MY_SECURITY_POLICY_ID - Static variable in class demo.smime.ess.MySecurityLabelHandler
 
MySecurityLabelHandler - Class in demo.smime.ess
Simple demo SecurityLabelHandler.
MySecurityLabelHandler() - Constructor for class demo.smime.ess.MySecurityLabelHandler
 

O

OaepEnvelopedDataDemo - Class in demo.cms.envelopedData
This class demonstrates the CMS EnvelopedData implementation for the RSA-OAEP (PKCS#1v2.1) algorithm.
OaepEnvelopedDataDemo() - Constructor for class demo.cms.envelopedData.OaepEnvelopedDataDemo
Setup the demo certificate chains.

P

parse(Object) - Method in class demo.smime.big.BigSMimeMailDemo
Parses the given object (message, part, ... ).
parseAuthenticatedDataWithRecipientCert(boolean, byte[], byte[]) - Method in class demo.cms.ecc.EdDHAuthenticatedDataDemo
Parses an AuthenticatedData and decrypts the content for all test recipients using their recipient certificate for identifying the recipient.
parseAuthenticatedDataWithRecipientCertificate(boolean, byte[], byte[]) - Method in class demo.cms.ecc.ECDHAuthenticatedDataDemo
Parses an AuthenticatedData and verifies the mac for all recipients using the recipient certificate for identifying the recipient.
parseAuthenticatedDataWithRecipientCertOrKEKId(boolean, byte[], byte[]) - Method in class demo.cms.authenticatedData.AuthenticatedDataDemo
Parses an AuthenticatedData and verifies the mac for all recipients identified by their recipient certificate (or kek).
parseAuthenticatedDataWithRecipientCertOrKEKId(byte[], byte[]) - Method in class demo.cms.authenticatedData.AuthenticatedDataOutputStreamDemo
Parses an AuthenticatedData, decrypts the encrypted mac keys for all test recipients using their recipient certificate (or KEK id) for identifying the recipient and verifies the content mac.
parseAuthenticatedDataWithRecipientIdentifier(boolean, byte[], byte[]) - Method in class demo.cms.authenticatedData.AuthenticatedDataDemo
Parses an AuthenticatedData and verifies the mac for all recipients identified by their recipient identifiers.
parseAuthenticatedDataWithRecipientIdentifier(byte[], byte[]) - Method in class demo.cms.authenticatedData.AuthenticatedDataOutputStreamDemo
Parses an AuthenticatedData, decrypts the mac keys for all test recipients using their recipient identifiers for identifying the recipient and verifies the content mac.
parseAuthenticatedDataWithRecipientIdentifier(boolean, byte[], byte[]) - Method in class demo.cms.ecc.ECDHAuthenticatedDataDemo
Parses an AuthenticatedData and verifies the mac for all recipients using their recipient identifiers for identifying the recipient.
parseAuthenticatedDataWithRecipientIdentifier(boolean, byte[], byte[]) - Method in class demo.cms.ecc.EdDHAuthenticatedDataDemo
Parses an AuthenticatedData, decrypts the mac keys for all test recipients using their recipient identifiers for identifying the recipient and verifies the content mac.
parseAuthenticatedDataWithRecipientInfoIndex(boolean, byte[], byte[]) - Method in class demo.cms.authenticatedData.AuthenticatedDataDemo
Parses an AuthenticatedData and verifies the mac for all test recipients using the index into the recipientInfos field for identifying the recipient.
parseAuthenticatedDataWithRecipientInfoIndex(byte[], byte[]) - Method in class demo.cms.authenticatedData.AuthenticatedDataOutputStreamDemo
Parses an AuthenticatedData, decrypts the mac keys for all test recipients using the index into the recipientInfos field for identifying the recipient and verifies the content mac.
parseAuthenticatedDataWithRecipientInfoIndex(boolean, byte[], byte[]) - Method in class demo.cms.ecc.ECDHAuthenticatedDataDemo
Parses an AuthenticatedData and verifies the mac for all recipients using the index into the recipientInfos field for identifying the recipient.
parseAuthenticatedDataWithRecipientInfoIndex(boolean, byte[], byte[]) - Method in class demo.cms.ecc.EdDHAuthenticatedDataDemo
Parses an AuthenticatedData and decrypts the content for all test recipients using the index into the recipientInfos field for identifying the recipient.
parseAuthEnvelopedDataWithRecipientCert(boolean, byte[], PrivateKey, X509Certificate, PrivateKey, X509Certificate) - Method in class demo.cms.ecc.EckaEGAuthEnvelopedDataDemo
Parses an AuthEnvelopedData and decrypts the content for all test recipients using their recipient certificate for identifying the recipient.
parseAuthEnvelopedDataWithRecipientCert(boolean, byte[]) - Method in class demo.cms.ecc.EdDHAuthEnvelopedDataDemo
Parses an AuthEnvelopedData and decrypts the content for all test recipients using their recipient certificate for identifying the recipient.
parseAuthEnvelopedDataWithRecipientCertOrKEKId(boolean, byte[]) - Method in class demo.cms.authEnvelopedData.AuthEnvelopedDataDemo
Parses an AuthEnvelopedData and decrypts the content for all test recipients using their recipient certificate (for RecipientInfos of type KeyTransRecipientInfo or KeyAgreeRecipientInfo) or key id (for RecipientInfos of type KEKRecipientInfo) for identifying the recipient.
parseAuthEnvelopedDataWithRecipientIdentifier(boolean, byte[]) - Method in class demo.cms.authEnvelopedData.AuthEnvelopedDataDemo
Parses an AuthEnvelopedData and decrypts the content for all test recipients using their recipient identifiers for identifying the recipient.
parseAuthEnvelopedDataWithRecipientIdentifier(boolean, byte[]) - Method in class demo.cms.ecc.ECDHAuthEnvelopedDataDemo
Parses an AuthEnvelopedData and decrypts the content for all test recipients using their recipient identifiers for identifying the recipient.
parseAuthEnvelopedDataWithRecipientIdentifier(boolean, byte[], PrivateKey, X509Certificate, PrivateKey, X509Certificate) - Method in class demo.cms.ecc.EckaEGAuthEnvelopedDataDemo
Parses an AuthEnvelopedData and decrypts the content for all test recipients using their recipient identifiers for identifying the recipient.
parseAuthEnvelopedDataWithRecipientIdentifier(boolean, byte[]) - Method in class demo.cms.ecc.EdDHAuthEnvelopedDataDemo
Parses an AuthEnvelopedData and decrypts the content for all test recipients using their recipient identifiers for identifying the recipient.
parseAuthEnvelopedDataWithRecipientInfoIndex(boolean, byte[]) - Method in class demo.cms.authEnvelopedData.AuthEnvelopedDataDemo
Parses an AuthEnvelopedData and decrypts the content for all test recipients using the index into the recipientInfos field for identifying the recipient.
parseAuthEnvelopedDataWithRecipientInfoIndex(boolean, byte[]) - Method in class demo.cms.ecc.ECDHAuthEnvelopedDataDemo
Parses an AuthEnvelopedData and decrypts the content for all test recipients using the index into the recipientInfos field for identifying the recipient.
parseAuthEnvelopedDataWithRecipientInfoIndex(boolean, byte[], PrivateKey, PrivateKey) - Method in class demo.cms.ecc.EckaEGAuthEnvelopedDataDemo
Parses an AuthEnvelopedData and decrypts the content for all test recipients using the index into the recipientInfos field for identifying the recipient.
parseAuthEnvelopedDataWithRecipientInfoIndex(boolean, byte[]) - Method in class demo.cms.ecc.EdDHAuthEnvelopedDataDemo
Parses an AuthEnvelopedData and decrypts the content for all test recipients using the index into the recipientInfos field for identifying the recipient.
parseEnvelopedDataWithRecipientCertOrKEKId(boolean, byte[], byte[]) - Method in class demo.cms.envelopedData.EnvelopedDataDemo
Parses an EnvelopedData and decrypts the content for all test recipients using their recipient certificate (for RecipientInfos of type KeyTransRecipientInfo or KeyAgreeRecipientInfo) or key id (for RecipientInfos of type KEKRecipientInfo) for identifying the recipient.
parseEnvelopedDataWithRecipientCertOrKEKId(boolean, byte[]) - Method in class demo.cms.envelopedData.EnvelopedDataDemoAEAD
Parses an EnvelopedData and decrypts the content for all test recipients using their recipient certificate (for RecipientInfos of type KeyTransRecipientInfo or KeyAgreeRecipientInfo) or key id (for RecipientInfos of type KEKRecipientInfo) for identifying the recipient.
parseEnvelopedDataWithRecipientCertOrKEKId(boolean, byte[], byte[], byte[]) - Method in class demo.cms.envelopedData.ExplicitEnvelopedDataDemo
Parses an EnvelopedData and decrypts the content for all test recipients using their recipient certificate (for RecipientInfos of type KeyTransRecipientInfo or KeyAgreeRecipientInfo) or key id (for RecipientInfos of type KEKRecipientInfo) for identifying the recipient.
parseEnvelopedDataWithRecipientIdentifier(boolean, byte[]) - Method in class demo.cms.ecc.ECDHEnvelopedDataDemo
Parses an EnvelopedData and decrypts the content for all test recipients using their recipient identifiers for identifying the recipient.
parseEnvelopedDataWithRecipientIdentifier(boolean, byte[]) - Method in class demo.cms.ecc.EdDHEnvelopedDataDemo
Parses an EnvelopedData and decrypts the content for all test recipients using their recipient identifiers for identifying the recipient.
parseEnvelopedDataWithRecipientIdentifier(boolean, byte[], byte[]) - Method in class demo.cms.envelopedData.EnvelopedDataDemo
Parses an EnvelopedData and decrypts the content for all test recipients using their recipient identifiers for identifying the recipient.
parseEnvelopedDataWithRecipientIdentifier(boolean, byte[]) - Method in class demo.cms.envelopedData.EnvelopedDataDemoAEAD
Parses an EnvelopedData and decrypts the content for all test recipients using their recipient identifiers for identifying the recipient.
parseEnvelopedDataWithRecipientIdentifier(boolean, byte[], byte[], byte[]) - Method in class demo.cms.envelopedData.ExplicitEnvelopedDataDemo
Parses an EnvelopedData and decrypts the content for all test recipients using their recipient identifiers for identifying the recipient.
parseEnvelopedDataWithRecipientInfoIndex(boolean, byte[]) - Method in class demo.cms.ecc.ECDHEnvelopedDataDemo
Parses an EnvelopedData and decrypts the content for all test recipients using the index into the recipientInfos field for identifying the recipient.
parseEnvelopedDataWithRecipientInfoIndex(boolean, byte[]) - Method in class demo.cms.ecc.EdDHEnvelopedDataDemo
Parses an EnvelopedData and decrypts the content for all test recipients using the index into the recipientInfos field for identifying the recipient.
parseEnvelopedDataWithRecipientInfoIndex(boolean, byte[], byte[]) - Method in class demo.cms.envelopedData.EnvelopedDataDemo
Parses an EnvelopedData and decrypts the content for all test recipients using the index into the recipientInfos field for identifying the recipient.
parseEnvelopedDataWithRecipientInfoIndex(boolean, byte[]) - Method in class demo.cms.envelopedData.EnvelopedDataDemoAEAD
Parses an EnvelopedData and decrypts the content for all test recipients using the index into the recipientInfos field for identifying the recipient.
parseEnvelopedDataWithRecipientInfoIndex(boolean, byte[], byte[], byte[]) - Method in class demo.cms.envelopedData.ExplicitEnvelopedDataDemo
Parses an EnvelopedData and decrypts the content for all test recipients using the index into the recipientInfos field for identifying the recipient.
parseMessage(Message) - Method in class demo.smime.ess.SecurityLabelDemo
Parses the signed message, verifies the signature and processes the SecurityLabel attribute.
PasswordRecipientInfoDemo - Class in demo.cms.envelopedData
This class shows the usage of the CMS RecipientInfo type PasswordRecipientInfo as specified by RFC 5652.
PasswordRecipientInfoDemo() - Constructor for class demo.cms.envelopedData.PasswordRecipientInfoDemo
Default constructor.
PKCS11Demo - Class in demo.cms.pkcs11
Base class for PKCS#11 Demos.
PKCS11Demo() - Constructor for class demo.cms.pkcs11.PKCS11Demo
Creates a PKCS11Demo object that has to be explicitly initialized with a module name.
PKCS11Demo(String, char[]) - Constructor for class demo.cms.pkcs11.PKCS11Demo
Creates a PKCS11Demo object for the given module name.
PKCS7CMSDataDemo - Class in demo.cms.pkcs7cms
Compares the usage of IAIK CMS Data(Stream) with IAIK PKCS7 Data(Stream).
PKCS7CMSDataDemo() - Constructor for class demo.cms.pkcs7cms.PKCS7CMSDataDemo
Default constructor.
PKCS7CMSDigestedDataDemo - Class in demo.cms.pkcs7cms
Compares the usage of IAIK CMS DigestedData(Stream) with IAIK PKSC#7 DigestedData(Stream).
PKCS7CMSDigestedDataDemo() - Constructor for class demo.cms.pkcs7cms.PKCS7CMSDigestedDataDemo
Default constructor.
PKCS7CMSEncryptedContentInfoDemo - Class in demo.cms.pkcs7cms
This class demonstrates the EnvelopedDataStream/EncryptedContentInfoStream usages for algorithms that may require a specific parameter handling.
PKCS7CMSEncryptedContentInfoDemo() - Constructor for class demo.cms.pkcs7cms.PKCS7CMSEncryptedContentInfoDemo
Setup the demo certificate chains.
PKCS7CMSEncryptedDataDemo - Class in demo.cms.pkcs7cms
Compares the usage of IAIK CMS with the IAIK PKCS#7 EncryptedData(Stream) implementation.
PKCS7CMSEncryptedDataDemo() - Constructor for class demo.cms.pkcs7cms.PKCS7CMSEncryptedDataDemo
Default constructor.
PKCS7CMSEnvelopedDataDemo - Class in demo.cms.pkcs7cms
Compares the usage of the IAIK CMS EnvelopedData(Stream) implementation against the IAIK PKCS#7 EnvelopedData(Stream) implementation.
PKCS7CMSEnvelopedDataDemo() - Constructor for class demo.cms.pkcs7cms.PKCS7CMSEnvelopedDataDemo
Setup the demo certificate chains.
PKCS7CMSSignedDataDemo - Class in demo.cms.pkcs7cms
This class demonstrates the CMS SignedData implementation and checks it against the IAIK PKCS#7 library.
PKCS7CMSSignedDataDemo() - Constructor for class demo.cms.pkcs7cms.PKCS7CMSSignedDataDemo
Setup the demo certificate chains.
printHeader() - Method in class demo.smime.ess.SigningCertificateDemo
Prints some header lines to System.out.
printHeader() - Method in class demo.smime.ess.SigningCertificateV2Demo
Prints some header lines to System.out.
privateKey_ - Variable in class demo.cms.pkcs11.EnvelopedDataStreamDemo
The private key of the recipient.
privateKey_ - Variable in class demo.smime.pkcs11.EncryptedMailDemo
The private key of the recipient.
processESSSecurityLabel(ESSSecurityLabel, SignerInfo[]) - Method in class demo.smime.ess.MySecurityLabelHandler
Processes the given SecurityLabel attribute.
ProcessMessageDemo - Class in demo.smime.basic
This class demonstrates the usage of the IAIK S/MIME implementation for cryptographically processing (e.g. signing or encrypting) a received message.
ProcessMessageDemo() - Constructor for class demo.smime.basic.ProcessMessageDemo
Default constructor.
processMessageForMLA(Message, boolean, String) - Method in class demo.smime.ess.MLADemo
 
PssSignedDataDemo - Class in demo.cms.signedData
This class demonstrates the CMS SignedData implementation for the RSA-PSS (PKCS#1v2.1) algorithm.
PssSignedDataDemo() - Constructor for class demo.cms.signedData.PssSignedDataDemo
Setups the demo certificate chains.

R

RC2EnvelopedDataDemo - Class in demo.cms.envelopedData
This class demonstrates the EnvelopedDataStream/EncryptedContentInfoStream usages for the RC2 algorithm.
RC2EnvelopedDataDemo() - Constructor for class demo.cms.envelopedData.RC2EnvelopedDataDemo
Setup the demo certificate chains.
readMLExpansionHistory(SignedContent, int) - Static method in class demo.smime.ess.MLADemo
Reads the MLExpansionHistory attribute from the given signed data and dumps the included MLData structures.
recipient_ - Variable in class demo.smime.pkcs11.EncryptedMailDemo
The email address of the recipient.
recipient_ - Variable in class demo.smime.pkcs11.SignedMailDemo
The email address of the recipient.
registerMailCapEntries() - Static method in class demo.DemoSMimeUtil
Registers the IAIK content handlers for the mailcap command map.
RSA - Static variable in class demo.keystore.CMSKeyStore
Indices into the cert/key tables
RSA_2048_CRYPT_1 - Static variable in interface demo.keystore.CMSKeyStoreConstants
 
RSA_2048_CRYPT_2 - Static variable in interface demo.keystore.CMSKeyStoreConstants
 
RSA_2048_CRYPT_3 - Static variable in interface demo.keystore.CMSKeyStoreConstants
 
RSA_2048_SIGN_1 - Static variable in interface demo.keystore.CMSKeyStoreConstants
 
RSA_2048_SIGN_2 - Static variable in interface demo.keystore.CMSKeyStoreConstants
 
RSA_2048_SIGN_3 - Static variable in interface demo.keystore.CMSKeyStoreConstants
 
RSAPSS - Static variable in class demo.keystore.CMSKeyStore
 
RSAPSS_2048_SHA1_SIGN - Static variable in interface demo.keystore.CMSKeyStoreConstants
 
RSAPSS_2048_SHA256_SIGN - Static variable in interface demo.keystore.CMSKeyStoreConstants
 
RSAPSS_2048_SHA384_SIGN - Static variable in interface demo.keystore.CMSKeyStoreConstants
 
RSAPSS_2048_SHA512_SIGN - Static variable in interface demo.keystore.CMSKeyStoreConstants
 
runDemo(byte[], AlgorithmID, AlgorithmID, KeyAndCertificate) - Method in class demo.cms.ecc.ECDSASignedDataDemo
Runs the signing - verifying demo.
runDemo(byte[], AlgorithmID, AlgorithmID, KeyAndCertificate) - Method in class demo.cms.ecc.ECDSASignedDataOutputStreamDemo
Runs the signing - verifying demo.
runDemo(byte[], AlgorithmID, AlgorithmID, KeyAndCertificate) - Method in class demo.cms.ecc.EdDSASignedDataDemo
Runs the signing - verifying demo.
runDemo(byte[], AlgorithmID, AlgorithmID, KeyAndCertificate) - Method in class demo.cms.ecc.EdDSASignedDataOutputStreamDemo
Runs the signing - verifying demo.

S

SecurityLabelDemo - Class in demo.smime.ess
Demonstrates the usage of the S/MIME-ESS SecurityLabel attribute.
SecurityLabelDemo() - Constructor for class demo.smime.ess.SecurityLabelDemo
Default constructor.
sender_ - Variable in class demo.smime.pkcs11.EncryptedMailDemo
The email address of the sender.
sender_ - Variable in class demo.smime.pkcs11.SignedMailDemo
The email address of the sender.
sendRequest(TimeStampReq, String) - Static method in class demo.cms.tsp.TSPDemoUtils
Sends the given time stamp request to the given TSA.
setCertOfSignerToBeCounterSigned(X509Certificate) - Method in class demo.cms.signedData.CounterSignatureListener
Identify the SignerInfo to be counter signed.
setDebugStream(OutputStream) - Method in class demo.cms.tsp.TimeStampListener
Sets the stream to which debug information shall be printed.
setDebugStream(OutputStream) - Static method in class demo.cms.tsp.TSPServer
Sets a stream to which debugging information shall be printed.
setRecipientKey(PrivateKey) - Method in class demo.smime.DumpMessage
Sets the private recipient key to be used to decrypt an encrypted message.
setStopOnTSPProcessingError(boolean) - Method in class demo.cms.tsp.TimeStampListener
Decides whether SignedData creation shall be stopped and an exception shall be thrown if the TSA response is invalid, or if the SignedData should be finished without including a SignatureTimeStampToken attribute (which then may be added later).
setTimeStampResponse(TimeStampResp) - Method in class demo.cms.tsp.TimeStampListener
Sets the (already validated) TimeStamp response.
setTSAPolicyID(ObjectID) - Method in class demo.cms.tsp.TimeStampListener
Sets the policyID of the TSA (if only some specific TSA (policy) shall be trusted).
setupCertificates() - Method in class demo.smime.basic.CMSStreamDemo
Reads the required keys and certificates from the demo keystore.
SetupCMSEccKeyStore - Class in demo.cms.ecc.keystore
Creates a test KeyStore ("cmsecc.keystore") in the current working directory.
SetupCMSEccKeyStore() - Constructor for class demo.cms.ecc.keystore.SetupCMSEccKeyStore
Default Constructor.
SetupCMSKeyStore - Class in demo.keystore
Creates a default KeyStore in the current working directory.
SetupCMSKeyStore() - Constructor for class demo.keystore.SetupCMSKeyStore
Default Constructor.
SetupCMSKeyStore(String) - Constructor for class demo.keystore.SetupCMSKeyStore
Creates a SetupCMSKeyStore for the given keystore filename.
SHA2withDSASignedDataDemo - Class in demo.cms.signedData
Demonstrates the usage of class SignedDataStream and SignedData for signing some data using the CMS type SignedData with SHA2withDSA signature algorithm according to FIPS 186-3.
SHA2withDSASignedDataDemo() - Constructor for class demo.cms.signedData.SHA2withDSASignedDataDemo
Setups the demo certificate chains.
show(String[]) - Method in class demo.smime.basic.SMimeShowDemo
Connects to the mail server, downloads messages, verifies/decrypts them (if they are signed/encrypted).
sign(byte[], boolean) - Method in class demo.cms.pkcs11.SignedDataStreamDemo
This method signs the data in the byte array DATA with signatureKey_.
signCertificate(X509Certificate, AlgorithmID, PrivateKey) - Static method in class demo.cms.ecc.ECCDemoUtil
Signs the given certificate with deterministic generation of parameter k (if supported).
SignedAndEnvelopedDataDemo - Class in demo.cms.signedAndEnvelopedData
This class shows the sequential combination of the SignedData and EnvelopedData implementations.
SignedAndEnvelopedDataDemo() - Constructor for class demo.cms.signedAndEnvelopedData.SignedAndEnvelopedDataDemo
Setup the demo certificate chains.
SignedAndEnvelopedDataOutputStreamDemo - Class in demo.cms.signedAndEnvelopedData
This class shows the sequential combination of the SignedDataOutputStream and EnvelopedDataOutputStream implementations.
SignedAndEnvelopedDataOutputStreamDemo() - Constructor for class demo.cms.signedAndEnvelopedData.SignedAndEnvelopedDataOutputStreamDemo
Setup the demo certificate chains.
SignedDataDemo - Class in demo.cms.signedData
Demonstrates the usage of class SignedDataStream and SignedData for signing some data using the CMS type SignedData.
SignedDataDemo() - Constructor for class demo.cms.signedData.SignedDataDemo
Setups the demo certificate chains.
SignedDataDemoWithAdditionalSignerInfo - Class in demo.cms.signedData
This class shows how to use the non-stream based SignedData implementation to add a new SignerInfo to an existing, parsed SignedData object.
SignedDataDemoWithAdditionalSignerInfo() - Constructor for class demo.cms.signedData.SignedDataDemoWithAdditionalSignerInfo
 
SignedDataInOutStreamDemoWithAdditionalSignerInfo - Class in demo.cms.signedData
This class demonstrates the usage of class SignedDataInOutStream to add a new SignerInfo to an existing, parsed SignedData object.
SignedDataInOutStreamDemoWithAdditionalSignerInfo() - Constructor for class demo.cms.signedData.SignedDataInOutStreamDemoWithAdditionalSignerInfo
Constructor.
SignedDataOutputStreamDemo - Class in demo.cms.signedData
Demonstrates the usage of class SignedDataOutputStream and SignedDataOutputStream for signing some data using the CMS type SignedData.
SignedDataOutputStreamDemo() - Constructor for class demo.cms.signedData.SignedDataOutputStreamDemo
Setups the demo certificate chains.
SignedDataStreamDemo - Class in demo.cms.pkcs11
Base class of SignedDataStream demos using PKCS#11 for accessing the signer key on a smart card.
SignedDataStreamDemo() - Constructor for class demo.cms.pkcs11.SignedDataStreamDemo
Creates a SignedDataStreamDemo object that has to be explicitly initialized with a module name.
SignedDataStreamDemoWithAdditionalSignerInfo - Class in demo.cms.signedData
This class demonstrates the usage of an SDSEncodeListener to add a new SignerInfo to an existing, parsed SignedDataStream object.
SignedDataStreamDemoWithAdditionalSignerInfo() - Constructor for class demo.cms.signedData.SignedDataStreamDemoWithAdditionalSignerInfo
Constructor.
SignedMailDemo - Class in demo.smime.pkcs11
Base class of signed mail demos using PKCS#11 for accessing the signer key on a smart card.
SignedMailDemo(String, char[]) - Constructor for class demo.smime.pkcs11.SignedMailDemo
Creates a SignedMailDemo object for the given module name.
SignedReceiptDemo - Class in demo.smime.ess
An RFC2634 ESS ReceiptRequest -- SignedReceipt demo.
SignedReceiptDemo() - Constructor for class demo.smime.ess.SignedReceiptDemo
Empty default constructor.
signerCertificate_ - Variable in class demo.cms.pkcs11.SignedDataStreamDemo
This is the certificate used for verifying the signature.
signerCertificates_ - Variable in class demo.smime.pkcs11.SignedMailDemo
The certificate chain of the signer.
signerKey_ - Variable in class demo.cms.pkcs11.SignedDataStreamDemo
The private key of the signer.
signerKey_ - Variable in class demo.smime.pkcs11.SignedMailDemo
The private key of the signer.
SigningCertificateDemo - Class in demo.smime.ess
Demonstrates how to add and parse a SigningCertificate attribute to the SignerInfo of a SignedDataStream or SignedData object.
SigningCertificateDemo() - Constructor for class demo.smime.ess.SigningCertificateDemo
Setups the demo certificate chains.
SigningCertificateV2Demo - Class in demo.smime.ess
Demonstrates how to add and parse a SigningCertificateV2 attribute to the SignerInfo of a SignedDataStream or SignedData object.
SigningCertificateV2Demo() - Constructor for class demo.smime.ess.SigningCertificateV2Demo
Setups the demo certificate chains.
SimpleSMimeV4EcDemo - Class in demo.smime.ecc
This class demonstrates the usage of the IAIK S/MIME implementation.
SimpleSMimeV4EcDemo() - Constructor for class demo.smime.ecc.SimpleSMimeV4EcDemo
Default constructor.
SimpleSMimeV4EdDemo - Class in demo.smime.ecc
This class demonstrates the usage of the IAIK S/MIME implementation.
SimpleSMimeV4EdDemo() - Constructor for class demo.smime.ecc.SimpleSMimeV4EdDemo
Default constructor.
SMimeCamelliaDemo - Class in demo.smime.basic
This class demonstrates the usage of the IAIK S/MIME implementation with the Camellia encryption algorithm.
SMimeCamelliaDemo() - Constructor for class demo.smime.basic.SMimeCamelliaDemo
Default constructor.
SMimeDemo - Class in demo.smime.basic
This class demonstrates the usage of the IAIK S/MIME implementation.
SMimeDemo() - Constructor for class demo.smime.basic.SMimeDemo
Default constructor.
SMimeEccDemo - Class in demo.smime.ecc
This class demonstrates the usage of the IAIK S/MIME implementation to create ECDSA (with SHA1, SHA224, SHA256, SHA384, SHA512, RIPEMD160) signed and/or ECDH based encrypted S/MIMEv3 messages and how to parse them and verify the signatures and decrypt the content, respectively.
SMimeEccDemo() - Constructor for class demo.smime.ecc.SMimeEccDemo
Default constructor.
SMimeEccSuiteBDemo - Class in demo.smime.ecc
This class demonstrates the usage of the IAIK S/MIME implementation to create and parse ECDSA signed and/or ECDH based encrypted S/MIMEv3 messages according to RFC 5008 "Suite B in Secure/Multipurpose Internet Mail Extensions (S/MIME)".
SMimeEccSuiteBDemo() - Constructor for class demo.smime.ecc.SMimeEccSuiteBDemo
Default constructor.
SMimeEnvelopedDemoAEAD - Class in demo.smime.basic
This class demonstrates the usage of the IAIK S/MIME implementation.
SMimeEnvelopedDemoAEAD() - Constructor for class demo.smime.basic.SMimeEnvelopedDemoAEAD
Default constructor.
SMimeOaepPssDemo - Class in demo.smime.basic
This class demonstrates the usage of the IAIK S/MIME implementation using RSA-PSS for signing, RSA-OAEP for key transport and AES-256 CBC for content encryption.
SMimeOaepPssDemo() - Constructor for class demo.smime.basic.SMimeOaepPssDemo
Default constructor.
SMimeSendDemo - Class in demo.smime.basic
This class demonstrates the usage of the IAIK S/MIME implementation for sending signed and/or encryped emails based on the JavaMail API.
SMimeSendDemo() - Constructor for class demo.smime.basic.SMimeSendDemo
Default constructor.
SMimeShowDemo - Class in demo.smime.basic
This class demonstrates the usage of the IAIK S/MIME implementation for downloading and verifying/decrypting signed and/or encrypted emails from some mail server.
SMimeShowDemo() - Constructor for class demo.smime.basic.SMimeShowDemo
Default constructor.
SMimeV3CamelliaDemo - Class in demo.smime.basic
This class demonstrates the usage of the IAIK S/MIME implementation with the Camellia encryption algorithm.
SMimeV3CamelliaDemo() - Constructor for class demo.smime.basic.SMimeV3CamelliaDemo
Default constructor.
SMimeV3Demo - Class in demo.smime.basic
This class demonstrates the usage of the IAIK S/MIME implementation.
SMimeV3Demo() - Constructor for class demo.smime.basic.SMimeV3Demo
Default constructor.
SMimeV3SHA2withDSADemo - Class in demo.smime.basic
This class demonstrates the usage of the IAIK S/MIME implementation with the SHA2withDSA signature algorithm (FIPS 186-3).
SMimeV3SHA2withDSADemo() - Constructor for class demo.smime.basic.SMimeV3SHA2withDSADemo
Default constructor.
SMimeV4BrainpoolDemo - Class in demo.smime.ecc
This class demonstrates the usage of the IAIK S/MIME implementation.
SMimeV4BrainpoolDemo() - Constructor for class demo.smime.ecc.SMimeV4BrainpoolDemo
Default constructor.
SMimeV4Demo - Class in demo.smime.basic
This class demonstrates the usage of the IAIK S/MIME implementation.
SMimeV4Demo() - Constructor for class demo.smime.basic.SMimeV4Demo
Default constructor.
SMimeV4EccDemo - Class in demo.smime.ecc
This class demonstrates the usage of the IAIK S/MIME implementation.
SMimeV4EccDemo() - Constructor for class demo.smime.ecc.SMimeV4EccDemo
Default constructor.
SSDH - Static variable in class demo.keystore.CMSKeyStore
 
SSDH_2048_1 - Static variable in interface demo.keystore.CMSKeyStoreConstants
 
SSDH_2048_2 - Static variable in interface demo.keystore.CMSKeyStoreConstants
 
start() - Method in class demo.cms.authenticatedData.AuthenticatedDataDemo
Starts the test.
start() - Method in class demo.cms.authenticatedData.AuthenticatedDataOutputStreamDemo
Starts the test.
start() - Method in class demo.cms.authEnvelopedData.AuthEnvelopedDataDemo
Starts the test.
start(AlgorithmID) - Method in class demo.cms.authEnvelopedData.AuthEnvelopedDataDemo
Starts the test for the given content-authenticated encryption algorithm.
start() - Method in class demo.cms.authEnvelopedData.AuthEnvelopedDataOutputStreamDemo
Starts the test.
start(AlgorithmID) - Method in class demo.cms.authEnvelopedData.AuthEnvelopedDataOutputStreamDemo
Starts the test for the given content-authenticated encryption algorithm.
start() - Method in class demo.cms.basic.CMSDemo
Tests the CMS content type implementations Data, EnvelopedData, SignedData, DigestedData, EncryptedData.
start() - Method in class demo.cms.compressedData.CompressedDataDemo
Starts the demo.
start() - Method in class demo.cms.compressedData.CompressedDataOutputStreamDemo
Starts the demo.
start() - Method in class demo.cms.data.DataDemo
Tests IAIK CMS Data(Stream).
start() - Method in class demo.cms.data.DataOutputStreamDemo
Starts the tests.
start() - Method in class demo.cms.digestedData.DigestedDataDemo
Starts the tests.
start() - Method in class demo.cms.digestedData.DigestedDataOutputStreamDemo
Starts the tests.
start() - Method in class demo.cms.ecc.ECDHAuthenticatedDataDemo
Starts the demo.
start() - Method in class demo.cms.ecc.ECDHAuthEnvelopedDataDemo
Starts the demo.
start(AlgorithmID) - Method in class demo.cms.ecc.ECDHAuthEnvelopedDataDemo
Starts the demo for the given content-authenticated encryption algorithm.
start() - Method in class demo.cms.ecc.ECDHEnvelopedDataDemo
Starts the test.
start() - Method in class demo.cms.ecc.ECDSASignedDataDemo
Tests the CMS SignedData implementation with the ECDSA signature algorithm and several hash algorithms.
start() - Method in class demo.cms.ecc.ECDSASignedDataOutputStreamDemo
Tests the CMS SignedData implementation with the ECDSA signature algorithm and several hash algorithms.
start() - Method in class demo.cms.ecc.EckaEGAuthEnvelopedDataDemo
Starts the test.
start(AlgorithmID, PrivateKey, X509Certificate[], PrivateKey, X509Certificate, PrivateKey, X509Certificate) - Method in class demo.cms.ecc.EckaEGAuthEnvelopedDataDemo
Starts the test for the given content-authenticated encryption algorithm.
start() - Method in class demo.cms.ecc.EdDHAuthenticatedDataDemo
Starts the test.
start(AlgorithmID, AlgorithmID, int) - Method in class demo.cms.ecc.EdDHAuthenticatedDataDemo
Starts the test for the given content-authenticated encryption algorithm.
start() - Method in class demo.cms.ecc.EdDHAuthEnvelopedDataDemo
Starts the test.
start(AlgorithmID, AlgorithmID, int, AlgorithmID) - Method in class demo.cms.ecc.EdDHAuthEnvelopedDataDemo
Starts the test for the given content-authenticated encryption algorithm.
start() - Method in class demo.cms.ecc.EdDHEnvelopedDataDemo
Runs the demo.
start(AlgorithmID, AlgorithmID, int) - Method in class demo.cms.ecc.EdDHEnvelopedDataDemo
Runs the demo for the given key encryption (key agreement) algorithm, and key wrap algorithm.
start() - Method in class demo.cms.ecc.EdDSASignedDataDemo
Tests the CMS SignedData implementation with the ECDSA signature algorithm and several hash algorithms.
start() - Method in class demo.cms.ecc.EdDSASignedDataOutputStreamDemo
Tests the CMS SignedData implementation with the ECDSA signature algorithm and several hash algorithms.
start() - Static method in class demo.cms.ecc.keystore.SetupCMSEccKeyStore
Starts the keystore setup.
start() - Method in class demo.cms.encryptedData.EncryptedDataDemo
Starts the tests.
start() - Method in class demo.cms.encryptedData.EncryptedDataOutputStreamDemo
Starts the demo.
start() - Method in class demo.cms.envelopedData.ArcFourEnvelopedDataDemo
Starts the test.
start() - Method in class demo.cms.envelopedData.CAST128EnvelopedDataDemo
Starts the test.
start() - Method in class demo.cms.envelopedData.EncryptedContentInfoDemo
Starts the test.
start() - Method in class demo.cms.envelopedData.EnvelopedDataDemo
Starts the test.
start() - Method in class demo.cms.envelopedData.EnvelopedDataDemoAEAD
Starts the test.
start(AlgorithmID) - Method in class demo.cms.envelopedData.EnvelopedDataDemoAEAD
Starts the test for the given content-authenticated encryption algorithm.
start() - Method in class demo.cms.envelopedData.EnvelopedDataOutputStreamDemo
Starts the demo.
start() - Method in class demo.cms.envelopedData.ExplicitEnvelopedDataDemo
Starts the test.
start() - Method in class demo.cms.envelopedData.FileEncryptionDemo
Starts the demo.
start() - Method in class demo.cms.envelopedData.OaepEnvelopedDataDemo
Shows thw CMS EnvelopedData implementation for the RSA-OAEP (PKCS#1v2.1) algorithm.
start() - Method in class demo.cms.envelopedData.PasswordRecipientInfoDemo
Starts the demo.
start() - Method in class demo.cms.envelopedData.RC2EnvelopedDataDemo
Starts the test.
start() - Method in class demo.cms.pkcs11.EnvelopedDataStreamDemo
Starts the demo.
start(boolean) - Method in class demo.cms.pkcs11.SignedDataStreamDemo
Starts the demo.
start() - Method in class demo.cms.pkcs7cms.PKCS7CMSDataDemo
Tests IAIK CMS Data(Stream) against IAIK PKCS7 Data(Stream).
start() - Method in class demo.cms.pkcs7cms.PKCS7CMSDigestedDataDemo
Starts the tests.
start() - Method in class demo.cms.pkcs7cms.PKCS7CMSEncryptedContentInfoDemo
Starts the test.
start() - Method in class demo.cms.pkcs7cms.PKCS7CMSEncryptedDataDemo
Starts the tests.
start() - Method in class demo.cms.pkcs7cms.PKCS7CMSEnvelopedDataDemo
Starts the test.
start() - Method in class demo.cms.pkcs7cms.PKCS7CMSSignedDataDemo
Tests the CMS SignedData implementation and checks it against the IAIK PKCS#7 library.
start() - Method in class demo.cms.signedAndEnvelopedData.SignedAndEnvelopedDataDemo
Starts the test.
start() - Method in class demo.cms.signedAndEnvelopedData.SignedAndEnvelopedDataOutputStreamDemo
Starts the test.
start() - Method in class demo.cms.signedData.CounterSignatureDemo
Starts the demo.
start() - Method in class demo.cms.signedData.PssSignedDataDemo
Tests the CMS SignedData implementation for the RSA-PSS (PKCS#1v2.1) algorithm.
start() - Method in class demo.cms.signedData.SHA2withDSASignedDataDemo
Tests the CMS SignedData implementation.
start() - Method in class demo.cms.signedData.SignedDataDemo
Tests the CMS SignedData implementation.
start() - Method in class demo.cms.signedData.SignedDataDemoWithAdditionalSignerInfo
Starts the test.
start() - Method in class demo.cms.signedData.SignedDataInOutStreamDemoWithAdditionalSignerInfo
Starts the test.
start() - Method in class demo.cms.signedData.SignedDataOutputStreamDemo
Demonstrates the CMS SignedDataOutputStream implementation.
start() - Method in class demo.cms.signedData.SignedDataStreamDemoWithAdditionalSignerInfo
Starts the test.
start() - Method in class demo.cms.tsp.TimeStampDemo
Starts the demo.
start() - Method in class demo.cms.tsp.TSPServer
Starts the TSP Server.
start() - Method in class demo.DemoAll
Start all tests.
start(String, char[]) - Method in class demo.DemoPkcs11All
Start all tests.
start() - Static method in class demo.keystore.SetupCMSKeyStore
Starts the keystore setup.
start() - Method in class demo.smime.basic.BinarySignedDemo
Starts the demo.
start() - Method in class demo.smime.basic.CMSStreamDemo
Starts the demo.
start() - Method in class demo.smime.basic.ProcessMessageDemo
Starts the demo.
start() - Method in class demo.smime.basic.SMimeCamelliaDemo
Starts the demo.
start() - Method in class demo.smime.basic.SMimeDemo
Starts the demo.
start() - Method in class demo.smime.basic.SMimeEnvelopedDemoAEAD
Starts the demo.
start() - Method in class demo.smime.basic.SMimeOaepPssDemo
Starts the demo.
start(String[]) - Method in class demo.smime.basic.SMimeSendDemo
Starts the demo.
start() - Method in class demo.smime.basic.SMimeV3CamelliaDemo
Starts the demo.
start() - Method in class demo.smime.basic.SMimeV3Demo
Starts the demo.
start() - Method in class demo.smime.basic.SMimeV3SHA2withDSADemo
Starts the demo.
start() - Method in class demo.smime.basic.SMimeV4Demo
Starts the demo.
start() - Method in class demo.smime.big.BigSMimeMailDemo
Starts the demo.
start() - Method in class demo.smime.ecc.SimpleSMimeV4EcDemo
Starts the demo.
start() - Method in class demo.smime.ecc.SMimeEccDemo
Starts the demo.
start() - Method in class demo.smime.ecc.SMimeEccSuiteBDemo
Starts the demo.
start() - Method in class demo.smime.ecc.SMimeV4BrainpoolDemo
Starts the demo.
start() - Method in class demo.smime.ecc.SMimeV4EccDemo
Starts the demo.
start() - Method in class demo.smime.ess.MLADemo
Runs the demo samples.
start() - Method in class demo.smime.ess.SecurityLabelDemo
Starts the demo.
start() - Method in class demo.smime.ess.SignedReceiptDemo
Starts the SignedReceipt demo.
start() - Method in class demo.smime.ess.SigningCertificateDemo
Starts the demo.
start() - Method in class demo.smime.ess.TripleWrappingDemo
Starts the demo.
start() - Method in class demo.smime.pkcs11.EncryptedMailDemo
Starts the demo.
start() - Method in class demo.smime.pkcs11.ExplicitSignedMailDemo
Starts the demo.
start() - Method in class demo.smime.pkcs11.ImplicitSignedMailDemo
Starts the demo.
start(boolean) - Method in class demo.smime.pkcs11.SignedMailDemo
Starts the demo.
startEncryptionDemo(Session, AlgorithmID, int, AlgorithmID, AlgorithmID, int, boolean, X509Certificate[]) - Method in class demo.smime.ecc.SMimeV4EccDemo
Starts the (maybe authenticated) encryption demo.
startSigningAndEncryptionDemo(Session, DataHandler, AlgorithmID, AlgorithmID, AlgorithmID, int, AlgorithmID, AlgorithmID, int, boolean, PrivateKey, X509Certificate[], X509Certificate[]) - Method in class demo.smime.ecc.SMimeV4EccDemo
Starts the signing + (maybe authenticated) encryption demo.
startSigningDemo(Session, DataHandler, AlgorithmID, AlgorithmID, PrivateKey, X509Certificate[]) - Method in class demo.smime.ecc.SMimeV4EccDemo
Starts the signing demo.
StaticStaticECDHDemo - Class in demo.cms.ecc
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.
StaticStaticECDHDemo() - Constructor for class demo.cms.ecc.StaticStaticECDHDemo
Setup the demo certificate chains.
stop() - Method in class demo.cms.tsp.TSPServer
Stops the TSP Server.
storeDigestValues(SignedContent) - Method in class demo.smime.ess.SignedReceiptDemo
Keeps the signature message digest value of the sender and the receipt content digest values for later SignedReceipt validation.
SZ_1024_SIGN - Static variable in class demo.keystore.CMSKeyStore
 
SZ_192_BRAINPOOL_CRYPT_1 - Static variable in class demo.cms.ecc.keystore.CMSEccKeyStore
 
SZ_192_BRAINPOOL_CRYPT_2 - Static variable in class demo.cms.ecc.keystore.CMSEccKeyStore
 
SZ_192_BRAINPOOL_SIGN - Static variable in class demo.cms.ecc.keystore.CMSEccKeyStore
 
SZ_192_CRYPT_1 - Static variable in class demo.cms.ecc.keystore.CMSEccKeyStore
 
SZ_192_CRYPT_2 - Static variable in class demo.cms.ecc.keystore.CMSEccKeyStore
 
SZ_192_SIGN - Static variable in class demo.cms.ecc.keystore.CMSEccKeyStore
 
SZ_2048_CRYPT_1 - Static variable in class demo.keystore.CMSKeyStore
 
SZ_2048_CRYPT_2 - Static variable in class demo.keystore.CMSKeyStore
 
SZ_2048_CRYPT_3 - Static variable in class demo.keystore.CMSKeyStore
 
SZ_2048_SHA1_SIGN - Static variable in class demo.keystore.CMSKeyStore
 
SZ_2048_SHA256_SIGN - Static variable in class demo.keystore.CMSKeyStore
 
SZ_2048_SHA384_SIGN - Static variable in class demo.keystore.CMSKeyStore
 
SZ_2048_SHA512_SIGN - Static variable in class demo.keystore.CMSKeyStore
 
SZ_2048_SIGN_1 - Static variable in class demo.keystore.CMSKeyStore
 
SZ_2048_SIGN_2 - Static variable in class demo.keystore.CMSKeyStore
 
SZ_2048_SIGN_3 - Static variable in class demo.keystore.CMSKeyStore
 
SZ_224_BRAINPOOL_CRYPT_1 - Static variable in class demo.cms.ecc.keystore.CMSEccKeyStore
 
SZ_224_BRAINPOOL_CRYPT_2 - Static variable in class demo.cms.ecc.keystore.CMSEccKeyStore
 
SZ_224_BRAINPOOL_SIGN - Static variable in class demo.cms.ecc.keystore.CMSEccKeyStore
 
SZ_224_CRYPT_1 - Static variable in class demo.cms.ecc.keystore.CMSEccKeyStore
 
SZ_224_CRYPT_2 - Static variable in class demo.cms.ecc.keystore.CMSEccKeyStore
 
SZ_224_SIGN - Static variable in class demo.cms.ecc.keystore.CMSEccKeyStore
 
SZ_256_BRAINPOOL_CRYPT_1 - Static variable in class demo.cms.ecc.keystore.CMSEccKeyStore
 
SZ_256_BRAINPOOL_CRYPT_2 - Static variable in class demo.cms.ecc.keystore.CMSEccKeyStore
 
SZ_256_BRAINPOOL_SIGN - Static variable in class demo.cms.ecc.keystore.CMSEccKeyStore
 
SZ_256_CRYPT_1 - Static variable in class demo.cms.ecc.keystore.CMSEccKeyStore
 
SZ_256_CRYPT_2 - Static variable in class demo.cms.ecc.keystore.CMSEccKeyStore
 
SZ_256_SIGN - Static variable in class demo.cms.ecc.keystore.CMSEccKeyStore
 
SZ_3072_SIGN - Static variable in class demo.keystore.CMSKeyStore
 
SZ_384_BRAINPOOL_CRYPT_1 - Static variable in class demo.cms.ecc.keystore.CMSEccKeyStore
 
SZ_384_BRAINPOOL_CRYPT_2 - Static variable in class demo.cms.ecc.keystore.CMSEccKeyStore
 
SZ_384_BRAINPOOL_SIGN - Static variable in class demo.cms.ecc.keystore.CMSEccKeyStore
 
SZ_384_CRYPT_1 - Static variable in class demo.cms.ecc.keystore.CMSEccKeyStore
 
SZ_384_CRYPT_2 - Static variable in class demo.cms.ecc.keystore.CMSEccKeyStore
 
SZ_384_SIGN - Static variable in class demo.cms.ecc.keystore.CMSEccKeyStore
 
SZ_512_BRAINPOOL_CRYPT_1 - Static variable in class demo.cms.ecc.keystore.CMSEccKeyStore
 
SZ_512_BRAINPOOL_CRYPT_2 - Static variable in class demo.cms.ecc.keystore.CMSEccKeyStore
 
SZ_512_BRAINPOOL_SIGN - Static variable in class demo.cms.ecc.keystore.CMSEccKeyStore
 
SZ_521_CRYPT_1 - Static variable in class demo.cms.ecc.keystore.CMSEccKeyStore
 
SZ_521_CRYPT_2 - Static variable in class demo.cms.ecc.keystore.CMSEccKeyStore
 
SZ_521_SIGN - Static variable in class demo.cms.ecc.keystore.CMSEccKeyStore
 
SZ_ED25519 - Static variable in class demo.cms.ecc.keystore.CMSEccKeyStore
 
SZ_ED448 - Static variable in class demo.cms.ecc.keystore.CMSEccKeyStore
 
SZ_X25519 - Static variable in class demo.cms.ecc.keystore.CMSEccKeyStore
 
SZ_X448 - Static variable in class demo.cms.ecc.keystore.CMSEccKeyStore
 

T

test(boolean, boolean) - Method in class demo.smime.ess.SignedReceiptDemo
Runs the ReceiptRequest - SignedReceipt test.
test_E1_S1_O(Session, Multipart, byte[], boolean) - Method in class demo.smime.ess.MLADemo
Tests the MLA behaviour for a encrypted and signed signed message according to sample 4.2.1,3) of RFC2634: A message (E1(S1(Original Content))) (where E = envelopedData) is sent to the MLA in which S1 does not include an MLExpansionHistory attribute.
test_S1_O(Session, Multipart, byte[], boolean) - Method in class demo.smime.ess.MLADemo
Tests the MLA behaviour for a simple signed message according to sample 4.2.1,1) of RFC2634: A message (S1(Original Content)) (where S = SignedData) is sent to the MLA in which the signedData layer does not include an MLExpansionHistory attribute.
test_S2_E1_S1_O(Session, Multipart, byte[], boolean) - Method in class demo.smime.ess.MLADemo
Tests the MLA behaviour for signed encrypted and signed signed message according to sample 4.2.1,4) of RFC2634: A message (S2(E1(S1(Original Content)))) is sent to the MLA in which S2 includes an MLExpansionHistory attribute.
test_S3_S2_E1_S1_O(Session, Multipart, byte[], boolean, boolean) - Method in class demo.smime.ess.MLADemo
Tests the MLA behaviour for double signed encrypted and signed signed message according to sample 4.2.1,5) of RFC2634: A message (S3(S2(E1(S1(Original Content))))) is sent to the MLA in which none of the signedData layers include an MLExpansionHistory attribute.
test_S3_S2_S1_O(Session, Multipart, byte[], boolean) - Method in class demo.smime.ess.MLADemo
Tests the MLA behaviour for a triple signed message according to sample 4.2.1,2) of RFC2634: A message (S3(S2(S1(Original Content)))) is sent to the MLA in which none of the signedData layers includes an MLExpansionHistory attribute.
testSignedAndEnvelopedData(byte[]) - Method in class demo.cms.signedAndEnvelopedData.SignedAndEnvelopedDataDemo
Uses the non-stream based SignedData and EnvelopedData implementations (SignedData, EnvelopedData to sign and envelope the given message, encode the CMS object, decodes it again, removes the envlope and verifies the signature.
testSignedAndEnvelopedDataStream(byte[]) - Method in class demo.cms.signedAndEnvelopedData.SignedAndEnvelopedDataDemo
Uses the stream based SignedData and EnvelopedData implementations (SignedDataStream, EnvelopedDataStream to sign and envelope the given message, encode the CMS object, decodes it again, removes the envlope and verifies the signature.
testSignedAndEnvelopedDataStream(byte[]) - Method in class demo.cms.signedAndEnvelopedData.SignedAndEnvelopedDataOutputStreamDemo
Signs and envelopes the given message, encodes the CMS object, decodes it again, removes the envlope and verifies the signature.
testSMimeAuthEncrypted(AlgorithmID, AlgorithmID, int, int) - Method in class demo.smime.basic.CMSStreamDemo
Uses class SMimeAuthEncrypted to authenticated encrypt some data, encode it, and finally parses the encoding to decrypt and recover the original content.
testSMimeEncrypted(AlgorithmID, AlgorithmID, int, int) - Method in class demo.smime.basic.CMSStreamDemo
Uses class SMimeEncrypted to encrypt some data, encode it, and finally parses the encoding to decrypt and recover the original content.
testSMimeSigned(int) - Method in class demo.smime.basic.CMSStreamDemo
Uses class SMimeSigned to sign some data, encode it, and finally parses the encoding to verify the signature.
testSMimeSignedAndAuthEncrypted(AlgorithmID, AlgorithmID, int, int) - Method in class demo.smime.basic.CMSStreamDemo
Uses class SMimeSigned and class SMimeAuthEncrypted to sign and authenticated encrypt some data, encode it, and finally parses the encoding to decrypt and recover the original content and verify the signature.
testSMimeSignedAndEncrypted(AlgorithmID, AlgorithmID, int, int) - Method in class demo.smime.basic.CMSStreamDemo
Uses class SMimeSigned and class SMimeEncrypted to sign and encrypt some data, encode it, and finally parses the encoding to decrypt and recover the original content and verify the signature.
timeStamp(TimeStampToken, SignerInfo) - Static method in class demo.cms.tsp.TSPDemoUtils
Adds a SignatureTimeStampToken attribute to the given SignerInfo.
TimeStampDemo - Class in demo.cms.tsp
This demo shows how to add a time stamp to a SignedData message.
TimeStampDemo() - Constructor for class demo.cms.tsp.TimeStampDemo
Constructor.
TimeStampListener - Class in demo.cms.tsp
A simple SignedDataStream encode listener implementation allowing an application to add a SignatureTimeStampToken attribute to the SignerInfo of a SignedDataStream (during the encoding is performed).
TimeStampListener(String) - Constructor for class demo.cms.tsp.TimeStampListener
Creates a TimeStampListener for the given TSA url.
tokenKeyStore_ - Variable in class demo.cms.pkcs11.PKCS11Demo
The key store that represents the token (smart card) contents.
TripleDESEnvelopedDataDemo - Class in demo.cms.envelopedData
Demonstrates the usage of class EnvelopedDataStream and EnvelopedData for encrypting data using the CMS type EnvelopedData with the TripleDES (DES-EDE3) cipher algorithm.
TripleDESEnvelopedDataDemo() - Constructor for class demo.cms.envelopedData.TripleDESEnvelopedDataDemo
Creates an TripleDESEnvelopedDataDemo and setups the demo certificates.
tripleWrap(Session, DataHandler, boolean, boolean, boolean) - Method in class demo.smime.ess.TripleWrappingDemo
Creates a triple wrapped (signed - encrypted - signed) message.
TripleWrappingDemo - Class in demo.smime.ess
An ESS triple wrapping demo.
TripleWrappingDemo() - Constructor for class demo.smime.ess.TripleWrappingDemo
Empty default constructor.
TSA_POLICY_ID - Static variable in class demo.cms.tsp.TSPServer
TSA policy id.
TSP_SERVER - Static variable in interface demo.keystore.CMSKeyStoreConstants
 
TSPDemoUtils - Class in demo.cms.tsp
Some utils for creating and sending time stamp requests, validating responses and adding time stamp token attributes.
TSPDemoUtils() - Constructor for class demo.cms.tsp.TSPDemoUtils
 
TSPServer - Class in demo.cms.tsp
A simple TSP server.
TSPServer() - Constructor for class demo.cms.tsp.TSPServer
Creates a TSP server for listening on time stamp requests on port 3188.
TSPServer(int, PrivateKey, X509Certificate[], AlgorithmID, AlgorithmID) - Constructor for class demo.cms.tsp.TSPServer
Creates a TSP server.

U

userPin_ - Variable in class demo.cms.pkcs11.PKCS11Demo
The user pin for the token key store.

V

validateResponse(TimeStampResp, TimeStampReq) - Static method in class demo.cms.tsp.TSPDemoUtils
Validates the response received from the TSA.
validateSignatureTimeStampToken(SignerInfo) - Static method in class demo.cms.tsp.TSPDemoUtils
Validates an unsigned SignatureTimeStampToken contained in the given SignerInfo.
verify(byte[], byte[]) - Method in class demo.cms.pkcs11.SignedDataStreamDemo
This method verifies the signature stored in signatureKey_ .
verify(SignedContent, X509Certificate) - Method in class demo.smime.ess.MLADemo
Verifies the signature of the given SignedContent and returns the inherent content data.
verifyReceiptContent(Message) - Method in class demo.smime.ess.SignedReceiptDemo
Validates a signed receipt message received in return to a receipt request message.

W

waitKey() - Static method in class demo.DemoUtil
Wait for the user to press the return key on System.in.

A B C D E F G H I K M O P R S T U V W
IAIK CMS/SMIME Toolkit Demo API Documentation
Version 6.1

v6.1
(c) 2002 IAIK, (c) 2003 - 2025 SIC