Remarque
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
The SetPresharedKeyForId method allows a management application to associate a particular preshared key with the identifier (ID) that an initiator uses to identify itself during phase 1 of an aggressive or main-mode Internet key exchange (IKE).
When an initiator uses a preshared key in a key exchange, it associates the key with an identifier for the initiator (and with an IP address) and passes the identifier and its associated key to the target in the data portion of an identification packet (also known as the identification payload). The initiator passes the identifier and its associated key during phase 1 of an aggressive or main-mode IKE, as described in RFC 2407. La charge utile d’identification permet à la cible d’identifier l’initiateur d’une manière sécurisée et de choisir une stratégie de sécurité appropriée pour une connexion avec cet initiateur particulier.
After the SetPresharedKeyForId method specifies the preshared key, the initiator should store it in nonvolatile storage if nonvolatile storage is available. Mais l’initiateur doit également conserver la clé présharedée en mémoire de travail, afin qu’elle soit rapidement disponible pendant la négociation de la phase 1 de IKE. Cela améliore l’efficacité de l’échange de clés. Si la mémoire nonvolatile n’est pas disponible pour l’initiateur, le service initiateur stocke la clé pour le compte de l’initiateur.
A management application can use the SetPresharedKeyForId method to associate a preshared key with a particular initiator identifier. To associate a default key with all of an initiator's identifiers, the application can call the SetGroupPresharedKey method. Si une association explicite existe entre un identificateur et une clé, la clé spécifiée par l’association explicite est prioritaire sur la clé par défaut.
SetPresharedKeyForId belongs to the unpublished MSiSCSI_SecurityConfigOperations WMI class. For a description of the parameters of the SetPresharedKeyForId method, see the member descriptions for the SetPresharedKeyForId_IN and SetPresharedKeyForId_OUT structures.
Miniport drivers that implement the MSiSCSI_SecurityConfigOperations WMI class must support SetPresharedKeyForId.