Skip to content

Most visited

Recently visited

navigation
Added in API level 1

CertSelector

public interface CertSelector
implements Cloneable

java.security.cert.CertSelector
Known Indirect Subclasses


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.

See also:

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

clone

Added in API level 1
Object clone ()

Clones this CertSelector instance.

Returns
Object the cloned instance.

match

Added in API level 1
boolean match (Certificate cert)

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

Parameters
cert Certificate: the certificate to be evaluated.
Returns
boolean true if the certificate matches the criteria, false otherwise.
This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.