com.vs.ezlicrun
Interface EzLicOEM


public interface EzLicOEM

An ISV that is interested in OEMing a third party product whose key is embedded as a custom key can provide this interface to the OEM so that the latter may retrieve and check its license key.


Method Summary
 java.lang.String getKey(java.lang.String oemName)
          Get OEM key: Return the OEM key from the embedded key.
 java.lang.String getUserName()
          Get ISV user name in the capacity of an OEM's reseller: Return the User name.
 void setKey(java.lang.String oemKey)
          Set OEM key: Set the specified OEM key from the embedded key.
 void setUserName(java.lang.String userName)
          Set ISV user name in the capacity of an OEM's reseller: The ISV's custom key handler instantiates the class and uses this method to set the user name in its custom key handler at the time of its license key check.
 

Method Detail

getKey

public java.lang.String getKey(java.lang.String oemName)
                        throws EzLicExceptionBase
Get OEM key: Return the OEM key from the embedded key. The OEM's code invokes this and follows up with a check on the retrieved key. The ISV's custom key handler instantiated the class and set the key in its custom key handler at the time of its license key check.
Parameters:
oemName: - OEM name keyword.
Returns:
OEM key.
Throws:
EzLicExceptionBase - if the retrieval fails
See Also:
EzLicExceptionBase

setKey

public void setKey(java.lang.String oemKey)
            throws EzLicExceptionBase
Set OEM key: Set the specified OEM key from the embedded key. The ISV's custom key handler instantiates the class and uses this method to set the key in its custom key handler at the time of its license key check. The OEM's code follows up with a getKey() invocation.
Parameters:
oemKey: - OEM key.
Throws:
EzLicExceptionBase - if the retrieval fails
See Also:
EzLicExceptionBase

getUserName

public java.lang.String getUserName()
                             throws EzLicExceptionBase
Get ISV user name in the capacity of an OEM's reseller: Return the User name. The OEM's code invokes this and follows up with a check against the OEM key content. The ISV's custom key handler instantiated the class and set the key in its custom key handler at the time of its license key check.
Returns:
ISV OEM-reseller User name.
Throws:
EzLicExceptionBase - if the retrieval fails
See Also:
EzLicExceptionBase

setUserName

public void setUserName(java.lang.String userName)
                 throws EzLicExceptionBase
Set ISV user name in the capacity of an OEM's reseller: The ISV's custom key handler instantiates the class and uses this method to set the user name in its custom key handler at the time of its license key check. The OEM's code follows up with a getUserName() invocation.
Parameters:
userName: - ISV user name as applicable to OEM.
Throws:
EzLicExceptionBase - if the retrieval fails
See Also:
EzLicExceptionBase