Class TrustInfo
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- microsoft.build.tasks.deployment.manifestutilities.TrustInfo
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class TrustInfo extends NetObject
The base .NET class managing Microsoft.Build.Tasks.Deployment.ManifestUtilities.TrustInfo, Microsoft.Build.Tasks.v4.0, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/Microsoft.Build.Tasks.Deployment.ManifestUtilities.TrustInfo
Powered by JCOBridge: more info at https://www.jcobridge.com
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
assemblyFullName
Fully assembly qualified name: Microsoft.Build.Tasks.v4.0, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.String
assemblyShortName
Assembly name: Microsoft.Build.Tasks.v4.0static java.lang.String
className
Qualified class name: Microsoft.Build.Tasks.Deployment.ManifestUtilities.TrustInfostatic org.mases.jcobridge.JCType
classType
The type managed from JCOBridge.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TrustInfo
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoTrustInfo
, a cast assert is made to check if types are compatible.void
Clear()
boolean
getHasUnmanagedCodePermission()
boolean
getIsFullTrust()
java.lang.String
getJCOAssemblyName()
Returns the reflected Assembly namejava.lang.String
getJCOClassName()
Returns the reflected Class namejava.lang.Object
getJCOInstance()
Returns the instantiated classjava.lang.String
getJCOObjectName()
Returns the reflected Class name used to build the objectorg.mases.jcobridge.JCType
getJCOType()
Returns the instantiated class TypePermissionSet
getPermissionSet()
boolean
getPreserveFullTrustPermissionSet()
java.lang.String
getSameSiteAccess()
void
Read(java.lang.String path)
void
Read(Stream input)
void
ReadManifest(java.lang.String path)
void
ReadManifest(Stream input)
void
setIsFullTrust(boolean IsFullTrust)
void
setJCOInstance(org.mases.jcobridge.JCObject instance)
void
setPermissionSet(PermissionSet PermissionSet)
void
setPreserveFullTrustPermissionSet(boolean PreserveFullTrustPermissionSet)
void
setSameSiteAccess(java.lang.String SameSiteAccess)
void
Write(java.lang.String path)
void
Write(Stream output)
void
WriteManifest(java.lang.String path)
void
WriteManifest(Stream output)
void
WriteManifest(Stream input, Stream output)
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: Microsoft.Build.Tasks.v4.0, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: Microsoft.Build.Tasks.v4.0- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: Microsoft.Build.Tasks.Deployment.ManifestUtilities.TrustInfo- See Also:
- Constant Field Values
-
classType
public static org.mases.jcobridge.JCType classType
The type managed from JCOBridge. SeeJCType
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOAssemblyName
in classNetObject
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOClassName
in classNetObject
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOObjectName
in classNetObject
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Overrides:
getJCOInstance
in classNetObject
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(org.mases.jcobridge.JCObject instance)
- Overrides:
setJCOInstance
in classNetObject
-
getJCOType
public org.mases.jcobridge.JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classNetObject
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static TrustInfo cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoTrustInfo
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
TrustInfo
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
Clear
public void Clear() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Read
public void Read(Stream input) throws java.lang.Throwable, NotImplementedException, NotSupportedException, IndexOutOfRangeException, InvalidOperationException, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, XmlException, XmlSchemaException, XPathException, CultureNotFoundException, FormatException
-
Read
public void Read(java.lang.String path) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, FormatException, PathTooLongException, IndexOutOfRangeException, NotSupportedException, InvalidOperationException, NullReferenceException, SecurityException, IOException, XmlException, MissingManifestResourceException, XmlSchemaException, XPathException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
ArgumentOutOfRangeException
FormatException
PathTooLongException
IndexOutOfRangeException
NotSupportedException
InvalidOperationException
NullReferenceException
SecurityException
IOException
XmlException
MissingManifestResourceException
XmlSchemaException
XPathException
-
ReadManifest
public void ReadManifest(Stream input) throws java.lang.Throwable, NotImplementedException, NotSupportedException, IndexOutOfRangeException, InvalidOperationException, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, XmlException, XmlSchemaException, XPathException, CultureNotFoundException, FormatException
-
ReadManifest
public void ReadManifest(java.lang.String path) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, FormatException, PathTooLongException, IndexOutOfRangeException, NotSupportedException, InvalidOperationException, NullReferenceException, SecurityException, IOException, XmlException, MissingManifestResourceException, XmlSchemaException, XPathException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
ArgumentOutOfRangeException
FormatException
PathTooLongException
IndexOutOfRangeException
NotSupportedException
InvalidOperationException
NullReferenceException
SecurityException
IOException
XmlException
MissingManifestResourceException
XmlSchemaException
XPathException
-
Write
public void Write(Stream output) throws java.lang.Throwable, ArgumentNullException, NullReferenceException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, XmlException, IndexOutOfRangeException, XPathException, RankException, NotSupportedException, OutOfMemoryException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, FormatException, XmlSchemaException, SecurityException, XsltException, TypeLoadException
- Throws:
java.lang.Throwable
ArgumentNullException
NullReferenceException
ArgumentException
NotImplementedException
MissingManifestResourceException
ObjectDisposedException
InvalidOperationException
ArgumentOutOfRangeException
XmlException
IndexOutOfRangeException
XPathException
RankException
NotSupportedException
OutOfMemoryException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
PathTooLongException
DriveNotFoundException
OperationCanceledException
FormatException
XmlSchemaException
SecurityException
XsltException
TypeLoadException
-
Write
public void Write(java.lang.String path) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, FormatException, PathTooLongException, IndexOutOfRangeException, NotSupportedException, InvalidOperationException, NullReferenceException, SecurityException, IOException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, XmlException, XPathException, OutOfMemoryException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
ArgumentOutOfRangeException
FormatException
PathTooLongException
IndexOutOfRangeException
NotSupportedException
InvalidOperationException
NullReferenceException
SecurityException
IOException
MissingManifestResourceException
NotImplementedException
ObjectDisposedException
XmlException
XPathException
OutOfMemoryException
-
WriteManifest
public void WriteManifest(Stream output) throws java.lang.Throwable, InvalidOperationException, ArgumentNullException, ArgumentOutOfRangeException, OutOfMemoryException, FormatException, NotImplementedException, NotSupportedException, IndexOutOfRangeException, ArgumentException, XmlException, XmlSchemaException, XPathException, BadImageFormatException, CultureNotFoundException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException
- Throws:
java.lang.Throwable
InvalidOperationException
ArgumentNullException
ArgumentOutOfRangeException
OutOfMemoryException
FormatException
NotImplementedException
NotSupportedException
IndexOutOfRangeException
ArgumentException
XmlException
XmlSchemaException
XPathException
BadImageFormatException
CultureNotFoundException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
PathTooLongException
DriveNotFoundException
OperationCanceledException
-
WriteManifest
public void WriteManifest(Stream input, Stream output) throws java.lang.Throwable, ArgumentException, NotImplementedException, NotSupportedException, IndexOutOfRangeException, ObjectDisposedException, InvalidOperationException, SecurityException, UnauthorizedAccessException, IOException, ArgumentNullException, ArgumentOutOfRangeException, XmlException, MissingManifestResourceException, XmlSchemaException, NullReferenceException, XPathException, BadImageFormatException, FormatException, FileNotFoundException, DirectoryNotFoundException, PathTooLongException, DriveNotFoundException, OperationCanceledException
- Throws:
java.lang.Throwable
ArgumentException
NotImplementedException
NotSupportedException
IndexOutOfRangeException
ObjectDisposedException
InvalidOperationException
SecurityException
UnauthorizedAccessException
IOException
ArgumentNullException
ArgumentOutOfRangeException
XmlException
MissingManifestResourceException
XmlSchemaException
NullReferenceException
XPathException
BadImageFormatException
FormatException
FileNotFoundException
DirectoryNotFoundException
PathTooLongException
DriveNotFoundException
OperationCanceledException
-
WriteManifest
public void WriteManifest(java.lang.String path) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PathTooLongException, ArgumentOutOfRangeException, IndexOutOfRangeException, FormatException, NotSupportedException, InvalidOperationException, NullReferenceException, SecurityException, IOException, NotImplementedException, XmlException, XmlSchemaException, XPathException, BadImageFormatException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PathTooLongException
ArgumentOutOfRangeException
IndexOutOfRangeException
FormatException
NotSupportedException
InvalidOperationException
NullReferenceException
SecurityException
IOException
NotImplementedException
XmlException
XmlSchemaException
XPathException
BadImageFormatException
-
getHasUnmanagedCodePermission
public boolean getHasUnmanagedCodePermission() throws java.lang.Throwable, ArgumentNullException, NullReferenceException, ArgumentException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, XmlException, XPathException, CultureNotFoundException, NotSupportedException, FormatException, IndexOutOfRangeException
- Throws:
java.lang.Throwable
ArgumentNullException
NullReferenceException
ArgumentException
MissingManifestResourceException
ObjectDisposedException
InvalidOperationException
ArgumentOutOfRangeException
XmlException
XPathException
CultureNotFoundException
NotSupportedException
FormatException
IndexOutOfRangeException
-
getIsFullTrust
public boolean getIsFullTrust() throws java.lang.Throwable, ArgumentNullException, NullReferenceException, ArgumentException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, XmlException, XPathException, FormatException
-
setIsFullTrust
public void setIsFullTrust(boolean IsFullTrust) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getPreserveFullTrustPermissionSet
public boolean getPreserveFullTrustPermissionSet() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setPreserveFullTrustPermissionSet
public void setPreserveFullTrustPermissionSet(boolean PreserveFullTrustPermissionSet) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getPermissionSet
public PermissionSet getPermissionSet() throws java.lang.Throwable, ArgumentNullException, NullReferenceException, ArgumentException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, XmlException, XPathException, CultureNotFoundException, NotSupportedException, FormatException, IndexOutOfRangeException
- Throws:
java.lang.Throwable
ArgumentNullException
NullReferenceException
ArgumentException
MissingManifestResourceException
ObjectDisposedException
InvalidOperationException
ArgumentOutOfRangeException
XmlException
XPathException
CultureNotFoundException
NotSupportedException
FormatException
IndexOutOfRangeException
-
setPermissionSet
public void setPermissionSet(PermissionSet PermissionSet) throws java.lang.Throwable, ArgumentNullException
- Throws:
java.lang.Throwable
ArgumentNullException
-
getSameSiteAccess
public java.lang.String getSameSiteAccess() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setSameSiteAccess
public void setSameSiteAccess(java.lang.String SameSiteAccess) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-