Platform SDK: Remote Procedure Call

Key Acquisition Functions

By default, the SSP supplies encryption keys to the server programs that request them. Each SSP implements its own system of generating keys. The format of the keys the SSP generates are specific to the SSP.

RPC provides you with the ability to override the default method of generating encryption keys. Your application can call the RpcServerRegisterAuthInfo function and pass it a pointer to a key acquisition function. You can write the key acquisition function so that it generates keys using any method you choose. However, the key it passes to the server program must match the format that the SSP requires.