Initializes a new instance of the XMLKeyMasterConfiguration class that uses the
private key in the supplied XML format file and the specified hashing algorithm.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public XMLKeyMasterConfiguration( string xmlKeyfile, KeyMasterHashingAlgorithm hashingAlgorithm )
Public Sub New ( _ xmlKeyfile As String, _ hashingAlgorithm As KeyMasterHashingAlgorithm _ )
public: XMLKeyMasterConfiguration( String^ xmlKeyfile, KeyMasterHashingAlgorithm hashingAlgorithm )
Parameters
- xmlKeyfile (String)
- The file pathname of the XML format private key file.
- hashingAlgorithm (KeyMasterHashingAlgorithm)
- The hashing algorithm that will be used to generate KeyMaster tokens.
Exceptions
Exception | Condition |
---|---|
XmlSyntaxException | The XML key file is malformed. |
FileNotFoundException | The XML key file cannot be found. |