Share via


struttura VDS_ISCSI_SHARED_SECRET (vds.h)

[A partire da Windows 8 e Windows Server 2012, l'interfaccia COM del servizio disco virtuale viene sostituita dall'API gestione archiviazione di Windows.]

Definisce un segreto condiviso CHAP.

Sintassi

typedef struct _VDS_ISCSI_SHARED_SECRET {
  UCHAR *pSharedSecret;
  ULONG ulSharedSecretSize;
} VDS_ISCSI_SHARED_SECRET;

Members

pSharedSecret

Puntatore a una matrice di byte che contiene il segreto condiviso CHAP. Se non è necessario un segreto condiviso, questo parametro deve essere NULL.

ulSharedSecretSize

Numero di byte nella matrice a cui punta il membro pSharedSecret . Se il membro pSharedSecret è NULL, questo parametro deve essere zero. Se pSharedSecret non è NULL, questo parametro deve essere maggiore o uguale a 12 e minore o uguale a 16.

Commenti

Questa struttura viene utilizzata dai metodi seguenti:

Per CHAP unidirezionale, il segreto viene impostato sulla destinazione. L'iniziatore deve ricordare il segreto CHAP della destinazione per eseguire un accesso riuscito.

Per chap reciproco, i segreti vengono impostati sulla destinazione e sull'iniziatore. Per eseguire un accesso riuscito, la destinazione e l'iniziatore devono ricordare i segreti dell'altro.

Requisiti

Requisito Valore
Client minimo supportato Windows Vista [solo app desktop]
Server minimo supportato Windows Server 2003 R2 [solo app desktop]
Intestazione vds.h
Componente ridistribuibile VDS 1.1

Vedi anche

IVdsIscsiTarget::RememberInitiatorSharedSecret

IVdsIscsiTarget::SetSharedSecret

IVdsServiceIscsi::RememberTargetSharedSecret

IVdsServiceIscsi::SetInitiatorSharedSecret