IdentityScope.AddIdentity(Identity) Method

Definition

Adds an identity to this identity scope.

[Android.Runtime.Register("addIdentity", "(Ljava/security/Identity;)V", "GetAddIdentity_Ljava_security_Identity_Handler")]
public abstract void AddIdentity (Java.Security.Identity? identity);
[<Android.Runtime.Register("addIdentity", "(Ljava/security/Identity;)V", "GetAddIdentity_Ljava_security_Identity_Handler")>]
abstract member AddIdentity : Java.Security.Identity -> unit

Parameters

identity
Identity

the identity to be added.

Attributes

Exceptions

if the specified Identity is invalid or an identity with the same key already exists.

Remarks

Java documentation for java.security.IdentityScope.addIdentity(java.security.Identity).

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