Creates a DOFAuthenticator that uses the specified configuration.
The DOFAuthenticator class must be implemented on nodes that need to perform as Authentication Servers. All secure domains must have at least one Authentication Server.
- Resource Management:
- This function allocates resources that must later be freed by calling DOFAuthenticator_Destroy.
- Parameters
-
self | The DOF instance on which to create an authenticator. This must not be NULL . |
config | An instance of DOFAuthenticatorConfig that represents a source of configuration parameters for the DOFAuthenticator. Use DOFAuthenticatorConfigBuilder to create an instance of DOFAuthenticatorConfig. This should not be NULL . |
- Returns
- A new instance of DOFAuthenticator.
- Exceptions
-
Returns | NULL if the configuration is invalid, the DOF cannot accept the new DOFAuthenticator, or the DOFAuthenticator could not be created. |