jsdsi
Class SubjectCertSelector

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

public class SubjectCertSelector
extends CertSelector

Selects all certificates whose subject is the given subject.

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

Constructor Summary
SubjectCertSelector(Subject s)
          Creates a new SubjectCertSelector that matches s.
 
Method Summary
 java.lang.Object clone()
           
 Subject getSubject()
           
 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

SubjectCertSelector

public SubjectCertSelector(Subject s)
Creates a new SubjectCertSelector that matches s.

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
See Also:
CertSelector.match(Certificate)

getSubject

public Subject getSubject()
Returns:
this.subject


Copyright © 2002-2006 JSDSI. All Rights Reserved.