ExportedCert Property

The exported certificate string.

Syntax

ANSI (Cross Platform)
int GetExportedCert(char* &lpExportedCert, int &lenExportedCert);

Unicode (Windows)
INT GetExportedCert(LPSTR &lpExportedCert, INT &lenExportedCert);
@property (nonatomic,readonly,assign,getter=exportedCert) NSString* exportedCert;
- (NSString*)exportedCert;

@property (nonatomic,readonly,assign,getter=exportedCertB) NSData* exportedCertB; - (NSData*)exportedCertB;
#define PID_CERTMGR_EXPORTEDCERT 31

IPWORKS_EXTERNAL void* IPWORKS_CALL IPWorks_CertMgr_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);

Default Value

""

Remarks

This property holds the exported certificate if it was not exported to a file.

When calling ExportCertificate if the CertFile parameter is empty string the certificate will be exported as a string and available in this property. This allows certificate data to be exported without writing any data to disk.

When ExportFormat is set to PFX or P7B the EncodeExportedCert setting controls whether the value is binary or base64 encoded.

This property is read-only and not available at design time.

Data Type

Binary String

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