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.
- Version:
- $Revision: 1.2 $ $Date: 2003/04/22 21:37:46 $
|
Field Summary |
(package private) Principal |
issuer
Issuer the searched certificat's subject starts with. |
(package private) java.lang.String |
name
String the searched certificat's subject starts with. |
issuer
Principal issuer
- Issuer the searched certificat's subject starts with.
name
java.lang.String name
- String the searched certificat's subject starts with.
CompatibleCertSelector
public CompatibleCertSelector(Principal i,
java.lang.String n)
- Creates a new
CompatibleCertSelector from a given principal
and name.
clone
public java.lang.Object clone()
- Description copied from interface:
java.security.cert.CertSelector
- Returns a copy of this CertSelector.
- 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()
- Returns the issuer of this
CompatibleCertSelector.
getName
public java.lang.String getName()
- Returns the name of this
CompatibleCertSelector.
getFullName
public Name getFullName()
- Returns the full name that consist of the name constructed of the
issuer and the name of this
CompatibleCertSelector.