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.StringassemblyFullNameFully assembly qualified name: Microsoft.Build.Tasks.v4.0, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.StringassemblyShortNameAssembly name: Microsoft.Build.Tasks.v4.0static java.lang.StringclassNameQualified class name: Microsoft.Build.Tasks.Deployment.ManifestUtilities.TrustInfostatic JCTypeclassTypeThe type managed from JCOBridge.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TrustInfocast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoTrustInfo, a cast assert is made to check if types are compatible.voidClear()booleangetHasUnmanagedCodePermission()booleangetIsFullTrust()java.lang.StringgetJCOAssemblyName()Returns the reflected Assembly namejava.lang.StringgetJCOClassName()Returns the reflected Class namejava.lang.ObjectgetJCOInstance()Returns the instantiated classjava.lang.StringgetJCOObjectName()Returns the reflected Class name used to build the objectJCTypegetJCOType()Returns the instantiated class TypePermissionSetgetPermissionSet()booleangetPreserveFullTrustPermissionSet()java.lang.StringgetSameSiteAccess()voidRead(java.lang.String path)voidRead(Stream input)voidReadManifest(java.lang.String path)voidReadManifest(Stream input)voidsetIsFullTrust(boolean IsFullTrust)voidsetJCOInstance(JCObject instance)voidsetPermissionSet(PermissionSet PermissionSet)voidsetPreserveFullTrustPermissionSet(boolean PreserveFullTrustPermissionSet)voidsetSameSiteAccess(java.lang.String SameSiteAccess)voidWrite(java.lang.String path)voidWrite(Stream output)voidWriteManifest(java.lang.String path)voidWriteManifest(Stream output)voidWriteManifest(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
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classNetObject- Returns:
- A
Stringrepresenting the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name- Specified by:
getJCOClassNamein interfaceIJCOBridgeReflected- Overrides:
getJCOClassNamein classNetObject- Returns:
- A
Stringrepresenting the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name used to build the object- Specified by:
getJCOObjectNamein interfaceIJCOBridgeReflected- Overrides:
getJCOObjectNamein classNetObject- Returns:
- A
Stringrepresenting the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class- Specified by:
getJCOInstancein interfaceIJCOBridgeReflected- Overrides:
getJCOInstancein classNetObject- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classNetObject
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classNetObject- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static TrustInfo cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoTrustInfo, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
TrustInfoinstance- 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.ThrowableArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionFormatExceptionPathTooLongExceptionIndexOutOfRangeExceptionNotSupportedExceptionInvalidOperationExceptionNullReferenceExceptionSecurityExceptionIOExceptionXmlExceptionMissingManifestResourceExceptionXmlSchemaExceptionXPathException
-
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.ThrowableArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionFormatExceptionPathTooLongExceptionIndexOutOfRangeExceptionNotSupportedExceptionInvalidOperationExceptionNullReferenceExceptionSecurityExceptionIOExceptionXmlExceptionMissingManifestResourceExceptionXmlSchemaExceptionXPathException
-
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.ThrowableArgumentNullExceptionNullReferenceExceptionArgumentExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionXmlExceptionIndexOutOfRangeExceptionXPathExceptionRankExceptionNotSupportedExceptionOutOfMemoryExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionFormatExceptionXmlSchemaExceptionSecurityExceptionXsltExceptionTypeLoadException
-
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.ThrowableArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionFormatExceptionPathTooLongExceptionIndexOutOfRangeExceptionNotSupportedExceptionInvalidOperationExceptionNullReferenceExceptionSecurityExceptionIOExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionXmlExceptionXPathExceptionOutOfMemoryException
-
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.ThrowableInvalidOperationExceptionArgumentNullExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionFormatExceptionNotImplementedExceptionNotSupportedExceptionIndexOutOfRangeExceptionArgumentExceptionXmlExceptionXmlSchemaExceptionXPathExceptionBadImageFormatExceptionCultureNotFoundExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledException
-
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.ThrowableArgumentExceptionNotImplementedExceptionNotSupportedExceptionIndexOutOfRangeExceptionObjectDisposedExceptionInvalidOperationExceptionSecurityExceptionUnauthorizedAccessExceptionIOExceptionArgumentNullExceptionArgumentOutOfRangeExceptionXmlExceptionMissingManifestResourceExceptionXmlSchemaExceptionNullReferenceExceptionXPathExceptionBadImageFormatExceptionFormatExceptionFileNotFoundExceptionDirectoryNotFoundExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledException
-
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.ThrowableArgumentNullExceptionArgumentExceptionPathTooLongExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionFormatExceptionNotSupportedExceptionInvalidOperationExceptionNullReferenceExceptionSecurityExceptionIOExceptionNotImplementedExceptionXmlExceptionXmlSchemaExceptionXPathExceptionBadImageFormatException
-
getHasUnmanagedCodePermission
public boolean getHasUnmanagedCodePermission() throws java.lang.Throwable, ArgumentNullException, NullReferenceException, ArgumentException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, XmlException, XPathException, CultureNotFoundException, NotSupportedException, FormatException, IndexOutOfRangeException- Throws:
java.lang.ThrowableArgumentNullExceptionNullReferenceExceptionArgumentExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionXmlExceptionXPathExceptionCultureNotFoundExceptionNotSupportedExceptionFormatExceptionIndexOutOfRangeException
-
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.ThrowableArgumentNullExceptionNullReferenceExceptionArgumentExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionXmlExceptionXPathExceptionCultureNotFoundExceptionNotSupportedExceptionFormatExceptionIndexOutOfRangeException
-
setPermissionSet
public void setPermissionSet(PermissionSet PermissionSet) throws java.lang.Throwable, ArgumentNullException
- Throws:
java.lang.ThrowableArgumentNullException
-
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
-
-