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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
// swift-interface-format-version: 1.0
// swift-compiler-version: Apple Swift version 5.8.1 (swiftlang-5.8.0.124.5 clang-1403.0.22.11.100)
// swift-module-flags: -target arm64-apple-ios11.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name MyIdSDK
// swift-module-flags-ignorable: -enable-bare-slash-regex
import AVFoundation
import CoreImage.CIFilterBuiltins
import Combine
import CommonCrypto
import Compression
import CoreImage
import CoreVideo
import CryptoKit
import Foundation
import LocalAuthentication
@_exported import MyIdSDK
import Security
import Swift
import UIKit
import Vision
import _Concurrency
import _StringProcessing
public protocol DataConvertible {
init?(_ data: Foundation.Data)
func data() -> Foundation.Data
}
public struct Payload : MyIdSDK.DataConvertible {
public init(_ payload: Foundation.Data)
public func data() -> Foundation.Data
}
public protocol Message {
var data: Foundation.Data { get }
var base64String: Swift.String { get }
init(data: Foundation.Data)
init(base64String: Swift.String) throws
}
extension MyIdSDK.Message {
public var base64String: Swift.String {
get
}
}
extension Foundation.Data : MyIdSDK.ExpressibleAsRSAPublicKeyComponents {
public static func representing(rsaPublicKeyComponents components: MyIdSDK.RSAPublicKeyComponents) throws -> Foundation.Data
public func rsaPublicKeyComponents() throws -> MyIdSDK.RSAPublicKeyComponents
}
public class RSASignature {
public enum DigestType {
case sha1
case sha224
case sha256
case sha384
case sha512
public static func == (a: MyIdSDK.RSASignature.DigestType, b: MyIdSDK.RSASignature.DigestType) -> Swift.Bool
public func hash(into hasher: inout Swift.Hasher)
public var hashValue: Swift.Int {
get
}
}
final public let data: Foundation.Data
public init(data: Foundation.Data)
convenience public init(base64Encoded base64String: Swift.String) throws
public var base64String: Swift.String {
get
}
@objc deinit
}
public enum JOSESwiftError : Swift.Error {
case signingFailed(description: Swift.String)
case verifyingFailed(description: Swift.String)
case signatureInvalid
case encryptingFailed(description: Swift.String)
case decryptingFailed(description: Swift.String)
case wrongDataEncoding(data: Foundation.Data)
case invalidCompactSerializationComponentCount(count: Swift.Int)
case componentNotValidBase64URL(component: Swift.String)
case componentCouldNotBeInitializedFromData(data: Foundation.Data)
case couldNotConstructJWK
case modulusNotBase64URLUIntEncoded
case exponentNotBase64URLUIntEncoded
case privateExponentNotBase64URLUIntEncoded
case symmetricKeyNotBase64URLEncoded
case xNotBase64URLUIntEncoded
case yNotBase64URLUIntEncoded
case privateKeyNotBase64URLUIntEncoded
case invalidCurveType
case compressedCurvePointsUnsupported
case invalidCurvePointOctetLength
case localAuthenticationFailed(errorCode: Swift.Int)
case compressionFailed
case decompressionFailed
case compressionAlgorithmNotSupported
case rawDataMustBeGreaterThanZero
case compressedDataMustBeGreaterThanZero
case thumbprintSerialization
}
extension Foundation.Data : MyIdSDK.ExpressibleAsSymmetricKeyComponents {
public static func representing(symmetricKeyComponents components: MyIdSDK.SymmetricKeyComponents) throws -> Foundation.Data
public func symmetricKeyComponents() throws -> MyIdSDK.SymmetricKeyComponents
}
public typealias SymmetricKeyComponents = (Foundation.Data)
public protocol ExpressibleAsSymmetricKeyComponents {
static func representing(symmetricKeyComponents components: MyIdSDK.SymmetricKeyComponents) throws -> Self
func symmetricKeyComponents() throws -> MyIdSDK.SymmetricKeyComponents
}
public struct SymmetricKey : MyIdSDK.JWK {
public let keyType: MyIdSDK.JWKKeyType
public let parameters: [Swift.String : Swift.String]
public var requiredParameters: [Swift.String : Swift.String] {
get
}
public let key: Swift.String
public init(key: Foundation.Data, additionalParameters parameters: [Swift.String : Swift.String] = [:])
public init(key: any MyIdSDK.ExpressibleAsSymmetricKeyComponents, additionalParameters parameters: [Swift.String : Swift.String] = [:]) throws
public init(data: Foundation.Data) throws
public func converted<T>(to type: T.Type) throws -> T where T : MyIdSDK.ExpressibleAsSymmetricKeyComponents
@available(iOS 11.0, *)
public func withThumbprintAsKeyId(algorithm: MyIdSDK.JWKThumbprintAlgorithm = .SHA256) throws -> MyIdSDK.SymmetricKey
}
@_inheritsConvenienceInitializers @objc public class MyIdGenerator : ObjectiveC.NSObject {
@objc public class func hash(payload: Swift.String, clientHash: Swift.String, clientHashId: Swift.String) -> Swift.String?
@objc public class func device() -> Swift.String
@objc public class func deviceModel() -> Swift.String?
@objc public class func deviceName() -> Swift.String?
@objc public class func systemName() -> Swift.String?
@objc public class func systemVersion() -> Swift.String?
@objc public class func isPhone() -> Swift.Bool
@objc public class func isPad() -> Swift.Bool
@objc public class func isSimulator() -> Swift.Bool
@objc override dynamic public init()
@objc deinit
}
@objc public enum MyIdBuildMode : Swift.Int {
case DEBUG = 0
case PRODUCTION
public init?(rawValue: Swift.Int)
public typealias RawValue = Swift.Int
public var rawValue: Swift.Int {
get
}
}
public enum SecureRandomError : Swift.Error {
case failed(status: Darwin.OSStatus)
case countMustBeGreaterThanZero
}
public struct SecureRandom {
public static func generate(count: Swift.Int) throws -> Foundation.Data
}
public enum JWKParameter : Swift.String, Swift.CodingKey {
case keyType
case keyUse
case keyOperations
case algorithm
case keyIdentifier
case X509URL
case X509CertificateChain
case X509CertificateSHA1Thumbprint
case X509CertificateSHA256Thumbprint
public init?(rawValue: Swift.String)
public init?(stringValue: Swift.String)
public init?(intValue: Swift.Int)
public typealias RawValue = Swift.String
public var intValue: Swift.Int? {
get
}
public var rawValue: Swift.String {
get
}
public var stringValue: Swift.String {
get
}
}
public enum RSAParameter : Swift.String, Swift.CodingKey {
case modulus
case exponent
case privateExponent
public init?(rawValue: Swift.String)
public init?(stringValue: Swift.String)
public init?(intValue: Swift.Int)
public typealias RawValue = Swift.String
public var intValue: Swift.Int? {
get
}
public var rawValue: Swift.String {
get
}
public var stringValue: Swift.String {
get
}
}
public enum SymmetricKeyParameter : Swift.String, Swift.CodingKey {
case key
public init?(rawValue: Swift.String)
public init?(stringValue: Swift.String)
public init?(intValue: Swift.Int)
public typealias RawValue = Swift.String
public var intValue: Swift.Int? {
get
}
public var rawValue: Swift.String {
get
}
public var stringValue: Swift.String {
get
}
}
public enum ECParameter : Swift.String, Swift.CodingKey {
case curve
case x
case y
case privateKey
public init?(rawValue: Swift.String)
public init?(stringValue: Swift.String)
public init?(intValue: Swift.Int)
public typealias RawValue = Swift.String
public var intValue: Swift.Int? {
get
}
public var rawValue: Swift.String {
get
}
public var stringValue: Swift.String {
get
}
}
public protocol CompactSerializable {
func serialize(to serializer: inout any MyIdSDK.CompactSerializer)
}
public protocol CompactSerializer {
var components: [any MyIdSDK.DataConvertible] { get }
mutating func serialize<T>(_ object: T) where T : MyIdSDK.DataConvertible
}
public struct JOSESerializer {
public func serialize<T>(compact object: T) -> Swift.String where T : MyIdSDK.CompactSerializable
}
public enum SwiftyCryptoRSAKeySize : Swift.Int {
case RSAKey64
case RSAKey128
case RSAKey256
case RSAKey512
public init?(rawValue: Swift.Int)
public typealias RawValue = Swift.Int
public var rawValue: Swift.Int {
get
}
}
@objc @_inheritsConvenienceInitializers public class RSAKeyFactory : ObjectiveC.NSObject {
public static let shared: MyIdSDK.RSAKeyFactory
public func generateKeyPair(keySize: MyIdSDK.SwiftyCryptoRSAKeySize) -> MyIdSDK.RSAKeyPairs?
@objc override dynamic public init()
@objc deinit
}
@objc public protocol MyIdClientDelegate {
@objc func onSuccess(result: MyIdSDK.MyIdResult)
@objc func onError(exception: MyIdSDK.MyIdException)
@objc func onUserExited()
}
public struct Decrypter {
public init?<KeyType>(keyManagementAlgorithm: MyIdSDK.KeyManagementAlgorithm, contentEncryptionAlgorithm: MyIdSDK.ContentEncryptionAlgorithm, decryptionKey: KeyType)
}
extension MyIdSDK.Decrypter {
@available(*, deprecated, message: "Use `init?(keyManagementAlgorithm:contentEncryptionAlgorithm:decryptionKey:)` instead")
public init?<KeyType>(keyDecryptionAlgorithm: MyIdSDK.AsymmetricKeyAlgorithm, decryptionKey key: KeyType, contentDecryptionAlgorithm: MyIdSDK.SymmetricKeyAlgorithm)
@available(*, deprecated, message: "Use `init?(keyManagementAlgorithm:contentEncryptionAlgorithm:decryptionKey:)` instead")
public init?<KeyType>(keyDecryptionAlgorithm: MyIdSDK.AsymmetricKeyAlgorithm, keyDecryptionKey kdk: KeyType, contentDecryptionAlgorithm: MyIdSDK.SymmetricKeyAlgorithm)
}
@available(*, deprecated, message: "This type will be removed with the next major release.")
public struct DecryptionContext {
}
@available(*, deprecated, message: "This type will be removed with the next major release.")
public struct SymmetricDecryptionContext {
}
@_inheritsConvenienceInitializers @objc public class MyIdConfig : ObjectiveC.NSObject {
@objc public var clientId: Swift.String?
@objc public var clientHash: Swift.String?
@objc public var clientHashId: Swift.String?
@objc public var passportData: Swift.String?
@objc public var dateOfBirth: Swift.String?
@objc public var sdkHash: Swift.String?
@objc public var externalId: Swift.String?
@objc public var threshold: Swift.Float
@objc public var buildMode: MyIdSDK.MyIdBuildMode
@objc public var entryType: MyIdSDK.MyIdEntryType
@objc public var residency: MyIdSDK.MyIdResidency
@objc public var locale: MyIdSDK.MyIdLocale
@objc public var cameraShape: MyIdSDK.MyIdCameraShape
@objc public var resolution: MyIdSDK.MyIdResolution
@objc public var organizationDetails: MyIdSDK.MyIdOrganizationDetails?
@objc public var appearance: MyIdSDK.MyIdAppearance?
@objc public var withPhoto: Swift.Bool
@objc override dynamic public init()
@objc deinit
}
extension MyIdSDK.RSAPublicKey : Swift.Encodable {
public func encode(to encoder: any Swift.Encoder) throws
}
extension MyIdSDK.RSAPublicKey : Swift.Decodable {
public init(from decoder: any Swift.Decoder) throws
}
extension MyIdSDK.RSAPrivateKey : Swift.Encodable {
public func encode(to encoder: any Swift.Encoder) throws
}
extension MyIdSDK.RSAPrivateKey : Swift.Decodable {
public init(from decoder: any Swift.Decoder) throws
}
extension Foundation.Data : MyIdSDK.ExpressibleAsECPublicKeyComponents {
public static func representing(ecPublicKeyComponents components: MyIdSDK.ECPublicKeyComponents) throws -> Foundation.Data
public func ecPublicKeyComponents() throws -> MyIdSDK.ECPublicKeyComponents
}
public protocol CompactDeserializable {
static var componentCount: Swift.Int { get }
init(from deserializer: any MyIdSDK.CompactDeserializer) throws
}
public protocol CompactDeserializer {
func deserialize<T>(_ type: T.Type, at index: Swift.Int) throws -> T where T : MyIdSDK.DataConvertible
}
public struct JOSEDeserializer {
public init()
public func deserialize<T>(_ type: T.Type, fromCompactSerialization compactSerialization: Swift.String) throws -> T where T : MyIdSDK.CompactDeserializable
}
public enum ComponentCompactSerializedIndex {
}
extension Foundation.Data : MyIdSDK.ExpressibleAsECPrivateKeyComponents {
public static func representing(ecPrivateKeyComponents components: MyIdSDK.ECPrivateKeyComponents) throws -> Foundation.Data
public func ecPrivateKeyComponents() throws -> MyIdSDK.ECPrivateKeyComponents
}
@_inheritsConvenienceInitializers @objc public class MyIdException : ObjectiveC.NSObject {
@objc public var message: Swift.String?
@objc public var code: Swift.String?
@objc override dynamic public init()
@objc deinit
}
@objc public enum MyIdResolution : Swift.Int {
case RESOLUTION_480 = 0
case RESOLUTION_720
public init?(rawValue: Swift.Int)
public typealias RawValue = Swift.Int
public var rawValue: Swift.Int {
get
}
}
extension Foundation.Data {
public init?(base64URLEncoded base64URLString: Swift.String)
public init?(base64URLEncoded base64URLData: Foundation.Data)
public func base64URLEncodedString() -> Swift.String
public func base64URLEncodedData() -> Foundation.Data
}
extension Foundation.Data : MyIdSDK.DataConvertible {
public init(_ data: Foundation.Data)
public func data() -> Foundation.Data
}
public typealias RSAPublicKeyComponents = (modulus: Foundation.Data, exponent: Foundation.Data)
public typealias RSAPrivateKeyComponents = (modulus: Foundation.Data, exponent: Foundation.Data, privateExponent: Foundation.Data)
public protocol ExpressibleAsRSAPublicKeyComponents {
static func representing(rsaPublicKeyComponents components: MyIdSDK.RSAPublicKeyComponents) throws -> Self
func rsaPublicKeyComponents() throws -> MyIdSDK.RSAPublicKeyComponents
}
public protocol ExpressibleAsRSAPrivateKeyComponents {
static func representing(rsaPrivateKeyComponents components: MyIdSDK.RSAPrivateKeyComponents) throws -> Self
func rsaPrivateKeyComponents() throws -> MyIdSDK.RSAPrivateKeyComponents
}
public struct RSAPublicKey : MyIdSDK.JWK {
public let keyType: MyIdSDK.JWKKeyType
public let parameters: [Swift.String : Swift.String]
public var requiredParameters: [Swift.String : Swift.String] {
get
}
public let modulus: Swift.String
public let exponent: Swift.String
public init(modulus: Swift.String, exponent: Swift.String, additionalParameters parameters: [Swift.String : Swift.String] = [:])
public init(publicKey: any MyIdSDK.ExpressibleAsRSAPublicKeyComponents, additionalParameters parameters: [Swift.String : Swift.String] = [:]) throws
public init(data: Foundation.Data) throws
public func converted<T>(to type: T.Type) throws -> T where T : MyIdSDK.ExpressibleAsRSAPublicKeyComponents
@available(iOS 11.0, *)
public func withThumbprintAsKeyId(algorithm: MyIdSDK.JWKThumbprintAlgorithm = .SHA256) throws -> MyIdSDK.RSAPublicKey
}
public struct RSAPrivateKey : MyIdSDK.JWK {
public let keyType: MyIdSDK.JWKKeyType
public let parameters: [Swift.String : Swift.String]
public var requiredParameters: [Swift.String : Swift.String] {
get
}
public let modulus: Swift.String
public let exponent: Swift.String
public let privateExponent: Swift.String
public init(modulus: Swift.String, exponent: Swift.String, privateExponent: Swift.String, additionalParameters parameters: [Swift.String : Swift.String] = [:])
public init(privateKey: any MyIdSDK.ExpressibleAsRSAPrivateKeyComponents, additionalParameters parameters: [Swift.String : Swift.String] = [:]) throws
public init(data: Foundation.Data) throws
public func converted<T>(to type: T.Type) throws -> T where T : MyIdSDK.ExpressibleAsRSAPrivateKeyComponents
@available(iOS 11.0, *)
public func withThumbprintAsKeyId(algorithm: MyIdSDK.JWKThumbprintAlgorithm = .SHA256) throws -> MyIdSDK.RSAPrivateKey
}
public typealias RSAKeyPair = MyIdSDK.RSAPrivateKey
@objc public enum MyIdCameraShape : Swift.Int {
case ELLIPSE = 0
case CIRCLE
public init?(rawValue: Swift.Int)
public typealias RawValue = Swift.Int
public var rawValue: Swift.Int {
get
}
}
extension Swift.String : Swift.Error {
}
extension MyIdSDK.SymmetricKey : Swift.Encodable {
public func encode(to encoder: any Swift.Encoder) throws
}
extension MyIdSDK.SymmetricKey : Swift.Decodable {
public init(from decoder: any Swift.Decoder) throws
}
public class RSAMessage : MyIdSDK.Message {
public var data: Foundation.Data
public var base64String: Swift.String
required public init(data: Foundation.Data)
required convenience public init(base64String: Swift.String) throws
public func sign(signingKey: MyIdSDK.RSAKey, digestType: MyIdSDK.RSASignature.DigestType) throws -> MyIdSDK.RSASignature
public func verify(verifyKey: MyIdSDK.RSAKey, signature: MyIdSDK.RSASignature, digestType: MyIdSDK.RSASignature.DigestType) throws -> Swift.Bool
@objc deinit
}
extension Security.SecKey : MyIdSDK.ExpressibleAsECPublicKeyComponents {
public static func representing(ecPublicKeyComponents components: MyIdSDK.ECPublicKeyComponents) throws -> Self
public func ecPublicKeyComponents() throws -> MyIdSDK.ECPublicKeyComponents
}
@objc public enum MyIdResidency : Swift.Int {
case USER_DEFINED = 0
case RESIDENT
case NON_RESIDENT
public init?(rawValue: Swift.Int)
public typealias RawValue = Swift.Int
public var rawValue: Swift.Int {
get
}
}
public protocol CommonHeaderParameterSpace {
var jku: Foundation.URL? { get set }
var jwk: Swift.String? { get set }
var jwkTyped: (any MyIdSDK.JWK)? { get set }
var kid: Swift.String? { get set }
var x5u: Foundation.URL? { get set }
var x5c: [Swift.String]? { get set }
var x5t: Swift.String? { get set }
var x5tS256: Swift.String? { get set }
var typ: Swift.String? { get set }
var cty: Swift.String? { get set }
var crit: [Swift.String]? { get set }
}
public enum ECCurveType : Swift.String, Swift.Codable {
case P256
case P384
case P521
public init?(rawValue: Swift.String)
public typealias RawValue = Swift.String
public var rawValue: Swift.String {
get
}
}
public enum ECCompression : Swift.UInt8 {
case CompressedYEven
case CompressedYOdd
case Uncompressed
case HybridYEven
case HybridYOdd
public init?(rawValue: Swift.UInt8)
public typealias RawValue = Swift.UInt8
public var rawValue: Swift.UInt8 {
get
}
}
public struct JWEHeader {
public init(keyManagementAlgorithm: MyIdSDK.KeyManagementAlgorithm, contentEncryptionAlgorithm: MyIdSDK.ContentEncryptionAlgorithm)
public init(parameters: [Swift.String : Any]) throws
}
extension MyIdSDK.JWEHeader {
public var keyManagementAlgorithm: MyIdSDK.KeyManagementAlgorithm? {
get
}
public var contentEncryptionAlgorithm: MyIdSDK.ContentEncryptionAlgorithm? {
get
}
public var compressionAlgorithm: MyIdSDK.CompressionAlgorithm? {
get
}
public var zip: Swift.String? {
get
set
}
}
extension MyIdSDK.JWEHeader : MyIdSDK.CommonHeaderParameterSpace {
public var jku: Foundation.URL? {
get
set
}
public var jwk: Swift.String? {
get
set
}
public var jwkTyped: (any MyIdSDK.JWK)? {
get
set
}
public var kid: Swift.String? {
get
set
}
public var x5u: Foundation.URL? {
get
set
}
public var x5c: [Swift.String]? {
get
set
}
public var x5t: Swift.String? {
get
set
}
public var x5tS256: Swift.String? {
get
set
}
public var typ: Swift.String? {
get
set
}
public var cty: Swift.String? {
get
set
}
public var crit: [Swift.String]? {
get
set
}
}
extension MyIdSDK.JWEHeader {
@available(*, deprecated, message: "Use `JWEHeader.keyManagementAlgorithm` instead")
public var algorithm: MyIdSDK.AsymmetricKeyAlgorithm? {
get
}
@available(*, deprecated, message: "Use `JWEHeader.contentEncryptionAlgorithm` instead")
public var encryptionAlgorithm: MyIdSDK.SymmetricKeyAlgorithm? {
get
}
@available(*, deprecated, message: "Use `init(keyManagementAlgorithm:contentEncryptionAlgorithm` instead")
public init(algorithm: MyIdSDK.AsymmetricKeyAlgorithm, encryptionAlgorithm: MyIdSDK.SymmetricKeyAlgorithm)
}
public struct Encrypter<KeyType> {
public init?(keyManagementAlgorithm: MyIdSDK.KeyManagementAlgorithm, contentEncryptionAlgorithm: MyIdSDK.ContentEncryptionAlgorithm, encryptionKey: KeyType)
}
extension MyIdSDK.Encrypter {
@available(*, deprecated, message: "Use `init?(keyManagementAlgorithm:contentEncryptionAlgorithm:encryptionKey:)` instead")
public init?(keyEncryptionAlgorithm: MyIdSDK.AsymmetricKeyAlgorithm, encryptionKey key: KeyType, contentEncyptionAlgorithm: MyIdSDK.SymmetricKeyAlgorithm)
@available(*, deprecated, message: "Use `init?(keyManagementAlgorithm:contentEncryptionAlgorithm:encryptionKey:)` instead")
public init?(keyEncryptionAlgorithm: MyIdSDK.AsymmetricKeyAlgorithm, keyEncryptionKey kek: KeyType, contentEncyptionAlgorithm: MyIdSDK.SymmetricKeyAlgorithm)
}
@available(*, deprecated, message: "This type will be removed with the next major release.")
public struct EncryptionContext {
}
@available(*, deprecated, message: "This type will be removed with the next major release.")
public struct SymmetricEncryptionContext {
}
public struct JWS {
public let header: MyIdSDK.JWSHeader
public let payload: MyIdSDK.Payload
public let signature: Foundation.Data
public var compactSerializedString: Swift.String {
get
}
public var compactSerializedData: Foundation.Data {
get
}
public init<KeyType>(header: MyIdSDK.JWSHeader, payload: MyIdSDK.Payload, signer: MyIdSDK.Signer<KeyType>) throws
public init(compactSerialization: Swift.String) throws
public init(compactSerialization: Foundation.Data) throws
@available(*, deprecated, message: "Use `isValid(for verifier:)` instead")
public func isValid<KeyType>(for publicKey: KeyType) -> Swift.Bool
@available(*, deprecated, message: "Use `validate(using verifier:)` instead")
public func validate<KeyType>(with publicKey: KeyType) throws -> MyIdSDK.JWS
public func validate(using verifier: MyIdSDK.Verifier) throws -> MyIdSDK.JWS
public func isValid(for verifier: MyIdSDK.Verifier) -> Swift.Bool
}
extension MyIdSDK.JWS : MyIdSDK.CompactSerializable {
public func serialize(to serializer: inout any MyIdSDK.CompactSerializer)
}
extension MyIdSDK.JWS : MyIdSDK.CompactDeserializable {
public static var componentCount: Swift.Int {
get
}
public init(from deserializer: any MyIdSDK.CompactDeserializer) throws
}
extension Security.SecKey : MyIdSDK.ExpressibleAsECPrivateKeyComponents {
public static func representing(ecPrivateKeyComponents components: MyIdSDK.ECPrivateKeyComponents) throws -> Self
public func ecPrivateKeyComponents() throws -> MyIdSDK.ECPrivateKeyComponents
}
public enum SignatureAlgorithm : Swift.String {
case HS256
case HS384
case HS512
case RS256
case RS384
case RS512
@available(iOS 11, *)
case PS256
@available(iOS 11, *)
case PS384
@available(iOS 11, *)
case PS512
case ES256
case ES384
case ES512
public init?(rawValue: Swift.String)
public typealias RawValue = Swift.String
public var rawValue: Swift.String {
get
}
}
public enum KeyManagementAlgorithm : Swift.String, Swift.CaseIterable {
case RSA1_5
case RSAOAEP
case RSAOAEP256
case A128KW
case A192KW
case A256KW
case direct
public init?(rawValue: Swift.String)
public typealias AllCases = [MyIdSDK.KeyManagementAlgorithm]
public typealias RawValue = Swift.String
public static var allCases: [MyIdSDK.KeyManagementAlgorithm] {
get
}
public var rawValue: Swift.String {
get
}
}
public enum ContentEncryptionAlgorithm : Swift.String {
case A256CBCHS512
case A128CBCHS256
public init?(rawValue: Swift.String)
public typealias RawValue = Swift.String
public var rawValue: Swift.String {
get
}
}
public enum HMACAlgorithm : Swift.String {
case SHA512
case SHA384
case SHA256
public init?(rawValue: Swift.String)
public typealias RawValue = Swift.String
public var rawValue: Swift.String {
get
}
}
public enum JWKThumbprintAlgorithm : Swift.String {
case SHA256
public init?(rawValue: Swift.String)
public typealias RawValue = Swift.String
public var rawValue: Swift.String {
get
}
}
public enum CompressionAlgorithm : Swift.String {
case DEFLATE
case NONE
public init?(rawValue: Swift.String)
public typealias RawValue = Swift.String
public var rawValue: Swift.String {
get
}
}
@available(*, deprecated, message: "Use `KeyManagementAlgorithm` instead")
public typealias AsymmetricKeyAlgorithm = MyIdSDK.KeyManagementAlgorithm
@available(*, deprecated, message: "Use `ContentEncryptionAlgorithm` instead")
public typealias SymmetricKeyAlgorithm = MyIdSDK.ContentEncryptionAlgorithm
@objc public enum MyIdEntryType : Swift.Int {
case AUTH = 0
case FACE
public init?(rawValue: Swift.Int)
public typealias RawValue = Swift.Int
public var rawValue: Swift.Int {
get
}
}
extension Security.SecKey : MyIdSDK.ExpressibleAsRSAPublicKeyComponents {
public static func representing(rsaPublicKeyComponents components: MyIdSDK.RSAPublicKeyComponents) throws -> Self
public func rsaPublicKeyComponents() throws -> MyIdSDK.RSAPublicKeyComponents
}
extension MyIdSDK.JWKSet : Swift.Encodable {
public func encode(to encoder: any Swift.Encoder) throws
}
extension MyIdSDK.JWKSet : Swift.Decodable {
public init(from decoder: any Swift.Decoder) throws
}
public enum SwiftyCryptoError : Swift.Error {
case invalidBase64String
case invalidKeyFormat
case invalidAsn1Structure
case asn1ParsingFailed
case invalidAsn1RootNode
case tagEncodingFailed
case keyCreateFailed(error: CoreFoundation.CFError?)
case keyAddFailed(status: Darwin.OSStatus)
case keyCopyFailed(status: Darwin.OSStatus)
case invalidDigestSize(digestSize: Swift.Int, maxChunkSize: Swift.Int)
case signatureCreateFailed(status: Darwin.OSStatus)
case signatureVerifyFailed(status: Darwin.OSStatus)
case keyRepresentationFailed(error: CoreFoundation.CFError?)
}
public struct JWSHeader {
public init(algorithm: MyIdSDK.SignatureAlgorithm)
public init(parameters: [Swift.String : Any]) throws
}
extension MyIdSDK.JWSHeader {
public var algorithm: MyIdSDK.SignatureAlgorithm? {
get
}
}
extension MyIdSDK.JWSHeader : MyIdSDK.CommonHeaderParameterSpace {
public var jku: Foundation.URL? {
get
set
}
public var jwk: Swift.String? {
get
set
}
public var jwkTyped: (any MyIdSDK.JWK)? {
get
set
}
public var kid: Swift.String? {
get
set
}
public var x5u: Foundation.URL? {
get
set
}
public var x5c: [Swift.String]? {
get
set
}
public var x5t: Swift.String? {
get
set
}
public var x5tS256: Swift.String? {
get
set
}
public var typ: Swift.String? {
get
set
}
public var cty: Swift.String? {
get
set
}
public var crit: [Swift.String]? {
get
set
}
}
extension MyIdSDK.ECPublicKey : Swift.Encodable {
public func encode(to encoder: any Swift.Encoder) throws
}
extension MyIdSDK.ECPublicKey : Swift.Decodable {
public init(from decoder: any Swift.Decoder) throws
}
extension MyIdSDK.ECPrivateKey : Swift.Encodable {
public func encode(to encoder: any Swift.Encoder) throws
}
extension MyIdSDK.ECPrivateKey : Swift.Decodable {
public init(from decoder: any Swift.Decoder) throws
}
@_inheritsConvenienceInitializers @objc public class MyIdOrganizationDetails : ObjectiveC.NSObject {
@objc public var phoneNumber: Swift.String?
@objc public var logo: UIKit.UIImage?
@objc override dynamic public init()
@objc deinit
}
@objc public enum MyIdDocumentType : Swift.Int {
case ID_CARD = 0
case PASSPORT
case DRIVER_LICENSE
public init?(rawValue: Swift.Int)
public typealias RawValue = Swift.Int
public var rawValue: Swift.Int {
get
}
}
extension MyIdSDK.JWK {
public subscript(parameter: Swift.String) -> Swift.String? {
get
}
}
extension MyIdSDK.JWK {
public func jsonString() -> Swift.String?
public func jsonData() -> Foundation.Data?
}
public struct JWE {
public let header: MyIdSDK.JWEHeader
public let encryptedKey: Foundation.Data
public let initializationVector: Foundation.Data
public let ciphertext: Foundation.Data
public let authenticationTag: Foundation.Data
public var compactSerializedString: Swift.String {
get
}
public var compactSerializedData: Foundation.Data {
get
}
public init<KeyType>(header: MyIdSDK.JWEHeader, payload: MyIdSDK.Payload, encrypter: MyIdSDK.Encrypter<KeyType>) throws
public init(compactSerialization: Swift.String) throws
public init(compactSerialization: Foundation.Data) throws
@available(*, deprecated, message: "Use `decrypt(using decrypter:)` instead")
public func decrypt<KeyType>(with key: KeyType) throws -> MyIdSDK.Payload
public func decrypt(using decrypter: MyIdSDK.Decrypter) throws -> MyIdSDK.Payload
}
extension MyIdSDK.JWE : MyIdSDK.CompactSerializable {
public func serialize(to serializer: inout any MyIdSDK.CompactSerializer)
}
extension MyIdSDK.JWE : MyIdSDK.CompactDeserializable {
public static var componentCount: Swift.Int {
get
}
public init(from deserializer: any MyIdSDK.CompactDeserializer) throws
}
@_inheritsConvenienceInitializers @objc public class MyIdClient : ObjectiveC.NSObject {
@objc public class func start(withConfig config: MyIdSDK.MyIdConfig, withDelegate delegate: any MyIdSDK.MyIdClientDelegate)
@objc override dynamic public init()
@objc deinit
}
public enum RSAKeyType {
case PUBLIC
case PRIVATE
public static func == (a: MyIdSDK.RSAKeyType, b: MyIdSDK.RSAKeyType) -> Swift.Bool
public func hash(into hasher: inout Swift.Hasher)
public var hashValue: Swift.Int {
get
}
}
public struct RSAKeyPairs {
public var privateKey: MyIdSDK.RSAKey
public var publicKey: MyIdSDK.RSAKey
}
public class RSAKey {
public var key: Security.SecKey
public var keyBase64String: Swift.String
public var data: Foundation.Data?
public var keyType: MyIdSDK.RSAKeyType!
public init(key: Security.SecKey, keyBase64String: Swift.String, keyType: MyIdSDK.RSAKeyType)
public init(base64String: Swift.String, keyType: MyIdSDK.RSAKeyType) throws
public static func base64StringWithoutPrefixAndSuffix(pemString: Swift.String) throws -> Swift.String
public func pemString() throws -> Swift.String
public func format(keyData: Foundation.Data, keyType: MyIdSDK.RSAKeyType) -> Swift.String
@objc deinit
}
@_inheritsConvenienceInitializers @objc public class MyIdAppearance : ObjectiveC.NSObject {
@objc public var primaryColor: UIKit.UIColor?
@objc public var secondaryColor: UIKit.UIColor?
@objc public var errorColor: UIKit.UIColor?
@objc public var primaryButtonColor: UIKit.UIColor?
@objc public var primaryButtonColorDisabled: UIKit.UIColor?
@objc public var primaryButtonTextColor: UIKit.UIColor?
@objc public var primaryButtonTextColorDisabled: UIKit.UIColor?
@objc public var buttonCornerRadius: Swift.Float
@objc override dynamic public init()
@objc deinit
}
@_inheritsConvenienceInitializers @objc public class MyIdResult : ObjectiveC.NSObject {
@objc public var image: UIKit.UIImage?
@objc public var code: Swift.String?
@objc public var comparisonValue: Swift.String?
@objc override dynamic public init()
@objc deinit
}
@objc public enum MyIdLocale : Swift.Int {
case RU = 0
case EN
case UZ
public init?(rawValue: Swift.Int)
public typealias RawValue = Swift.Int
public var rawValue: Swift.Int {
get
}
}
public struct Verifier {
public init?<KeyType>(verifyingAlgorithm: MyIdSDK.SignatureAlgorithm, key: KeyType)
}
extension MyIdSDK.Verifier {
@available(*, deprecated, message: "Use `init?(verifyingAlgorithm: SignatureAlgorithm, key: KeyType)` instead")
public init?<KeyType>(verifyingAlgorithm: MyIdSDK.SignatureAlgorithm, publicKey: KeyType)
}
public enum JWKKeyType : Swift.String, Swift.Codable {
case RSA
case OCT
case EC
public init?(rawValue: Swift.String)
public typealias RawValue = Swift.String
public var rawValue: Swift.String {
get
}
}
public protocol JWK : Swift.Decodable, Swift.Encodable {
var keyType: MyIdSDK.JWKKeyType { get }
var parameters: [Swift.String : Swift.String] { get }
var requiredParameters: [Swift.String : Swift.String] { get }
subscript(parameter: Swift.String) -> Swift.String? { get }
init(data: Foundation.Data) throws
func jsonString() -> Swift.String?
func jsonData() -> Foundation.Data?
@available(iOS 11.0, *)
func thumbprint(algorithm: MyIdSDK.JWKThumbprintAlgorithm) throws -> Swift.String
@available(iOS 11.0, *)
func withThumbprintAsKeyId(algorithm: MyIdSDK.JWKThumbprintAlgorithm) throws -> Self
}
extension MyIdSDK.JWK {
@available(iOS 11.0, *)
public func thumbprint(algorithm: MyIdSDK.JWKThumbprintAlgorithm = .SHA256) throws -> Swift.String
}
public struct JWKSet {
public let keys: [any MyIdSDK.JWK]
public init(keys: [any MyIdSDK.JWK])
public init(data: Foundation.Data) throws
public func jsonString() -> Swift.String?
public func jsonData() -> Foundation.Data?
}
extension MyIdSDK.JWKSet : Swift.Collection {
public typealias ArrayType = [any MyIdSDK.JWK]
public typealias Element = MyIdSDK.JWKSet.ArrayType.Element
public typealias Index = MyIdSDK.JWKSet.ArrayType.Index
public typealias Iterator = MyIdSDK.JWKSet.ArrayType.Iterator
public var startIndex: MyIdSDK.JWKSet.Index {
get
}
public var endIndex: MyIdSDK.JWKSet.Index {
get
}
public subscript(index: MyIdSDK.JWKSet.Index) -> MyIdSDK.JWKSet.Element {
get
}
public func index(after index: MyIdSDK.JWKSet.Index) -> MyIdSDK.JWKSet.Index
public func makeIterator() -> Swift.IndexingIterator<MyIdSDK.JWKSet.ArrayType>
public typealias Indices = Swift.DefaultIndices<MyIdSDK.JWKSet>
public typealias SubSequence = Swift.Slice<MyIdSDK.JWKSet>
}
extension MyIdSDK.JWKSet : Swift.ExpressibleByArrayLiteral {
public typealias ArrayLiteralElement = MyIdSDK.JWKSet.Element
public init(arrayLiteral elements: MyIdSDK.JWKSet.ArrayLiteralElement...)
}
public typealias ECPublicKeyComponents = (crv: Swift.String, x: Foundation.Data, y: Foundation.Data)
public typealias ECPrivateKeyComponents = (crv: Swift.String, x: Foundation.Data, y: Foundation.Data, d: Foundation.Data)
public protocol ExpressibleAsECPublicKeyComponents {
static func representing(ecPublicKeyComponents components: MyIdSDK.ECPublicKeyComponents) throws -> Self
func ecPublicKeyComponents() throws -> MyIdSDK.ECPublicKeyComponents
}
public protocol ExpressibleAsECPrivateKeyComponents {
static func representing(ecPrivateKeyComponents components: MyIdSDK.ECPrivateKeyComponents) throws -> Self
func ecPrivateKeyComponents() throws -> MyIdSDK.ECPrivateKeyComponents
}
public struct ECPublicKey : MyIdSDK.JWK {
public let keyType: MyIdSDK.JWKKeyType
public let parameters: [Swift.String : Swift.String]
public var requiredParameters: [Swift.String : Swift.String] {
get
}
public let crv: MyIdSDK.ECCurveType
public let x: Swift.String
public let y: Swift.String
public init(crv: MyIdSDK.ECCurveType, x: Swift.String, y: Swift.String, additionalParameters parameters: [Swift.String : Swift.String] = [:])
public init(publicKey: any MyIdSDK.ExpressibleAsECPublicKeyComponents, additionalParameters parameters: [Swift.String : Swift.String] = [:]) throws
public init(data: Foundation.Data) throws
public func converted<T>(to type: T.Type) throws -> T where T : MyIdSDK.ExpressibleAsECPublicKeyComponents
@available(iOS 11.0, *)
public func withThumbprintAsKeyId(algorithm: MyIdSDK.JWKThumbprintAlgorithm = .SHA256) throws -> MyIdSDK.ECPublicKey
}
public struct ECPrivateKey : MyIdSDK.JWK {
public let keyType: MyIdSDK.JWKKeyType
public let parameters: [Swift.String : Swift.String]
public var requiredParameters: [Swift.String : Swift.String] {
get
}
public let crv: MyIdSDK.ECCurveType
public let x: Swift.String
public let y: Swift.String
public let privateKey: Swift.String
public init(crv: Swift.String, x: Swift.String, y: Swift.String, privateKey: Swift.String, additionalParameters parameters: [Swift.String : Swift.String] = [:]) throws
public init(privateKey: any MyIdSDK.ExpressibleAsECPrivateKeyComponents, additionalParameters parameters: [Swift.String : Swift.String] = [:]) throws
public init(data: Foundation.Data) throws
public func converted<T>(to type: T.Type) throws -> T where T : MyIdSDK.ExpressibleAsECPrivateKeyComponents
@available(iOS 11.0, *)
public func withThumbprintAsKeyId(algorithm: MyIdSDK.JWKThumbprintAlgorithm = .SHA256) throws -> MyIdSDK.ECPrivateKey
}
public typealias ECKeyPair = MyIdSDK.ECPrivateKey
public struct Signer<KeyType> {
public init?(signingAlgorithm: MyIdSDK.SignatureAlgorithm, key: KeyType)
}
extension MyIdSDK.Signer {
@available(*, deprecated, message: "Use `init?(signingAlgorithm: SignatureAlgorithm, key: KeyType)` instead")
public init?(signingAlgorithm: MyIdSDK.SignatureAlgorithm, privateKey: KeyType)
}
extension MyIdSDK.RSASignature.DigestType : Swift.Equatable {}
extension MyIdSDK.RSASignature.DigestType : Swift.Hashable {}
extension MyIdSDK.MyIdBuildMode : Swift.Equatable {}
extension MyIdSDK.MyIdBuildMode : Swift.Hashable {}
extension MyIdSDK.MyIdBuildMode : Swift.RawRepresentable {}
extension MyIdSDK.JWKParameter : Swift.Equatable {}
extension MyIdSDK.JWKParameter : Swift.Hashable {}
extension MyIdSDK.JWKParameter : Swift.RawRepresentable {}
extension MyIdSDK.RSAParameter : Swift.Equatable {}
extension MyIdSDK.RSAParameter : Swift.Hashable {}
extension MyIdSDK.RSAParameter : Swift.RawRepresentable {}
extension MyIdSDK.SymmetricKeyParameter : Swift.Equatable {}
extension MyIdSDK.SymmetricKeyParameter : Swift.Hashable {}
extension MyIdSDK.SymmetricKeyParameter : Swift.RawRepresentable {}
extension MyIdSDK.ECParameter : Swift.Equatable {}
extension MyIdSDK.ECParameter : Swift.Hashable {}
extension MyIdSDK.ECParameter : Swift.RawRepresentable {}
extension MyIdSDK.SwiftyCryptoRSAKeySize : Swift.Equatable {}
extension MyIdSDK.SwiftyCryptoRSAKeySize : Swift.Hashable {}
extension MyIdSDK.SwiftyCryptoRSAKeySize : Swift.RawRepresentable {}
extension MyIdSDK.JWKThumbprintAlgorithm : Swift.Equatable {}
extension MyIdSDK.JWKThumbprintAlgorithm : Swift.Hashable {}
extension MyIdSDK.JWKThumbprintAlgorithm : Swift.RawRepresentable {}
extension MyIdSDK.ContentEncryptionAlgorithm : Swift.Equatable {}
extension MyIdSDK.ContentEncryptionAlgorithm : Swift.Hashable {}
extension MyIdSDK.ContentEncryptionAlgorithm : Swift.RawRepresentable {}
extension MyIdSDK.KeyManagementAlgorithm : Swift.Equatable {}
extension MyIdSDK.KeyManagementAlgorithm : Swift.Hashable {}
extension MyIdSDK.KeyManagementAlgorithm : Swift.RawRepresentable {}
extension MyIdSDK.MyIdResolution : Swift.Equatable {}
extension MyIdSDK.MyIdResolution : Swift.Hashable {}
extension MyIdSDK.MyIdResolution : Swift.RawRepresentable {}
extension MyIdSDK.MyIdCameraShape : Swift.Equatable {}
extension MyIdSDK.MyIdCameraShape : Swift.Hashable {}
extension MyIdSDK.MyIdCameraShape : Swift.RawRepresentable {}
extension MyIdSDK.MyIdResidency : Swift.Equatable {}
extension MyIdSDK.MyIdResidency : Swift.Hashable {}
extension MyIdSDK.MyIdResidency : Swift.RawRepresentable {}
extension MyIdSDK.ECCurveType : Swift.Equatable {}
extension MyIdSDK.ECCurveType : Swift.Hashable {}
extension MyIdSDK.ECCurveType : Swift.RawRepresentable {}
extension MyIdSDK.SignatureAlgorithm : Swift.Equatable {}
extension MyIdSDK.SignatureAlgorithm : Swift.Hashable {}
extension MyIdSDK.SignatureAlgorithm : Swift.RawRepresentable {}
extension MyIdSDK.ECCompression : Swift.Equatable {}
extension MyIdSDK.ECCompression : Swift.Hashable {}
extension MyIdSDK.ECCompression : Swift.RawRepresentable {}
extension MyIdSDK.JWEHeader : MyIdSDK.DataConvertible {}
extension MyIdSDK.HMACAlgorithm : Swift.Equatable {}
extension MyIdSDK.HMACAlgorithm : Swift.Hashable {}
extension MyIdSDK.HMACAlgorithm : Swift.RawRepresentable {}
extension MyIdSDK.CompressionAlgorithm : Swift.Equatable {}
extension MyIdSDK.CompressionAlgorithm : Swift.Hashable {}
extension MyIdSDK.CompressionAlgorithm : Swift.RawRepresentable {}
extension MyIdSDK.MyIdEntryType : Swift.Equatable {}
extension MyIdSDK.MyIdEntryType : Swift.Hashable {}
extension MyIdSDK.MyIdEntryType : Swift.RawRepresentable {}
extension MyIdSDK.JWSHeader : MyIdSDK.DataConvertible {}
extension MyIdSDK.MyIdDocumentType : Swift.Equatable {}
extension MyIdSDK.MyIdDocumentType : Swift.Hashable {}
extension MyIdSDK.MyIdDocumentType : Swift.RawRepresentable {}
extension MyIdSDK.RSAKeyType : Swift.Equatable {}
extension MyIdSDK.RSAKeyType : Swift.Hashable {}
extension MyIdSDK.MyIdLocale : Swift.Equatable {}
extension MyIdSDK.MyIdLocale : Swift.Hashable {}
extension MyIdSDK.MyIdLocale : Swift.RawRepresentable {}
extension MyIdSDK.JWKKeyType : Swift.Equatable {}
extension MyIdSDK.JWKKeyType : Swift.Hashable {}
extension MyIdSDK.JWKKeyType : Swift.RawRepresentable {}