jsdsi
Class NameCertSelector

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

public class NameCertSelector
extends CertSelector

Selects all name certificates issued by the given principal to define the given string.

Author:
Sameer Ajmani

Field Summary
(package private)  Principal issuer
           
(package private)  java.lang.String name
           
 
Constructor Summary
NameCertSelector(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

NameCertSelector

public NameCertSelector(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()