Query a CMS enveloped-data object file for selected information.
Public Function cmsQueryEnvData ( _ szFileIn As String, _ szQuery As String, _ Optional nOptions As Long = 0 _ ) As String
"version" "recipientInfoVersion" "recipientInfoType" "CountOfRecipientInfos" "recipientIssuerName" "recipientSerialNumber" "keyEncryptionAlgorithm" "keyEncryptionFlags" "SizeofEncryptedKey" "encryptedKey" "oaepParams" "kemParams" "keyWrapAlgorithm" "originatorKeyAlgorithm" "originatorPublicKey" "keyid" "ukm" "contentEncryptionAlgorithm" "SizeofEncryptedContent" "encryptedContent" "iv" "HASsubjectKeyIndentifier" "recipientIdentifier"
"recipientInfoVersion/2"
to find the version number of the second recipientInfo in the file.