-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpostman.json
63 lines (63 loc) · 5.84 KB
/
postman.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
{
"info": {
"_postman_id": "1e6bab35-fff1-4e5d-ab88-eac1780491c3",
"name": "Sign Verify",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
"item": [
{
"name": "Sign content",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\n \"p12Base64\": \"MIIKAwIBAzCCCbwGCSqGSIb3DQEHAaCCCa0EggmpMIIJpTCCBbwGCSqGSIb3DQEHAaCCBa0EggWpMIIFpTCCBaEGCyqGSIb3DQEMCgECoIIFQDCCBTwwZgYJKoZIhvcNAQUNMFkwOAYJKoZIhvcNAQUMMCsEFAMon5vHRaZS2OMR3v79It45K9Q4AgInEAIBIDAMBggqhkiG9w0CCQUAMB0GCWCGSAFlAwQBKgQQB0iOFBdq0V9SH4XGPbAItQSCBNB5EEepmDdcr2HL80cnHYP1ESlfXpmtREKtkUF3EwbyaIoFwgQ0yQpHvQ0X3FV538LHbGBbgi+CukjunWYpjW11DAEgTb7u6lnyomgb9/KsV2SJju7JKOSsPMUfnPZYR0CC+zu81I24I1taP9lHiv+zynKGMsZ4a+rIdx6IAM9O8Wnr/S7elVDquwjmZgoluNRLj41VdjlmBG3yK57WZ88NWYUYookTWroUU5y8+1kMbl3rWQBaCm8Fl2weuixm6f52zCTrjxWGpHEJwkzVmlbx18WSDZO38Jwquv9nRcOQmNwW68+B3P6tbN1YERyWxUzrv0vl66gmu+jmLOomDsps6IDt6ulJ7dZQE5ykkou6IaglxZ29/deYyOZnPr5UKlZd12X+pW+Ne/KVe+e7UxBtRk8EqwGa/GUN8YCHW0hv9xdXgi25dIvY1WZvykIfkScjo1oI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jHvDE0XvAZPZnfXA/oXq8wJ0FGyPmY2+tPZ2G39BPnLSaKDUzz4K/gkb8VRr820WkEd/tq5RoTCoY9oWDuSlItHk5ZtVwZF7nlgnlBsXIPIGExpdSJxzJ1uS/P7JqW9F1GGLjQrCcgMqXq2wrSotsFeP3WEIAfRryuXSMJhx+MVI9HKZ5Wt7vXe9CK+UBatv5owqSOMMcEgWsh15wsBhOrcLGzoACqyTRy/PNH0Z+m4asuOujuFNEGQ3OmYO2WcrRtMfZ3Y6ntu0LFpAtowuGmNopm9ooHEcIz3VrixkihP+gZ7vSZzD8IEe9qW1JYV7q8E0HiGkdnQJYtE2IjiWN2IuDP07ZouzF7TSXE+F/rR0tTtfrDXP2WV7QPlCQCfjHTlDsp0mLh+UZ0w6dFqUlO501nURHZL+7558PJhjYBU2qvvGP4u3BNzN1thApWpSfMtEf0jOHdl3lUYexAllytdIzEiscodTA+MCEwCQYFKw4DAhoFAAQUV++wjLmaHbHCDhahFlQw1zhwig8EFDmeY3vu33zMxsecI6e2/Wqif1OdAgMBhqA=\",\n \"p12Password\": \"changeit\",\n \"base64Content\": \"TWFueSBoYW5kcyBtYWtlIGxpZ2h0IHdvcmsu\"\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "localhost:8080/sign",
"host": [
"localhost"
],
"port": "8080",
"path": [
"sign"
]
}
},
"response": []
},
{
"name": "Verify Signature on Content",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\n \"base64X509\": \"MIICvzCCAaegAwIBAgIEC5GCFDANBgkqhkiG9w0BAQsFADAQMQ4wDAYDVQQDEwVkYXZpZDAeFw0yMTA5MjAxNTUxNThaFw0yMjA5MjAxNTUxNThaMBAxDjAMBgNVBAMTBWRhdmlkMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAiNYc5J+BYCMOURKbIANr2d7FWLah8N0qzUnDzXmQM9WDHoFMt0AxbaEdnmX+K4yyfPA/ydWbn5oWui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ZFd/NHep3F+OHLSLmcg==\"\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "localhost:8080/verify",
"host": [
"localhost"
],
"port": "8080",
"path": [
"verify"
]
}
},
"response": []
}
]
}