Click or drag to resize

SmimeQuery Method

Query an S/MIME entity for selected information.

Namespace: CryptoSysPKI
Assembly: diCrSysPKINet (in diCrSysPKINet.dll) Version: 23.0.0.30549 (23.1.0.0)
Syntax
public static string Query(
	string inputFile,
	string query
)

Parameters

inputFile  String
Name of file containing S/MIME entity
query  String
Query string (case insensitive)

Return Value

String
String containing the result or an empty string if not found or error.
Remarks

Valid queries are:

"content-type"Value of Content-Type, e.g. "application/pkcs7-mime".
"smime-type"Value of smime-type parameter of Content-Type, e.g. , e.g. "enveloped-data".
"encoding"Value of Content-Transfer-Encoding, e.g. "base64".
"name"Value of name parameter of Content-Type, e.g. "smime.p7m"
"filename"Value of filename parameter of Content-Disposition, e.g. "smime.p7m".
See Also