类 LicenseIssueService


  • public class LicenseIssueService
    extends java.lang.Object
    License发行服务
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      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)
      发行签名程序以及签名文件
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 构造器详细资料

      • LicenseIssueService

        public LicenseIssueService()
    • 方法详细资料

      • 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 -
        返回: