@procivis/react-native-one-core 1.88624.1 → 1.90342.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
- #### W3C VC
95
-
96
- - [W3C Verifiable Credentials Data Model 2.0][vcdm] in the following variations:
94
+ #### IETF SD-JWT VC
97
95
 
98
- | Securing mechanism | Supported representations | Supported proof/signature types |
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
- \* CRYSTALS-DILITHIUM is a post-quantum resistant signature scheme, selected by NIST for [Post-Quantum Cryptography Standardization][pqc].
104
- Support for the recently published [FIPS-204][fips] is planned for the near future.
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
- #### IETF SD-JWT VC
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
- - [IETF SD-JWT-based Verifiable Credentials][sdjwtvc]:
110
+ #### W3C VC
116
111
 
117
- | Standard | Supported representations | Supported proof/signature types |
118
- | -------------- | ------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- |
119
- | IETF SD-JWT VC | SD-JWT | <ul><li>JOSE / ECDSA [ES256][es2]</li><li>JOSE / EdDSA [Ed25519][ed255]</li><li>JOSE / CRYSTALS-DILITHIUM 3 [CRYDI3][crydi3]\*</li></ul> |
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
- \* CRYSTALS-DILITHIUM is a post-quantum resistant signature scheme, selected by NIST for [Post-Quantum Cryptography Standardization][pqc].
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
- [crydi3]: https://datatracker.ietf.org/doc/html/draft-ietf-cose-dilithium-01
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/88624/android/onecore-debug.aar",
5
- "sha1": "9746aa781a18c0daf111655f1721db1781484aa0"
4
+ "url": "https://onesdk.blob.core.windows.net/core-sdk/90342/android/onecore-debug.aar",
5
+ "sha1": "95f2df40744b1e51acf0060d0acdd9b127277b6a"
6
6
  },
7
7
  "release": {
8
- "url": "https://onesdk.blob.core.windows.net/core-sdk/88624/android/onecore-release.aar",
9
- "sha1": "de6810e3813b4702c2fab18b99446f1b79774877"
8
+ "url": "https://onesdk.blob.core.windows.net/core-sdk/90342/android/onecore-release.aar",
9
+ "sha1": "f7370a06f6a05a5df7a6061e9d8f5cb234ff71b9"
10
10
  }
11
11
  },
12
12
  "ios": {
13
- "url": "https://onesdk.blob.core.windows.net/core-sdk/88624/ios/deploy.zip",
14
- "sha1": "59126be3ab846ca2ad5cb86ecc43c04f01bfab91"
13
+ "url": "https://onesdk.blob.core.windows.net/core-sdk/90342/ios/deploy.zip",
14
+ "sha1": "d75fa86170b7a5df1ff230d56ba600d3a08e0844"
15
15
  }
16
16
  }
@@ -63,6 +63,8 @@ export interface ContinueIssuanceResponseBindingDto {
63
63
  interactionId: string;
64
64
  keyStorageSecurityLevels?: Array<KeyStorageSecurityBindingEnum>;
65
65
  keyAlgorithms?: Array<string>;
66
+ requiresWalletInstanceAttestation: boolean;
67
+ protocol: string;
66
68
  }
