diff --git a/.vscode/launch.json b/.vscode/launch.json index 1267870..dcd3052 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -4,6 +4,18 @@ // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 "version": "0.2.0", "configurations": [ + { + "type": "node", + "request": "launch", + "name": "dumpASN1", + "skipFiles": [ + "/**" + ], + "program": "${workspaceFolder}/dumpASN1.js", + "args": [ + "examples/ed25519.cer" + ] + }, { "type": "node", "request": "launch", @@ -17,6 +29,34 @@ "rfcdef.json" ] }, + { + "type": "node", + "request": "launch", + "name": "dumpASN1 cert", + "skipFiles": [ + "/**" + ], + "program": "${workspaceFolder}/dumpASN1.js", + "args": [ + "data:base64,MIG9AgEBMA0GCSqGSIb3DQEBCwUAMEExCzAJBgNVBAYTAlVTMRUwEwYDVQQKEwxUUjM0IFNhbXBsZXMxGzAZBgNVBAMTElRSMzQgU2FtcGxlIENBIEtESBcNMTAxMTAyMTczMzMwWhcNMTAxMjAyMTczMzMwWjBIMBYCBTQAAAAIFw0xMDExMDIxNzI4MTNaMBYCBTQAAAAKFw0xMDExMDIxNzMxNDZaMBYCBTQAAAALFw0xMDExMDIxNzMzMjVa", + "1.3.6.1.5.5.7.0.18", + "TBSCertList" + ] + }, + { + "type": "node", + "request": "launch", + "name": "dumpASN1 CMS", + "skipFiles": [ + "/**" + ], + "program": "${workspaceFolder}/dumpASN1.js", + "args": [ + "examples/cms-password.p7m", + "1.2.840.113549.1.9.16.0.14", + "ContentInfo" + ] + }, { "type": "node", "request": "launch",