CertUsage Property

Text description of UsageFlags .

Syntax

ANSI (Cross Platform)
char* GetCertUsage();
int SetCertUsage(const char* lpszCertUsage); Unicode (Windows) LPWSTR GetCertUsage();
INT SetCertUsage(LPCWSTR lpszCertUsage);
@property (nonatomic,readwrite,assign,getter=certUsage,setter=setCertUsage:) NSString* certUsage;
- (NSString*)certUsage;
- (void)setCertUsage:(NSString*)newCertUsage;
#define PID_CERTMGR_CERTUSAGE 21

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

Default Value

""

Remarks

Text description of CertUsageFlags.

The value will be of one or more of the following strings, separated by commas:

  • Digital Signatures
  • Key Authentication
  • Key Encryption
  • Data Encryption
  • Key Agreement
  • Certificate Signing
  • Key Signing

If the provider is OpenSSL, the value is a comma separated list of X509 certificate extension names.

Data Type

String

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