Android Guides | Samples

Java.Security.IdentityScope Class

IdentityScope represents a scope for Identity objects.

See Also: IdentityScope

Syntax

[Android.Runtime.Register("java/security/IdentityScope", DoNotGenerateAcw=true)]
[System.Obsolete("This class is obsoleted in this android platform")]
public abstract class IdentityScope : Identity

Remarks

IdentityScope represents a scope for Identity objects.

[Android Documentation]

Requirements

Namespace: Java.Security
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1Deprecated since API level 1

The members of Java.Security.IdentityScope are listed below.

See Also: Identity

Public Constructors

Constructs a new instance of IdentityScope with the specified name.
Constructs a new instance of IdentityScope with the specified name and the specified scope.

Protected Constructors

Constructs a new instance of IdentityScope.
A constructor used when creating managed representations of JNI objects; called by the runtime.

Public Properties

static
SystemScopeIdentityScope. Returns the system's scope.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

abstract
AddIdentity(Identity)
Adds an Identity to this IdentityScope.
GetIdentity(IPrincipal) : Identity
Returns the Identity with the name of the specified principal or null if no Identity with the name of the specified principal is present in this scope.
abstract
GetIdentity(IPublicKey) : Identity
Returns the Identity which is associated with the specified key or null if no Identity associated with the specified key is present in this scope.
abstract
GetIdentity(String) : Identity
Returns the Identity with the specified name or null if no Identity with the specified name is present in this scope.
abstract
Identities() : IEnumeration
Returns an Enumeration over the Identity objects in this IdentityScope.
abstract
RemoveIdentity(Identity)
Removes an Identity from this IdentityScope.
abstract
Size() : Int32
Returns the number of Identity objects in this scope.

Protected Methods