WPD_COMMAND_GENERATE_KEYPAIR command

[Reserved for future use.]

Initiates the generation of a public/private key pair and returns the public key.

This command instructs the device to generate a new public/private key pair. The key pair is kept by the device until a subsequent call to WPD_COMMAND_COMMIT_KEYPAIR (or another call to WPD_COMMAND_GENERATE_KEYPAIR) is made, at which point the keys are persisted (or discarded) accordingly. The keys are to be generated for use with TLS 1.0 Key Exchange. More specifically, the key shall be generated for RSA key exchange. The public key will be used to create an end-entity X.509v3 certificate.

Command category

WPD_CATEGORY_NETWORK_CONFIGURATION

Parameters

There are no parameters.

Return value

Result

The driver should return the following results.

WPD_PROPERTY_PUBLIC_KEY

Calling methods

IPortableDevice::SendCommand

Requirements

Header

PortableDevice.h

See also

Commands

 

 

Send comments about this topic to Microsoft