Share via


CodeSource Constructors

Definition

Overloads

CodeSource(URL, Certificate[])
CodeSource(URL, CodeSigner[])
CodeSource(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

CodeSource(URL, Certificate[])

[Android.Runtime.Register(".ctor", "(Ljava/net/URL;[Ljava/security/cert/Certificate;)V", "")]
public CodeSource(Java.Net.URL? url, Java.Security.Cert.Certificate[]? certs);

Parameters

url
URL
certs
Certificate[]
Attributes

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

CodeSource(URL, CodeSigner[])

[Android.Runtime.Register(".ctor", "(Ljava/net/URL;[Ljava/security/CodeSigner;)V", "")]
public CodeSource(Java.Net.URL? url, Java.Security.CodeSigner[]? signers);

Parameters

url
URL
signers
CodeSigner[]
Attributes

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

CodeSource(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

protected CodeSource(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);

Parameters

javaReference
IntPtr

A IntPtrcontaining a Java Native Interface (JNI) object reference.

transfer
JniHandleOwnership

A JniHandleOwnershipindicating how to handle javaReference

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to