Commit Graph

61 Commits

Author SHA1 Message Date
Christopher Jeffrey
b164d3c987 paypro: add a ton of extension defs. 2014-08-25 13:30:53 -07:00
Christopher Jeffrey
9d83ff3fc6 paypro: use new string types with asn1.js fork. 2014-08-25 13:10:58 -07:00
Christopher Jeffrey
be018ba6e3 paypro: clean up string types. 2014-08-25 12:51:09 -07:00
Christopher Jeffrey
71f863ebb6 paypro: add string types - need to fork asn1.js. 2014-08-25 12:50:27 -07:00
Christopher Jeffrey
6be8ad1790 paypro: start implementing more rfc5280 definitions. 2014-08-25 12:38:16 -07:00
Christopher Jeffrey
83286113ff paypro: parse keyUsage bit string properly. 2014-08-25 12:05:17 -07:00
Christopher Jeffrey
eedf71a749 paypro: debug KeyUsage extension. 2014-08-25 11:57:29 -07:00
Christopher Jeffrey
6f8de47983 paypro: start implementing rfc5280 ext definitions. 2014-08-25 11:49:31 -07:00
Christopher Jeffrey
63b58fe477 paypro: refactor verification. 2014-08-25 11:31:58 -07:00
Christopher Jeffrey
1dff1d6a9f paypro: check validity time - cert expiration. 2014-08-25 11:27:16 -07:00
Christopher Jeffrey
b52eb6f922 paypro: better extension parsing with more debugging. 2014-08-25 11:19:19 -07:00
Christopher Jeffrey
95a75a6ee4 paypro: start handling certificate extensions. 2014-08-24 13:02:07 -07:00
Christopher Jeffrey
18d72309eb paypro: check issuer. ignore fixed asn1.js bug. 2014-08-24 13:01:01 -07:00
Christopher Jeffrey
8134198e54 paypro: remove debug code. 2014-08-22 17:43:04 -07:00
Christopher Jeffrey
882ce9d809 paypro: debugging and sigAlg/pubKey formats. 2014-08-22 17:10:41 -07:00
Christopher Jeffrey
6eab175467 Revert "paypro: attempted debugging with KJUR."
This reverts commit 5788fdbb52.
2014-08-22 13:21:21 -07:00
Christopher Jeffrey
5788fdbb52 paypro: attempted debugging with KJUR. 2014-08-22 13:21:18 -07:00
Christopher Jeffrey
6dbff09d40 Revert "paypro: more debugging."
This reverts commit b406eeadff.
2014-08-22 12:50:26 -07:00
Christopher Jeffrey
b406eeadff paypro: more debugging. 2014-08-22 12:50:22 -07:00
Christopher Jeffrey
e9b0e7b969 Revert "paypro: asn1.js debugging - try to get tbs buffer."
This reverts commit 3c7aeb4f62.
2014-08-22 12:20:36 -07:00
Christopher Jeffrey
3c7aeb4f62 paypro: asn1.js debugging - try to get tbs buffer. 2014-08-22 12:19:17 -07:00
Christopher Jeffrey
4e325c3fa9 paypro: fix root cert check. 2014-08-22 09:05:05 -07:00
Christopher Jeffrey
f0757498b6 paypro: use asn1.js in browser paypro. 2014-08-22 08:56:30 -07:00
Christopher Jeffrey
4a12d5a491 paypro: verify chain refactor. 2014-08-22 08:38:19 -07:00
Christopher Jeffrey
16b646d0e7 paypro: asn1.js - cleanup. 2014-08-22 00:34:41 -07:00
Christopher Jeffrey
5085880bd0 paypro: use fedor's asn1.js to deal with DER certificates. 2014-08-22 00:31:20 -07:00
Christopher Jeffrey
569e60065a paypro: verify the certificate chain. 2014-08-21 16:13:34 -07:00
Christopher Jeffrey
5b4c4f3894 paypro: get root cert names. 2014-07-24 23:07:52 -07:00
Christopher Jeffrey
2f6938bad0 paypro: fix handling of pki_data - cert arrays. 2014-07-23 14:22:56 -07:00
Christopher Jeffrey
017f044b53 paypro: fix browser signatures with KJUR. move pem/der functions to common. 2014-07-21 19:52:43 -07:00
Christopher Jeffrey
604ac04f47 paypro: split up paypro into node/browser/common. 2014-07-21 18:15:52 -07:00
Christopher Jeffrey
cec71a51fd paypro: add isTrusted function to RootCerts. 2014-07-21 14:56:48 -07:00
Christopher Jeffrey
85d5e69fc1 paypro: move root certs to common. 2014-07-21 14:56:48 -07:00
Christopher Jeffrey
86efcbed1b paypro: remove all references of KJUR. 2014-07-21 14:56:48 -07:00
Christopher Jeffrey
92b7fad243 paypro: start using our own DERtoPEM functions so we don't have to require jsrsasign. 2014-07-21 14:56:48 -07:00
Christopher Jeffrey
ec5a948400 paypro: fix pem/der functions. 2014-07-21 14:56:48 -07:00
Christopher Jeffrey
02f9ce8dfd paypro: temporarily fix tests. 2014-07-21 14:56:47 -07:00
Christopher Jeffrey
aafbca46d9 paypro: move x509 sign and verify to their own methods. 2014-07-21 14:56:47 -07:00
Christopher Jeffrey
a68c112371 paypro: fix DERtoPEM. 2014-07-21 14:55:10 -07:00
Christopher Jeffrey
271ac2e9a5 minor: fix typo. 2014-07-21 14:55:10 -07:00
Christopher Jeffrey
eb9fd652d2 paypro: potentially stop using jsrsasign in node. 2014-07-21 14:55:10 -07:00
Christopher Jeffrey
8725516afb paypro: convert root certs to hash table in build file. 2014-07-21 14:55:10 -07:00
Christopher Jeffrey
cc7657d843 paypro: treat pki_data as an array. 2014-07-21 14:55:10 -07:00
Christopher Jeffrey
47e1ca5f1e minor: remove unused code. 2014-07-21 14:55:10 -07:00
Christopher Jeffrey
4dcdd3c091 paypro: temporarily disable untrusted cert error for tests. typo fix. 2014-07-21 14:55:10 -07:00
Christopher Jeffrey
f7e89b6a58 paypro: handle untrusted certs on browser and node. 2014-07-21 14:55:10 -07:00
Christopher Jeffrey
f79a31ff3c paypro: get single DER certs working. 2014-07-21 14:55:10 -07:00
Christopher Jeffrey
4ec9a247aa paypro: multiple fixes. 2014-07-21 14:55:10 -07:00
Christopher Jeffrey
24ae03247f paypro: stat using jsrsasign to convert DER to PEM and derive public keys for sig verification. 2014-07-21 14:55:10 -07:00
Christopher Jeffrey
2e422c001e paypro: fix payment protocol for DER certs. 2014-07-21 14:55:10 -07:00