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.

The initiator uses two different shared secrets to implement the challenge handshake authentication protocol (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.