public class ApplicationTrust extends EvidenceBase
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Security.Policy.ApplicationTrust
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.Security.Permissions, Version=10.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
|
static java.lang.String |
assemblyShortName
Assembly name: System.Security.Permissions
|
static java.lang.String |
className
Qualified class name: System.Security.Policy.ApplicationTrust
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
ApplicationTrust() |
ApplicationTrust(ApplicationIdentity identity) |
ApplicationTrust(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static ApplicationTrust |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into ApplicationTrust, a cast assert is made to check if types are compatible. |
void |
FromXml(SecurityElement element) |
ApplicationIdentity |
getApplicationIdentity() |
PolicyStatement |
getDefaultGrantSet() |
NetObject |
getExtraInfo() |
boolean |
getIsApplicationTrustedToRun() |
java.lang.String |
getJCOAssemblyName()
Returns the reflected Assembly name
|
java.lang.String |
getJCOClassName()
Returns the reflected Class name
|
java.lang.Object |
getJCOInstance()
Returns the instantiated class
|
java.lang.String |
getJCOObjectName()
Returns the reflected Class name used to build the object
|
JCType |
getJCOType()
Returns the instantiated class Type
|
boolean |
getPersist() |
void |
setApplicationIdentity(ApplicationIdentity ApplicationIdentity) |
void |
setDefaultGrantSet(PolicyStatement DefaultGrantSet) |
void |
setExtraInfo(NetObject ExtraInfo) |
void |
setIsApplicationTrustedToRun(boolean IsApplicationTrustedToRun) |
void |
setJCOInstance(JCObject instance) |
void |
setPersist(boolean Persist) |
SecurityElement |
ToXml() |
Clonepublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public ApplicationTrust()
throws java.lang.Throwable
java.lang.Throwablepublic ApplicationTrust(ApplicationIdentity identity) throws java.lang.Throwable
java.lang.Throwablepublic ApplicationTrust(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic static ApplicationTrust cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into ApplicationTrust, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedApplicationTrust instancejava.lang.Throwable - in case of error during cast operationpublic void FromXml(SecurityElement element) throws java.lang.Throwable
java.lang.Throwablepublic ApplicationIdentity getApplicationIdentity() throws java.lang.Throwable
java.lang.Throwablepublic PolicyStatement getDefaultGrantSet() throws java.lang.Throwable
java.lang.Throwablepublic NetObject getExtraInfo() throws java.lang.Throwable
java.lang.Throwablepublic boolean getIsApplicationTrustedToRun()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class EvidenceBaseString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class EvidenceBaseString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class EvidenceBaseObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class EvidenceBaseString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class EvidenceBaseJCType representing the CLR Type of the instantiated Classpublic boolean getPersist()
throws java.lang.Throwable
java.lang.Throwablepublic void setApplicationIdentity(ApplicationIdentity ApplicationIdentity) throws java.lang.Throwable
java.lang.Throwablepublic void setDefaultGrantSet(PolicyStatement DefaultGrantSet) throws java.lang.Throwable
java.lang.Throwablepublic void setExtraInfo(NetObject ExtraInfo) throws java.lang.Throwable
java.lang.Throwablepublic void setIsApplicationTrustedToRun(boolean IsApplicationTrustedToRun)
throws java.lang.Throwable
java.lang.Throwablepublic void setJCOInstance(JCObject instance)
setJCOInstance in class EvidenceBasepublic void setPersist(boolean Persist)
throws java.lang.Throwable
java.lang.Throwablepublic SecurityElement ToXml() throws java.lang.Throwable
java.lang.Throwable