| 
   Available in LEADTOOLS Medical Imaging toolkits.  | 
LDicomNet::SetMutualAuthAlgISCL
#include "ltdic.h"
L_UINT32 LDicomNet::SetMutualAuthAlgISCL(mutualAuthMode)
| 
 L_UINT32 mutualAuthMode;  | 
 /* mutual authentication mode */  | 
Sets the mutual authentication mode. Currently only DICOM_ISCL_MUTUAL_AUTH_3P4W, the three-pass-four-way mutual authentication, is described in the standard. This function is available in the PACS Imaging toolkits.
| 
 Parameter  | 
 Description  | 
| 
 mutualAuthMode  | 
 Flag that indicates the mutual authentication mode to use. Currently, only DICOM_ISCL_MUTUAL_AUTH_3P4W is supported.  | 
Returns
| 
 DICOM_SUCCESS  | 
 Success. The mutual authentication mode was successfully set.  | 
| 
 DICOM_ERROR_PARAMETER  | 
 A parameter error occurred. The mutual authentication mode will be DICOM_ISCL_MUTUAL_AUTH_3P4W.  | 
Comments
The implicit value for the mutual authentication protocol is set at creation to DICOM_ISCL_MUTUAL_AUTH_3P4W.
Required DLLs and Libraries
| 
 LTDIC For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application  | 
See Also
Example
L_INT LDicomNet_SetMutualAuthAlgISCLExample()
{
   L_INT nRet;
   // LMyDicomNet is derived from LDicomNet
   LMyDicomNet *pDicomNet;
   pDicomNet = new LMyDicomNet(TEXT(""), DICOM_SECURE_ISCL);
   nRet =pDicomNet->SetMutualAuthAlgISCL(DICOM_ISCL_MUTUAL_AUTH_3P4W);
   if(nRet !=DICOM_SUCCESS)
      return nRet;
   return DICOM_SUCCESS;
}