Skip to content

Commit d859d78

Browse files
authored
Merge pull request #100 from niscy-eudiw/feature/encryption-rename
Typo fix
2 parents e8af7e7 + 8970c03 commit d859d78

File tree

9 files changed

+27
-27
lines changed

9 files changed

+27
-27
lines changed

Sources/WalletEntities/JARConfiguration.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public struct JARConfiguration {
4040
supportedRequestUriMethods: .encryptionOption
4141
)
4242

43-
public static let noEncrytpionOption: JARConfiguration = .init(
43+
public static let noEncryptionOption: JARConfiguration = .init(
4444
supportedAlgorithms: [
4545
JWSAlgorithm(
4646
.ES256

Sources/WalletEntities/SiopOpenId4VPConfiguration.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public struct SiopOpenId4VPConfiguration {
4242
supportedClientIdSchemes: [SupportedClientIdScheme],
4343
vpFormatsSupported: [ClaimFormat],
4444
knownPresentationDefinitionsPerScope: [String: PresentationDefinition] = [:],
45-
jarConfiguration: JARConfiguration = .noEncrytpionOption,
45+
jarConfiguration: JARConfiguration = .noEncryptionOption,
4646
vpConfiguration: VPConfiguration = VPConfiguration.default(),
4747
errorDispatchPolicy: ErrorDispatchPolicy = .onlyAuthenticatedClients,
4848
session: Networking = Self.walletSession
@@ -74,7 +74,7 @@ public struct SiopOpenId4VPConfiguration {
7474
supportedClientIdSchemes = []
7575
vpFormatsSupported = []
7676
knownPresentationDefinitionsPerScope = [:]
77-
jarConfiguration = .noEncrytpionOption
77+
jarConfiguration = .noEncryptionOption
7878
vpConfiguration = VPConfiguration.default()
7979
errorDispatchPolicy = .onlyAuthenticatedClients
8080
session = URLSession.shared

Tests/DirectPost/DirectPostJWTTests+Certification.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ final class DirectPostJWTCertificationAndConformanceTests: DiXCTest {
6868
.x509SanDns(trust: chainVerifier)
6969
],
7070
vpFormatsSupported: [],
71-
jarConfiguration: .noEncrytpionOption,
71+
jarConfiguration: .noEncryptionOption,
7272
vpConfiguration: VPConfiguration.default()
7373
)
7474

@@ -189,7 +189,7 @@ final class DirectPostJWTCertificationAndConformanceTests: DiXCTest {
189189
.x509SanDns(trust: chainVerifier)
190190
],
191191
vpFormatsSupported: [],
192-
jarConfiguration: .noEncrytpionOption,
192+
jarConfiguration: .noEncryptionOption,
193193
vpConfiguration: VPConfiguration.default()
194194
)
195195

@@ -309,7 +309,7 @@ final class DirectPostJWTCertificationAndConformanceTests: DiXCTest {
309309
.x509SanDns(trust: chainVerifier)
310310
],
311311
vpFormatsSupported: [],
312-
jarConfiguration: .noEncrytpionOption,
312+
jarConfiguration: .noEncryptionOption,
313313
vpConfiguration: VPConfiguration.default()
314314
)
315315

Tests/DirectPost/DirectPostJWTTests.swift

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ final class DirectPostJWTTests: DiXCTest {
5757
])
5858
],
5959
vpFormatsSupported: [],
60-
jarConfiguration: .noEncrytpionOption,
60+
jarConfiguration: .noEncryptionOption,
6161
vpConfiguration: VPConfiguration.default()
6262
)
6363

@@ -154,7 +154,7 @@ final class DirectPostJWTTests: DiXCTest {
154154
.redirectUri(clientId: URL(string: TestsConstants.testClientId)!)
155155
],
156156
vpFormatsSupported: [],
157-
jarConfiguration: .noEncrytpionOption,
157+
jarConfiguration: .noEncryptionOption,
158158
vpConfiguration: VPConfiguration.default()
159159
)
160160

