CertPrivateKey Property

The private key of the certificate (if available).

Syntax

ANSI (Cross Platform)
char* GetCertPrivateKey();

Unicode (Windows)
LPWSTR GetCertPrivateKey();
@property (nonatomic,readonly,assign,getter=certPrivateKey) NSString* certPrivateKey;
- (NSString*)certPrivateKey;
#define PID_CERTMGR_CERTPRIVATEKEY 8

IPWORKSSFTP_EXTERNAL void* IPWORKSSFTP_CALL IPWorksSFTP_CertMgr_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);

Default Value

""

Remarks

The private key of the certificate (if available). The key is provided as PEM/Base64-encoded data.

Note: The CertPrivateKey may be available, but not exportable. In this case, CertPrivateKey returns an empty string.

This property is read-only.

Data Type

String

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