public class SecurityUtilities extends NetObject
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/Microsoft.Build.Tasks.Deployment.ManifestUtilities.SecurityUtilities
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: Microsoft.Build.Tasks.v4.0, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
|
static java.lang.String |
assemblyShortName
Assembly name: Microsoft.Build.Tasks.v4.0
|
static java.lang.String |
className
Qualified class name: Microsoft.Build.Tasks.Deployment.ManifestUtilities.SecurityUtilities
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
SecurityUtilities() |
SecurityUtilities(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static SecurityUtilities |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into SecurityUtilities, a cast assert is made to check if types are compatible. |
static PermissionSet |
ComputeZonePermissionSet(java.lang.String dupParam0,
PermissionSet dupParam1,
JCORefOut dupParam2) |
static PermissionSet |
ComputeZonePermissionSet(java.lang.String targetZone,
PermissionSet includedPermissionSet,
java.lang.String[] excludedPermissions) |
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
|
static PermissionSet |
IdentityListToPermissionSet(JCORefOut dupParam0) |
static PermissionSet |
IdentityListToPermissionSet(java.lang.String[] ids) |
static java.lang.String[] |
PermissionSetToIdentityList(PermissionSet permissionSet) |
void |
setJCOInstance(JCObject instance) |
static void |
SignFile(java.lang.String certPath,
SecureString certPassword,
Uri timestampUrl,
java.lang.String path) |
static void |
SignFile(java.lang.String certThumbprint,
Uri timestampUrl,
java.lang.String path) |
static void |
SignFile(X509Certificate2 cert,
Uri timestampUrl,
java.lang.String path) |
static PermissionSet |
XmlToPermissionSet(XmlElement element) |
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public SecurityUtilities()
throws java.lang.Throwable
java.lang.Throwablepublic SecurityUtilities(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic static SecurityUtilities cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into SecurityUtilities, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedSecurityUtilities instancejava.lang.Throwable - in case of error during cast operationpublic static PermissionSet ComputeZonePermissionSet(java.lang.String dupParam0, PermissionSet dupParam1, JCORefOut dupParam2) throws java.lang.Throwable, ArgumentException, ArgumentNullException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, NotSupportedException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, ArgumentOutOfRangeException, IndexOutOfRangeException, FormatException, XmlException, NullReferenceException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, OutOfMemoryException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionCultureNotFoundExceptionNotSupportedExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionFormatExceptionXmlExceptionNullReferenceExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionOutOfMemoryExceptionpublic static PermissionSet ComputeZonePermissionSet(java.lang.String targetZone, PermissionSet includedPermissionSet, java.lang.String[] excludedPermissions) throws java.lang.Throwable, ArgumentException, ArgumentNullException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, NotSupportedException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, ArgumentOutOfRangeException, IndexOutOfRangeException, FormatException, XmlException, NullReferenceException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, OutOfMemoryException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionCultureNotFoundExceptionNotSupportedExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionFormatExceptionXmlExceptionNullReferenceExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionOutOfMemoryExceptionpublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectJCType representing the CLR Type of the instantiated Classpublic static PermissionSet IdentityListToPermissionSet(JCORefOut dupParam0) throws java.lang.Throwable, ArgumentOutOfRangeException, NullReferenceException, ArgumentNullException, ArgumentException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, XmlException, RankException, SecurityException, TargetParameterCountException, NotSupportedException
public static PermissionSet IdentityListToPermissionSet(java.lang.String[] ids) throws java.lang.Throwable, ArgumentOutOfRangeException, NullReferenceException, ArgumentNullException, ArgumentException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, XmlException, RankException, SecurityException, TargetParameterCountException, NotSupportedException
public static java.lang.String[] PermissionSetToIdentityList(PermissionSet permissionSet) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, NotSupportedException, IndexOutOfRangeException, ObjectDisposedException, InvalidOperationException, SecurityException, UnauthorizedAccessException, IOException, ArgumentOutOfRangeException, MissingManifestResourceException, XmlException, XmlSchemaException, NullReferenceException, XPathException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionNotSupportedExceptionIndexOutOfRangeExceptionObjectDisposedExceptionInvalidOperationExceptionSecurityExceptionUnauthorizedAccessExceptionIOExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionXmlExceptionXmlSchemaExceptionNullReferenceExceptionXPathExceptionpublic void setJCOInstance(JCObject instance)
setJCOInstance in class NetObjectpublic static void SignFile(java.lang.String certPath,
SecureString certPassword,
Uri timestampUrl,
java.lang.String path)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PathTooLongException,
FileNotFoundException,
DirectoryNotFoundException,
UnauthorizedAccessException,
IOException,
DriveNotFoundException,
OperationCanceledException,
ArgumentOutOfRangeException,
NotSupportedException,
OutOfMemoryException,
ObjectDisposedException,
CryptographicException,
InvalidOperationException,
AccessViolationException,
NotImplementedException,
TypeLoadException,
MissingMethodException,
TargetInvocationException,
CultureNotFoundException,
MissingManifestResourceException,
FormatException,
NullReferenceException,
SecurityException,
RankException,
ApplicationException,
Win32Exception,
KeyNotFoundException,
IndexOutOfRangeException,
WarningException,
ThreadAbortException,
PrivilegeNotHeldException,
XmlException,
XmlSchemaException,
XPathException,
PlatformNotSupportedException,
CryptographicUnexpectedOperationException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPathTooLongExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionDriveNotFoundExceptionOperationCanceledExceptionArgumentOutOfRangeExceptionNotSupportedExceptionOutOfMemoryExceptionObjectDisposedExceptionCryptographicExceptionInvalidOperationExceptionAccessViolationExceptionNotImplementedExceptionTypeLoadExceptionMissingMethodExceptionTargetInvocationExceptionCultureNotFoundExceptionMissingManifestResourceExceptionFormatExceptionNullReferenceExceptionSecurityExceptionRankExceptionApplicationExceptionWin32ExceptionKeyNotFoundExceptionIndexOutOfRangeExceptionWarningExceptionThreadAbortExceptionPrivilegeNotHeldExceptionXmlExceptionXmlSchemaExceptionXPathExceptionPlatformNotSupportedExceptionCryptographicUnexpectedOperationExceptionpublic static void SignFile(java.lang.String certThumbprint,
Uri timestampUrl,
java.lang.String path)
throws java.lang.Throwable,
NotImplementedException,
ArgumentNullException,
ArgumentException,
TypeLoadException,
InvalidOperationException,
SecurityException,
MissingMethodException,
TargetInvocationException,
NotSupportedException,
ArgumentOutOfRangeException,
OutOfMemoryException,
IndexOutOfRangeException,
ObjectDisposedException,
AbandonedMutexException,
CultureNotFoundException,
MissingManifestResourceException,
CryptographicException,
AccessViolationException,
RankException,
OverflowException,
PathTooLongException,
FileNotFoundException,
DirectoryNotFoundException,
UnauthorizedAccessException,
IOException,
DriveNotFoundException,
OperationCanceledException,
NullReferenceException,
ApplicationException,
Win32Exception,
KeyNotFoundException,
WarningException,
ThreadAbortException,
PrivilegeNotHeldException,
XmlException,
XmlSchemaException,
XPathException,
PlatformNotSupportedException,
CryptographicUnexpectedOperationException,
FormatException
java.lang.ThrowableNotImplementedExceptionArgumentNullExceptionArgumentExceptionTypeLoadExceptionInvalidOperationExceptionSecurityExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionObjectDisposedExceptionAbandonedMutexExceptionCultureNotFoundExceptionMissingManifestResourceExceptionCryptographicExceptionAccessViolationExceptionRankExceptionOverflowExceptionPathTooLongExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionDriveNotFoundExceptionOperationCanceledExceptionNullReferenceExceptionApplicationExceptionWin32ExceptionKeyNotFoundExceptionWarningExceptionThreadAbortExceptionPrivilegeNotHeldExceptionXmlExceptionXmlSchemaExceptionXPathExceptionPlatformNotSupportedExceptionCryptographicUnexpectedOperationExceptionFormatExceptionpublic static void SignFile(X509Certificate2 cert, Uri timestampUrl, java.lang.String path) throws java.lang.Throwable, NotImplementedException, ArgumentNullException, ArgumentException, TypeLoadException, InvalidOperationException, SecurityException, MissingMethodException, TargetInvocationException, NotSupportedException, ArgumentOutOfRangeException, OutOfMemoryException, IndexOutOfRangeException, ObjectDisposedException, AbandonedMutexException, CultureNotFoundException, PathTooLongException, MissingManifestResourceException, FileNotFoundException, CryptographicException, NullReferenceException, IOException, AccessViolationException, RankException, OverflowException, PlatformNotSupportedException, ApplicationException, Win32Exception, KeyNotFoundException, WarningException, ThreadAbortException, UnauthorizedAccessException, PrivilegeNotHeldException, XmlException, XmlSchemaException, XPathException, CryptographicUnexpectedOperationException, FormatException
java.lang.ThrowableNotImplementedExceptionArgumentNullExceptionArgumentExceptionTypeLoadExceptionInvalidOperationExceptionSecurityExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionObjectDisposedExceptionAbandonedMutexExceptionCultureNotFoundExceptionPathTooLongExceptionMissingManifestResourceExceptionFileNotFoundExceptionCryptographicExceptionNullReferenceExceptionIOExceptionAccessViolationExceptionRankExceptionOverflowExceptionPlatformNotSupportedExceptionApplicationExceptionWin32ExceptionKeyNotFoundExceptionWarningExceptionThreadAbortExceptionUnauthorizedAccessExceptionPrivilegeNotHeldExceptionXmlExceptionXmlSchemaExceptionXPathExceptionCryptographicUnexpectedOperationExceptionFormatExceptionpublic static PermissionSet XmlToPermissionSet(XmlElement element) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, ArgumentOutOfRangeException, OutOfMemoryException, FormatException, NullReferenceException, SecurityException, NotSupportedException, MemberAccessException, TargetException, TargetParameterCountException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionFormatExceptionNullReferenceExceptionSecurityExceptionNotSupportedExceptionMemberAccessExceptionTargetExceptionTargetParameterCountException