public class X509CertificateSubjectRdnSelector extends Object implements CertSelector
CertSelector
and can be used to search certificates by certificate subject DN. If
input contains multiple RDN values then all the values must be present inside certificate subject DN.Constructor and Description |
---|
X509CertificateSubjectRdnSelector(org.bouncycastle.asn1.x500.RDN[] rdnArray)
Creates new instance of
X509CertificateSubjectRdnSelector with specified certificate subject DN values. |
X509CertificateSubjectRdnSelector(String rdnString)
Parses the passed is string and uses values to search the certificate.
|
public X509CertificateSubjectRdnSelector(String rdnString) throws KSIException
CertSelector.match(Certificate)
method returns true for every X509Certificate
object.rdnString
- rdn string to parseKSIException
public X509CertificateSubjectRdnSelector(org.bouncycastle.asn1.x500.RDN[] rdnArray) throws KSIException
X509CertificateSubjectRdnSelector
with specified certificate subject DN values.rdnArray
- RDN values to use. If null then CertSelector.match(Certificate)
method returns true for every
X509Certificate
object.KSIException
public boolean match(Certificate cert)
match
in interface CertSelector
public Object clone()
clone
in interface CertSelector
clone
in class Object
Copyright © 2024 Guardtime. All rights reserved.