@@ -258,7 +258,7 @@ final class DirectPostJWTTests: DiXCTest {
258258
])
259259
],
260260
vpFormatsSupported: [],
261-
jarConfiguration: .noEncrytpionOption,
261+
jarConfiguration: .noEncryptionOption,
262262
vpConfiguration: VPConfiguration.default()
263263
)
264264

@@ -394,7 +394,7 @@ final class DirectPostJWTTests: DiXCTest {
394394
signingKeySet: TestsConstants.webKeySet,
395395
supportedClientIdSchemes: [],
396396
vpFormatsSupported: [],
397-
jarConfiguration: .noEncrytpionOption,
397+
jarConfiguration: .noEncryptionOption,
398398
vpConfiguration: VPConfiguration.default()
399399
)
400400

@@ -460,7 +460,7 @@ final class DirectPostJWTTests: DiXCTest {
460460
signingKeySet: keySet,
461461
supportedClientIdSchemes: [],
462462
vpFormatsSupported: [],
463-
jarConfiguration: .noEncrytpionOption,
463+
jarConfiguration: .noEncryptionOption,
464464
vpConfiguration: VPConfiguration.default()
465465
)
466466

@@ -554,7 +554,7 @@ final class DirectPostJWTTests: DiXCTest {
554554
])
555555
],
556556
vpFormatsSupported: [],
557-
jarConfiguration: .noEncrytpionOption,
557+
jarConfiguration: .noEncryptionOption,
558558
vpConfiguration: VPConfiguration.default()
559559
)
560560

@@ -668,7 +668,7 @@ final class DirectPostJWTTests: DiXCTest {
668668
.x509SanDns(trust: chainVerifier)
669669
],
670670
vpFormatsSupported: [],
671-
jarConfiguration: .noEncrytpionOption,
671+
jarConfiguration: .noEncryptionOption,
672672
vpConfiguration: VPConfiguration.default()
673673
)
674674

@@ -903,7 +903,7 @@ final class DirectPostJWTTests: DiXCTest {
903903
.x509SanDns(trust: chainVerifier)
904904
],
905905
vpFormatsSupported: [],
906-
jarConfiguration: .noEncrytpionOption,
906+
jarConfiguration: .noEncryptionOption,
907907
vpConfiguration: VPConfiguration.default()
908908
)
909909

@@ -1030,7 +1030,7 @@ final class DirectPostJWTTests: DiXCTest {
10301030
.x509SanDns(trust: chainVerifier)
10311031
],
10321032
vpFormatsSupported: [],
1033-
jarConfiguration: .noEncrytpionOption,
1033+
jarConfiguration: .noEncryptionOption,
10341034
vpConfiguration: VPConfiguration.default()
10351035
)
10361036

@@ -1165,7 +1165,7 @@ final class DirectPostJWTTests: DiXCTest {
11651165
.x509SanDns(trust: chainVerifier)
11661166
],
11671167
vpFormatsSupported: [],
1168-
jarConfiguration: .noEncrytpionOption,
1168+
jarConfiguration: .noEncryptionOption,
11691169
vpConfiguration: VPConfiguration.default()
11701170
)
11711171

@@ -1278,7 +1278,7 @@ final class DirectPostJWTTests: DiXCTest {
12781278
.x509SanDns(trust: chainVerifier)
12791279
],
12801280
vpFormatsSupported: [],
1281-
jarConfiguration: .noEncrytpionOption,
1281+
jarConfiguration: .noEncryptionOption,
12821282
vpConfiguration: VPConfiguration.default()
12831283
)
12841284

@@ -1485,7 +1485,7 @@ final class DirectPostJWTTests: DiXCTest {
14851485
.x509SanDns(trust: chainVerifier)
14861486
],
14871487
vpFormatsSupported: [],
1488-
jarConfiguration: .noEncrytpionOption,
1488+
jarConfiguration: .noEncryptionOption,
14891489
vpConfiguration: VPConfiguration.default()
14901490
)
14911491

