public class StiLicenseActivationResponse extends StiLicenseObject
| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
exception |
StiLicenseKey |
licenseKey |
StiNotice |
resultNotice |
boolean |
resultSuccess |
| Constructor and Description |
|---|
StiLicenseActivationResponse() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
decryptFromBytes, decryptFromString, encryptToBytes, encryptToString, loadFromString, saveToBytesInternal, saveToStringpublic StiLicenseKey licenseKey
public java.lang.String exception
public boolean resultSuccess
public StiNotice resultNotice
public java.lang.String getEncryptKey()
getEncryptKey in class StiLicenseObjectpublic 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.InvalidKeyExceptionjava.security.NoSuchAlgorithmExceptionjava.security.NoSuchProviderExceptionjavax.crypto.NoSuchPaddingExceptionjava.io.UnsupportedEncodingExceptionjavax.crypto.IllegalBlockSizeExceptionjavax.crypto.BadPaddingExceptionJSONExceptionjava.security.InvalidAlgorithmParameterExceptionpublic 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.InvalidKeyExceptionjava.security.NoSuchAlgorithmExceptionjava.security.NoSuchProviderExceptionjavax.crypto.NoSuchPaddingExceptionjava.io.UnsupportedEncodingExceptionjavax.crypto.IllegalBlockSizeExceptionjavax.crypto.BadPaddingExceptionJSONExceptionjava.security.InvalidAlgorithmParameterExceptionCopyright © 2020 Stimulsoft. All Rights Reserved.