#include <x509keys.h>
class TASN1EncDSAPublicKey |
Public Member Functions | |
---|---|
IMPORT_C CASN1EncSequence * | EncodeDERL(const CDSAPublicKey &) |
IMPORT_C CASN1EncSequence * | EncodeParamsLC(const CDSAPublicKey &) |
IMPORT_C CASN1EncBitString * | EncodePublicValueLC(const CDSAPublicKey &) |
Class for encoding DSA public keys to ASN.1 encoding.
IMPORT_C CASN1EncSequence * | EncodeDERL | ( | const CDSAPublicKey & | aKey | ) | const |
Encodes the supplied public key into a buffer in DER format.
SEQUENCE-OF SEQUENCE-OF INTEGER p INTEGER q INTEGER g BIT STRING (encoded INTEGER public value)
Parameter | Description |
---|---|
aKey | Key to encode. |
Returns: Sequence containing public key information.
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.
SEQUENCE-OF INTEGER p INTEGER q INTEGER g
Parameter | Description |
---|---|
aKey | DSA public key. |
Returns: ASN.1 encoding structure on the cleanup stack.
IMPORT_C CASN1EncBitString * | EncodePublicValueLC | ( | const CDSAPublicKey & | aKey | ) | const |
Encodes a public key as a bit string.
Parameter | Description |
---|---|
aKey | DSA public key. |
Returns: ASN.1 bit string (public key). This is left on the cleanup stack.