javascript - library to output X509 Certificates in java the way openssl does -



javascript - library to output X509 Certificates in java the way openssl does -

does know of library outputs x509 certificate way openssl -text ? people used output format, , java x509 tostring() method not nice job of it. meant equivalent of this:

$ openssl pkcs12 -clcerts -nokeys -in ~/downloads/mail/webid.fcns.eu.p12 | openssl x509 -noout -text come in import password: mac verified ok certificate: data: version: 3 (0x2) serial number: f5:8a:b2:d1:76:06:14:38 signature algorithm: sha1withrsaencryption issuer: c=fr, st=essonne, o=webid.fcns.eu, cn=webid.fcns.eu/emailaddress=webid@fcns.eu validity not before: jan 19 02:49:27 2012 gmt not after : jan 18 02:49:27 2013 gmt subject: c=fr, cn=rszeno/emailaddress=ruset.zeno@gmail.com subject public key info: public key algorithm: rsaencryption public-key: (2048 bit) modulus: 00:b4:cf:71:1c:f7:92:d3:ae:30:18:8a:b0:14:e9: 44:10:e5:b7:9f:c5:63:f1:7c:3f:28:c2:1b:44:64: 32:60:6a:19:3e:c8:03:b1:a9:bb:5e:f4:70:dd:d9: f4:63:74:fc:25:d5:33:db:aa:e6:01:14:82:96:52: b8:35:8d:d6:86:a8:8d:fe:2c:04:1f:c2:28:8d:e8: e2:93:97:4c:3f:46:45:08:19:6d:7c:6e:d0:0f:be: 9f:9e:71:71:cd:d2:a9:ab:07:d1:23:35:b2:78:30: 8c:2c:f1:c8:ad:1c:ae:83:23:40:ee:5a:e0:e1:98: 6d:46:4f:50:a3:00:bf:b6:19:2b:7d:27:1f:8e:e1: 56:7e:4e:ce:24:2b:cb:ed:4d:6c:37:aa:a7:6c:ab: 1d:fd:7c:28:7f:34:c8:33:52:69:78:1a:b9:f5:d9: e7:9d:7d:d2:b9:f4:4c:24:af:3a:5c:68:fa:34:f3: 93:5b:95:97:e0:71:18:56:56:4b:e5:9c:a1:73:cd: 76:2e:a0:e9:a5:4c:aa:4e:b2:04:6b:7a:fe:5f:78: 4b:b8:44:4f:16:9f:90:41:0f:66:93:19:71:40:2a: d3:a4:c6:cc:fe:1d:14:41:70:6d:3e:e6:dd:91:9e: 85:89:0d:75:83:87:76:d6:eb:41:8b:11:f4:41:c4: aa:6f exponent: 65537 (0x10001) x509v3 extensions: x509v3 basic constraints: ca:false netscape comment: openssl generated certificate x509v3 subject key identifier: 05:74:ab:fb:76:08:f2:ce:0d:e3:ce:ae:dc:cd:8a:67:15:ca:72:34 x509v3 authorization key identifier: keyid:2b:df:ef:bf:79:13:73:cb:e4:d4:35:a5:0b:ec:18:2c:63:e4:d2:f0 x509v3 subject alternative name: email:ruset.zeno@example.com, uri:http://sort-of.strangled.net/foaf.rdf#me, uri:http://sort-of.crabdance.com/foaf.rdf#me signature algorithm: sha1withrsaencryption 54:c4:6d:ff:a5:0e:f9:2e:30:91:bf:76:bf:08:33:1c:d2:ce: a9:ad:e7:17:0f:d0:99:f5:e7:ba:d8:b8:89:5c:b4:fc:7e:3a: b0:10:f8:13:ce:c0:56:7c:3b:89:da:af:fb:56:c6:bd:48:8c: 72:c9:12:61:0c:8e:92:cb:b1:4b:3d:3f:af:68:d8:af:05:4b: 4d:c1:8c:f5:8f:31:24:ac:e8:0a:dd:74:6e:b9:01:13:45:97: 30:56:e9:08:07:c2:69:aa:e9:cd:64:1b:12:d0:17:fd:ca:8e: 55:2d:f5:c5:5f:41:88:52:7e:c2:46:c4:63:4b:08:89:f6:45: 73:7a

are there improve ways output it? output format called? (btw, if there javascript library can take pem , turn nice output interesting)

java javascript openssl x509

Comments

Popular posts from this blog

How do I check if an insert was successful with MySQLdb in Python? -

delphi - blogger via idHTTP : error 400 bad request -

postgresql - ERROR: operator is not unique: unknown + unknown -