jsdsi
Class IssuerCertSelector

java.lang.Object
  extended byjsdsi.CertSelector
      extended byjsdsi.IssuerCertSelector
All Implemented Interfaces:
java.security.cert.CertSelector, java.lang.Cloneable

public class IssuerCertSelector
extends CertSelector

Selects all certificates issued by the given principal.

Version:
$Revision: 1.1.6.1 $ $Date: 2005/11/08 03:12:52 $
Author:
Sameer Ajmani

Constructor Summary
IssuerCertSelector(Principal i)
          Creates a new IssuerCertSelector that matches certificates issued by i.
 
Method Summary
 java.lang.Object clone()
           
 Principal getIssuer()
           
 boolean match(Certificate cert)
           
 
Methods inherited from class jsdsi.CertSelector
match
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IssuerCertSelector

public IssuerCertSelector(Principal i)
Creates a new IssuerCertSelector that matches certificates issued by i.

Method Detail

clone

public java.lang.Object clone()
Specified by:
clone in interface java.security.cert.CertSelector
Specified by:
clone in class CertSelector
See Also:
Object.clone()

match

public boolean match(Certificate cert)
Specified by:
match in class CertSelector
Returns:
true if cert's issuer is the same principal as this.issuer.
See Also:
CertSelector.match(Certificate)

getIssuer

public Principal getIssuer()
Returns:
this.issuer


Copyright © 2002-2006 JSDSI. All Rights Reserved.