CertPrivateKeyAvailable Property

Shows whether a PrivateKey is available for the selected certificate.

Syntax

ANSI (Cross Platform)
int GetCertPrivateKeyAvailable();

Unicode (Windows)
BOOL GetCertPrivateKeyAvailable();
@property (nonatomic,readonly,assign,getter=certPrivateKeyAvailable) BOOL certPrivateKeyAvailable;
- (BOOL)certPrivateKeyAvailable;
#define PID_CERTMGR_CERTPRIVATEKEYAVAILABLE 9

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

Default Value

FALSE

Remarks

Shows whether a CertPrivateKey is available for the selected certificate. If CertPrivateKeyAvailable is True, the certificate may be used for authentication purposes (e.g. server authentication).

This property is read-only.

Data Type

Boolean

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