RE: UseAllSigners

"Colestock, Robert" <[email protected]>
Newsgroups gmane.ietf.sfl
Message-ID <[email protected]>
Arnaud:

You are absolutely correct.  Thank you for pointing this out; these methods
have been removed from the CSMIME class definition and the API document for
the next release.  I never realised that we did not use these methods.  The
method used by the Verify operations when no login is specified is
"UseAll()" (see "sm_CLMsgToVerify.cpp").

...
    // if there were no logins in *.cfg file then use all
    if (count == 0)
        m_pCsmime->UseAll();
...

The actual verify logic checks that the specified logins are capable of
signing or verifying signatures before attempting to check for the specific
signature OID, so flagged encryption logins are acceptable.

Bob Colestock

-----Original Message-----
From: Arnaud De Timmerman [mailto:[email protected]]
Sent: Thursday, April 27, 2000 6:30 AM
To: [email protected]
Subject: UseAllSigners




Dear all,

In sfl_apir16.doc, chapter "6.7.2 CSMIME Member Functions" says :
***********************
The application can use the UseAllSigners members to assist in marking
instances
(CSM_CSInst objects) for a signing operation.  All three versions return the
number of instances that were marked.
***********************

In ".\libcert\include\sm_apiCert.h" (l. 1245) these functions are present :
***********************
    // The UseAllSigners members assist the application in automatically
    // selecting instances to sign with
    SM_RET_VAL UseAllSigners();
    // The following two UseAllSigners selects singers based on
    // the DS Alg OIDs in the provided certificates
    SM_RET_VAL UseAllSigners(CSM_Buffer *pCert);
    SM_RET_VAL UseAllSigners(CSM_BufferLst *pCerts);
***********************

But, as far as I've seen, they're not in the ".\libcert\src\sm_CSMime.cpp"
source,
no more than in the rest of the sfl.

Any help appreciated.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.