gnu.crypto.pki
Class X509CertSelectorImpl
java.lang.Object
gnu.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.
X509CertSelectorImpl
public X509CertSelectorImpl()
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
Copyright © 2001, 2002, 2003
Free Software Foundation,
Inc. All Rights Reserved.