com.jp.protection.pub.launch
Class ProtectionLauncherConfig

java.lang.Object
  extended by com.jp.protection.pub.launch.ProtectionLauncherConfigBase
      extended by com.jp.protection.pub.launch.ProtectionLauncherConfig
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class ProtectionLauncherConfig
extends ProtectionLauncherConfigBase

See Also:
Serialized Form

Field Summary
protected  byte[] fDecryptKeyBytes
           
protected  ProductInfo fProductInfo
           
protected  boolean fProfessional
           
protected  java.lang.String fSecurityAlgorithm
           
protected  boolean fUseEncryption
           
protected  boolean fVerbose
           
static long serialVersionUID
           
 
Fields inherited from class com.jp.protection.pub.launch.ProtectionLauncherConfigBase
fAcceptLicenseAgreement, fActivationLockOptions, fActivationWizardLogo, fActivationWizardLogoRes, fActivationWizardOptions, fAllowFlexibleExpirationDate, fCheckPreviousShutdownDate, fCompany, fCompanyLogo, fCompanyLogoRes, fCopyright, fDeactivationWizardLogo, fDeactivationWizardLogoRes, fDeactivationWizardOptions, fFacadeConnectionConfigs, fGUI, fLicenseFileName, fLicenseFolder, fLicenseLockWizardLogo, fLicenseLockWizardLogoRes, fLicenseLockWizardOptions, fLicenseResourceFolder, fLicenseTextCommercial, fLicenseTextCommercialRes, fLicenseTextEvaluation, fLicenseTextEvaluationRes, fLicenseUserHomeRelative, fLicensingServerConnectionConfigs, fLicensingServerStatusURL, fLicensingWizardLogo, fLicensingWizardLogoRes, fLicensingWizardOptions, fMaintainPreviousShutdownDate, fPrevLicenseLocations, fSecretStorageProviders, fSilentActivation, fUseStrippedActivationKeyChars
 
Constructor Summary
ProtectionLauncherConfig()
           
ProtectionLauncherConfig(ProtectionLauncherConfigBase aLauncherConfig)
           
 
Method Summary
protected static javax.crypto.Cipher getCipher(boolean isEncrypt)
           
 byte[] getDecryptKeyBytes()
          Returns bytes array that specifies key used to decrypt the license.
 ProductInfo getProductInfo()
           
 java.lang.String getSecurityAlgorithm()
           
 boolean isProfessional()
           
 boolean isUseEncryption()
           
 boolean isVerbose()
           
static ProtectionLauncherConfig load(java.io.InputStream anInputStream)
           
static ProtectionLauncherConfig loadDecrypted(java.io.InputStream anInputStream)
           
 void setDecryptKeyBytes(byte[] aDecryptKeyBytes)
          Specifies bytes array representing key required to decrypt the license.
 void setProductInfo(ProductInfo aProductInfo)
           
 void setProfessional(boolean aProfessional)
           
 void setSecurityAlgorithm(java.lang.String aSecurityAlgorithm)
           
 void setUseEncryption(boolean aUseEncryption)
           
 void setVerbose(boolean aVerbose)
           
static void store(ProtectionLauncherConfig aLauncherConfig, java.io.OutputStream anOutputStream)
           
