could you give me a little example or hint how to parse the secmod.db? so that 
i can try t access the cert8.db with SunPKCS#11?

i tried the code posted from above (DBHash.java), too.
it reads out the cert8.db- but how can i convert the data i received into a 
x509 certificate? for example an example output of the data i get:

key: 
00000000: 012b 2e6e ead9 7536 6c14 8a6e dba3 7c8c  .+.n..u6l..n..|.
00000010: 0730 8185 310b 3009 0603 5504 0613 0247  .0..1.0...U....G
00000020: 4231 1b30 1906 0355 0408 1312 4772 6561  B1.0...U....Grea
00000030: 7465 7220 4d61 6e63 6865 7374 6572 3110  ter Manchester1.
00000040: 300e 0603 5504 0713 0753 616c 666f 7264  0...U....Salford
00000050: 311a 3018 0603 5504 0a13 1143 4f4d 4f44  1.0...U....COMOD
00000060: 4f20 4341 204c 696d 6974 6564 312b 3029  O CA Limited1+0)
00000070: 0603 5504 0313 2243 4f4d 4f44 4f20 5253  ..U..."COMODO RS
00000080: 4120 4365 7274 6966 6963 6174 696f 6e20  A Certification 
00000090: 4175 7468 6f72 6974 79                   Authority
data len: 1607

-- 
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto

Reply via email to