Tests/Entities/EnititiesTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ class ResolvedSiopOpenId4VPRequestDataTests: DiXCTest {
8080
supportedClientIdSchemes: supportedClientIdSchemes,
8181
vpFormatsSupported: vpFormatsSupported,
8282
knownPresentationDefinitionsPerScope: knownPresentationDefinitionsPerScope,
83-
jarConfiguration: .noEncrytpionOption,
83+
jarConfiguration: .noEncryptionOption,
8484
vpConfiguration: VPConfiguration.default(),
8585
session: SiopOpenId4VPConfiguration.walletSession
8686
)

Tests/SiopOpenID4VPTests.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ final class SiopOpenID4VPTests: DiXCTest {
7373
])
7474
],
7575
vpFormatsSupported: [],
76-
jarConfiguration: .noEncrytpionOption,
76+
jarConfiguration: .noEncryptionOption,
7777
vpConfiguration: VPConfiguration.default()
7878
)
7979
}
@@ -130,7 +130,7 @@ final class SiopOpenID4VPTests: DiXCTest {
130130
)
131131
])],
132132
vpFormatsSupported: [],
133-
jarConfiguration: .noEncrytpionOption,
133+
jarConfiguration: .noEncryptionOption,
134134
vpConfiguration: VPConfiguration.default()
135135
)
136136
}

Tests/Utilities/ResponseSignerEncryptorTests.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ final class ResponseSignerEncryptorTests: DiXCTest {
5656
signingKeySet: keySet,
5757
supportedClientIdSchemes: [],
5858
vpFormatsSupported: [],
59-
jarConfiguration: .noEncrytpionOption,
59+
jarConfiguration: .noEncryptionOption,
6060
vpConfiguration: VPConfiguration.default()
6161
)
6262

@@ -154,7 +154,7 @@ final class ResponseSignerEncryptorTests: DiXCTest {
154154
signingKeySet: keySet,
155155
supportedClientIdSchemes: [],
156156
vpFormatsSupported: [],
157-
jarConfiguration: .noEncrytpionOption,
157+
jarConfiguration: .noEncryptionOption,
158158
vpConfiguration: VPConfiguration.default()
159159
)
160160

@@ -277,7 +277,7 @@ final class ResponseSignerEncryptorTests: DiXCTest {
277277
signingKeySet: keySet,
278278
supportedClientIdSchemes: [],
279279
vpFormatsSupported: [],
280-
jarConfiguration: .noEncrytpionOption,
280+
jarConfiguration: .noEncryptionOption,
281281
vpConfiguration: VPConfiguration.default()
282282
)
283283

Tests/Validators/JarJwtSignatureValidatorTests.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ private extension JarJwtSignatureValidatorTests {
184184
)
185185
])],
186186
vpFormatsSupported: [],
187-
jarConfiguration: .noEncrytpionOption,
187+
jarConfiguration: .noEncryptionOption,
188188
vpConfiguration: VPConfiguration.default()
189189
)
190190
}
@@ -226,7 +226,7 @@ private extension JarJwtSignatureValidatorTests {
226226
)
227227
])],
228228
vpFormatsSupported: [],
229-
jarConfiguration: .noEncrytpionOption,
229+
jarConfiguration: .noEncryptionOption,
230230
vpConfiguration: VPConfiguration.default()
231231
)
232232
}

Tests/VerifierAttestation/VerifierAttestationTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ private extension VerifierAttestaionTestsTests {
143143
)
144144
],
145145
vpFormatsSupported: [],
146-
jarConfiguration: .noEncrytpionOption,
146+
jarConfiguration: .noEncryptionOption,
147147
vpConfiguration: VPConfiguration.default()
148148
)
149149
}

0 commit comments

Comments
 (0)