Registers a new public encryption key in the operating system.
Syntax
HRESULT kaveSelfDefenseUpdatePublicKey (
const void *data,
unsigned int size
);
Parameters
The kaveSelfDefenseUpdatePublicKey function has the following parameters.
kaveSelfDefenseUpdatePublicKey function parameters
Name |
Type |
Description |
|---|---|---|
|
In |
The body of your new public encryption key as a BLOB object. |
|
In |
Length of the BLOB object. |
Return value
The table below contains possible values that the kaveSelfDefenseUpdatePublicKey function can return.
kaveSelfDefenseUpdatePublicKey function return codes
Return code |
Description |
|---|---|
|
The function succeeds. |
|
An attempt has been made to call the |
|
An error occurred when registering a public key. |
Remarks
If the public key expires, you can register a new public key by using kaveSelfDefenseUpdatePublicKey.
To register a new public key, signed your installer application using by the private keys of the following public keys:
After the function returns, you must restart your operating system to finish the update operation.
Page top