org.gudy.azureus2.plugins.utils
Interface FeatureManager.FeatureDetails

Enclosing interface:
FeatureManager

public static interface FeatureManager.FeatureDetails


Field Summary
static java.lang.String PR_FINGERPRINT
           
static java.lang.String PR_IS_INSTALL_TIME
           
static java.lang.String PR_IS_TRIAL
           
static java.lang.String PR_OFFLINE_VALID_UNTIL
           
static java.lang.String PR_PUBLIC_KEY
           
static java.lang.String PR_RENEWAL_KEY
           
static java.lang.String PR_REQUIRED_PLUGINS
           
static java.lang.String PR_TRIAL_USES_FAIL_COUNT
           
static java.lang.String PR_TRIAL_USES_LIMIT
           
static java.lang.String PR_TRIAL_USES_REMAINING
           
static java.lang.String PR_VALID_UNTIL
           
 
Method Summary
 byte[] getEncodedProperties()
           
 java.lang.String getID()
           
 FeatureManager.Licence getLicence()
           
 java.lang.Object getProperty(java.lang.String propery_name)
           
 byte[] getSignature()
           
 boolean hasExpired()
          Returns true if offline expired or overall expired.
 void setProperty(java.lang.String property_name, java.lang.Object property_value)
           
 

Field Detail

PR_PUBLIC_KEY

static final java.lang.String PR_PUBLIC_KEY
See Also:
Constant Field Values

PR_VALID_UNTIL

static final java.lang.String PR_VALID_UNTIL
See Also:
Constant Field Values

PR_OFFLINE_VALID_UNTIL

static final java.lang.String PR_OFFLINE_VALID_UNTIL
See Also:
Constant Field Values

PR_IS_INSTALL_TIME

static final java.lang.String PR_IS_INSTALL_TIME
See Also:
Constant Field Values

PR_IS_TRIAL

static final java.lang.String PR_IS_TRIAL
See Also:
Constant Field Values

PR_TRIAL_USES_LIMIT

static final java.lang.String PR_TRIAL_USES_LIMIT
See Also:
Constant Field Values

PR_TRIAL_USES_FAIL_COUNT

static final java.lang.String PR_TRIAL_USES_FAIL_COUNT
See Also:
Constant Field Values

PR_TRIAL_USES_REMAINING

static final java.lang.String PR_TRIAL_USES_REMAINING
See Also:
Constant Field Values

PR_REQUIRED_PLUGINS

static final java.lang.String PR_REQUIRED_PLUGINS
See Also:
Constant Field Values

PR_FINGERPRINT

static final java.lang.String PR_FINGERPRINT
See Also:
Constant Field Values

PR_RENEWAL_KEY

static final java.lang.String PR_RENEWAL_KEY
See Also:
Constant Field Values
Method Detail

getLicence

FeatureManager.Licence getLicence()

getID

java.lang.String getID()

hasExpired

boolean hasExpired()
Returns true if offline expired or overall expired. NOT to be used by verified plugins, they must do the check explicitly using the signed properties

Returns:

getEncodedProperties

byte[] getEncodedProperties()

getSignature

byte[] getSignature()

getProperty

java.lang.Object getProperty(java.lang.String propery_name)

setProperty

void setProperty(java.lang.String property_name,
                 java.lang.Object property_value)