Språk

UnresolvedPermission(String, String, String, Certificate[]) Constructor

Definition

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;[Ljava/security/cert/Certificate;)V", "")]
public UnresolvedPermission(string? type, string? name, string? actions, Java.Security.Cert.Certificate[]? certs);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;[Ljava/security/cert/Certificate;)V", "")>]
new Java.Security.UnresolvedPermission : string * string * string * Java.Security.Cert.Certificate[] -> Java.Security.UnresolvedPermission

Parameters

type
String

the class name of the Permission class that will be created when this unresolved permission is resolved.

name
String

the name of the permission.

actions
String

the actions of the permission.

certs
Certificate[]

the certificates the permission's class was signed with. This is a list of certificate chains, where each chain is composed of a signer certificate and optionally its supporting certificate chain. Each chain is ordered bottom-to-top (i.e., with the signer certificate first and the (root) certificate authority last). The signer certificates are copied from the array. Subsequent changes to the array will not affect this UnresolvedPermission.

Attributes

Remarks

Creates a new UnresolvedPermission containing the permission information needed later to actually create a Permission of the specified class, when the permission is resolved.

Java reference for java.security.UnresolvedPermission.UnresolvedPermission.

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