cryptix.provider.rsa
Class SHA1_RSA_PKCS1Signature
java.lang.Object
|
+--java.security.SignatureSpi
|
+--java.security.Signature
|
+--cryptix.provider.rsa.Any_RSA_PKCS1Signature
|
+--cryptix.provider.rsa.SHA1_RSA_PKCS1Signature
- public class SHA1_RSA_PKCS1Signature
- extends Any_RSA_PKCS1Signature
A class to digest a message with SHA-1, 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
Method Summary |
protected byte[] |
getAlgorithmEncoding()
Returns the ASN.1 bytes of the AlgorithmIdentifier token described
in engineSign() method above. |
Methods inherited from class java.security.Signature |
clone,
getAlgorithm,
getInstance,
getInstance,
getParameter,
getProvider,
initSign,
initSign,
initVerify,
setParameter,
setParameter,
sign,
sign,
toString,
update,
update,
update,
verify |
SHA1_RSA_PKCS1Signature
public SHA1_RSA_PKCS1Signature()
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.
- Overrides:
- getAlgorithmEncoding in class Any_RSA_PKCS1Signature
- Tags copied from class: Any_RSA_PKCS1Signature
- Returns:
- the AlgorithmIdentifier bytes.
Copyright (C) 1995-2000 The Cryptix Foundation Ltd. All rights reserved.