ServiceCredentials Constructor (String, String, HashAlgorithm)
|
Create service credentials object from login ID and login key as string.
Namespace:
Guardtime.KSI.Service
Assembly:
ksi-net-api (in ksi-net-api.dll) Version: 3.11.534.0 (3.11.534.0)
Syntaxpublic ServiceCredentials(
string loginId,
string loginKey,
HashAlgorithm macAlgorithm = null
)
Public Sub New (
loginId As String,
loginKey As String,
Optional macAlgorithm As HashAlgorithm = Nothing
)
public:
ServiceCredentials(
String^ loginId,
String^ loginKey,
HashAlgorithm^ macAlgorithm = nullptr
)
new :
loginId : string *
loginKey : string *
?macAlgorithm : HashAlgorithm
(* Defaults:
let _macAlgorithm = defaultArg macAlgorithm null
*)
-> ServiceCredentials
Parameters
- loginId
- Type: SystemString
login ID - loginKey
- Type: SystemString
login key - macAlgorithm (Optional)
- Type: Guardtime.KSI.HashingHashAlgorithm
MAC calculation algorithm of outgoing and incoming messages
See Also