Constructor NotificationVerifierBase
NotificationVerifierBase(String)
Constructs a new instance using the specified base 64 encoded public key.
Declaration
protected NotificationVerifierBase(string base64PublicKey)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | base64PublicKey | A string containing the base 64 encoded public key to use for signature verification. |
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | Thrown if |
| System.ArgumentException | Thrown if |
NotificationVerifierBase(Byte[])
Constructs a new instance using the specified raw bytes for the public key.
Declaration
protected NotificationVerifierBase(byte[] publicKey)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Byte[] | publicKey | A byte array containing the binary representation of the public key to use when verifying notification signatures. |
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | Thrown if |
| System.ArgumentException | Thrown if |