apidocs / com.srv4pos.server.api.activation / ActivationCodeInfo

ActivationCodeInfo

class ActivationCodeInfo : Info

Serialized and signed ActivationDescriptorInfo.

User: Kirill, Date: 05.08.13 17:59

Constructors

<init>

ActivationCodeInfo()

Serialized and signed ActivationDescriptorInfo.

Properties

activationDescriptorInfo

var activationDescriptorInfo: String?

Json serialized ActivationDescriptorInfo.

activationInfoVersion

var activationInfoVersion: Int

Version of ActivationInfo, Android device has to support all the previous versions to avoid reactivation. Also this version changes when public/private key for .signature generation is changed, or algorithm of serializing .activationDescriptorInfo is changed

publicKeyFileName

var publicKeyFileName: String?

The file name for the public key, which should be used for .signature.

signature

var signature: String?

Digital signature of .activationDescriptorInfo.

Extension Functions

toJson

fun Info.toJson(): String