Package com.stimulsoft.base.licenses
Class StiTrialLicenseKey
java.lang.Object
com.stimulsoft.base.licenses.StiLicenseObject
com.stimulsoft.base.licenses.StiTrialLicenseKey
Copyright Stimulsoft
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Stringbyte[]byte[]booleanisActive()booleanvoidloadFromString(String str) static StiTrialLicenseKeyvoidsetEndDate(StiDateTime endDate) voidsetSignature(String signature) voidsetStartDate(StiDateTime startDate) voidsetUserName(String userName) Methods inherited from class com.stimulsoft.base.licenses.StiLicenseObject
decryptFromBytes, decryptFromString, encryptToBytes, encryptToString, getEncryptKey, saveToBytes
-
Constructor Details
-
StiTrialLicenseKey
public StiTrialLicenseKey()
-
-
Method Details
-
isActive
public boolean isActive() -
isExpired
public boolean isExpired() -
loadFromString
- Overrides:
loadFromStringin classStiLicenseObject- Throws:
JSONException
-
saveToString
- Overrides:
saveToStringin classStiLicenseObject- Throws:
JSONException
-
createStik
-
getCheckBytes
-
getSignatureBytes
public byte[] getSignatureBytes() -
toTrialString
public String toTrialString() throws JSONException, InvalidKeyException, NoSuchAlgorithmException, InvalidKeySpecException, IOException, NoSuchPaddingException, InvalidAlgorithmParameterException -
parse
- Throws:
Exception
-
getUserName
-
setUserName
-
getStartDate
-
setStartDate
-
getEndDate
-
setEndDate
-
getSignature
-
setSignature
-