Query an S/MIME entity for selected information.
public static string Query( string inputFile, string query )
Public Shared Function Query ( _ inputFile As String, _ query As String _ ) As String
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". |
VB6/C equivalent: SMIME_Query