demo.pkcs.pkcs11
Class VerifySignature
java.lang.Object
demo.pkcs.pkcs11.VerifySignature
- public class VerifySignature
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
certificate_
protected X509Certificate certificate_
verifyEngine_
protected Signature verifyEngine_
VerifySignature
public VerifySignature(X509Certificate certificate,
String algorithm)
throws GeneralSecurityException
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 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.