Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
Android APIs
public interface

CertSelector

implements Cloneable
java.security.cert.CertSelector
Known Indirect Subclasses

Class Overview

The interface specification to determine whether a Certificate meets some criteria.

The implementations of this interface are typically used to define the criteria for selecting Certificate s from a CertStore .

Summary

Public Methods
abstract Object clone ()
Clones this CertSelector instance.
abstract boolean match ( Certificate cert)
Checks whether the defined criteria of this instance match the specified certificate.

Public Methods

public abstract Object clone ()

Added in API level 1

Clones this CertSelector instance.

Returns
  • the cloned instance.

public abstract boolean match ( Certificate cert)

Added in API level 1

Checks whether the defined criteria of this instance match the specified certificate.

Parameters
cert the certificate to be evaluated.
Returns
  • true if the certificate matches the criteria, false otherwise.