67
69
  export interface CreateCaCsrRequestBindingDto {
68
70
  subject: KeyGenerateCsrRequestSubjectBindingDto;
@@ -116,7 +118,6 @@ export interface CreateProofRequestBindingDto {
116
118
  redirectUri?: string;
117
119
  verifierKey?: string;
118
120
  verifierCertificate?: string;
119
- scanToVerify?: ScanToVerifyRequestBindingDto;
120
121
  isoMdlEngagement?: string;
121
122
  transport?: Array<string>;
122
123
  profile?: string;
@@ -194,7 +195,6 @@ export interface CredentialDetailBindingDto {
194
195
  claims: Array<ClaimBindingDto>;
195
196
  redirectUri?: string;
196
197
  role: CredentialRoleBindingDto;
197
- lvvcIssuanceDate?: string;
198
198
  suspendEndDate?: string;
199
199
  mdocMsoValidity?: MdocMsoValidityResponseBindingDto;
200
200
  protocol: string;
@@ -703,7 +703,6 @@ export interface ImportProofSchemaCredentialSchemaBindingDto {
703
703
  export interface ImportProofSchemaInputSchemaBindingDto {
704
704
  claimSchemas: Array<ImportProofSchemaClaimSchemaBindingDto>;
705
705
  credentialSchema: ImportProofSchemaCredentialSchemaBindingDto;
706
- validityConstraint?: number;
707
706
  }
708
707
  export interface ImportProofSchemaRequestBindingsDto {
709
708
  schema: ImportProofSchemaBindingDto;
@@ -887,7 +886,6 @@ export interface PresentationDefinitionRequestedCredentialBindingDto {
887
886
  fields: Array<PresentationDefinitionFieldBindingDto>;
888
887
  applicableCredentials: Array<string>;
889
888
  inapplicableCredentials: Array<string>;
890
- validityCredentialNbf?: string;
891
889
  multiple?: boolean;
892
890
  }
893
891
  export interface PresentationDefinitionRuleBindingDto {
@@ -917,7 +915,6 @@ export interface PresentationDefinitionV2CredentialDetailBindingDto {
917
915
  claims: Array<PresentationDefinitionV2ClaimBindingDto>;
918
916
  redirectUri?: string;
919
917
  role: CredentialRoleBindingDto;
920
- lvvcIssuanceDate?: string;
921
918
  suspendEndDate?: string;
922
919
  mdocMsoValidity?: MdocMsoValidityResponseBindingDto;
923
920
  protocol: string;
@@ -948,16 +945,13 @@ export interface ProofInputBindingDto {
948
945
  claims: Array<ProofRequestClaimBindingDto>;
949
946
  credential?: CredentialDetailBindingDto;
950
947
  credentialSchema: CredentialSchemaBindingDto;
951
- validityConstraint?: number;
952
948
  }
953
949
  export interface ProofInputSchemaBindingDto {
954
950
  claimSchemas: Array<ProofClaimSchemaBindingDto>;
955
951
  credentialSchema: CredentialSchemaBindingDto;
956
- validityConstraint?: number;
957
952
  }
958
953
  export interface ProofInputSchemaRequestDto {
959
954
  credentialSchemaId: string;
960
- validityConstraint?: number;
961
955
  claimSchemas: Array<CreateProofSchemaClaimRequestDto>;
962
956
  }
963
957
  export interface ProofListBindingDto {
@@ -1059,11 +1053,6 @@ export interface ResolvedIdentifierTrustEntityResponseBindingDto {
1059
1053
  trustEntity: GetTrustEntityResponseBindingDto;
1060
1054
  certificateIds?: Array<string>;
1061
1055
  }
1062
- export interface ScanToVerifyRequestBindingDto {
1063
- credential: string;
1064
- barcode: string;
1065
- barcodeType: ScanToVerifyBarcodeTypeBindingEnum;
1066
- }
1067
1056
  export interface ServiceDescriptionBindingDto {
1068
1057
  uuid: string;
1069
1058
  advertise: boolean;
@@ -1364,6 +1353,7 @@ export type HandleInvitationResponseBindingEnum = {
1364
1353
  * the authorization process with the authorization server.
1365
1354
  */
1366
1355
  authorizationCodeFlowUrl: string;
1356
+ protocol: string;
1367
1357
  } | {
1368
1358
  type_: "PROOF_REQUEST";
1369
1359
  /** For reference. */
@@ -1399,7 +1389,8 @@ export declare enum HistoryActionBindingEnum {
1399
1389
  EXPIRED = "EXPIRED",
1400
1390
  INTERACTION_CREATED = "INTERACTION_CREATED",
1401
1391
  INTERACTION_ERRORED = "INTERACTION_ERRORED",
1402
- INTERACTION_EXPIRED = "INTERACTION_EXPIRED"
1392
+ INTERACTION_EXPIRED = "INTERACTION_EXPIRED",
1393
+ DELIVERED = "DELIVERED"
1403
1394
  }
1404
1395
  export declare enum HistoryEntityTypeBindingEnum {
1405
1396
  KEY = "KEY",
@@ -1421,8 +1412,11 @@ export declare enum HistoryEntityTypeBindingEnum {
1421
1412
  STS_ROLE = "STS_ROLE",
1422
1413
  STS_ORGANISATION = "STS_ORGANISATION",
1423
1414
  STS_IAM_ROLE = "STS_IAM_ROLE",
1415
+ STS_SESSION = "STS_SESSION",
1424
1416
  STS_TOKEN = "STS_TOKEN",
1425
- SIGNATURE = "SIGNATURE"
1417
+ SIGNATURE = "SIGNATURE",
1418
+ NOTIFICATION = "NOTIFICATION",
1419
+ SUPERVISORY_AUTHORITY = "SUPERVISORY_AUTHORITY"
1426
1420
  }
1427
1421
  export type HistoryMetadataBinding = {
1428
1422
  type_: "UNEXPORTABLE_ENTITIES";
@@ -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",
@@ -145,6 +145,7 @@ export var HistoryActionBindingEnum;
145
145
  HistoryActionBindingEnum["INTERACTION_CREATED"] = "INTERACTION_CREATED";
146
146
  HistoryActionBindingEnum["INTERACTION_ERRORED"] = "INTERACTION_ERRORED";
147
147
  HistoryActionBindingEnum["INTERACTION_EXPIRED"] = "INTERACTION_EXPIRED";
148
+ HistoryActionBindingEnum["DELIVERED"] = "DELIVERED";
148
149
  })(HistoryActionBindingEnum || (HistoryActionBindingEnum = {}));
149
150
  export var HistoryEntityTypeBindingEnum;
150
151
  (function (HistoryEntityTypeBindingEnum) {
@@ -167,8 +168,11 @@ export var HistoryEntityTypeBindingEnum;
167
168
  HistoryEntityTypeBindingEnum["STS_ROLE"] = "STS_ROLE";
168
169
  HistoryEntityTypeBindingEnum["STS_ORGANISATION"] = "STS_ORGANISATION";
169
170
  HistoryEntityTypeBindingEnum["STS_IAM_ROLE"] = "STS_IAM_ROLE";
171
+ HistoryEntityTypeBindingEnum["STS_SESSION"] = "STS_SESSION";
170
172
  HistoryEntityTypeBindingEnum["STS_TOKEN"] = "STS_TOKEN";
171
173
  HistoryEntityTypeBindingEnum["SIGNATURE"] = "SIGNATURE";
174
+ HistoryEntityTypeBindingEnum["NOTIFICATION"] = "NOTIFICATION";
175
+ HistoryEntityTypeBindingEnum["SUPERVISORY_AUTHORITY"] = "SUPERVISORY_AUTHORITY";
172
176
  })(HistoryEntityTypeBindingEnum || (HistoryEntityTypeBindingEnum = {}));
173
177
  export var HistorySearchEnumBindingEnum;
174
178
  (function (HistorySearchEnumBindingEnum) {
@@ -254,11 +258,6 @@ export var ProofStateBindingEnum;
254
258
  ProofStateBindingEnum["ERROR"] = "ERROR";
255
259
  ProofStateBindingEnum["INTERACTION_EXPIRED"] = "INTERACTION_EXPIRED";
256
260
  })(ProofStateBindingEnum || (ProofStateBindingEnum = {}));
257
- export var ScanToVerifyBarcodeTypeBindingEnum;
258
- (function (ScanToVerifyBarcodeTypeBindingEnum) {
259
- ScanToVerifyBarcodeTypeBindingEnum["MRZ"] = "MRZ";
260
- ScanToVerifyBarcodeTypeBindingEnum["PDF417"] = "PDF417";
261
- })(ScanToVerifyBarcodeTypeBindingEnum || (ScanToVerifyBarcodeTypeBindingEnum = {}));
262
261
  export var SearchTypeBindingEnum;
263
262
  (function (SearchTypeBindingEnum) {
264
263
  SearchTypeBindingEnum["CLAIM_NAME"] = "CLAIM_NAME";
@@ -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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@procivis/react-native-one-core",
3
- "version": "1.88624.1",
3
+ "version": "1.90342.0",
4
4
  "author": "Procivis AG (https://procivis.ch)",
5
5
  "license": "Apache-2.0",
6
6
  "description": "ONE core bindings for React Native",