|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.stimulsoft.base.licenses.StiLicenseObject
com.stimulsoft.base.licenses.StiLicenseActivationResponse
public class StiLicenseActivationResponse
Copyright Stimulsoft
| Field Summary | |
|---|---|
String |
exception
|
StiLicenseKey |
licenseKey
|
StiNotice |
resultNotice
|
boolean |
resultSuccess
|
| Constructor Summary | |
|---|---|
StiLicenseActivationResponse()
|
|
| Method Summary | |
|---|---|
static StiLicenseActivationResponse |
get(byte[] bytes)
|
static StiLicenseActivationResponse |
get(String str)
|
String |
getEncryptKey()
|
String |
getException()
An information about exception which occurs during activation process. |
StiLicenseKey |
getLicenseKey()
|
StiNotice |
getResultNotice()
A message about the running command. |
boolean |
isResultSuccess()
True or False value which depend on the status of the running command. |
static StiLicenseActivationResponse |
makeFine(StiLicenseKey licenseKey)
|
static StiLicenseActivationResponse |
makeWrong(StiNotice notice)
|
void |
setException(String exception)
An information about exception which occurs during activation process. |
void |
setLicenseKey(StiLicenseKey licenseKey)
|
void |
setResultNotice(StiNotice resultNotice)
A message about the running command. |
void |
setResultSuccess(boolean resultSuccess)
True or False value which depend on the status of the running command. |
| 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 |
|---|
public StiLicenseKey licenseKey
public String exception
public boolean resultSuccess
public StiNotice resultNotice
| Constructor Detail |
|---|
public StiLicenseActivationResponse()
| Method Detail |
|---|
public String getEncryptKey()
getEncryptKey in class StiLicenseObjectpublic StiLicenseKey getLicenseKey()
public void setLicenseKey(StiLicenseKey licenseKey)
licenseKey - the licenseKey to setpublic String getException()
public void setException(String exception)
exception - the exception to setpublic boolean isResultSuccess()
public void setResultSuccess(boolean resultSuccess)
resultSuccess - the resultSuccess to setpublic StiNotice getResultNotice()
public void setResultNotice(StiNotice resultNotice)
resultNotice - the resultNotice to setpublic static StiLicenseActivationResponse makeWrong(StiNotice notice)
public static StiLicenseActivationResponse makeFine(StiLicenseKey licenseKey)
public static StiLicenseActivationResponse get(byte[] bytes)
throws InvalidKeyException,
NoSuchAlgorithmException,
NoSuchProviderException,
NoSuchPaddingException,
UnsupportedEncodingException,
IllegalBlockSizeException,
BadPaddingException,
JSONException,
InvalidAlgorithmParameterException
InvalidKeyException
NoSuchAlgorithmException
NoSuchProviderException
NoSuchPaddingException
UnsupportedEncodingException
IllegalBlockSizeException
BadPaddingException
JSONException
InvalidAlgorithmParameterException
public static StiLicenseActivationResponse get(String str)
throws InvalidKeyException,
NoSuchAlgorithmException,
NoSuchProviderException,
NoSuchPaddingException,
UnsupportedEncodingException,
IllegalBlockSizeException,
BadPaddingException,
JSONException,
InvalidAlgorithmParameterException
InvalidKeyException
NoSuchAlgorithmException
NoSuchProviderException
NoSuchPaddingException
UnsupportedEncodingException
IllegalBlockSizeException
BadPaddingException
JSONException
InvalidAlgorithmParameterException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||