CPKCS10KeyHelper Class Reference
class CPKCS10KeyHelper : public CBase
|
Abstract base class defines the interface for PKCS#10 key helpers.
This class is fairly dumb, and provides a generic interface for various keystore functionality. The methods are called from the RunL of
CPKCS10Request
.
The implementation decodes the public key to create a public key object - this is pretty wasteful, as the first thing we're going to do is re-encode it again, mostly in exactly the same format. However it's simpler and less error-prome to do it this way.
Constructor & Destructor Documentation
CPKCS10KeyHelper(MCTKeyStore &, const CCTKeyInfo &)
~CPKCS10KeyHelper()
~CPKCS10KeyHelper
|
(
|
)
|
[virtual]
|
Member Functions Documentation
CancelFetchPublicKey()
void
|
CancelFetchPublicKey
|
(
|
)
|
|
CancelOpenSigner()
void
|
CancelOpenSigner
|
(
|
)
|
[pure virtual]
|
CancelSignDigest()
void
|
CancelSignDigest
|
(
|
)
|
[pure virtual]
|
CreateKeyEncoderL(const TDesC8 &, const TAlgorithmId)
void
|
CreateKeyEncoderL
|
(
|
const
TDesC8
&
|
aExportedKey,
|
|
const
TAlgorithmId
|
aDigestId
|
|
)
|
[protected, pure virtual]
|
CreateKeyHelperL(MCTKeyStore &, const CCTKeyInfo &, const TDesC8 &, const TAlgorithmId)
DigestInfoLC(const TDesC8 &)
EncodeSignatureAlgorithmLC()
FetchPublicKey(TRequestStatus &)
OpenSigner(TRequestStatus &)
SignDigestL(const TDesC8 &, TRequestStatus &)
Member Data Documentation
TX509KeyEncoder * iKeyEncoder
const CCTKeyInfo & iKeyInfo
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.