Instance Property

signature

A UTF-8 string representing the properties of a specific discount offer, cryptographically signed.

Declaration

@property(nonatomic, copy, readonly) NSString *signature;

Discussion

The signature is a string signed with your private key that represents the properties of a specific discount offer. To keep your private key secure, generate the signature on a server.

Generate the signature using the Elliptic Curve Digital Signature Algorithm (ECDSA) with SHA 256.

See Also

Validating the Discount

nonce

A universally unique ID (UUID) value that you define.

timestamp

The date and time of the signature's creation in milliseconds, formatted in Unix epoch time.