summaryrefslogtreecommitdiff
path: root/tests/test-req.html
diff options
context:
space:
mode:
authorSamuel Lidén Borell <samuel@slbdata.se>2011-04-05 13:20:35 +0200
committerSamuel Lidén Borell <samuel@slbdata.se>2011-04-05 13:20:35 +0200
commite2d6625026720e1d0ec0a4d39f3575b8fbc603a0 (patch)
tree7eb8bc8bb3524037937132ea03d0ac558ee1685d /tests/test-req.html
parent92373136a16987dfb6bf9b0e5427d1dd9b1c1ab2 (diff)
downloadfribid-e2d6625026720e1d0ec0a4d39f3575b8fbc603a0.tar.gz
fribid-e2d6625026720e1d0ec0a4d39f3575b8fbc603a0.tar.bz2
fribid-e2d6625026720e1d0ec0a4d39f3575b8fbc603a0.zip
Only include the full DN in the first CSR
The official client (tested with 4.15.0.14) includes the full subject DN if it was set with SetParam for the current request. Otherwise, it includes the name attribute only (OID 2.5.4.41).
Diffstat (limited to 'tests/test-req.html')
-rw-r--r--tests/test-req.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test-req.html b/tests/test-req.html
index 950b102..dc28f4b 100644
--- a/tests/test-req.html
+++ b/tests/test-req.html
@@ -65,6 +65,8 @@ function init() {
// init 2
setPar('KeyUsage', 'nonRepudiation');
+ //setPar('SubjectDN', 'CN=TEST PXXXX,OID.2.5.4.41=(090102 12.30) TEST PYYYY - BankID på fil,SN=222221223334,G=TEST,S=PZZZZZ');
+ //setPar('SubjectDN', 'CN=TEST PERSON,OID.2.5.4.41=(090102 12.30) TEST PERSON - BankID på fil,SN=197711223334,G=TEST,S=PERSON');
output.value += "InitRequest('pkcs10')\n";
output.value += " retval = "+plugin.InitRequest('pkcs10');
output.value += " GetLastError() = "+plugin.GetLastError()+"\n";