IAIK PKCS#11 Wrapper Demo
version 1.2.16

demo.pkcs.pkcs11
Class DecryptPKCS7

java.lang.Object
  extended bydemo.pkcs.pkcs11.DecryptPKCS7

public class DecryptPKCS7
extends Object

This demo shows how to use a PKCS#11 token to decrypt a PKCS#7 encrypted object. It only supports RSA decryption. This sample just decrypts the included symmetric key on the token and uses the symmetric key to decrypt the content on the host, i.e. in software.

Invariants

Constructor Summary
DecryptPKCS7()
           
 
Method Summary
static void main(String[] args)
           
static void printUsage()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DecryptPKCS7

public DecryptPKCS7()
Method Detail

main

public static void main(String[] args)

printUsage

public static void printUsage()

IAIK PKCS#11 Wrapper Demo
version 1.2.16

IAIK JavaSecurity Website http://jce.iaik.tugraz.at/

IAIK at Graz University of Technology, Austria, Europe
Copyright 2001-2002, IAIK, Graz University of Technology, Inffeldgasse 16a, 8010 Graz, Austria. All Rights Reserved.