|
||||||||||
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 | |
---|---|
java.lang.String |
exception
|
StiLicenseKey |
licenseKey
|
StiNotice |
resultNotice
|
boolean |
resultSuccess
|
Constructor Summary | |
---|---|
StiLicenseActivationResponse()
|
Method Summary | |
---|---|
static StiLicenseActivationResponse |
get(byte[] bytes)
|
static StiLicenseActivationResponse |
get(java.lang.String str)
|
java.lang.String |
getEncryptKey()
|
java.lang.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(java.lang.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 |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public StiLicenseKey licenseKey
public java.lang.String exception
public boolean resultSuccess
public StiNotice resultNotice
Constructor Detail |
---|
public StiLicenseActivationResponse()
Method Detail |
---|
public java.lang.String getEncryptKey()
getEncryptKey
in class StiLicenseObject
public StiLicenseKey getLicenseKey()
public void setLicenseKey(StiLicenseKey licenseKey)
licenseKey
- the licenseKey to setpublic java.lang.String getException()
public void setException(java.lang.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 java.security.InvalidKeyException, java.security.NoSuchAlgorithmException, java.security.NoSuchProviderException, javax.crypto.NoSuchPaddingException, java.io.UnsupportedEncodingException, javax.crypto.IllegalBlockSizeException, javax.crypto.BadPaddingException, JSONException, java.security.InvalidAlgorithmParameterException
java.security.InvalidKeyException
java.security.NoSuchAlgorithmException
java.security.NoSuchProviderException
javax.crypto.NoSuchPaddingException
java.io.UnsupportedEncodingException
javax.crypto.IllegalBlockSizeException
javax.crypto.BadPaddingException
JSONException
java.security.InvalidAlgorithmParameterException
public static StiLicenseActivationResponse get(java.lang.String str) throws java.security.InvalidKeyException, java.security.NoSuchAlgorithmException, java.security.NoSuchProviderException, javax.crypto.NoSuchPaddingException, java.io.UnsupportedEncodingException, javax.crypto.IllegalBlockSizeException, javax.crypto.BadPaddingException, JSONException, java.security.InvalidAlgorithmParameterException
java.security.InvalidKeyException
java.security.NoSuchAlgorithmException
java.security.NoSuchProviderException
javax.crypto.NoSuchPaddingException
java.io.UnsupportedEncodingException
javax.crypto.IllegalBlockSizeException
javax.crypto.BadPaddingException
JSONException
java.security.InvalidAlgorithmParameterException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |