- Constructor for class demo.cms.ecc.
- 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.
- 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.
- 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 Jakarta Mail 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
-
- 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
-