TX509DSAKeyEncoder Class Reference
class TX509DSAKeyEncoder : public TX509KeyEncoder |
Provides key encoding and signing capability using a DSA public key.
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
TX509DSAKeyEncoder(const CDSAPublicKey &, TAlgorithmId)
Constructs a DSA key pair encoder, saving reference to the passed public key in the member variable.
Member Functions Documentation
EncodeKeyLC()
Produces the SubjectPublicKeyInfo encoding.
The ASN.1 encoding of a DSA key has the following form:
SEQUENCE-OF
SEQUENCE-OF
OID dsa (1.2.840.10040.4.1)
SEQUENCE-OF
INTEGER p
INTEGER q
INTEGER g
BIT STRING
INTEGER public value (y)
EncodeSignatureAlgorithmLC()
Produces the AlgorithmIdentifier encoding.
This has the following form:
SEQUENCE-OF
OID dsa-signature-oid
SEQUENCE-OF dsa-params
INTEGER p
INTEGER q
INTEGER g
Member Data Documentation
const CDSAPublicKey & iPublicKey
Saved reference to the DSA 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.