CDSASigner Class Reference
class CDSASigner : public CSigner< CDSASignature >
|
Implementation of DSA signing as specified in FIPS 186-2 change request 1.
Constructor & Destructor Documentation
CDSASigner(const CDSAPrivateKey &)
CDSASigner(const CDSASigner &)
Member Functions Documentation
MaxInputLength(void)
TInt
|
MaxInputLength
|
(
|
void
|
|
)
|
const [virtual]
|
NewL(const CDSAPrivateKey &)
Creates a new
CDSASigner
object from a specified DSA private key.
Parameters
const
CDSAPrivateKey
& aKey
|
The DSA private key to be used for signing
|
NewLC(const CDSAPrivateKey &)
Creates a new
CDSASigner
object from a specified DSA private key.
The returned pointer is put onto the cleanup stack.
Parameters
const
CDSAPrivateKey
& aKey
|
The DSA private key to be used for signing
|
SignL(const TDesC8 &)
Digitally signs the specified input message
Note that in order to be interoperable and compliant with the DSS, aInput must be the result of a SHA-1 hash.
-
panic
-
ECryptoPanicInputTooLarge If aInput is larger than
MaxInputLength()
, which is likely to happen if the caller has passed in something that has not been hashed.
Parameters
const
TDesC8
& aInput
|
A SHA-1 hash of the message to sign
|
operator=(const CDSASigner &)
Member Data Documentation
const CDSAPrivateKey & iPrivateKey
The DSA private key to be used for signing
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.