@procivis/react-native-one-core 1.88624.1 → 1.94025.0
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/README.md
CHANGED
|
@@ -91,35 +91,32 @@ and regulations mature and harden.
|
|
|
91
91
|
|
|
92
92
|
### Credential models
|
|
93
93
|
|
|
94
|
-
####
|
|
95
|
-
|
|
96
|
-
- [W3C Verifiable Credentials Data Model 2.0][vcdm] in the following variations:
|
|
94
|
+
#### IETF SD-JWT VC
|
|
97
95
|
|
|
98
|
-
|
|
99
|
-
| -------------------------------------------- | --------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
100
|
-
| [W3C Data Integrity Proofs][vcdi] (embedded) | [JSON-LD][jld] in Compacted Document Form | <ul><li>[W3C Data Integrity ECDSA Cryptosuites v1.0][ecd] / [ecdsa-rdfc-2019][ecd2019]</li><li>[W3C Data Integrity EdDSA Cryptosuites v1.0][edd] / [eddsa-rdfc-2022][edd2022]</li><li>[W3C Data Integrity BBS Cryptosuites v1.0][bbs] / [bbs-2023][bbs2023]</li></ul> |
|
|
101
|
-
| [W3C VC-JOSE-COSE][jose] (enveloping) | <ul><li>[SD-JWT][sdjwt]</li><li>[JWT][jw]</li></ul> | <ul><li>JOSE / ECDSA [ES256][es2]</li><li>JOSE / EdDSA [Ed25519][ed255]</li><li>JOSE / CRYSTALS-DILITHIUM 3 [CRYDI3][crydi3]\* |
|
|
96
|
+
- [IETF SD-JWT-based Verifiable Credentials][sdjwtvc]:
|
|
102
97
|
|
|
103
|
-
|
|
104
|
-
|
|
98
|
+
| Standard | Supported representations | Supported proof/signature types |
|
|
99
|
+
| -------------- | ------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- |
|
|
100
|
+
| IETF SD-JWT VC | SD-JWT | <ul><li>JOSE / ECDSA [ES256][es2]</li><li>JOSE / EdDSA [Ed25519][ed255]</li><li>JOSE / [ML-DSA-65 (FIPS 204)][fips]\*</li></ul> |
|
|
105
101
|
|
|
106
102
|
#### ISO mdoc
|
|
107
103
|
|
|
108
|
-
- [ISO/IEC 18013-5:2021][iso5] standard for mdoc credentials
|
|
109
|
-
- [COSE][cose] proofs
|
|
110
|
-
- ECDSA [ES256][es2]
|
|
111
|
-
- EdDSA [Ed25519][ed255]
|
|
104
|
+
- [ISO/IEC 18013-5:2021][iso5] standard for mdoc credentials in the following variations:
|
|
112
105
|
|
|
113
|
-
|
|
106
|
+
| Standard | Supported representations | Supported proof/signature types |
|
|
107
|
+
| -------------------- | ------------------------- | --------------------------------------------------------------------------------- |
|
|
108
|
+
| ISO/IEC 18013-5:2021 | mdoc | <ul><li>COSE / ECDSA [ES256][es2]</li><li>COSE / EdDSA [Ed25519][ed255]</li></ul> |
|
|
114
109
|
|
|
115
|
-
|
|
110
|
+
#### W3C VC
|
|
116
111
|
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
|
112
|
+
- [W3C Verifiable Credentials Data Model 2.0][vcdm] in the following variations:
|
|
113
|
+
|
|
114
|
+
| Securing mechanism | Supported representations | Supported proof/signature types |
|
|
115
|
+
| -------------------------------------------- | --------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
116
|
+
| [W3C Data Integrity Proofs][vcdi] (embedded) | [JSON-LD][jld] in Compacted Document Form | <ul><li>[W3C Data Integrity ECDSA Cryptosuites v1.0][ecd] / [ecdsa-rdfc-2019][ecd2019]</li><li>[W3C Data Integrity EdDSA Cryptosuites v1.0][edd] / [eddsa-rdfc-2022][edd2022]</li><li>[W3C Data Integrity BBS Cryptosuites v1.0][bbs] / [bbs-2023][bbs2023]</li></ul> |
|
|
117
|
+
| [W3C VC-JOSE-COSE][jose] (enveloping) | <ul><li>[SD-JWT][sdjwt]</li><li>[JWT][jw]</li></ul> | <ul><li>JOSE / ECDSA [ES256][es2]</li><li>JOSE / EdDSA [Ed25519][ed255]</li><li>JOSE / [ML-DSA-65 (FIPS 204)][fips]\*</li></ul> |
|
|
120
118
|
|
|
121
|
-
|
|
122
|
-
Support for the recently published [FIPS-204][fips] is planned for the near future.
|
|
119
|
+
- **Backwards compatibility**: Procivis One supports verification of proofs which use VCDM 1.1.
|
|
123
120
|
|
|
124
121
|
### Exchange and transport
|
|
125
122
|
|
|
@@ -144,8 +141,8 @@ Support for the recently published [FIPS-204][fips] is planned for the near futu
|
|
|
144
141
|
### Revocation methods
|
|
145
142
|
|
|
146
143
|
- [Bitstring Status List v1.0][sl]
|
|
147
|
-
- [Linked Validity Verifiable Credentials (LVVC)][lvvc]
|
|
148
144
|
- [Token Status List - Draft 03][tsl]
|
|
145
|
+
- [Certificate Revocation List][crl]
|
|
149
146
|
|
|
150
147
|
## Support
|
|
151
148
|
|
|
@@ -172,7 +169,7 @@ Version 2.0](./LICENSE).
|
|
|
172
169
|
[comp]: https://github.com/procivis/one-react-native-components
|
|
173
170
|
[core]: https://github.com/procivis/one-core
|
|
174
171
|
[cose]: https://www.rfc-editor.org/rfc/rfc9052
|
|
175
|
-
[
|
|
172
|
+
[crl]: https://www.ietf.org/rfc/rfc5280.txt
|
|
176
173
|
[docs]: https://docs.procivis.ch/
|
|
177
174
|
[ecd]: https://www.w3.org/TR/vc-di-ecdsa/
|
|
178
175
|
[ecd2019]: https://www.w3.org/TR/vc-di-ecdsa/#ecdsa-rdfc-2019
|
|
@@ -208,6 +208,7 @@ object SerializeSpecific {
|
|
|
208
208
|
result.putString("type_", "AUTHORIZATION_CODE_FLOW")
|
|
209
209
|
result.putString("interactionId", value.interactionId)
|
|
210
210
|
result.putString("authorizationCodeFlowUrl", value.authorizationCodeFlowUrl)
|
|
211
|
+
result.putString("protocol", value.protocol)
|
|
211
212
|
}
|
|
212
213
|
|
|
213
214
|
is HandleInvitationResponseBindingEnum.ProofRequest -> {
|
package/core-sdk.json
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"android": {
|
|
3
3
|
"debug": {
|
|
4
|
-
"url": "https://onesdk.blob.core.windows.net/core-sdk/
|
|
5
|
-
"sha1": "
|
|
4
|
+
"url": "https://onesdk.blob.core.windows.net/core-sdk/94025/android/onecore-debug.aar",
|
|
5
|
+
"sha1": "0d2d4e9430eb40602f2034873e2451423a57f85c"
|
|
6
6
|
},
|
|
7
7
|
"release": {
|
|
8
|
-
"url": "https://onesdk.blob.core.windows.net/core-sdk/
|
|
9
|
-
"sha1": "
|
|
8
|
+
"url": "https://onesdk.blob.core.windows.net/core-sdk/94025/android/onecore-release.aar",
|
|
9
|
+
"sha1": "7407d7b0b8259191166d97e05a6c125651985d8a"
|
|
10
10
|
}
|
|
11
11
|
},
|
|
12
12
|
"ios": {
|
|
13
|
-
"url": "https://onesdk.blob.core.windows.net/core-sdk/
|
|
14
|
-
"sha1": "
|
|
13
|
+
"url": "https://onesdk.blob.core.windows.net/core-sdk/94025/ios/deploy.zip",
|
|
14
|
+
"sha1": "76166ffaa91e96cfa5e1418441b830a109db46fb"
|
|
15
15
|
}
|
|
16
16
|
}
|
|
@@ -63,9 +63,8 @@ export interface ContinueIssuanceResponseBindingDto {
|
|
|
63
63
|
interactionId: string;
|
|
64
64
|
keyStorageSecurityLevels?: Array<KeyStorageSecurityBindingEnum>;
|
|
65
65
|
keyAlgorithms?: Array<string>;
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
subject: KeyGenerateCsrRequestSubjectBindingDto;
|
|
66
|
+
requiresWalletInstanceAttestation: boolean;
|
|
67
|
+
protocol: string;
|
|
69
68
|
}
|
|
70
69
|
export interface CreateCertificateAuthorityRequestBindingDto {
|
|
71
70
|
name?: string;
|
|
@@ -116,7 +115,6 @@ export interface CreateProofRequestBindingDto {
|
|
|
116
115
|
redirectUri?: string;
|
|
117
116
|
verifierKey?: string;
|
|
118
117
|
verifierCertificate?: string;
|
|
119
|
-
scanToVerify?: ScanToVerifyRequestBindingDto;
|
|
120
118
|
isoMdlEngagement?: string;
|
|
121
119
|
transport?: Array<string>;
|
|
122
120
|
profile?: string;
|
|
@@ -142,12 +140,20 @@ export interface CreateRemoteTrustEntityRequestBindingDto {
|
|
|
142
140
|
website?: string;
|
|
143
141
|
role: TrustEntityRoleBindingEnum;
|
|
144
142
|
}
|
|
143
|
+
export interface CreateSelfSignedCaRequestIssuerAlternativeNameBindingDto {
|
|
144
|
+
type: CreateSelfSignedCaRequestIssuerAlternativeNameTypeBindingEnum;
|
|
145
|
+
name: string;
|
|
146
|
+
}
|
|
145
147
|
export interface CreateSelfSignedCertificateAuthorityRequestBindingDto {
|
|
146
|
-
content:
|
|
148
|
+
content: CreateSelfSignedCertificateAuthorityRequestContentBindingDto;
|
|
147
149
|
signer: string;
|
|
148
150
|
validityStart?: string;
|
|
149
151
|
validityEnd?: string;
|
|
150
152
|
}
|
|
153
|
+
export interface CreateSelfSignedCertificateAuthorityRequestContentBindingDto {
|
|
154
|
+
subject: KeyGenerateCsrRequestSubjectBindingDto;
|
|
155
|
+
issuerAlternativeName?: CreateSelfSignedCaRequestIssuerAlternativeNameBindingDto;
|
|
156
|
+
}
|
|
151
157
|
export interface CreateTrustAnchorRequestBindingDto {
|
|
152
158
|
name: string;
|
|
153
159
|
type: string;
|
|
@@ -194,7 +200,6 @@ export interface CredentialDetailBindingDto {
|
|
|
194
200
|
claims: Array<ClaimBindingDto>;
|
|
195
201
|
redirectUri?: string;
|
|
196
202
|
role: CredentialRoleBindingDto;
|
|
197
|
-
lvvcIssuanceDate?: string;
|
|
198
203
|
suspendEndDate?: string;
|
|
199
204
|
mdocMsoValidity?: MdocMsoValidityResponseBindingDto;
|
|
200
205
|
protocol: string;
|
|
@@ -703,7 +708,6 @@ export interface ImportProofSchemaCredentialSchemaBindingDto {
|
|
|
703
708
|
export interface ImportProofSchemaInputSchemaBindingDto {
|
|
704
709
|
claimSchemas: Array<ImportProofSchemaClaimSchemaBindingDto>;
|
|
705
710
|
credentialSchema: ImportProofSchemaCredentialSchemaBindingDto;
|
|
706
|
-
validityConstraint?: number;
|
|
707
711
|
}
|
|
708
712
|
export interface ImportProofSchemaRequestBindingsDto {
|
|
709
713
|
schema: ImportProofSchemaBindingDto;
|
|
@@ -734,10 +738,6 @@ export interface InitiateIssuanceRequestBindingDto {
|
|
|
734
738
|
export interface InitiateIssuanceResponseBindingDto {
|
|
735
739
|
url: string;
|
|
736
740
|
}
|
|
737
|
-
export interface KeyGenerateCsrRequestBindingDto {
|
|
738
|
-
profile: KeyGenerateCsrRequestProfileBinding;
|
|
739
|
-
subject: KeyGenerateCsrRequestSubjectBindingDto;
|
|
740
|
-
}
|
|
741
741
|
export interface KeyGenerateCsrRequestSubjectBindingDto {
|
|
742
742
|
/** Two-letter country code. */
|
|
743
743
|
countryName?: string;
|
|
@@ -887,7 +887,6 @@ export interface PresentationDefinitionRequestedCredentialBindingDto {
|
|
|
887
887
|
fields: Array<PresentationDefinitionFieldBindingDto>;
|
|
888
888
|
applicableCredentials: Array<string>;
|
|
889
889
|
inapplicableCredentials: Array<string>;
|
|
890
|
-
validityCredentialNbf?: string;
|
|
891
890
|
multiple?: boolean;
|
|
892
891
|
}
|
|
893
892
|
export interface PresentationDefinitionRuleBindingDto {
|
|
@@ -917,7 +916,6 @@ export interface PresentationDefinitionV2CredentialDetailBindingDto {
|
|
|
917
916
|
claims: Array<PresentationDefinitionV2ClaimBindingDto>;
|
|
918
917
|
redirectUri?: string;
|
|
919
918
|
role: CredentialRoleBindingDto;
|
|
920
|
-
lvvcIssuanceDate?: string;
|
|
921
919
|
suspendEndDate?: string;
|
|
922
920
|
mdocMsoValidity?: MdocMsoValidityResponseBindingDto;
|
|
923
921
|
protocol: string;
|
|
@@ -948,16 +946,13 @@ export interface ProofInputBindingDto {
|
|
|
948
946
|
claims: Array<ProofRequestClaimBindingDto>;
|
|
949
947
|
credential?: CredentialDetailBindingDto;
|
|
950
948
|
credentialSchema: CredentialSchemaBindingDto;
|
|
951
|
-
validityConstraint?: number;
|
|
952
949
|
}
|
|
953
950
|
export interface ProofInputSchemaBindingDto {
|
|
954
951
|
claimSchemas: Array<ProofClaimSchemaBindingDto>;
|
|
955
952
|
credentialSchema: CredentialSchemaBindingDto;
|
|
956
|
-
validityConstraint?: number;
|
|
957
953
|
}
|
|
958
954
|
export interface ProofInputSchemaRequestDto {
|
|
959
955
|
credentialSchemaId: string;
|
|
960
|
-
validityConstraint?: number;
|
|
961
956
|
claimSchemas: Array<CreateProofSchemaClaimRequestDto>;
|
|
962
957
|
}
|
|
963
958
|
export interface ProofListBindingDto {
|
|
@@ -1059,11 +1054,6 @@ export interface ResolvedIdentifierTrustEntityResponseBindingDto {
|
|
|
1059
1054
|
trustEntity: GetTrustEntityResponseBindingDto;
|
|
1060
1055
|
certificateIds?: Array<string>;
|
|
1061
1056
|
}
|
|
1062
|
-
export interface ScanToVerifyRequestBindingDto {
|
|
1063
|
-
credential: string;
|
|
1064
|
-
barcode: string;
|
|
1065
|
-
barcodeType: ScanToVerifyBarcodeTypeBindingEnum;
|
|
1066
|
-
}
|
|
1067
1057
|
export interface ServiceDescriptionBindingDto {
|
|
1068
1058
|
uuid: string;
|
|
1069
1059
|
advertise: boolean;
|
|
@@ -1282,6 +1272,10 @@ export type ConnectionEventBindingEnum = {
|
|
|
1282
1272
|
type_: "DISCONNECTED";
|
|
1283
1273
|
deviceAddress: string;
|
|
1284
1274
|
};
|
|
1275
|
+
export declare enum CreateSelfSignedCaRequestIssuerAlternativeNameTypeBindingEnum {
|
|
1276
|
+
EMAIL = "EMAIL",
|
|
1277
|
+
URI = "URI"
|
|
1278
|
+
}
|
|
1285
1279
|
export declare enum CredentialListIncludeEntityTypeBindingEnum {
|
|
1286
1280
|
LAYOUT_PROPERTIES = "LAYOUT_PROPERTIES",
|
|
1287
1281
|
CREDENTIAL = "CREDENTIAL"
|
|
@@ -1364,6 +1358,7 @@ export type HandleInvitationResponseBindingEnum = {
|
|
|
1364
1358
|
* the authorization process with the authorization server.
|
|
1365
1359
|
*/
|
|
1366
1360
|
authorizationCodeFlowUrl: string;
|
|
1361
|
+
protocol: string;
|
|
1367
1362
|
} | {
|
|
1368
1363
|
type_: "PROOF_REQUEST";
|
|
1369
1364
|
/** For reference. */
|
|
@@ -1399,7 +1394,8 @@ export declare enum HistoryActionBindingEnum {
|
|
|
1399
1394
|
EXPIRED = "EXPIRED",
|
|
1400
1395
|
INTERACTION_CREATED = "INTERACTION_CREATED",
|
|
1401
1396
|
INTERACTION_ERRORED = "INTERACTION_ERRORED",
|
|
1402
|
-
INTERACTION_EXPIRED = "INTERACTION_EXPIRED"
|
|
1397
|
+
INTERACTION_EXPIRED = "INTERACTION_EXPIRED",
|
|
1398
|
+
DELIVERED = "DELIVERED"
|
|
1403
1399
|
}
|
|
1404
1400
|
export declare enum HistoryEntityTypeBindingEnum {
|
|
1405
1401
|
KEY = "KEY",
|
|
@@ -1421,8 +1417,11 @@ export declare enum HistoryEntityTypeBindingEnum {
|
|
|
1421
1417
|
STS_ROLE = "STS_ROLE",
|
|
1422
1418
|
STS_ORGANISATION = "STS_ORGANISATION",
|
|
1423
1419
|
STS_IAM_ROLE = "STS_IAM_ROLE",
|
|
1420
|
+
STS_SESSION = "STS_SESSION",
|
|
1424
1421
|
STS_TOKEN = "STS_TOKEN",
|
|
1425
|
-
SIGNATURE = "SIGNATURE"
|
|
1422
|
+
SIGNATURE = "SIGNATURE",
|
|
1423
|
+
NOTIFICATION = "NOTIFICATION",
|
|
1424
|
+
SUPERVISORY_AUTHORITY = "SUPERVISORY_AUTHORITY"
|
|
1426
1425
|
}
|
|
1427
1426
|
export type HistoryMetadataBinding = {
|
|
1428
1427
|
type_: "UNEXPORTABLE_ENTITIES";
|
|
@@ -1454,11 +1453,6 @@ export declare enum IdentifierTypeBindingEnum {
|
|
|
1454
1453
|
CERTIFICATE = "CERTIFICATE",
|
|
1455
1454
|
CERTIFICATE_AUTHORITY = "CERTIFICATE_AUTHORITY"
|
|
1456
1455
|
}
|
|
1457
|
-
export declare enum KeyGenerateCsrRequestProfileBinding {
|
|
1458
|
-
GENERIC = "GENERIC",
|
|
1459
|
-
MDL = "MDL",
|
|
1460
|
-
CA = "CA"
|
|
1461
|
-
}
|
|
1462
1456
|
export declare enum KeyRoleBindingEnum {
|
|
1463
1457
|
AUTHENTICATION = "AUTHENTICATION",
|
|
1464
1458
|
ASSERTION_METHOD = "ASSERTION_METHOD",
|
|
@@ -1556,10 +1550,6 @@ export declare enum ProofStateBindingEnum {
|
|
|
1556
1550
|
ERROR = "ERROR",
|
|
1557
1551
|
INTERACTION_EXPIRED = "INTERACTION_EXPIRED"
|
|
1558
1552
|
}
|
|
1559
|
-
export declare enum ScanToVerifyBarcodeTypeBindingEnum {
|
|
1560
|
-
MRZ = "MRZ",
|
|
1561
|
-
PDF417 = "PDF417"
|
|
1562
|
-
}
|
|
1563
1553
|
export declare enum SearchTypeBindingEnum {
|
|
1564
1554
|
CLAIM_NAME = "CLAIM_NAME",
|
|
1565
1555
|
CLAIM_VALUE = "CLAIM_VALUE",
|
|
@@ -45,6 +45,11 @@ export var ClientIdSchemeBindingEnum;
|
|
|
45
45
|
ClientIdSchemeBindingEnum["DID"] = "DID";
|
|
46
46
|
ClientIdSchemeBindingEnum["X509_SAN_DNS"] = "X509_SAN_DNS";
|
|
47
47
|
})(ClientIdSchemeBindingEnum || (ClientIdSchemeBindingEnum = {}));
|
|
48
|
+
export var CreateSelfSignedCaRequestIssuerAlternativeNameTypeBindingEnum;
|
|
49
|
+
(function (CreateSelfSignedCaRequestIssuerAlternativeNameTypeBindingEnum) {
|
|
50
|
+
CreateSelfSignedCaRequestIssuerAlternativeNameTypeBindingEnum["EMAIL"] = "EMAIL";
|
|
51
|
+
CreateSelfSignedCaRequestIssuerAlternativeNameTypeBindingEnum["URI"] = "URI";
|
|
52
|
+
})(CreateSelfSignedCaRequestIssuerAlternativeNameTypeBindingEnum || (CreateSelfSignedCaRequestIssuerAlternativeNameTypeBindingEnum = {}));
|
|
48
53
|
export var CredentialListIncludeEntityTypeBindingEnum;
|
|
49
54
|
(function (CredentialListIncludeEntityTypeBindingEnum) {
|
|
50
55
|
CredentialListIncludeEntityTypeBindingEnum["LAYOUT_PROPERTIES"] = "LAYOUT_PROPERTIES";
|
|
@@ -145,6 +150,7 @@ export var HistoryActionBindingEnum;
|
|
|
145
150
|
HistoryActionBindingEnum["INTERACTION_CREATED"] = "INTERACTION_CREATED";
|
|
146
151
|
HistoryActionBindingEnum["INTERACTION_ERRORED"] = "INTERACTION_ERRORED";
|
|
147
152
|
HistoryActionBindingEnum["INTERACTION_EXPIRED"] = "INTERACTION_EXPIRED";
|
|
153
|
+
HistoryActionBindingEnum["DELIVERED"] = "DELIVERED";
|
|
148
154
|
})(HistoryActionBindingEnum || (HistoryActionBindingEnum = {}));
|
|
149
155
|
export var HistoryEntityTypeBindingEnum;
|
|
150
156
|
(function (HistoryEntityTypeBindingEnum) {
|
|
@@ -167,8 +173,11 @@ export var HistoryEntityTypeBindingEnum;
|
|
|
167
173
|
HistoryEntityTypeBindingEnum["STS_ROLE"] = "STS_ROLE";
|
|
168
174
|
HistoryEntityTypeBindingEnum["STS_ORGANISATION"] = "STS_ORGANISATION";
|
|
169
175
|
HistoryEntityTypeBindingEnum["STS_IAM_ROLE"] = "STS_IAM_ROLE";
|
|
176
|
+
HistoryEntityTypeBindingEnum["STS_SESSION"] = "STS_SESSION";
|
|
170
177
|
HistoryEntityTypeBindingEnum["STS_TOKEN"] = "STS_TOKEN";
|
|
171
178
|
HistoryEntityTypeBindingEnum["SIGNATURE"] = "SIGNATURE";
|
|
179
|
+
HistoryEntityTypeBindingEnum["NOTIFICATION"] = "NOTIFICATION";
|
|
180
|
+
HistoryEntityTypeBindingEnum["SUPERVISORY_AUTHORITY"] = "SUPERVISORY_AUTHORITY";
|
|
172
181
|
})(HistoryEntityTypeBindingEnum || (HistoryEntityTypeBindingEnum = {}));
|
|
173
182
|
export var HistorySearchEnumBindingEnum;
|
|
174
183
|
(function (HistorySearchEnumBindingEnum) {
|
|
@@ -193,12 +202,6 @@ export var IdentifierTypeBindingEnum;
|
|
|
193
202
|
IdentifierTypeBindingEnum["CERTIFICATE"] = "CERTIFICATE";
|
|
194
203
|
IdentifierTypeBindingEnum["CERTIFICATE_AUTHORITY"] = "CERTIFICATE_AUTHORITY";
|
|
195
204
|
})(IdentifierTypeBindingEnum || (IdentifierTypeBindingEnum = {}));
|
|
196
|
-
export var KeyGenerateCsrRequestProfileBinding;
|
|
197
|
-
(function (KeyGenerateCsrRequestProfileBinding) {
|
|
198
|
-
KeyGenerateCsrRequestProfileBinding["GENERIC"] = "GENERIC";
|
|
199
|
-
KeyGenerateCsrRequestProfileBinding["MDL"] = "MDL";
|
|
200
|
-
KeyGenerateCsrRequestProfileBinding["CA"] = "CA";
|
|
201
|
-
})(KeyGenerateCsrRequestProfileBinding || (KeyGenerateCsrRequestProfileBinding = {}));
|
|
202
205
|
export var KeyRoleBindingEnum;
|
|
203
206
|
(function (KeyRoleBindingEnum) {
|
|
204
207
|
KeyRoleBindingEnum["AUTHENTICATION"] = "AUTHENTICATION";
|
|
@@ -254,11 +257,6 @@ export var ProofStateBindingEnum;
|
|
|
254
257
|
ProofStateBindingEnum["ERROR"] = "ERROR";
|
|
255
258
|
ProofStateBindingEnum["INTERACTION_EXPIRED"] = "INTERACTION_EXPIRED";
|
|
256
259
|
})(ProofStateBindingEnum || (ProofStateBindingEnum = {}));
|
|
257
|
-
export var ScanToVerifyBarcodeTypeBindingEnum;
|
|
258
|
-
(function (ScanToVerifyBarcodeTypeBindingEnum) {
|
|
259
|
-
ScanToVerifyBarcodeTypeBindingEnum["MRZ"] = "MRZ";
|
|
260
|
-
ScanToVerifyBarcodeTypeBindingEnum["PDF417"] = "PDF417";
|
|
261
|
-
})(ScanToVerifyBarcodeTypeBindingEnum || (ScanToVerifyBarcodeTypeBindingEnum = {}));
|
|
262
260
|
export var SearchTypeBindingEnum;
|
|
263
261
|
(function (SearchTypeBindingEnum) {
|
|
264
262
|
SearchTypeBindingEnum["CLAIM_NAME"] = "CLAIM_NAME";
|
package/ios/Serialize.swift
CHANGED
|
@@ -140,11 +140,12 @@ private func serialize(invitationResponse: HandleInvitationResponseBindingEnum)
|
|
|
140
140
|
"protocol": `protocol`
|
|
141
141
|
];
|
|
142
142
|
|
|
143
|
-
case let .authorizationCodeFlow(interactionId, authorizationCodeFlowUrl):
|
|
143
|
+
case let .authorizationCodeFlow(interactionId, authorizationCodeFlowUrl, `protocol`):
|
|
144
144
|
return [
|
|
145
145
|
"type_": "AUTHORIZATION_CODE_FLOW",
|
|
146
146
|
"interactionId": interactionId,
|
|
147
|
-
"authorizationCodeFlowUrl": authorizationCodeFlowUrl
|
|
147
|
+
"authorizationCodeFlowUrl": authorizationCodeFlowUrl,
|
|
148
|
+
"protocol": `protocol`
|
|
148
149
|
];
|
|
149
150
|
}
|
|
150
151
|
}
|