类 LicenseIssueService
- java.lang.Object
-
- top.daxian1218.dust.license.issue.LicenseIssueService
-
public class LicenseIssueService extends java.lang.Object
License发行服务
-
-
构造器概要
构造器 构造器 说明 LicenseIssueService()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 java.lang.String
generateLicense(java.lang.String body, long expiryTime, java.lang.String fingerPrint, boolean trial)
生成License内容java.lang.String
getDeviceFingerPrintOfTorrent(java.lang.String torrent, java.lang.String privateKey)
获取设备指纹top.daxian1218.dust.license.file.FileKeyPair
getFileKeyPair(java.io.InputStream steam, java.lang.String fileName)
发行签名程序以及签名文件
-
-
-
方法详细资料
-
getFileKeyPair
public top.daxian1218.dust.license.file.FileKeyPair getFileKeyPair(java.io.InputStream steam, java.lang.String fileName)
发行签名程序以及签名文件- 参数:
steam
-fileName
-- 返回:
-
getDeviceFingerPrintOfTorrent
public java.lang.String getDeviceFingerPrintOfTorrent(java.lang.String torrent, java.lang.String privateKey)
获取设备指纹- 参数:
torrent
-privateKey
-- 返回:
-
generateLicense
public java.lang.String generateLicense(java.lang.String body, long expiryTime, java.lang.String fingerPrint, boolean trial)
生成License内容- 参数:
body
-expiryTime
-fingerPrint
-trial
-- 返回:
-
-