InputFile Property

The file whose data should be processed.

Syntax

ANSI (Cross Platform)
char* GetInputFile();
wchar_t* GetInputFile_W(); // Windows only
int SetInputFile(const char* lpszInputFile);
int SetInputFile(const wchar_t* lpszInputFile); // Windows only Unicode (Windows) LPWSTR GetInputFile();
INT SetInputFile(LPCWSTR lpszInputFile);
@property (nonatomic,readwrite,assign,getter=inputFile,setter=setInputFile:) NSString* inputFile;
- (NSString*)inputFile;
- (void)setInputFile:(NSString*)newInputFile;
#define PID_AMAZONKMS_INPUTFILE 19

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

Default Value

""

Remarks

This property specifies the file whose data should be processed in a cryptographic operation. It accepts both absolute and relative file paths.

Setting this property to a non-empty value will discard any stream set using the SetInputStream method. Similarly, passing a non-null value to the aforementioned method will clear this property.

Input Sources & Output Destinations

The class automatically determines the source and destination of the input and output based on which properties are set.

The order in which the input properties are checked is as follows:

  1. An input stream supplied via the SetInputStream method
  2. The InputFile property
  3. The InputData property

The first valid input source found is used. The order in which the output properties are considered is as follows:

  1. An output stream supplied via the SetOutputStream method
  2. The OutputFile property
  3. The OutputData property

Data Type

String

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