IPWorks S/MIME 2020 C++ Edition

Questions / Feedback?

KeyList Event

Lists the keysets in a CSP (see the ListKeys method).

Syntax

ANSI (Cross Platform)
virtual int FireKeyList(CertMgrKeyListEventParams *e);
typedef struct {
const char *KeyContainer;
int KeyType;
const char *AlgId;
int KeyLen; int reserved; } CertMgrKeyListEventParams; Unicode (Windows) virtual INT FireKeyList(CertMgrKeyListEventParams *e);
typedef struct {
LPCWSTR KeyContainer;
INT KeyType;
LPCWSTR AlgId;
INT KeyLen; INT reserved; } CertMgrKeyListEventParams;
- (void)onKeyList:(NSString*)keyContainer :(int)keyType :(NSString*)algId :(int)keyLen;
#define EID_CERTMGR_KEYLIST 4

virtual INT IPWORKSSMIME_CALL FireKeyList(LPSTR &lpszKeyContainer, INT &iKeyType, LPSTR &lpszAlgId, INT &iKeyLen);

Remarks

The KeyContainer parameter is the name used to identify the keyset (public/private key pair) when it was first created.

KeyType shows the key type: 1 for key exchange (encryption) keys, and 2 for digital signature keys.

KeyLen shows the length of the public key (in bits).

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks S/MIME 2020 C++ Edition - Version 20.0 [Build 8161]