static void storeEncrypted(ProtectionLauncherConfig aLauncherConfig, java.io.OutputStream anOutputStream)
           
 
Methods inherited from class com.jp.protection.pub.launch.ProtectionLauncherConfigBase
clone, getActivationLockOptions, getActivationLockOptionsStr, getActivationWizardLogo, getActivationWizardLogoRes, getActivationWizardOptions, getActivationWizardOptionsStr, getCompany, getCompanyLogo, getCompanyLogoRes, getCopyright, getDeactivationWizardLogo, getDeactivationWizardLogoRes, getDeactivationWizardOptions, getDeactivationWizardOptionsStr, getFacadeConnectionConfigs, getLicenseFileName, getLicenseFolder, getLicenseLockWizardLogo, getLicenseLockWizardLogoRes, getLicenseLockWizardOptions, getLicenseLockWizardOptionsStr, getLicenseResourceFolder, getLicenseTextCommercial, getLicenseTextCommercialRes, getLicenseTextEvaluation, getLicenseTextEvaluationRes, getLicensingServerConnectionConfigs, getLicensingServerStatusURL, getLicensingWizardLogo, getLicensingWizardLogoRes, getLicensingWizardOptions, getLicensingWizardOptionsStr, getPrevLicenseLocations, getSecretStorageProviders, isAcceptLicenseAgreement, isAllowFlexibleExpirationDate, isCheckPreviousShutdownDate, isGUI, isLicenseUserHomeRelative, isMaintainPreviousShutdownDate, isSilentActivation, isUseStrippedActivationKeyChars, setAcceptLicenseAgreement, setActivationLockOptions, setActivationWizardLogo, setActivationWizardLogoRes, setActivationWizardOptions, setAllowFlexibleExpirationDate, setCheckPreviousShutdownDate, setCompany, setCompanyLogo, setCompanyLogoRes, setCopyright, setDeactivationWizardLogo, setDeactivationWizardLogoRes, setDeactivationWizardOptions, setFacadeConnectionConfigs, setGUI, setLicenseFileName, setLicenseFolder, setLicenseLockWizardLogo, setLicenseLockWizardLogoRes, setLicenseLockWizardOptions, setLicenseResourceFolder, setLicenseTextCommercial, setLicenseTextCommercialRes, setLicenseTextEvaluation, setLicenseTextEvaluationRes, setLicenseUserHomeRelative, setLicensingServerConnectionConfigs, setLicensingServerStatusURL, setLicensingWizardLogo, setLicensingWizardLogoRes, setLicensingWizardOptions, setMaintainPreviousShutdownDate, setSecretStorageProviders, setSilentActivation, setUseStrippedActivationKeyChars
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

public static final long serialVersionUID
See Also:
Constant Field Values

fSecurityAlgorithm

protected java.lang.String fSecurityAlgorithm

fDecryptKeyBytes

protected byte[] fDecryptKeyBytes

fProfessional

protected boolean fProfessional

fProductInfo

protected ProductInfo fProductInfo

fUseEncryption

protected transient boolean fUseEncryption

fVerbose

protected boolean fVerbose
Constructor Detail

ProtectionLauncherConfig

public ProtectionLauncherConfig()

ProtectionLauncherConfig

public ProtectionLauncherConfig(ProtectionLauncherConfigBase aLauncherConfig)
Method Detail

getProductInfo

public ProductInfo getProductInfo()

setProductInfo

public void setProductInfo(ProductInfo aProductInfo)

isProfessional

public boolean isProfessional()

setProfessional

public void setProfessional(boolean aProfessional)

getDecryptKeyBytes

public byte[] getDecryptKeyBytes()
Returns bytes array that specifies key used to decrypt the license.

Returns:
decryption key bytes

setDecryptKeyBytes

public void setDecryptKeyBytes(byte[] aDecryptKeyBytes)
Specifies bytes array representing key required to decrypt the license.

Parameters:
aDecryptKeyBytes - decryption key bytes

getSecurityAlgorithm

public java.lang.String getSecurityAlgorithm()

setSecurityAlgorithm

public void setSecurityAlgorithm(java.lang.String aSecurityAlgorithm)

isUseEncryption

public boolean isUseEncryption()

setUseEncryption

public void setUseEncryption(boolean aUseEncryption)

isVerbose

public boolean isVerbose()

setVerbose

public void setVerbose(boolean aVerbose)

loadDecrypted

public static ProtectionLauncherConfig loadDecrypted(java.io.InputStream anInputStream)
                                              throws java.io.IOException
Throws:
java.io.IOException

getCipher

protected static javax.crypto.Cipher getCipher(boolean isEncrypt)

load

public static ProtectionLauncherConfig load(java.io.InputStream anInputStream)
                                     throws java.io.IOException
Throws:
java.io.IOException

storeEncrypted

public static void storeEncrypted(ProtectionLauncherConfig aLauncherConfig,
                                  java.io.OutputStream anOutputStream)
                           throws java.io.IOException
Throws:
java.io.IOException

store

public static void store(ProtectionLauncherConfig aLauncherConfig,
                         java.io.OutputStream anOutputStream)
                  throws java.io.IOException
Throws:
java.io.IOException