SetCHAPSharedSecret

The SetCHAPSharedSecret method establishes the shared secret for the initiator to use when it verifies the target's response to the initiator's challenge.

发起程序使用两个不同的共享机密来实现质询握手身份验证协议(CHAP):

  • The SetCHAPSharedSecret method establishes the shared secret that the initiator uses to verify the target's response to the initiator's challenge.

  • The LoginToTarget method establishes the shared secret that the initiator uses to generate the CHAP response to a target's challenge.

The SetCHAPSharedSecret WMI method belongs to the unpublished MSiSCSI_Operations WMI class. For a description of the parameters of the SetCHAPSharedSecret method, see the member descriptions for the SetCHAPSharedSecret_IN and SetCHAPSharedSecret_OUT structures.

Miniport drivers that implement the MSiSCSI_Operations WMI class are not required to support SetCHAPSharedSecret.