Location:
x509keys.h
Link against: x509.lib
class TASN1EncDSAPublicKey;
Class for encoding DSA public keys to ASN.1 encoding.
Defined in TASN1EncDSAPublicKey
:
EncodeDERL()
, EncodeParamsLC()
, EncodePublicValueLC()
IMPORT_C CASN1EncSequence *EncodeDERL(const CDSAPublicKey &aKey) const;
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)
|
|
IMPORT_C CASN1EncSequence *EncodeParamsLC(const CDSAPublicKey &aKey) const;
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
|
|
IMPORT_C CASN1EncBitString *EncodePublicValueLC(const CDSAPublicKey &aKey) const;
Encodes a public key as a bit string.
|
|