#include <x509keys.h>
Link against:
x509.lib
This item is not part of the S60 5th Edition SDK
Class TASN1EncDSAPublicKey
class TASN1EncDSAPublicKey;
Description
Class for encoding DSA public keys to ASN.1 encoding.
Members
Defined in TASN1EncDSAPublicKey
:
Member functions
EncodeDERL(const CDSAPublicKey &)const
IMPORT_C CASN1EncSequence* EncodeDERL(const CDSAPublicKey &aKey) const;
Description
Encodes the supplied public key into a buffer in DER format.
Note that the encoding has the following format:
SEQUENCE-OF
SEQUENCE-OF
INTEGER p
INTEGER q
INTEGER g
BIT STRING (encoded INTEGER public value)
Parameters
const CDSAPublicKey &aKey |
Key to encode.
|
|
Return value
EncodeParamsLC(const CDSAPublicKey &)const
IMPORT_C CASN1EncSequence* EncodeParamsLC(const CDSAPublicKey &aKey) const;
Description
Encodes DSA parameters into an ASN.1 encoding structure suitable for inclusion into other objects, like a PKCS#10 certificate
request.
Note that the encoding has the following form:
SEQUENCE-OF
INTEGER p
INTEGER q
INTEGER g
Parameters
const CDSAPublicKey &aKey |
DSA public key.
|
|
Return value
EncodePublicValueLC(const CDSAPublicKey &)const
IMPORT_C CASN1EncBitString* EncodePublicValueLC(const CDSAPublicKey &aKey) const;
Description
Encodes a public key as a bit string.
Parameters
const CDSAPublicKey &aKey |
DSA public key.
|
|
Return value
CASN1EncBitString *
|
ASN.1 bit string (public key). This is left on the cleanup stack.
|
|