TX509RSAKeyEncoder Class Reference
class TX509RSAKeyEncoder : public TX509KeyEncoder |
Subclasses TC509KeyEncoder to provides key encoding capability for RSA public keys.
This class is part of the pkcs10 API, and will be changed or removed in a future release. You should not use it.
Constructor & Destructor Documentation
TX509RSAKeyEncoder(const CRSAPublicKey &, TAlgorithmId)
Constructs a RSA key pair encoder, saving reference to the passed key pair in the member variable.
Member Functions Documentation
EncodeKeyLC()
Produces the SubjectPublicKeyInfo encoding.
The resulting encoding has the following form:
SEQUENCE-OF
SEQUENCE-OF
OID of the encryption algorithm (KRSA)
NULL
BIT STRING encoded public key.
EncodeSignatureAlgorithmLC()
Produces the AlgorithmIdentifier encoding.
This has the following form:
SEQUENCE-OF
OID signature-algorithm
NULL
Member Data Documentation
const CRSAPublicKey & iPublicKey
Saved reference to the RSA public key to be used for encoding.
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.