OpenDOF Project
boolean DOFAuthenticatorConfigBuilder_SetDebugKey ( DOFAuthenticatorConfigBuilder  self,
const uint8  key[32] 
)

Sets the debug mode session key for the authenticator.

When debug mode for the authenticator is enabled, all distributed session keys will be the given key. Even if set, this has no effect unless the debug mode flag is enabled (see DOFAuthenticatorConfigBuilder_SetDebug). However, it is invalid to build a authenticator with debug mode enabled, yet with a NULL debug key. A debug key should only be used in a testing environment. Please refer to DOFAuthenticatorConfigBuilder_Create for the default value for this setting.

Parameters
selfThe DOFAuthenticatorConfigBuilder. This may be NULL, in which case no action is taken.
keyThe debug mode session key. This may be NULL to invalidate debug mode; otherwise, this must be a 32-byte key.
Return values
TRUEDebug key was set.
Exceptions
FALSEDebug key was failed to be set.
core-c-dof-oal Version 8.0.1 Build 0
2018-01-22