CryptoSys PKI Pro Manual

smimeQuery

Query an S/MIME entity for selected information.

Syntax

[VBA]
Public Function smimeQuery ( _
    szFileIn As String, _
    szQuery As String, _
    Optional nOptions As Long = 0 _
) As String

Parameters

szFileIn
Name of input file.
szQuery
Query string (case insensitive). Valid queries are:
"content-type"
"smime-type"
"encoding"
"name"
"filename"
nOptions
For future use.

Return Value

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

Example

Debug.Print smimeQuery("cmsalice2bob-smime-env.txt", "smime-type")
enveloped-data
[PREV: sigVerifyData...]   [Contents]   [Index]   
   [NEXT: wipeBytes...]

Copyright © 2004-24 D.I. Management Services Pty Ltd. All rights reserved. Generated 2024-09-23T07:52:09Z.