|
IAIK PKCS#11 Wrapper Demo version 1.2.17 |
||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
See:
Description
Class Summary | |
AlgorithmIDAdapter | This class is an adapter to enables an application to use a different implementation than the standard implementation with the IAIK-JCE. |
ConcurrentHash | This demo program connects to two different modules and calculates hash values with both of them. |
DecryptPKCS7 | This demo shows how to use a PKCS#11 token to decrypt a PKCS#7 encrypted object. |
DefaultInitArgs | This demo program tries to call initialize with some arguments. |
DeleteObject | This demo program allows to delete certain objects on a certain token. |
DeriveKeyDemo | This demo program shows how to derive a DES3 key. |
Digest | This demo program uses a PKCS#11 module to calculate a hash of a given file. |
DownloadData | This demo program can be used to download data to the card. |
DownloadPrivateKey | This demo program can be used to personalize a card. |
DSASignAndVerify | Creates and verifies a signature on a token. |
DumpObjects | This demo program lists information about a library, the available slots, the available tokens and the objects on them. |
EncryptDecrypt | This demo program uses a PKCS#11 module to encrypt a given file and test if the data can be decrpted. |
EncryptPKCS7EnvelopedData | This helper class encrypts the given data using TrippleDES and encrypts the symmetric key using the public key in the given certificate. |
GenerateAndSign4096 | This demo program generates a 4096 bit RSA key-pair on the token and signs some data with it. |
GenerateKey | This demo program shows how to generate secret keys. |
GenerateKeyPair | This demo program generates a 1024 bit RSA key-pair on the token and writes the public key to a file. |
GenerateKeyPair2048 | This demo program generates a 2048 bit RSA key-pair on the token and writes the public key to a file. |
GenerateKeyPairDSA | This demo program generates a 1024 bit DSA key-pair on the token and writes the public key to a file. |
GenerateRandom | This demo program uses a PKCS#11 module to produce random data. |
GenericFind | This class demonstrates how to use the GenericSearchTemplate class. |
GetInfo | This demo program lists information about a library, the available slots, the available tokens and the objects on them. |
GetInfoWithWrapperPath | This demo program lists information about a library, the available slots, the available tokens and the objects on them. |
HashAndSign | This program signs a given file. |
ImportCertificate | This demo program imports a given X.509 certificate onto a PKCS#11 token. |
InitArgs | This demo program tries to call initialize with some arguments. |
InitPIN | This program sets the normal user's PIN. |
InitToken | This program initializes a token. |
KeyAndCertificate | This class encapsulates a key and an optional certificate. |
ListObjects | This demo program lists information about the objects on a token. |
MAC | This demo program uses a PKCS#11 module to MAC a given file and test if the MAC can be verified. |
ModuleInfo | This demo program lists information about a module. |
NotifyTest | This demo program tries to set a callback Notify handler. |
ParametersTest | Just to test the parameters classes. |
PKCS11SignatureEngine | This is an implementation of a JCA Signature class that uses the PKCS#11 wrapper to create the signature. |
ReadDataObject | This demo program read a data object with a specific label from the token. |
ReadObjects | This demo program is similar to GetInfo. |
SelfSignCertificate | Creates a self-signed X.509 certificate using a token. |
SetPIN | This program sets the normal user's PIN. |
SignAndVerify | Creates and verifies a signature on a token. |
SignCertificate | Signs an X.509 certificate using a token. |
SignCertificateRequest | Signs a PKCS#10 certificate request using a token. |
SignCRL | Signs an X.509 CRL using a token. |
SignOCSPRequest | Signs an OCSP request using a token. |
SignPKCS7 | Creates a signature on a token. |
SignRaw | Signs some raw data on the token. |
SSLMechanisms | This demo program shows how to use the SSL mechanisms. |
TokenPrivateKey | This is an adapter class that allows to use token keys as JCA private keys. |
TripleDESEncrypt | This demo program uses a PKCS#11 module to encrypt a given file using Triple DES. |
Util | This class contains only static methods. |
VerifyPKCS7SignedData | This helper class simply verifies the signature of a PKCS#7 signed data object and extracts the verified content data. |
VerifySignature |
This package contains serveral test classes that can be used as demo code.
Some of the classes in this package require the IAIK JCE library to compile
successfuly. Anyone can download an free evaluation copy of this library
from http://jcewww.iaik.at. Before you
can download the library, you must register, this is for free. Place the
iaik_jce_full.jar file in the JavaToWrapper/lib directory.
|
IAIK PKCS#11 Wrapper Demo version 1.2.17 |
||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |