to top
Android APIs
Added in API level 1
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 Certificates 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.