IAIK PKCS#11 Wrapper Demo
version 1.2.17

demo.pkcs.pkcs11
Class VerifySignature

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

public class VerifySignature
extends Object


Field Summary
protected  X509Certificate certificate_
           
protected  Signature verifyEngine_
           
 
Constructor Summary
VerifySignature(X509Certificate certificate, String algorithm)
           
 
Method Summary
static void main(String[] args)
           
static void printUsage()
           
 boolean verify(InputStream data, byte[] signature)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

certificate_

protected X509Certificate certificate_

verifyEngine_

protected Signature verifyEngine_
Constructor Detail

VerifySignature

public VerifySignature(X509Certificate certificate,
                       String algorithm)
                throws GeneralSecurityException
Method Detail

verify

public boolean verify(InputStream data,
                      byte[] signature)
               throws IOException,
                      GeneralSecurityException
Throws:
IOException
GeneralSecurityException

main

public static void main(String[] args)

printUsage

public static void printUsage()

IAIK PKCS#11 Wrapper Demo
version 1.2.17

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.