Query an S/MIME entity for selected information.
Namespace: CryptoSysPKIAssembly: diCrSysPKINet (in diCrSysPKINet.dll) Version: 23.0.0.30549 (23.1.0.0)
Syntaxpublic static string Query(
string inputFile,
string query
)
Public Shared Function Query (
inputFile As String,
query As String
) As String
Parameters
- inputFile String
- Name of file containing S/MIME entity
- query String
- Query string (case insensitive)
Return Value
StringString containing the result or an empty string if not found or error.
RemarksValid 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