checkLicense

package
v0.0.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 28, 2024 License: GPL-3.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Key = "kesselkesselkits"

Functions

func AesDecrypt

func AesDecrypt(cryted string, key string) string

AesDecrypt 解密

func AesEncrypt

func AesEncrypt(orig string, key string) string

AesEncrypt 加密

func CheckLicense

func CheckLicense()

func LoopDetection

func LoopDetection()

LoopDetection 循环检测授权

Types

type AppLicenseInfos

type AppLicenseInfos struct {
	AppName        string //应用名称
	AppCompany     string //应用发布的公司
	AppUUID        string //此次发布应用的UUID
	ObjUUID        string //目标设备的UUID
	AuthorizedName string //授权名称
	AuthorizedTime string //授权时间
	LimitedTime    string //到期日期
}

func Check

func Check() (bool, AppLicenseInfos, error)

func ValidAppLic

func ValidAppLic(appInfoFile, key string) (res bool, err error, license AppLicenseInfos)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL