KeySelector
that returns {@link PublicKey}s of trusted {@link X509Certificate}s stored in a {@link KeyStore}. This KeySelector
uses the specified KeyStore
to find a trusted X509Certificate
that matches information specified in the {@link KeyInfo} passed to the {@link #select} method. The public key from the first match is returned. If no match, null
is returned. See the select
method for more information.
NOTE!: This X509KeySelector requires J2SE 1.4 because it uses the java.security.cert.X509CertSelector & javax.security.auth.x500.X500Principal classes to parse X.500 DNs and match on certificate attributes. @author Sean Mullan
|
|