Android Guides | Samples

Java.Security.Provider Class

Provider is the abstract superclass for all security providers in the Java security infrastructure.

See Also: Provider

Syntax

[Android.Runtime.Register("java/security/Provider", DoNotGenerateAcw=true)]
public abstract class Provider : Properties

Remarks

Provider is the abstract superclass for all security providers in the Java security infrastructure.

[Android Documentation]

Requirements

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

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

See Also: Properties

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.
Constructs a new instance of Provider with its name, version and description.

Public Properties

[read-only]
InfoString. Returns a description of the services being provided.
[read-only]
NameString. Returns the name of this provider.
[read-only]
ServicesICollection<Provider.Service>. Returns an unmodifiable Set of all services registered by this provider.
[read-only]
VersionDouble. Returns the version number for the services being provided.

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

GetService(String, String) : Provider+Service
Returns the service with the specified type implementing the specified algorithm, or null if no such implementation exists.
Put(Object, Object) : Object
Maps the specified key property name to the specified value.

Protected Methods

PutService(Provider+Service)
Adds a Service to this Provider.
RemoveService(Provider+Service)
Removes a previously registered Service from this Provider.