com.stimulsoft.base.licenses
Class StiLicenseActivationRequest

java.lang.Object
  extended by com.stimulsoft.base.licenses.StiLicenseObject
      extended by com.stimulsoft.base.licenses.StiLicenseActivationRequest

public class StiLicenseActivationRequest
extends StiLicenseObject

Copyright Stimulsoft


Field Summary
 String deviceId
           
 String machineName
           
 String machineOSVersion
           
 String machineUserDomainName
           
 String machineUserName
           
 String password
           
 String sessionKey
           
 StiActivationType type
           
 String userName
           
 
Constructor Summary
StiLicenseActivationRequest()
           
 
Method Summary
static StiLicenseActivationRequest get(byte[] bytes)
           
static StiLicenseActivationRequest get(String str)
           
 String getDeviceId()
           
 String getEncryptKey()
           
 String getMachineName()
           
 String getMachineOSVersion()
           
 String getMachineUserDomainName()
           
 String getMachineUserName()
           
 String getPassword()
           
 String getSessionKey()
           
 StiActivationType getType()
           
 String getUserName()
           
 void setDeviceId(String deviceId)
           
 void setMachineName(String machineName)
           
 void setMachineOSVersion(String machineOSVersion)
           
 void setMachineUserDomainName(String machineUserDomainName)
           
 void setMachineUserName(String machineUserName)
           
 void setPassword(String password)
           
 void setSessionKey(String sessionKey)
           
 void setType(StiActivationType type)
           
 void setUserName(String userName)
           
 
Methods inherited from class com.stimulsoft.base.licenses.StiLicenseObject
decryptFromBytes, decryptFromString, encryptToBytes, encryptToString, loadFromString, saveToBytesInternal, saveToString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

machineName

public String machineName

machineUserName

public String machineUserName

machineUserDomainName

public String machineUserDomainName

machineOSVersion

public String machineOSVersion

userName

public String userName

password

public String password

type

public StiActivationType type

deviceId

public String deviceId

sessionKey

public String sessionKey
Constructor Detail

StiLicenseActivationRequest

public StiLicenseActivationRequest()
Method Detail

getEncryptKey

public String getEncryptKey()
Overrides:
getEncryptKey in class StiLicenseObject

getMachineName

public String getMachineName()
Returns:
the machineName

setMachineName

public void setMachineName(String machineName)
Parameters:
machineName - the machineName to set

getMachineUserName

public String getMachineUserName()
Returns:
the machineUserName

setMachineUserName

public void setMachineUserName(String machineUserName)
Parameters:
machineUserName - the machineUserName to set

getMachineUserDomainName

public String getMachineUserDomainName()
Returns:
the machineUserDomainName

setMachineUserDomainName

public void setMachineUserDomainName(String machineUserDomainName)
Parameters:
machineUserDomainName - the machineUserDomainName to set

getMachineOSVersion

public String getMachineOSVersion()
Returns:
the machineOSVersion

setMachineOSVersion

public void setMachineOSVersion(String machineOSVersion)
Parameters:
machineOSVersion - the machineOSVersion to set

getUserName

public String getUserName()
Returns:
the userName

setUserName

public void setUserName(String userName)
Parameters:
userName - the userName to set

getPassword

public String getPassword()
Returns:
the password

setPassword

public void setPassword(String password)
Parameters:
password - the password to set

getType

public StiActivationType getType()
Returns:
the type

setType

public void setType(StiActivationType type)
Parameters:
type - the type to set

getDeviceId

public String getDeviceId()
Returns:
the deviceId

setDeviceId

public void setDeviceId(String deviceId)
Parameters:
deviceId - the deviceId to set

getSessionKey

public String getSessionKey()
Returns:
the sessionKey

setSessionKey

public void setSessionKey(String sessionKey)
Parameters:
sessionKey - the sessionKey to set

get

public static StiLicenseActivationRequest get(byte[] bytes)
                                       throws InvalidKeyException,
                                              InvalidAlgorithmParameterException,
                                              IllegalBlockSizeException,
                                              BadPaddingException,
                                              NoSuchAlgorithmException,
                                              NoSuchProviderException,
                                              NoSuchPaddingException,
                                              UnsupportedEncodingException,
                                              JSONException
Throws:
InvalidKeyException
InvalidAlgorithmParameterException
IllegalBlockSizeException
BadPaddingException
NoSuchAlgorithmException
NoSuchProviderException
NoSuchPaddingException
UnsupportedEncodingException
JSONException

get

public static StiLicenseActivationRequest get(String str)
                                       throws InvalidKeyException,
                                              NoSuchAlgorithmException,
                                              NoSuchProviderException,
                                              NoSuchPaddingException,
                                              UnsupportedEncodingException,
                                              IllegalBlockSizeException,
                                              BadPaddingException,
                                              JSONException,
                                              InvalidAlgorithmParameterException
Throws:
InvalidKeyException
NoSuchAlgorithmException
NoSuchProviderException
NoSuchPaddingException
UnsupportedEncodingException
IllegalBlockSizeException
BadPaddingException
JSONException
InvalidAlgorithmParameterException


Copyright © 2017 Stimulsoft. All Rights Reserved.