demo.pkcs.pkcs11
Class DecryptPKCS7
java.lang.Object
demo.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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DecryptPKCS7
public DecryptPKCS7()
main
public static void main(String[] args)
printUsage
public static void printUsage()
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.