|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jp.protection.priv.LicenseWriter
com.jp.protection.priv.ProductLicenseWriter
public class ProductLicenseWriter
This class is intended to encode and to write licenses to the file or output stream. In addition to the core functionality, this class provides initialization of the security key bytes and algorithm according to the values of the supplied product
Field Summary | |
---|---|
protected Product |
fProduct
|
Fields inherited from class com.jp.protection.priv.LicenseWriter |
---|
fEncryptKeyBytes, fSecurityProvider, fSkipEncryption, fVerbose |
Constructor Summary | |
---|---|
ProductLicenseWriter()
Creates a new instance of the ProductLicenseWriter |
|
ProductLicenseWriter(Product aProduct)
Creates a new instance of the ProductLicenseWriter and initializes
it with a product |
Method Summary | |
---|---|
static LicenseWriter |
createLicenseWriter()
Creates a new instance of the ProductLicenseWriter |
static LicenseWriter |
createLicenseWriter(Product aProduct)
Creates a new instance of the ProductLicenseWriter and initializes it with a product |
Product |
getProduct()
Returns the product for which licenses would be written |
void |
setProduct(Product aProduct)
Specifies the product for which licenses would be written |
Methods inherited from class com.jp.protection.priv.LicenseWriter |
---|
checkLicense, getEncryptKeyBytes, getPublicKeyBytes, isSkipEncryption, isVerbose, release, reset, setEncryptKeyBytes, setPublicKeyBytes, setSkipEncryption, setVerbose, writeLicense, writeLicense |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Product fProduct
Constructor Detail |
---|
ProductLicenseWriter()
ProductLicenseWriter
ProductLicenseWriter(Product aProduct)
ProductLicenseWriter
and initializes
it with a product
aProduct
- product to write the licenses forMethod Detail |
---|
public static LicenseWriter createLicenseWriter()
ProductLicenseWriter
ProductLicenseWriter
public static LicenseWriter createLicenseWriter(Product aProduct)
ProductLicenseWriter
and initializes it with a product
aProduct
- product to write the licenses for
ProductLicenseWriter
public Product getProduct()
public void setProduct(Product aProduct)
aProduct
- the product for which licenses would be written
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |