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);
[<Android.Runtime.Register(".ctor", "(Ljava/net/URL;[Ljava/security/cert/Certificate;)V", "")>]
new Java.Security.CodeSource : Java.Net.URL * Java.Security.Cert.Certificate[] -> Java.Security.CodeSource

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);
[<Android.Runtime.Register(".ctor", "(Ljava/net/URL;[Ljava/security/CodeSigner;)V", "")>]
new Java.Security.CodeSource : Java.Net.URL * Java.Security.CodeSigner[] -> Java.Security.CodeSource

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);
new Java.Security.CodeSource : nativeint * Android.Runtime.JniHandleOwnership -> Java.Security.CodeSource

Parameters

javaReference
IntPtr

nativeint

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