Android Guides | Samples

Java.Security.SecureClassLoader Class

SecureClassLoader represents a ClassLoader which associates the classes it loads with a code source and provide mechanisms to allow the relevant permissions to be retrieved.

See Also: SecureClassLoader

Syntax

[Android.Runtime.Register("java/security/SecureClassLoader", DoNotGenerateAcw=true)]
public class SecureClassLoader : ClassLoader

Remarks

SecureClassLoader represents a ClassLoader which associates the classes it loads with a code source and provide mechanisms to allow the relevant permissions to be retrieved.

[Android Documentation]

Requirements

Namespace: Java.Security
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1

The members of Java.Security.SecureClassLoader are listed below.

See Also: ClassLoader

Protected Constructors

Constructs a new instance of SecureClassLoader.
Constructs a new instance of SecureClassLoader with the specified parent ClassLoader.
A constructor used when creating managed representations of JNI objects; called by the runtime.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Protected Methods

DefineClass(String, ByteBuffer, CodeSource) : Class
Constructs a new class from an array of bytes containing a class definition in class file format with an optional CodeSource.
DefineClass(String, Byte[], Int32, Int32, CodeSource) : Class
Constructs a new class from an array of bytes containing a class definition in class file format with an optional CodeSource.
GetPermissions(CodeSource) : PermissionCollection
Returns the PermissionCollection for the specified CodeSource.