Share via


Signer Constructors

Definition

Overloads

Signer()
Obsolete.

Creates a signer.

Signer(String)
Obsolete.

Creates a signer with the specified identity name.

Signer(IntPtr, JniHandleOwnership)

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

Signer(String, IdentityScope)
Obsolete.

Creates a signer with the specified identity name and scope.

Signer()

Caution

deprecated

Creates a signer.

[Android.Runtime.Register(".ctor", "()V", "")]
[System.Obsolete("deprecated")]
protected Signer ();
Attributes

Remarks

Creates a signer. This constructor should only be used for serialization.

Java documentation for java.security.Signer.Signer().

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

Signer(String)

Caution

deprecated

Creates a signer with the specified identity name.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")]
[System.Obsolete("deprecated")]
public Signer (string? name);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")>]
[<System.Obsolete("deprecated")>]
new Java.Security.Signer : string -> Java.Security.Signer

Parameters

name
String

the identity name.

Attributes

Remarks

Creates a signer with the specified identity name.

Java documentation for java.security.Signer.Signer(java.lang.String).

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

Signer(IntPtr, JniHandleOwnership)

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

protected Signer (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Java.Security.Signer : nativeint * Android.Runtime.JniHandleOwnership -> Java.Security.Signer

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

Signer(String, IdentityScope)

Caution

deprecated

Creates a signer with the specified identity name and scope.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/security/IdentityScope;)V", "")]
[System.Obsolete("deprecated")]
public Signer (string? name, Java.Security.IdentityScope? scope);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/security/IdentityScope;)V", "")>]
[<System.Obsolete("deprecated")>]
new Java.Security.Signer : string * Java.Security.IdentityScope -> Java.Security.Signer

Parameters

name
String

the identity name.

scope
IdentityScope

the scope of the identity.

Attributes

Exceptions

if a signer with the specified name already exists in the provided scope.

Remarks

Creates a signer with the specified identity name and scope.

Java documentation for java.security.Signer.Signer(java.lang.String, java.security.IdentityScope).

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