RPC_AUTH_KEY_RETRIEVAL_FN
typedef
void ( * RPC_AUTH_KEY_RETRIEVAL_FN)
( void * Arg,
unsigned char * ServerPrincName,
unsigned long KeyVer,
void * * Key,
RPC_STATUS * Status
);
Arg
Points to a
user-defined argument to the user-supplied encryption key acquisition function.
The RPC run-time library uses the Arg argument supplied to RpcServerRegisterAuthInfo.
ServerPrincName
Points to the
principal name to use for the server when authenticating remote procedure
calls. The RPC run-time library uses the ServerPrincName argument
supplied to RpcServerRegisterAuthInfo.
KeyVer
Specifies the
value that the RPC run-time library automatically provides for the key-version
argument. When the value is 0, the acquisition function must return the most
recent key available.
Key
Points to a
pointer to the authentication key returned by the user-supplied function.
Status
Points to the
status returned by the acquisition function when it is called by the RPC
run-time library to authenticate the client RPC request. If the status is other
than RPC_S_OK, the request fails and the run-time library returns the error
status to the client application.
Remarks
An
authorization key retrieval function specifies the address of a
server-application-provided routine returning encryption keys.
See Also