EncodeData Property

Whether to automatically base64-encode and -decode secret data.

Syntax

ANSI (Cross Platform)
int GetEncodeData();
int SetEncodeData(int bEncodeData); Unicode (Windows) BOOL GetEncodeData();
INT SetEncodeData(BOOL bEncodeData);
@property (nonatomic,readwrite,assign,getter=encodeData,setter=setEncodeData:) BOOL encodeData;
- (BOOL)encodeData;
- (void)setEncodeData:(BOOL)newEncodeData;
#define PID_AZURESECRETS_ENCODEDATA 2

CLOUDKEYS_EXTERNAL void* CLOUDKEYS_CALL CloudKeys_AzureSecrets_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
CLOUDKEYS_EXTERNAL int CLOUDKEYS_CALL CloudKeys_AzureSecrets_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);

Default Value

FALSE

Remarks

This property specifies whether the class should automatically base64-encode secret data when it is uploaded by CreateSecret, and base64-decode it when it is downloaded with GetSecret.

Secrets are stored on the server as strings, and are transported via a JSON string property, so binary values must be encoded in some way; this property is provided as a convenience.

This property is not available at design time.

Data Type

Boolean

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