|
Mobile Tools for Java Release 1.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.mtj.core.library.model.security.ProtectionDomain
public class ProtectionDomain
A protection domain is a way to differentiate between downloaded MIDlet suites based on the entity that signed the MIDlet suite, and to grant or make available to a MIDlet suite a set of permissions. A domain binds a Protection Domain Root Certificate to a set of permissions.
| Nested Class Summary | |
|---|---|
static class |
ProtectionDomain.ProtectionDomainType
|
| Constructor Summary | |
|---|---|
ProtectionDomain(ProtectionDomain.ProtectionDomainType protectionDomain)
Creates a new ProtectionDomain. |
|
ProtectionDomain(String protectionDomainType)
Creates a new ProtectionDomain. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
ProtectionDomain.ProtectionDomainType |
getProtectionDomainType()
Return the current protection domain type. |
int |
hashCode()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProtectionDomain(ProtectionDomain.ProtectionDomainType protectionDomain)
protectionDomain - a protection domain type.
public ProtectionDomain(String protectionDomainType)
throws IllegalArgumentException
protectionDomainType - one of the following string values:
MANUFACTURER | OPERATOR | THIRD_PARTY |
UNTRUSTED
IllegalArgumentException - if protectionDomainType is null or
different from one of the following values:
MANUFACTURER | OPERATOR | THIRD_PARTY |
UNTRUSTED.| Method Detail |
|---|
public ProtectionDomain.ProtectionDomainType getProtectionDomainType()
public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Object
|
Mobile Tools for Java Release 1.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||