SecretData Property

The binary secret data that was retrieved or that should be sent.

Syntax

ANSI (Cross Platform)
int GetSecretData(char* &lpSecretData, int &lenSecretData);
int SetSecretData(const char* lpSecretData, int lenSecretData); Unicode (Windows) INT GetSecretData(LPSTR &lpSecretData, INT &lenSecretData);
INT SetSecretData(LPCSTR lpSecretData, INT lenSecretData);
@property (nonatomic,readwrite,assign,getter=secretData,setter=setSecretData:) NSData* secretData;
- (NSData*)secretData;
- (void)setSecretData:(NSData*)newSecretData;
#define PID_AMAZONSECRETS_SECRETDATA 27

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

Remarks

Either this property or the SecretString property is populated with secret data after calling GetSecret, depending on whether the secret data is binary or textual, so long as SetOutputStream and LocalFile are not set.

This property (or the SecretString property) can also be set before calling CreateSecret or CreateVersion; its data will be sent if SetInputStream and LocalFile are not set.

This property and SecretString are mutually exclusive; setting one will clear the other.

This property is not available at design time.

Data Type

Byte Array

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