tf6DhcpUserRemoveKey
Table of Contents >> Optional Protocols >> DHCPv6
| #include <trsocket.h> |
| int tf6DhcpUserRemoveKey | ( |
| ttUserInterface interfaceHandle, | |
| const ttUser8BitPtr realmPtr, | |
| int realmLen, | |
| ttUser32Bit keyId, | |
| int flags | |
| ); |
Function Description
Remove a key currently in use by DHCPv6 authentication. Note: Key management and distribution are not described by the DHCPv6 RFC and are left entirely to the user. The RFC does specify that keys must expire after a set amount of time. When this occurs, keys may be removed or modified using tf6DhcpUserRemoveKey() or tf6DhcpUserUpdateKey().
Parameters
- interfaceHandle
- Handle to the interface on which to store the key
- realmPtr
- Pointer to a buffer containing the keyâs realm.
- realmLen
- Length of the realm pointed to by realmPtr, in bytes.
- keyId
- Number used to identify the key.
- flags
- Currently unused
Returns
- TM_ENOERROR
- Sucessful
- TM_EINVAL
- Invalid parameter