cryptix.provider.rsa
Class MD5_RSA_PKCS1Signature

java.lang.Object
  extended byjava.security.SignatureSpi
      extended byjava.security.Signature
          extended bycryptix.provider.rsa.Any_RSA_PKCS1Signature
              extended bycryptix.provider.rsa.MD5_RSA_PKCS1Signature

public class MD5_RSA_PKCS1Signature
extends Any_RSA_PKCS1Signature

A class to digest a message with MD5, and sign/verify the resulting hash using the RSA digital signature scheme, with PKCS#1 block padding.

Copyright © 1997 Systemics Ltd on behalf of the Cryptix Development Team.
All rights reserved.

$Revision: 1.2 $

Since:
Cryptix 2.2.2
Author:
Raif S. Naffah, David Hopwood

Nested Class Summary
 
Nested classes inherited from class java.security.Signature
 
Field Summary
 
Fields inherited from class java.security.Signature
SIGN, state, UNINITIALIZED, VERIFY
 
Fields inherited from class java.security.SignatureSpi
appRandom
 
Constructor Summary
MD5_RSA_PKCS1Signature()
           
 
Method Summary
protected  byte[] getAlgorithmEncoding()
          Returns the ASN.1 bytes of the AlgorithmIdentifier token described in engineSign() method above.
 
Methods inherited from class cryptix.provider.rsa.Any_RSA_PKCS1Signature
engineGetParameter, engineInitSign, engineInitVerify, engineSetParameter, engineSign, engineUpdate, engineUpdate, engineVerify
 
Methods inherited from class java.security.Signature
clone, getAlgorithm, getInstance, getInstance, getInstance, getParameter, getParameters, getProvider, initSign, initSign, initVerify, initVerify, setParameter, setParameter, sign, sign, toString, update, update, update, verify, verify
 
Methods inherited from class java.security.SignatureSpi
engineGetParameters, engineInitSign, engineSetParameter, engineSign, engineVerify
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MD5_RSA_PKCS1Signature

public MD5_RSA_PKCS1Signature()
Method Detail

getAlgorithmEncoding

protected byte[] getAlgorithmEncoding()
Description copied from class: Any_RSA_PKCS1Signature
Returns the ASN.1 bytes of the AlgorithmIdentifier token described in engineSign() method above.

Specified by:
getAlgorithmEncoding in class Any_RSA_PKCS1Signature
Returns:
the AlgorithmIdentifier bytes.