diff options
author | tknall <tknall@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c> | 2007-03-02 08:46:14 +0000 |
---|---|---|
committer | tknall <tknall@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c> | 2007-03-02 08:46:14 +0000 |
commit | 969b89df9b5e517d917a897ace7bc9bfcadc5dcc (patch) | |
tree | 14bd2b46d2216f7aed4967d24637228b046c9ab5 | |
parent | 9aee23f6c0a745a83fdf195ab384fdfe7dd7f5e4 (diff) | |
download | pdf-as-3-969b89df9b5e517d917a897ace7bc9bfcadc5dcc.tar.gz pdf-as-3-969b89df9b5e517d917a897ace7bc9bfcadc5dcc.tar.bz2 pdf-as-3-969b89df9b5e517d917a897ace7bc9bfcadc5dcc.zip |
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@42 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
-rw-r--r-- | src/main/java/at/knowcenter/wag/egov/egiz/ldap/api/LDAPAPIFactory.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main/java/at/knowcenter/wag/egov/egiz/ldap/api/LDAPAPIFactory.java b/src/main/java/at/knowcenter/wag/egov/egiz/ldap/api/LDAPAPIFactory.java index c474412..6b71551 100644 --- a/src/main/java/at/knowcenter/wag/egov/egiz/ldap/api/LDAPAPIFactory.java +++ b/src/main/java/at/knowcenter/wag/egov/egiz/ldap/api/LDAPAPIFactory.java @@ -1,7 +1,9 @@ package at.knowcenter.wag.egov.egiz.ldap.api;
+import iaik.asn1.ObjectID;
import iaik.security.ecc.provider.ECCProvider;
import iaik.security.provider.IAIK;
+import iaik.utils.RFC2253NameParser;
import at.knowcenter.wag.egov.egiz.ldap.client.LDAPIssuerNameFilter;
import at.knowcenter.wag.egov.egiz.sig.LDAPAPI;
@@ -15,6 +17,9 @@ public abstract class LDAPAPIFactory { protected LDAPAPIFactory() {
IAIK.addAsProvider();
ECCProvider.addAsProvider();
+
+ // Does not conform with PKIX, but is used by belgium citizen card
+ RFC2253NameParser.register("SERIALNUMBER", ObjectID.serialNumber);
}
public static synchronized LDAPAPIFactory getInstance(LDAPIssuerNameFilter ldapIssuerNameFilter) {
|