Creates a new instance with a specific private key, that can then be used to sign messages.
Namespace: Apptus.ESales.Connector
Assembly: Apptus.Esales.ConnectorApi (in Apptus.Esales.ConnectorApi.dll) Version: 3.47.3
Syntax
C#
public MessageAuthentication( string privateKey )
Parameters
- privateKey
- Type: SystemString
A private key that will be used as a secret in the signature. Must not be null or empty.
Exceptions
Exception | Condition |
---|---|
ArgumentException | If privateKey is null or empty. |
See Also