Welcome to mirror list, hosted at ThFree Co, Russian Federation.

X509CertStoreSelector.java « x509 « spongycastle « org « jdk1.1 « main « src « prov - gitlab.com/quite/humla-spongycastle.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 2c0e6cc342e8b378d504ef5bf670823e23a67a45 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
package org.spongycastle.x509;

import org.spongycastle.util.Selector;

import java.security.cert.X509CertSelector;
import java.security.cert.Certificate;

public class X509CertStoreSelector
    extends X509CertSelector
    implements Selector
{
    public boolean match(Object obj)
    {
        if (!(obj instanceof Certificate))
        {
            return false;
        }

        return super.match((Certificate)obj);
    }

    public boolean match(Certificate obj)
    {
        return this.match((Object)obj);
    }
}