devtools-protocol 0.0.1574117 → 0.0.1575685
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/json/browser_protocol.json +631 -0
- package/package.json +1 -1
- package/pdl/browser_protocol.pdl +1 -0
- package/types/protocol-mapping.d.ts +257 -0
- package/types/protocol-proxy-api.d.ts +252 -0
- package/types/protocol-tests-proxy-api.d.ts +280 -0
- package/types/protocol.d.ts +309 -0
|
@@ -25921,6 +25921,637 @@
|
|
|
25921
25921
|
}
|
|
25922
25922
|
]
|
|
25923
25923
|
},
|
|
25924
|
+
{
|
|
25925
|
+
"domain": "SmartCardEmulation",
|
|
25926
|
+
"experimental": true,
|
|
25927
|
+
"types": [
|
|
25928
|
+
{
|
|
25929
|
+
"id": "ResultCode",
|
|
25930
|
+
"description": "Indicates the PC/SC error code.\n\nThis maps to:\nPC/SC Lite: https://pcsclite.apdu.fr/api/group__ErrorCodes.html\nMicrosoft: https://learn.microsoft.com/en-us/windows/win32/secauthn/authentication-return-values",
|
|
25931
|
+
"type": "string",
|
|
25932
|
+
"enum": [
|
|
25933
|
+
"success",
|
|
25934
|
+
"removed-card",
|
|
25935
|
+
"reset-card",
|
|
25936
|
+
"unpowered-card",
|
|
25937
|
+
"unresponsive-card",
|
|
25938
|
+
"unsupported-card",
|
|
25939
|
+
"reader-unavailable",
|
|
25940
|
+
"sharing-violation",
|
|
25941
|
+
"not-transacted",
|
|
25942
|
+
"no-smartcard",
|
|
25943
|
+
"proto-mismatch",
|
|
25944
|
+
"system-cancelled",
|
|
25945
|
+
"not-ready",
|
|
25946
|
+
"cancelled",
|
|
25947
|
+
"insufficient-buffer",
|
|
25948
|
+
"invalid-handle",
|
|
25949
|
+
"invalid-parameter",
|
|
25950
|
+
"invalid-value",
|
|
25951
|
+
"no-memory",
|
|
25952
|
+
"timeout",
|
|
25953
|
+
"unknown-reader",
|
|
25954
|
+
"unsupported-feature",
|
|
25955
|
+
"no-readers-available",
|
|
25956
|
+
"service-stopped",
|
|
25957
|
+
"no-service",
|
|
25958
|
+
"comm-error",
|
|
25959
|
+
"internal-error",
|
|
25960
|
+
"server-too-busy",
|
|
25961
|
+
"unexpected",
|
|
25962
|
+
"shutdown",
|
|
25963
|
+
"unknown-card",
|
|
25964
|
+
"unknown"
|
|
25965
|
+
]
|
|
25966
|
+
},
|
|
25967
|
+
{
|
|
25968
|
+
"id": "ShareMode",
|
|
25969
|
+
"description": "Maps to the |SCARD_SHARE_*| values.",
|
|
25970
|
+
"type": "string",
|
|
25971
|
+
"enum": [
|
|
25972
|
+
"shared",
|
|
25973
|
+
"exclusive",
|
|
25974
|
+
"direct"
|
|
25975
|
+
]
|
|
25976
|
+
},
|
|
25977
|
+
{
|
|
25978
|
+
"id": "Disposition",
|
|
25979
|
+
"description": "Indicates what the reader should do with the card.",
|
|
25980
|
+
"type": "string",
|
|
25981
|
+
"enum": [
|
|
25982
|
+
"leave-card",
|
|
25983
|
+
"reset-card",
|
|
25984
|
+
"unpower-card",
|
|
25985
|
+
"eject-card"
|
|
25986
|
+
]
|
|
25987
|
+
},
|
|
25988
|
+
{
|
|
25989
|
+
"id": "ConnectionState",
|
|
25990
|
+
"description": "Maps to |SCARD_*| connection state values.",
|
|
25991
|
+
"type": "string",
|
|
25992
|
+
"enum": [
|
|
25993
|
+
"absent",
|
|
25994
|
+
"present",
|
|
25995
|
+
"swallowed",
|
|
25996
|
+
"powered",
|
|
25997
|
+
"negotiable",
|
|
25998
|
+
"specific"
|
|
25999
|
+
]
|
|
26000
|
+
},
|
|
26001
|
+
{
|
|
26002
|
+
"id": "ReaderStateFlags",
|
|
26003
|
+
"description": "Maps to the |SCARD_STATE_*| flags.",
|
|
26004
|
+
"type": "object",
|
|
26005
|
+
"properties": [
|
|
26006
|
+
{
|
|
26007
|
+
"name": "unaware",
|
|
26008
|
+
"optional": true,
|
|
26009
|
+
"type": "boolean"
|
|
26010
|
+
},
|
|
26011
|
+
{
|
|
26012
|
+
"name": "ignore",
|
|
26013
|
+
"optional": true,
|
|
26014
|
+
"type": "boolean"
|
|
26015
|
+
},
|
|
26016
|
+
{
|
|
26017
|
+
"name": "changed",
|
|
26018
|
+
"optional": true,
|
|
26019
|
+
"type": "boolean"
|
|
26020
|
+
},
|
|
26021
|
+
{
|
|
26022
|
+
"name": "unknown",
|
|
26023
|
+
"optional": true,
|
|
26024
|
+
"type": "boolean"
|
|
26025
|
+
},
|
|
26026
|
+
{
|
|
26027
|
+
"name": "unavailable",
|
|
26028
|
+
"optional": true,
|
|
26029
|
+
"type": "boolean"
|
|
26030
|
+
},
|
|
26031
|
+
{
|
|
26032
|
+
"name": "empty",
|
|
26033
|
+
"optional": true,
|
|
26034
|
+
"type": "boolean"
|
|
26035
|
+
},
|
|
26036
|
+
{
|
|
26037
|
+
"name": "present",
|
|
26038
|
+
"optional": true,
|
|
26039
|
+
"type": "boolean"
|
|
26040
|
+
},
|
|
26041
|
+
{
|
|
26042
|
+
"name": "exclusive",
|
|
26043
|
+
"optional": true,
|
|
26044
|
+
"type": "boolean"
|
|
26045
|
+
},
|
|
26046
|
+
{
|
|
26047
|
+
"name": "inuse",
|
|
26048
|
+
"optional": true,
|
|
26049
|
+
"type": "boolean"
|
|
26050
|
+
},
|
|
26051
|
+
{
|
|
26052
|
+
"name": "mute",
|
|
26053
|
+
"optional": true,
|
|
26054
|
+
"type": "boolean"
|
|
26055
|
+
},
|
|
26056
|
+
{
|
|
26057
|
+
"name": "unpowered",
|
|
26058
|
+
"optional": true,
|
|
26059
|
+
"type": "boolean"
|
|
26060
|
+
}
|
|
26061
|
+
]
|
|
26062
|
+
},
|
|
26063
|
+
{
|
|
26064
|
+
"id": "ProtocolSet",
|
|
26065
|
+
"description": "Maps to the |SCARD_PROTOCOL_*| flags.",
|
|
26066
|
+
"type": "object",
|
|
26067
|
+
"properties": [
|
|
26068
|
+
{
|
|
26069
|
+
"name": "t0",
|
|
26070
|
+
"optional": true,
|
|
26071
|
+
"type": "boolean"
|
|
26072
|
+
},
|
|
26073
|
+
{
|
|
26074
|
+
"name": "t1",
|
|
26075
|
+
"optional": true,
|
|
26076
|
+
"type": "boolean"
|
|
26077
|
+
},
|
|
26078
|
+
{
|
|
26079
|
+
"name": "raw",
|
|
26080
|
+
"optional": true,
|
|
26081
|
+
"type": "boolean"
|
|
26082
|
+
}
|
|
26083
|
+
]
|
|
26084
|
+
},
|
|
26085
|
+
{
|
|
26086
|
+
"id": "Protocol",
|
|
26087
|
+
"description": "Maps to the |SCARD_PROTOCOL_*| values.",
|
|
26088
|
+
"type": "string",
|
|
26089
|
+
"enum": [
|
|
26090
|
+
"t0",
|
|
26091
|
+
"t1",
|
|
26092
|
+
"raw"
|
|
26093
|
+
]
|
|
26094
|
+
},
|
|
26095
|
+
{
|
|
26096
|
+
"id": "ReaderStateIn",
|
|
26097
|
+
"type": "object",
|
|
26098
|
+
"properties": [
|
|
26099
|
+
{
|
|
26100
|
+
"name": "reader",
|
|
26101
|
+
"type": "string"
|
|
26102
|
+
},
|
|
26103
|
+
{
|
|
26104
|
+
"name": "currentState",
|
|
26105
|
+
"$ref": "ReaderStateFlags"
|
|
26106
|
+
},
|
|
26107
|
+
{
|
|
26108
|
+
"name": "currentInsertionCount",
|
|
26109
|
+
"type": "integer"
|
|
26110
|
+
}
|
|
26111
|
+
]
|
|
26112
|
+
},
|
|
26113
|
+
{
|
|
26114
|
+
"id": "ReaderStateOut",
|
|
26115
|
+
"type": "object",
|
|
26116
|
+
"properties": [
|
|
26117
|
+
{
|
|
26118
|
+
"name": "reader",
|
|
26119
|
+
"type": "string"
|
|
26120
|
+
},
|
|
26121
|
+
{
|
|
26122
|
+
"name": "eventState",
|
|
26123
|
+
"$ref": "ReaderStateFlags"
|
|
26124
|
+
},
|
|
26125
|
+
{
|
|
26126
|
+
"name": "eventCount",
|
|
26127
|
+
"type": "integer"
|
|
26128
|
+
},
|
|
26129
|
+
{
|
|
26130
|
+
"name": "atr",
|
|
26131
|
+
"type": "string"
|
|
26132
|
+
}
|
|
26133
|
+
]
|
|
26134
|
+
}
|
|
26135
|
+
],
|
|
26136
|
+
"commands": [
|
|
26137
|
+
{
|
|
26138
|
+
"name": "enable",
|
|
26139
|
+
"description": "Enables the |SmartCardEmulation| domain."
|
|
26140
|
+
},
|
|
26141
|
+
{
|
|
26142
|
+
"name": "disable",
|
|
26143
|
+
"description": "Disables the |SmartCardEmulation| domain."
|
|
26144
|
+
},
|
|
26145
|
+
{
|
|
26146
|
+
"name": "reportEstablishContextResult",
|
|
26147
|
+
"description": "Reports the successful result of a |SCardEstablishContext| call.\n\nThis maps to:\nPC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#gaa1b8970169fd4883a6dc4a8f43f19b67\nMicrosoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardestablishcontext",
|
|
26148
|
+
"parameters": [
|
|
26149
|
+
{
|
|
26150
|
+
"name": "requestId",
|
|
26151
|
+
"type": "string"
|
|
26152
|
+
},
|
|
26153
|
+
{
|
|
26154
|
+
"name": "contextId",
|
|
26155
|
+
"type": "integer"
|
|
26156
|
+
}
|
|
26157
|
+
]
|
|
26158
|
+
},
|
|
26159
|
+
{
|
|
26160
|
+
"name": "reportReleaseContextResult",
|
|
26161
|
+
"description": "Reports the successful result of a |SCardReleaseContext| call.\n\nThis maps to:\nPC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#ga6aabcba7744c5c9419fdd6404f73a934\nMicrosoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardreleasecontext",
|
|
26162
|
+
"parameters": [
|
|
26163
|
+
{
|
|
26164
|
+
"name": "requestId",
|
|
26165
|
+
"type": "string"
|
|
26166
|
+
}
|
|
26167
|
+
]
|
|
26168
|
+
},
|
|
26169
|
+
{
|
|
26170
|
+
"name": "reportListReadersResult",
|
|
26171
|
+
"description": "Reports the successful result of a |SCardListReaders| call.\n\nThis maps to:\nPC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#ga93b07815789b3cf2629d439ecf20f0d9\nMicrosoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardlistreadersa",
|
|
26172
|
+
"parameters": [
|
|
26173
|
+
{
|
|
26174
|
+
"name": "requestId",
|
|
26175
|
+
"type": "string"
|
|
26176
|
+
},
|
|
26177
|
+
{
|
|
26178
|
+
"name": "readers",
|
|
26179
|
+
"type": "array",
|
|
26180
|
+
"items": {
|
|
26181
|
+
"type": "string"
|
|
26182
|
+
}
|
|
26183
|
+
}
|
|
26184
|
+
]
|
|
26185
|
+
},
|
|
26186
|
+
{
|
|
26187
|
+
"name": "reportGetStatusChangeResult",
|
|
26188
|
+
"description": "Reports the successful result of a |SCardGetStatusChange| call.\n\nThis maps to:\nPC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#ga33247d5d1257d59e55647c3bb717db24\nMicrosoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardgetstatuschangea",
|
|
26189
|
+
"parameters": [
|
|
26190
|
+
{
|
|
26191
|
+
"name": "requestId",
|
|
26192
|
+
"type": "string"
|
|
26193
|
+
},
|
|
26194
|
+
{
|
|
26195
|
+
"name": "readerStates",
|
|
26196
|
+
"type": "array",
|
|
26197
|
+
"items": {
|
|
26198
|
+
"$ref": "ReaderStateOut"
|
|
26199
|
+
}
|
|
26200
|
+
}
|
|
26201
|
+
]
|
|
26202
|
+
},
|
|
26203
|
+
{
|
|
26204
|
+
"name": "reportBeginTransactionResult",
|
|
26205
|
+
"description": "Reports the result of a |SCardBeginTransaction| call.\nOn success, this creates a new transaction object.\n\nThis maps to:\nPC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#gaddb835dce01a0da1d6ca02d33ee7d861\nMicrosoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardbegintransaction",
|
|
26206
|
+
"parameters": [
|
|
26207
|
+
{
|
|
26208
|
+
"name": "requestId",
|
|
26209
|
+
"type": "string"
|
|
26210
|
+
}
|
|
26211
|
+
]
|
|
26212
|
+
},
|
|
26213
|
+
{
|
|
26214
|
+
"name": "reportPlainResult",
|
|
26215
|
+
"description": "Reports the successful result of a call that returns only a result code.\nUsed for: |SCardCancel|, |SCardDisconnect|, |SCardSetAttrib|, |SCardEndTransaction|.\n\nThis maps to:\n1. SCardCancel\n PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#gaacbbc0c6d6c0cbbeb4f4debf6fbeeee6\n Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardcancel\n\n2. SCardDisconnect\n PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#ga4be198045c73ec0deb79e66c0ca1738a\n Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scarddisconnect\n\n3. SCardSetAttrib\n PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#ga060f0038a4ddfd5dd2b8fadf3c3a2e4f\n Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardsetattrib\n\n4. SCardEndTransaction\n PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#gae8742473b404363e5c587f570d7e2f3b\n Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardendtransaction",
|
|
26216
|
+
"parameters": [
|
|
26217
|
+
{
|
|
26218
|
+
"name": "requestId",
|
|
26219
|
+
"type": "string"
|
|
26220
|
+
}
|
|
26221
|
+
]
|
|
26222
|
+
},
|
|
26223
|
+
{
|
|
26224
|
+
"name": "reportConnectResult",
|
|
26225
|
+
"description": "Reports the successful result of a |SCardConnect| call.\n\nThis maps to:\nPC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#ga4e515829752e0a8dbc4d630696a8d6a5\nMicrosoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardconnecta",
|
|
26226
|
+
"parameters": [
|
|
26227
|
+
{
|
|
26228
|
+
"name": "requestId",
|
|
26229
|
+
"type": "string"
|
|
26230
|
+
},
|
|
26231
|
+
{
|
|
26232
|
+
"name": "handle",
|
|
26233
|
+
"type": "integer"
|
|
26234
|
+
},
|
|
26235
|
+
{
|
|
26236
|
+
"name": "activeProtocol",
|
|
26237
|
+
"optional": true,
|
|
26238
|
+
"$ref": "Protocol"
|
|
26239
|
+
}
|
|
26240
|
+
]
|
|
26241
|
+
},
|
|
26242
|
+
{
|
|
26243
|
+
"name": "reportDataResult",
|
|
26244
|
+
"description": "Reports the successful result of a call that sends back data on success.\nUsed for |SCardTransmit|, |SCardControl|, and |SCardGetAttrib|.\n\nThis maps to:\n1. SCardTransmit\n PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#ga9a2d77242a271310269065e64633ab99\n Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardtransmit\n\n2. SCardControl\n PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#gac3454d4657110fd7f753b2d3d8f4e32f\n Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardcontrol\n\n3. SCardGetAttrib\n PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#gaacfec51917255b7a25b94c5104961602\n Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardgetattrib",
|
|
26245
|
+
"parameters": [
|
|
26246
|
+
{
|
|
26247
|
+
"name": "requestId",
|
|
26248
|
+
"type": "string"
|
|
26249
|
+
},
|
|
26250
|
+
{
|
|
26251
|
+
"name": "data",
|
|
26252
|
+
"type": "string"
|
|
26253
|
+
}
|
|
26254
|
+
]
|
|
26255
|
+
},
|
|
26256
|
+
{
|
|
26257
|
+
"name": "reportStatusResult",
|
|
26258
|
+
"description": "Reports the successful result of a |SCardStatus| call.\n\nThis maps to:\nPC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#gae49c3c894ad7ac12a5b896bde70d0382\nMicrosoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardstatusa",
|
|
26259
|
+
"parameters": [
|
|
26260
|
+
{
|
|
26261
|
+
"name": "requestId",
|
|
26262
|
+
"type": "string"
|
|
26263
|
+
},
|
|
26264
|
+
{
|
|
26265
|
+
"name": "readerName",
|
|
26266
|
+
"type": "string"
|
|
26267
|
+
},
|
|
26268
|
+
{
|
|
26269
|
+
"name": "state",
|
|
26270
|
+
"$ref": "ConnectionState"
|
|
26271
|
+
},
|
|
26272
|
+
{
|
|
26273
|
+
"name": "atr",
|
|
26274
|
+
"type": "string"
|
|
26275
|
+
},
|
|
26276
|
+
{
|
|
26277
|
+
"name": "protocol",
|
|
26278
|
+
"optional": true,
|
|
26279
|
+
"$ref": "Protocol"
|
|
26280
|
+
}
|
|
26281
|
+
]
|
|
26282
|
+
},
|
|
26283
|
+
{
|
|
26284
|
+
"name": "reportError",
|
|
26285
|
+
"description": "Reports an error result for the given request.",
|
|
26286
|
+
"parameters": [
|
|
26287
|
+
{
|
|
26288
|
+
"name": "requestId",
|
|
26289
|
+
"type": "string"
|
|
26290
|
+
},
|
|
26291
|
+
{
|
|
26292
|
+
"name": "resultCode",
|
|
26293
|
+
"$ref": "ResultCode"
|
|
26294
|
+
}
|
|
26295
|
+
]
|
|
26296
|
+
}
|
|
26297
|
+
],
|
|
26298
|
+
"events": [
|
|
26299
|
+
{
|
|
26300
|
+
"name": "establishContextRequested",
|
|
26301
|
+
"description": "Fired when |SCardEstablishContext| is called.\n\nThis maps to:\nPC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#gaa1b8970169fd4883a6dc4a8f43f19b67\nMicrosoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardestablishcontext",
|
|
26302
|
+
"parameters": [
|
|
26303
|
+
{
|
|
26304
|
+
"name": "requestId",
|
|
26305
|
+
"type": "string"
|
|
26306
|
+
}
|
|
26307
|
+
]
|
|
26308
|
+
},
|
|
26309
|
+
{
|
|
26310
|
+
"name": "releaseContextRequested",
|
|
26311
|
+
"description": "Fired when |SCardReleaseContext| is called.\n\nThis maps to:\nPC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#ga6aabcba7744c5c9419fdd6404f73a934\nMicrosoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardreleasecontext",
|
|
26312
|
+
"parameters": [
|
|
26313
|
+
{
|
|
26314
|
+
"name": "requestId",
|
|
26315
|
+
"type": "string"
|
|
26316
|
+
},
|
|
26317
|
+
{
|
|
26318
|
+
"name": "contextId",
|
|
26319
|
+
"type": "integer"
|
|
26320
|
+
}
|
|
26321
|
+
]
|
|
26322
|
+
},
|
|
26323
|
+
{
|
|
26324
|
+
"name": "listReadersRequested",
|
|
26325
|
+
"description": "Fired when |SCardListReaders| is called.\n\nThis maps to:\nPC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#ga93b07815789b3cf2629d439ecf20f0d9\nMicrosoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardlistreadersa",
|
|
26326
|
+
"parameters": [
|
|
26327
|
+
{
|
|
26328
|
+
"name": "requestId",
|
|
26329
|
+
"type": "string"
|
|
26330
|
+
},
|
|
26331
|
+
{
|
|
26332
|
+
"name": "contextId",
|
|
26333
|
+
"type": "integer"
|
|
26334
|
+
}
|
|
26335
|
+
]
|
|
26336
|
+
},
|
|
26337
|
+
{
|
|
26338
|
+
"name": "getStatusChangeRequested",
|
|
26339
|
+
"description": "Fired when |SCardGetStatusChange| is called. Timeout is specified in milliseconds.\n\nThis maps to:\nPC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#ga33247d5d1257d59e55647c3bb717db24\nMicrosoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardgetstatuschangea",
|
|
26340
|
+
"parameters": [
|
|
26341
|
+
{
|
|
26342
|
+
"name": "requestId",
|
|
26343
|
+
"type": "string"
|
|
26344
|
+
},
|
|
26345
|
+
{
|
|
26346
|
+
"name": "contextId",
|
|
26347
|
+
"type": "integer"
|
|
26348
|
+
},
|
|
26349
|
+
{
|
|
26350
|
+
"name": "readerStates",
|
|
26351
|
+
"type": "array",
|
|
26352
|
+
"items": {
|
|
26353
|
+
"$ref": "ReaderStateIn"
|
|
26354
|
+
}
|
|
26355
|
+
},
|
|
26356
|
+
{
|
|
26357
|
+
"name": "timeout",
|
|
26358
|
+
"description": "in milliseconds, if absent, it means \"infinite\"",
|
|
26359
|
+
"optional": true,
|
|
26360
|
+
"type": "integer"
|
|
26361
|
+
}
|
|
26362
|
+
]
|
|
26363
|
+
},
|
|
26364
|
+
{
|
|
26365
|
+
"name": "cancelRequested",
|
|
26366
|
+
"description": "Fired when |SCardCancel| is called.\n\nThis maps to:\nPC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#gaacbbc0c6d6c0cbbeb4f4debf6fbeeee6\nMicrosoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardcancel",
|
|
26367
|
+
"parameters": [
|
|
26368
|
+
{
|
|
26369
|
+
"name": "requestId",
|
|
26370
|
+
"type": "string"
|
|
26371
|
+
},
|
|
26372
|
+
{
|
|
26373
|
+
"name": "contextId",
|
|
26374
|
+
"type": "integer"
|
|
26375
|
+
}
|
|
26376
|
+
]
|
|
26377
|
+
},
|
|
26378
|
+
{
|
|
26379
|
+
"name": "connectRequested",
|
|
26380
|
+
"description": "Fired when |SCardConnect| is called.\n\nThis maps to:\nPC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#ga4e515829752e0a8dbc4d630696a8d6a5\nMicrosoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardconnecta",
|
|
26381
|
+
"parameters": [
|
|
26382
|
+
{
|
|
26383
|
+
"name": "requestId",
|
|
26384
|
+
"type": "string"
|
|
26385
|
+
},
|
|
26386
|
+
{
|
|
26387
|
+
"name": "contextId",
|
|
26388
|
+
"type": "integer"
|
|
26389
|
+
},
|
|
26390
|
+
{
|
|
26391
|
+
"name": "reader",
|
|
26392
|
+
"type": "string"
|
|
26393
|
+
},
|
|
26394
|
+
{
|
|
26395
|
+
"name": "shareMode",
|
|
26396
|
+
"$ref": "ShareMode"
|
|
26397
|
+
},
|
|
26398
|
+
{
|
|
26399
|
+
"name": "preferredProtocols",
|
|
26400
|
+
"$ref": "ProtocolSet"
|
|
26401
|
+
}
|
|
26402
|
+
]
|
|
26403
|
+
},
|
|
26404
|
+
{
|
|
26405
|
+
"name": "disconnectRequested",
|
|
26406
|
+
"description": "Fired when |SCardDisconnect| is called.\n\nThis maps to:\nPC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#ga4be198045c73ec0deb79e66c0ca1738a\nMicrosoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scarddisconnect",
|
|
26407
|
+
"parameters": [
|
|
26408
|
+
{
|
|
26409
|
+
"name": "requestId",
|
|
26410
|
+
"type": "string"
|
|
26411
|
+
},
|
|
26412
|
+
{
|
|
26413
|
+
"name": "handle",
|
|
26414
|
+
"type": "integer"
|
|
26415
|
+
},
|
|
26416
|
+
{
|
|
26417
|
+
"name": "disposition",
|
|
26418
|
+
"$ref": "Disposition"
|
|
26419
|
+
}
|
|
26420
|
+
]
|
|
26421
|
+
},
|
|
26422
|
+
{
|
|
26423
|
+
"name": "transmitRequested",
|
|
26424
|
+
"description": "Fired when |SCardTransmit| is called.\n\nThis maps to:\nPC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#ga9a2d77242a271310269065e64633ab99\nMicrosoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardtransmit",
|
|
26425
|
+
"parameters": [
|
|
26426
|
+
{
|
|
26427
|
+
"name": "requestId",
|
|
26428
|
+
"type": "string"
|
|
26429
|
+
},
|
|
26430
|
+
{
|
|
26431
|
+
"name": "handle",
|
|
26432
|
+
"type": "integer"
|
|
26433
|
+
},
|
|
26434
|
+
{
|
|
26435
|
+
"name": "data",
|
|
26436
|
+
"type": "string"
|
|
26437
|
+
},
|
|
26438
|
+
{
|
|
26439
|
+
"name": "protocol",
|
|
26440
|
+
"optional": true,
|
|
26441
|
+
"$ref": "Protocol"
|
|
26442
|
+
}
|
|
26443
|
+
]
|
|
26444
|
+
},
|
|
26445
|
+
{
|
|
26446
|
+
"name": "controlRequested",
|
|
26447
|
+
"description": "Fired when |SCardControl| is called.\n\nThis maps to:\nPC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#gac3454d4657110fd7f753b2d3d8f4e32f\nMicrosoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardcontrol",
|
|
26448
|
+
"parameters": [
|
|
26449
|
+
{
|
|
26450
|
+
"name": "requestId",
|
|
26451
|
+
"type": "string"
|
|
26452
|
+
},
|
|
26453
|
+
{
|
|
26454
|
+
"name": "handle",
|
|
26455
|
+
"type": "integer"
|
|
26456
|
+
},
|
|
26457
|
+
{
|
|
26458
|
+
"name": "controlCode",
|
|
26459
|
+
"type": "integer"
|
|
26460
|
+
},
|
|
26461
|
+
{
|
|
26462
|
+
"name": "data",
|
|
26463
|
+
"type": "string"
|
|
26464
|
+
}
|
|
26465
|
+
]
|
|
26466
|
+
},
|
|
26467
|
+
{
|
|
26468
|
+
"name": "getAttribRequested",
|
|
26469
|
+
"description": "Fired when |SCardGetAttrib| is called.\n\nThis maps to:\nPC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#gaacfec51917255b7a25b94c5104961602\nMicrosoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardgetattrib",
|
|
26470
|
+
"parameters": [
|
|
26471
|
+
{
|
|
26472
|
+
"name": "requestId",
|
|
26473
|
+
"type": "string"
|
|
26474
|
+
},
|
|
26475
|
+
{
|
|
26476
|
+
"name": "handle",
|
|
26477
|
+
"type": "integer"
|
|
26478
|
+
},
|
|
26479
|
+
{
|
|
26480
|
+
"name": "attribId",
|
|
26481
|
+
"type": "integer"
|
|
26482
|
+
}
|
|
26483
|
+
]
|
|
26484
|
+
},
|
|
26485
|
+
{
|
|
26486
|
+
"name": "setAttribRequested",
|
|
26487
|
+
"description": "Fired when |SCardSetAttrib| is called.\n\nThis maps to:\nPC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#ga060f0038a4ddfd5dd2b8fadf3c3a2e4f\nMicrosoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardsetattrib",
|
|
26488
|
+
"parameters": [
|
|
26489
|
+
{
|
|
26490
|
+
"name": "requestId",
|
|
26491
|
+
"type": "string"
|
|
26492
|
+
},
|
|
26493
|
+
{
|
|
26494
|
+
"name": "handle",
|
|
26495
|
+
"type": "integer"
|
|
26496
|
+
},
|
|
26497
|
+
{
|
|
26498
|
+
"name": "attribId",
|
|
26499
|
+
"type": "integer"
|
|
26500
|
+
},
|
|
26501
|
+
{
|
|
26502
|
+
"name": "data",
|
|
26503
|
+
"type": "string"
|
|
26504
|
+
}
|
|
26505
|
+
]
|
|
26506
|
+
},
|
|
26507
|
+
{
|
|
26508
|
+
"name": "statusRequested",
|
|
26509
|
+
"description": "Fired when |SCardStatus| is called.\n\nThis maps to:\nPC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#gae49c3c894ad7ac12a5b896bde70d0382\nMicrosoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardstatusa",
|
|
26510
|
+
"parameters": [
|
|
26511
|
+
{
|
|
26512
|
+
"name": "requestId",
|
|
26513
|
+
"type": "string"
|
|
26514
|
+
},
|
|
26515
|
+
{
|
|
26516
|
+
"name": "handle",
|
|
26517
|
+
"type": "integer"
|
|
26518
|
+
}
|
|
26519
|
+
]
|
|
26520
|
+
},
|
|
26521
|
+
{
|
|
26522
|
+
"name": "beginTransactionRequested",
|
|
26523
|
+
"description": "Fired when |SCardBeginTransaction| is called.\n\nThis maps to:\nPC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#gaddb835dce01a0da1d6ca02d33ee7d861\nMicrosoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardbegintransaction",
|
|
26524
|
+
"parameters": [
|
|
26525
|
+
{
|
|
26526
|
+
"name": "requestId",
|
|
26527
|
+
"type": "string"
|
|
26528
|
+
},
|
|
26529
|
+
{
|
|
26530
|
+
"name": "handle",
|
|
26531
|
+
"type": "integer"
|
|
26532
|
+
}
|
|
26533
|
+
]
|
|
26534
|
+
},
|
|
26535
|
+
{
|
|
26536
|
+
"name": "endTransactionRequested",
|
|
26537
|
+
"description": "Fired when |SCardEndTransaction| is called.\n\nThis maps to:\nPC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#gae8742473b404363e5c587f570d7e2f3b\nMicrosoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardendtransaction",
|
|
26538
|
+
"parameters": [
|
|
26539
|
+
{
|
|
26540
|
+
"name": "requestId",
|
|
26541
|
+
"type": "string"
|
|
26542
|
+
},
|
|
26543
|
+
{
|
|
26544
|
+
"name": "handle",
|
|
26545
|
+
"type": "integer"
|
|
26546
|
+
},
|
|
26547
|
+
{
|
|
26548
|
+
"name": "disposition",
|
|
26549
|
+
"$ref": "Disposition"
|
|
26550
|
+
}
|
|
26551
|
+
]
|
|
26552
|
+
}
|
|
26553
|
+
]
|
|
26554
|
+
},
|
|
25924
26555
|
{
|
|
25925
26556
|
"domain": "Storage",
|
|
25926
26557
|
"experimental": true,
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
|
@@ -48,6 +48,7 @@ include domains/PerformanceTimeline.pdl
|
|
|
48
48
|
include domains/Preload.pdl
|
|
49
49
|
include domains/Security.pdl
|
|
50
50
|
include domains/ServiceWorker.pdl
|
|
51
|
+
include domains/SmartCardEmulation.pdl
|
|
51
52
|
include domains/Storage.pdl
|
|
52
53
|
include domains/SystemInfo.pdl
|
|
53
54
|
include domains/Target.pdl
|