KeyMaster.NET
PEMKeyMasterConfiguration Constructor (pemKeyFile, hashingAlgorithm)
KeyMaster.NETCaplin.KeyMaster.ConfigurationPEMKeyMasterConfigurationPEMKeyMasterConfiguration(String, KeyMasterHashingAlgorithm)
Initializes a new instance of the PEMKeyMasterConfiguration class that uses the private key in the supplied PEM format file and the specified hashing algorithm.
Declaration Syntax
C#Visual BasicVisual C++
public PEMKeyMasterConfiguration(
	string pemKeyFile,
	KeyMasterHashingAlgorithm hashingAlgorithm
)
Public Sub New ( _
	pemKeyFile As String, _
	hashingAlgorithm As KeyMasterHashingAlgorithm _
)
public:
PEMKeyMasterConfiguration(
	String^ pemKeyFile, 
	KeyMasterHashingAlgorithm hashingAlgorithm
)
Parameters
pemKeyFile (String)
The file pathname of the PEM private key file.
hashingAlgorithm (KeyMasterHashingAlgorithm)
The hashing algorithm that will be used to generate KeyMaster tokens.
Exceptions
ExceptionCondition
ArgumentExceptionThe specified key file is an inappropriate format.
FileNotFoundExceptionThe specified key file cannot be found.

Assembly: Caplin.KeyMaster (Module: Caplin.KeyMaster) Version: 5.0.2.0 (5.0.2.0)