struttura BCRYPT_DH_KEY_BLOB (bcrypt.h)
La struttura BCRYPT_DH_KEY_BLOB viene usata come intestazione per una chiave pubblica Diffie-Hellman o UN BLOB di chiavi private in memoria.
Sintassi
typedef struct _BCRYPT_DH_KEY_BLOB {
ULONG dwMagic;
ULONG cbKey;
} BCRYPT_DH_KEY_BLOB, *PBCRYPT_DH_KEY_BLOB;
Members
dwMagic
Determina il tipo di chiave rappresentata da questa struttura. Può trattarsi di uno dei valori seguenti.
cbKey
Lunghezza, in byte, della chiave.
Commenti
Questa struttura viene usata come intestazione per un buffer più grande. Un BLOB Diffie-Hellman chiave pubblica (BCRYPT_DH_PUBLIC_BLOB) ha il formato seguente in memoria contigua. I numeri modulo, generatore e pubblico sono in formato big-endian.
BCRYPT_DH_KEY_BLOB
Modulus[cbKey] // Big-endian.
Generator[cbKey] // Big-endian.
Public[cbKey] // Big-endian.
Un BLOB Diffie-Hellman chiave privata (BCRYPT_DH_PRIVATE_BLOB) ha il formato seguente in memoria contigua. I numeri Modulus, Generator, Public e PrivateExponent sono in formato big-endian.
BCRYPT_DH_KEY_BLOB
Modulus[cbKey] // Big-endian.
Generator[cbKey] // Big-endian.
Public[cbKey] // Big-endian.
PrivateExponent[cbKey] // Big-endian.
Requisiti
Requisito | Valore |
---|---|
Client minimo supportato | Windows Vista [solo app desktop] |
Server minimo supportato | Windows Server 2008 [solo app desktop] |
Intestazione | bcrypt.h |
Vedi anche
Commenti e suggerimenti
https://aka.ms/ContentUserFeedback.
Presto disponibile: Nel corso del 2024 verranno gradualmente disattivati i problemi di GitHub come meccanismo di feedback per il contenuto e ciò verrà sostituito con un nuovo sistema di feedback. Per altre informazioni, vedereInvia e visualizza il feedback per