IAIK PKCS#11 Provider API Documentation
version 1.6

iaik.pkcs.pkcs11.provider.signatures.rsa
Class ExternalSha1RsaX931Signature

java.lang.Object
  extended by java.security.SignatureSpi
      extended by iaik.pkcs.pkcs11.provider.signatures.PKCS11Signature
          extended by iaik.pkcs.pkcs11.provider.signatures.ExternalHashSignature
              extended by iaik.pkcs.pkcs11.provider.signatures.rsa.ExternalSha1RsaX931Signature
All Implemented Interfaces:
PKCS11EngineClass

public class ExternalSha1RsaX931Signature
extends ExternalHashSignature

This is an implementation of a Signature class that uses the IAIK PKCS#11 wrapper to access the token. It only works with IAIKPKCS11PrivateKey and IAIKPKCS11PublicKey. This version uses the CKM_RSA_X9_31 mechanism to create the signature. It creates the hash off-card. This class prepares the hash for signing; i.e. appends the X9.31 trailer. After preparation it send the generated hash to the token for signing. This class uses SHA-1 as hashing algorithm.

Author:
Karl Scheibelhofer

Constructor Summary
ExternalSha1RsaX931Signature()
          Public default constructor to enable instantiation via Class.forName(String).
 
Method Summary
 
Methods inherited from class iaik.pkcs.pkcs11.provider.signatures.PKCS11Signature
isSupportedBy
 
Methods inherited from class java.security.SignatureSpi
clone
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExternalSha1RsaX931Signature

public ExternalSha1RsaX931Signature()
Public default constructor to enable instantiation via Class.forName(String).


IAIK PKCS#11 Provider API Documentation
version 1.6

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

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