IUserDES
 
When to Implement
 
This interface is implemented by UserCrypto.dll
Methods in Vtable Order
 
IUnknown methods:
 
QueryInterface Returns pointers to supported interfaces.
AddRef Increments the reference count.
Release Decrements the reference count.
 
IUserDES Methods:
 
SetKey Set an 8 byte DES key
GetKey Retrive an 8 byte DES key
Encode DES encode of an 8 byte data
Decode DES deode of an 8 byte data
 
Method Description:
 
1:STDMETHODIMP SetKey(DWORD dwKey[2])
 
Set an 8 byte DES key
 
Return:
 
S_OK if successful
S_FALSE if not successful
 
Parameters:
 
dwKey: an 8 byte array to represent the DES key to set
 
 
2:STDMETHODIMP GetKey(DWORD dwKey[2])
 
Get an 8 byte DES key
 
Return:
 
S_OK if successful
S_FALSE if not successful
 
Parameters:
 
dwKey: an 8 byte array to contain the DES key
 
3:STDMETHODIMP Encode(DWORD dwData[2])
DES encoding of an 8 byte Data.
 
Return:
 
S_OK if successful
S_FALSE if not successful
 
Parameters:
 
dwData: an 8 byte array to be encoded. It also holds the encoded data.
 
4:STDMETHODIMP Decode(DWORD dwData[2])
 
DES decoding of an 8 byte Data.
 
Return:
 
S_OK if successful
S_FALSE if not successful
 
Parameters:
 
dwData: an 8 byte array to be decoded. It also holds the decoded data.