Queries a CMS enveloped-data object file for selected information.
public static string QueryEnvData( string inputFile, string query, bool inputIsBase64 )
Public Shared Function QueryEnvData ( _ inputFile As String, _ query As String, _ inputIsBase64 As Boolean _ ) As String
Valid queries are:
| "version" | envelopedData CMSVersion value, e.g. "0". |
| "countOfRecipientInfos" | Number of RecipientInfos included in the data. |
| "contentEncryptionAlgorithm" | contentEncryptionAlgorithm, e.g. "des-EDE3-CBC". |
| "sizeofEncryptedContent" | Size (in bytes) of the EncryptedContent. |
| "recipientInfoVersion" | recipientInfo version (riVer) value. |
| "keyEncryptionAlgorithm" | keyEncryptionAlgorithm, e.g. "rsaEncryption". |
| "keyEncryptionFlags" | Bit flags used for the key encryption algorithm. |
| "sizeofEncryptedKey" | Size (in bytes) of the EncryptedKey. |
| "recipientIssuerName" | Distinguished Name of recipient's certificate issuer. |
| "recipientSerialNumber" | serialNumber of recipient's certificate in hex format |
VB6/C equivalent: CMS_QueryEnvData