IPWorks S/MIME 2020 C++ Edition

Questions / Feedback?

InputFile Property

The file to process.

Syntax

ANSI (Cross Platform)
char* GetInputFile();
int SetInputFile(const char* lpszInputFile); 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_SMIME_INPUTFILE 11

IPWORKSSMIME_EXTERNAL void* IPWORKSSMIME_CALL IPWorksSMIME_SMIME_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKSSMIME_EXTERNAL int IPWORKSSMIME_CALL IPWorksSMIME_SMIME_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);

Default Value

""

Remarks

This property specifies the file to be processed. Set this property to the full or relative path to the file which will be processed.

Encrypt and/or Sign

When encrypting or signing this may be set to a file containing content that will be encrypted and/or signed.

Decrypt and/or Verify

When decrypting or verifying a signature this may be set to a file containing the fully encoded S/MIME message.

Input and Output Properties

The class will determine 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:

When a valid source is found the search stops. The order in which the output properties are checked is as follows:

  • SetOutputStream
  • OutputFile
  • OutputMessage: The output data is written to this property if no other destination is specified.

When using streams you may need to additionally set CloseInputStreamAfterProcessing or CloseOutputStreamAfterProcessing.

The headers of the input message (if any) will be read from InputMessageHeaders or InputMessageHeadersString.

Data Type

String

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