public class ActivationRequest
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
protected CDKey |
cdKey |
protected boolean |
reload |
protected java.util.Map<java.lang.String,java.lang.String> |
systemDetails |
protected java.lang.String |
systemId |
protected int |
version |
Constructor and Description |
---|
ActivationRequest(CDKey cdKey,
java.lang.String systemId,
java.util.Map<java.lang.String,java.lang.String> systemDetails) |
ActivationRequest(java.lang.String base64)
Creates an ActivationRequest from the format created by toBase64()
|
Modifier and Type | Method and Description |
---|---|
protected byte[] |
decrypt(byte[] input) |
protected byte[] |
encrypt(byte[] input) |
boolean |
equals(java.lang.Object o) |
CDKey |
getCdKey() |
java.util.Map<java.lang.String,java.lang.String> |
getSystemInfo() |
int |
hashCode() |
protected void |
initFromReader(java.io.BufferedReader reader) |
boolean |
isReload()
Returns true if this activation request represens a "re-load" request, which means that it came from a system
upon which the given key is already activated, but the customer is looking to refresh the license details in
the case where they may have added or altered details of the license through IA.
|
protected void |
persistToWriter(java.io.PrintWriter writer) |
void |
setReload(boolean reload) |
java.lang.String |
systemId() |
java.lang.String |
toBase64() |
java.lang.String |
toString() |
protected int version
protected CDKey cdKey
protected java.lang.String systemId
protected java.util.Map<java.lang.String,java.lang.String> systemDetails
protected boolean reload
public ActivationRequest(CDKey cdKey, java.lang.String systemId, java.util.Map<java.lang.String,java.lang.String> systemDetails)
public ActivationRequest(java.lang.String base64) throws java.lang.Exception
java.lang.Exception
protected void initFromReader(java.io.BufferedReader reader) throws java.lang.Exception
java.lang.Exception
public CDKey getCdKey()
public java.lang.String systemId()
public java.util.Map<java.lang.String,java.lang.String> getSystemInfo()
public boolean isReload()
public void setReload(boolean reload)
public java.lang.String toBase64()
protected void persistToWriter(java.io.PrintWriter writer)
protected byte[] encrypt(byte[] input)
protected byte[] decrypt(byte[] input)
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object