Class NotificationVerifierBase
Base class for INotificationVerifier providing reusable logic. Prefer INotificationVerifier for references.
Implements
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Yort.OnlineEftpos
Assembly: cs.temp.dll.dll
Syntax
public abstract class NotificationVerifierBase : INotificationVerifier
Constructors
Name | Description |
---|---|
NotificationVerifierBase(Byte[]) | Constructs a new instance using the specified raw bytes for the public key. |
NotificationVerifierBase(String) | Constructs a new instance using the specified base 64 encoded public key. |
Methods
Name | Description |
---|---|
GetPublicKey() | Returns a byte array containing the raw binary representation of the public key this instance was initialised with. |
ThrowIfNotVerified(OnlineEftposNotification) | Verifies |
Verify(OnlineEftposNotification) | Returns true if the specified OnlineEftposNotification is verified valid and authentic, otherwise false. |