IPWorks OpenPGP 2020 C++ Edition

Questions / Feedback?

ExportPrivateKey Property

Whether to export the private key.

Syntax

ANSI (Cross Platform)
int GetExportPrivateKey();
int SetExportPrivateKey(int bExportPrivateKey); Unicode (Windows) BOOL GetExportPrivateKey();
INT SetExportPrivateKey(BOOL bExportPrivateKey);
@property (nonatomic,readwrite,assign,getter=exportPrivateKey,setter=setExportPrivateKey:) BOOL exportPrivateKey;
- (BOOL)exportPrivateKey;
- (void)setExportPrivateKey:(BOOL)newExportPrivateKey;
#define PID_CERTMGR_EXPORTPRIVATEKEY 33

IPWORKSOPENPGP_EXTERNAL void* IPWORKSOPENPGP_CALL IPWorksOpenPGP_CertMgr_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKSOPENPGP_EXTERNAL int IPWORKSOPENPGP_CALL IPWorksOpenPGP_CertMgr_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);

Default Value

TRUE

Remarks

This property controls whether the private key is exported when ExportCertificate is called.

If set to True (default) the private key is exported. If set to False, only the public key is exported.

Data Type

Boolean

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