FW: Signature status

"Pawling, John" <[email protected]> Thu, 28 Dec 2000 10:07:46 -0500
Newsgroups gmane.ietf.sfl
Message-ID <[email protected]>
-----Original Message-----
From: Colestock, Robert
To: '[email protected]\'; '[email protected]'
Sent: 12/20/2000 11:54 AM
Subject: RE: Signature status

Eric:

This is an easy one.  The logic in
"./libsrc/lolevel/sm_MsgSignerInfo.cpp" for class CSM_MsgSignerInfos
(plural) demonstrates how to access each SignerInfo (and hence the same
flag you mention below):

...
        for (tmpSI = SetCurrToFirst(); tmpSI; tmpSI = GoNext())
        {
            if (tmpSI->IsVerified())
            {
                os << "Number "
                    << ++lCount
                    << " signer info WAS VERIFIED.\n";
            }
            else
            {
                os << "Did not verify number "
                    <<  ++lCount << " signer info.\n";
            }
...

The CSM_MsgSignerInfos are publicly available from the CSM_MsgToVerify
class ("m_pSignerInfos").  This logic is demonstrated in the
"Report...(...)" methods of the individual classes.

Bob Colestock
VDA 
-----Original Message-----
From: [email protected] [mailto:[email protected]]
Sent: Tuesday, December 19, 2000 10:23 AM
To: [email protected]
Subject: Signature status


Hi,

I know that the low level function CSM_DataToVerify::Verify(...); use
CSM_MsgSignerInfo::SetVerified(...); to specify if the signature is ok,
but
how can i get the signature status when i use the high level function
SM_Verify(...);  ????


Thanks.

************************************************************************
**********************

Eric Boudreault
------------------------------------------------
Programmeur
------------------------------------------------
Motus Technologies
390, St-Vallier Est
Bureau 100
Québec, Qc
G1K 3P6
Tél.: 521-2100  ext.#242
Fax.: 521-2101
courriel: [email protected]
************************************************************************
**********************