Creating DOFCredentials from a File

You can create credentials in several different ways. Here we create DOFCredentials from a file.

Note: In this training, we only create a key.

How It Works

In addition to creating credentials from a file, you can also create credentials using any of the following data with the appropriate create method (these concepts should be familiar and are not covered in this training): 

Note: With the exception of DOFCredentials.Key.create and DOFCredentials.Password.create, the argument in each DOFCredentials.create method must use data that is the marshalled format of DOFCredentials.