jsdsi
Class CompatibleCertSelector

java.lang.Object
  |
  +--jsdsi.CertSelector
        |
        +--jsdsi.CompatibleCertSelector
All Implemented Interfaces:
java.security.cert.CertSelector, java.lang.Cloneable

public class CompatibleCertSelector
extends CertSelector

Selects all certificates whose subject is a name that starts with the specified issuer and string. That is, if the issuer is K and the string is S, this selects all certificates of the form (LHS -> "K S ..."), where LHS is the left-hand-side of the certificate and "K S ..." is a name.

Author:
Sameer Ajmani

Field Summary
(package private)  Principal issuer
           
(package private)  java.lang.String name
           
 
Constructor Summary
CompatibleCertSelector(Principal i, java.lang.String n)
           
 
Method Summary
 java.lang.Object clone()
           
 Name getFullName()
           
 Principal getIssuer()
           
 java.lang.String getName()
           
 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
 

Field Detail

issuer

Principal issuer

name

java.lang.String name
Constructor Detail

CompatibleCertSelector

public CompatibleCertSelector(Principal i,
                              java.lang.String n)
Method Detail

clone

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

match

public boolean match(Certificate cert)
Specified by:
match in class CertSelector

getIssuer

public Principal getIssuer()

getName

public java.lang.String getName()

getFullName

public Name getFullName()