For the latest news and information visit
The GNU Crypto project

gnu.crypto.pki
Class X509CertSelectorImpl

java.lang.Object
  extended bygnu.crypto.pki.X509CertSelectorImpl
All Implemented Interfaces:
CertSelector, Cloneable

public class X509CertSelectorImpl
extends Object
implements CertSelector

Sun's implementation of X509CertSelector sucks. This one tries to work better.


Constructor Summary
X509CertSelectorImpl()
           
 
Method Summary
 void addIssuerName(byte[] issuerName)
           
 void addIssuerName(Principal issuerName)
           
 void addIssuerName(String issuerName)
           
 void addSubjectName(byte[] subjectName)
           
 void addSubjectName(Principal subjectName)
           
 void addSubjectName(String subjectName)
           
 Object clone()
           
 Collection getIssuerNames()
           
 Collection getSubjectNames()
           
 boolean match(Certificate cert)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

X509CertSelectorImpl

public X509CertSelectorImpl()
Method Detail

addIssuerName

public void addIssuerName(byte[] issuerName)
                   throws IOException
Throws:
IOException

addIssuerName

public void addIssuerName(String issuerName)

addIssuerName

public void addIssuerName(Principal issuerName)
                   throws IOException
Throws:
IOException

getIssuerNames

public Collection getIssuerNames()

addSubjectName

public void addSubjectName(byte[] subjectName)
                    throws IOException
Throws:
IOException

addSubjectName

public void addSubjectName(String subjectName)
                    throws IOException
Throws:
IOException

addSubjectName

public void addSubjectName(Principal subjectName)
                    throws IOException
Throws:
IOException

getSubjectNames

public Collection getSubjectNames()

clone

public Object clone()
Specified by:
clone in interface CertSelector

match

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

For the latest news and information visit
The GNU Crypto project

Copyright © 2001, 2002, 2003 Free Software Foundation, Inc. All Rights Reserved.