public class LicenseUtils
extends java.lang.Object
限定符和类型 | 字段和说明 |
---|---|
static java.lang.String |
DATE_FORMAT_STRING |
限定符 | 构造器和说明 |
---|---|
private |
LicenseUtils() |
限定符和类型 | 方法和说明 |
---|---|
static java.lang.String |
generateSignaturer(byte[] privateKey,
License license) |
static byte[] |
getLicenseDate(License license) |
static License |
readLicense(byte[] licenseData) |
static License |
readLicense(java.lang.String licenseText) |
static boolean |
verifyLicense(java.lang.String publicKey,
License license) |
static boolean |
verifyLicenseDate(License license) |
static java.lang.String |
writeLicense(License license) |
public static final java.lang.String DATE_FORMAT_STRING
public static java.lang.String writeLicense(License license)
public static License readLicense(java.lang.String licenseText)
public static License readLicense(byte[] licenseData)
public static boolean verifyLicense(java.lang.String publicKey, License license)
public static boolean verifyLicenseDate(License license)
public static java.lang.String generateSignaturer(byte[] privateKey, License license)
public static byte[] getLicenseDate(License license)