diff --git a/Modules/IdCardLib/Frameworks/nfclib.xcframework/ios-arm64/nfclib.framework/Headers/nfclib-Swift.h b/Modules/IdCardLib/Frameworks/nfclib.xcframework/ios-arm64/nfclib.framework/Headers/nfclib-Swift.h index d254c54b..27cfd0ce 100644 --- a/Modules/IdCardLib/Frameworks/nfclib.xcframework/ios-arm64/nfclib.framework/Headers/nfclib-Swift.h +++ b/Modules/IdCardLib/Frameworks/nfclib.xcframework/ios-arm64/nfclib.framework/Headers/nfclib-Swift.h @@ -1,6 +1,6 @@ #if 0 #elif defined(__arm64__) && __arm64__ -// Generated by Apple Swift version 6.3.2 effective-5.10 (swiftlang-6.3.2.1.108 clang-2100.1.1.101) +// Generated by Apple Swift version 6.3.3 effective-5.10 (swiftlang-6.3.3.1.3 clang-2100.1.1.101) #ifndef NFCLIB_SWIFT_H #define NFCLIB_SWIFT_H #pragma clang diagnostic push diff --git a/Modules/IdCardLib/Frameworks/nfclib.xcframework/ios-arm64/nfclib.framework/Info.plist b/Modules/IdCardLib/Frameworks/nfclib.xcframework/ios-arm64/nfclib.framework/Info.plist index 6417b9e9..22084640 100644 Binary files a/Modules/IdCardLib/Frameworks/nfclib.xcframework/ios-arm64/nfclib.framework/Info.plist and b/Modules/IdCardLib/Frameworks/nfclib.xcframework/ios-arm64/nfclib.framework/Info.plist differ diff --git a/Modules/IdCardLib/Frameworks/nfclib.xcframework/ios-arm64/nfclib.framework/Modules/nfclib.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo b/Modules/IdCardLib/Frameworks/nfclib.xcframework/ios-arm64/nfclib.framework/Modules/nfclib.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo index b0b00da9..f74dc317 100644 Binary files a/Modules/IdCardLib/Frameworks/nfclib.xcframework/ios-arm64/nfclib.framework/Modules/nfclib.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo and b/Modules/IdCardLib/Frameworks/nfclib.xcframework/ios-arm64/nfclib.framework/Modules/nfclib.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo differ diff --git a/Modules/IdCardLib/Frameworks/nfclib.xcframework/ios-arm64/nfclib.framework/Modules/nfclib.swiftmodule/arm64-apple-ios.abi.json b/Modules/IdCardLib/Frameworks/nfclib.xcframework/ios-arm64/nfclib.framework/Modules/nfclib.swiftmodule/arm64-apple-ios.abi.json index 08a76752..5f2505d3 100644 --- a/Modules/IdCardLib/Frameworks/nfclib.xcframework/ios-arm64/nfclib.framework/Modules/nfclib.swiftmodule/arm64-apple-ios.abi.json +++ b/Modules/IdCardLib/Frameworks/nfclib.xcframework/ios-arm64/nfclib.framework/Modules/nfclib.swiftmodule/arm64-apple-ios.abi.json @@ -98,7 +98,6 @@ "usr": "s:6nfclib17OperationSignHashC12startSigning3CAN4PIN24hash10Foundation4DataVSS_AA06SecureK0CAJtYaKF", "mangledName": "$s6nfclib17OperationSignHashC12startSigning3CAN4PIN24hash10Foundation4DataVSS_AA06SecureK0CAJtYaKF", "moduleName": "nfclib", - "isOpen": true, "declAttributes": [ "Custom", "AccessControl" @@ -168,7 +167,6 @@ "usr": "s:6nfclib17OperationSignHashC16tagReaderSession_9didDetectySo06NFCTagfG0C_Say7CoreNFC0J0OGtF", "mangledName": "$s6nfclib17OperationSignHashC16tagReaderSession_9didDetectySo06NFCTagfG0C_Say7CoreNFC0J0OGtF", "moduleName": "nfclib", - "isOpen": true, "declAttributes": [ "Custom", "AccessControl" @@ -197,7 +195,6 @@ "usr": "s:6nfclib17OperationSignHashC31tagReaderSessionDidBecomeActiveyySo06NFCTagfG0CF", "mangledName": "$s6nfclib17OperationSignHashC31tagReaderSessionDidBecomeActiveyySo06NFCTagfG0CF", "moduleName": "nfclib", - "isOpen": true, "declAttributes": [ "Custom", "AccessControl" @@ -232,7 +229,6 @@ "usr": "s:6nfclib17OperationSignHashC16tagReaderSession_22didInvalidateWithErrorySo06NFCTagfG0C_s0K0_ptF", "mangledName": "$s6nfclib17OperationSignHashC16tagReaderSession_22didInvalidateWithErrorySo06NFCTagfG0C_s0K0_ptF", "moduleName": "nfclib", - "isOpen": true, "declAttributes": [ "Custom", "AccessControl" @@ -245,7 +241,6 @@ "usr": "c:@M@nfclib@objc(cs)OperationSignHash", "mangledName": "$s6nfclib17OperationSignHashC", "moduleName": "nfclib", - "isOpen": true, "declAttributes": [ "AccessControl", "Custom", @@ -543,48 +538,6 @@ } ] }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(unverifiedCertificate:algorithm:signature:signingCertificate:)", - "children": [ - { - "kind": "TypeNominal", - "name": "WebEidData", - "printedName": "nfclib.WebEidData", - "usr": "s:6nfclib10WebEidDataC" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Constructor", - "usr": "s:6nfclib10WebEidDataC21unverifiedCertificate9algorithm9signature07signingF0ACSS_S3Stcfc", - "mangledName": "$s6nfclib10WebEidDataC21unverifiedCertificate9algorithm9signature07signingF0ACSS_S3Stcfc", - "moduleName": "nfclib", - "init_kind": "Designated" - }, { "kind": "Var", "name": "formattedDescription", @@ -754,98 +707,6 @@ ], "init_kind": "Designated" }, - { - "kind": "Function", - "name": "withUnsafeBytes", - "printedName": "withUnsafeBytes(_:)", - "children": [ - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "τ_0_0" - }, - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(Swift.UnsafeRawBufferPointer) throws -> τ_0_0", - "children": [ - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "τ_0_0" - }, - { - "kind": "TypeNominal", - "name": "UnsafeRawBufferPointer", - "printedName": "Swift.UnsafeRawBufferPointer", - "usr": "s:SW" - } - ], - "typeAttributes": [ - "noescape" - ] - } - ], - "declKind": "Func", - "usr": "s:6nfclib10SecureDataC15withUnsafeBytesyxxSWKXEKlF", - "mangledName": "$s6nfclib10SecureDataC15withUnsafeBytesyxxSWKXEKlF", - "moduleName": "nfclib", - "genericSig": "<τ_0_0>", - "sugared_genericSig": "", - "declAttributes": [ - "Final", - "Rethrows", - "RawDocComment" - ], - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "withUnsafeMutableBytes", - "printedName": "withUnsafeMutableBytes(_:)", - "children": [ - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "τ_0_0" - }, - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(Swift.UnsafeMutableRawBufferPointer) throws -> τ_0_0", - "children": [ - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "τ_0_0" - }, - { - "kind": "TypeNominal", - "name": "UnsafeMutableRawBufferPointer", - "printedName": "Swift.UnsafeMutableRawBufferPointer", - "usr": "s:Sw" - } - ], - "typeAttributes": [ - "noescape" - ] - } - ], - "declKind": "Func", - "usr": "s:6nfclib10SecureDataC22withUnsafeMutableBytesyxxSwKXEKlF", - "mangledName": "$s6nfclib10SecureDataC22withUnsafeMutableBytesyxxSwKXEKlF", - "moduleName": "nfclib", - "genericSig": "<τ_0_0>", - "sugared_genericSig": "", - "declAttributes": [ - "Final", - "Rethrows", - "RawDocComment" - ], - "throwing": true, - "funcSelfKind": "NonMutating" - }, { "kind": "Var", "name": "count", @@ -911,28 +772,6 @@ "RawDocComment" ], "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "asData", - "printedName": "asData()", - "children": [ - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Func", - "usr": "s:6nfclib10SecureDataC02asC010Foundation0C0VyF", - "mangledName": "$s6nfclib10SecureDataC02asC010Foundation0C0VyF", - "moduleName": "nfclib", - "declAttributes": [ - "Final", - "RawDocComment" - ], - "funcSelfKind": "NonMutating" } ], "declKind": "Class", @@ -1152,61 +991,101 @@ ] }, { - "kind": "Function", - "name": "convertBytesToX509Certificate", - "printedName": "convertBytesToX509Certificate(_:)", - "children": [ - { - "kind": "TypeNominal", - "name": "SecCertificate", - "printedName": "Security.SecCertificate", - "usr": "c:@T@SecCertificateRef" - }, - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Func", - "usr": "s:6nfclib29convertBytesToX509CertificateySo03SecF3Refa10Foundation4DataVKF", - "mangledName": "$s6nfclib29convertBytesToX509CertificateySo03SecF3Refa10Foundation4DataVKF", + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "nfclib", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "CoreNFC", + "printedName": "CoreNFC", + "declKind": "Import", + "moduleName": "nfclib" + }, + { + "kind": "Import", + "name": "CommonCrypto", + "printedName": "CommonCrypto", + "declKind": "Import", + "moduleName": "nfclib" + }, + { + "kind": "Import", + "name": "CryptoTokenKit", + "printedName": "CryptoTokenKit", + "declKind": "Import", + "moduleName": "nfclib" + }, + { + "kind": "Import", + "name": "SwiftECC", + "printedName": "SwiftECC", + "declKind": "Import", + "moduleName": "nfclib", + "declAttributes": [ + "AccessControl" + ] + }, + { + "kind": "Import", + "name": "BigInt", + "printedName": "BigInt", + "declKind": "Import", + "moduleName": "nfclib" + }, + { + "kind": "Import", + "name": "Security", + "printedName": "Security", + "declKind": "Import", + "moduleName": "nfclib" + }, + { + "kind": "Import", + "name": "X509", + "printedName": "X509", + "declKind": "Import", "moduleName": "nfclib", - "throwing": true, - "funcSelfKind": "NonMutating" + "declAttributes": [ + "AccessControl" + ] }, { "kind": "TypeDecl", - "name": "CertificateConversionError", - "printedName": "CertificateConversionError", + "name": "AuthenticateWithWebEidError", + "printedName": "AuthenticateWithWebEidError", "children": [ { "kind": "Var", - "name": "creationFailed", - "printedName": "creationFailed", + "name": "failedToReadPublicKey", + "printedName": "failedToReadPublicKey", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(nfclib.CertificateConversionError.Type) -> nfclib.CertificateConversionError", + "printedName": "(nfclib.AuthenticateWithWebEidError.Type) -> nfclib.AuthenticateWithWebEidError", "children": [ { "kind": "TypeNominal", - "name": "CertificateConversionError", - "printedName": "nfclib.CertificateConversionError", - "usr": "s:6nfclib26CertificateConversionErrorO" + "name": "AuthenticateWithWebEidError", + "printedName": "nfclib.AuthenticateWithWebEidError", + "usr": "s:6nfclib27AuthenticateWithWebEidErrorO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "nfclib.CertificateConversionError.Type", + "printedName": "nfclib.AuthenticateWithWebEidError.Type", "children": [ { "kind": "TypeNominal", - "name": "CertificateConversionError", - "printedName": "nfclib.CertificateConversionError", - "usr": "s:6nfclib26CertificateConversionErrorO" + "name": "AuthenticateWithWebEidError", + "printedName": "nfclib.AuthenticateWithWebEidError", + "usr": "s:6nfclib27AuthenticateWithWebEidErrorO" } ] } @@ -1214,246 +1093,51 @@ } ], "declKind": "EnumElement", - "usr": "s:6nfclib26CertificateConversionErrorO14creationFailedyA2CmF", - "mangledName": "$s6nfclib26CertificateConversionErrorO14creationFailedyA2CmF", - "moduleName": "nfclib", - "fixedbinaryorder": 0 + "usr": "s:6nfclib27AuthenticateWithWebEidErrorO21failedToReadPublicKeyyA2CmF", + "mangledName": "$s6nfclib27AuthenticateWithWebEidErrorO21failedToReadPublicKeyyA2CmF", + "moduleName": "nfclib" }, { - "kind": "Function", - "name": "==", - "printedName": "==(_:_:)", + "kind": "Var", + "name": "failedToDetermineAlgorithm", + "printedName": "failedToDetermineAlgorithm", "children": [ { - "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" - }, - { - "kind": "TypeNominal", - "name": "CertificateConversionError", - "printedName": "nfclib.CertificateConversionError", - "usr": "s:6nfclib26CertificateConversionErrorO" - }, - { - "kind": "TypeNominal", - "name": "CertificateConversionError", - "printedName": "nfclib.CertificateConversionError", - "usr": "s:6nfclib26CertificateConversionErrorO" + "kind": "TypeFunc", + "name": "Function", + "printedName": "(nfclib.AuthenticateWithWebEidError.Type) -> nfclib.AuthenticateWithWebEidError", + "children": [ + { + "kind": "TypeNominal", + "name": "AuthenticateWithWebEidError", + "printedName": "nfclib.AuthenticateWithWebEidError", + "usr": "s:6nfclib27AuthenticateWithWebEidErrorO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "nfclib.AuthenticateWithWebEidError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "AuthenticateWithWebEidError", + "printedName": "nfclib.AuthenticateWithWebEidError", + "usr": "s:6nfclib27AuthenticateWithWebEidErrorO" + } + ] + } + ] } ], - "declKind": "Func", - "usr": "s:6nfclib26CertificateConversionErrorO2eeoiySbAC_ACtFZ", - "mangledName": "$s6nfclib26CertificateConversionErrorO2eeoiySbAC_ACtFZ", - "moduleName": "nfclib", - "static": true, - "implicit": true, - "funcSelfKind": "NonMutating" + "declKind": "EnumElement", + "usr": "s:6nfclib27AuthenticateWithWebEidErrorO26failedToDetermineAlgorithmyA2CmF", + "mangledName": "$s6nfclib27AuthenticateWithWebEidErrorO26failedToDetermineAlgorithmyA2CmF", + "moduleName": "nfclib" }, { "kind": "Var", - "name": "hashValue", - "printedName": "hashValue", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Var", - "usr": "s:6nfclib26CertificateConversionErrorO9hashValueSivp", - "mangledName": "$s6nfclib26CertificateConversionErrorO9hashValueSivp", - "moduleName": "nfclib", - "implicit": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib26CertificateConversionErrorO9hashValueSivg", - "mangledName": "$s6nfclib26CertificateConversionErrorO9hashValueSivg", - "moduleName": "nfclib", - "implicit": true, - "accessorKind": "get" - } - ] - }, - { - "kind": "Function", - "name": "hash", - "printedName": "hash(into:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "Hasher", - "printedName": "Swift.Hasher", - "paramValueOwnership": "InOut", - "usr": "s:s6HasherV" - } - ], - "declKind": "Func", - "usr": "s:6nfclib26CertificateConversionErrorO4hash4intoys6HasherVz_tF", - "mangledName": "$s6nfclib26CertificateConversionErrorO4hash4intoys6HasherVz_tF", - "moduleName": "nfclib", - "implicit": true, - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Enum", - "usr": "s:6nfclib26CertificateConversionErrorO", - "mangledName": "$s6nfclib26CertificateConversionErrorO", - "moduleName": "nfclib", - "isEnumExhaustive": true, - "conformances": [ - { - "kind": "Conformance", - "name": "BitwiseCopyable", - "printedName": "BitwiseCopyable", - "usr": "s:s15BitwiseCopyableP", - "mangledName": "$ss15BitwiseCopyableP" - }, - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Equatable", - "printedName": "Equatable", - "usr": "s:SQ", - "mangledName": "$sSQ" - }, - { - "kind": "Conformance", - "name": "Hashable", - "printedName": "Hashable", - "usr": "s:SH", - "mangledName": "$sSH" - }, - { - "kind": "Conformance", - "name": "Error", - "printedName": "Error", - "usr": "s:s5ErrorP", - "mangledName": "$ss5ErrorP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - } - ] - }, - { - "kind": "Import", - "name": "Foundation", - "printedName": "Foundation", - "declKind": "Import", - "moduleName": "nfclib", - "declAttributes": [ - "RawDocComment" - ] - }, - { - "kind": "Import", - "name": "CoreNFC", - "printedName": "CoreNFC", - "declKind": "Import", - "moduleName": "nfclib" - }, - { - "kind": "Import", - "name": "CommonCrypto", - "printedName": "CommonCrypto", - "declKind": "Import", - "moduleName": "nfclib" - }, - { - "kind": "Import", - "name": "CryptoTokenKit", - "printedName": "CryptoTokenKit", - "declKind": "Import", - "moduleName": "nfclib" - }, - { - "kind": "Import", - "name": "SwiftECC", - "printedName": "SwiftECC", - "declKind": "Import", - "moduleName": "nfclib", - "declAttributes": [ - "AccessControl" - ] - }, - { - "kind": "Import", - "name": "BigInt", - "printedName": "BigInt", - "declKind": "Import", - "moduleName": "nfclib" - }, - { - "kind": "Import", - "name": "Security", - "printedName": "Security", - "declKind": "Import", - "moduleName": "nfclib" - }, - { - "kind": "Import", - "name": "X509", - "printedName": "X509", - "declKind": "Import", - "moduleName": "nfclib", - "declAttributes": [ - "AccessControl" - ] - }, - { - "kind": "TypeDecl", - "name": "AuthenticateWithWebEidError", - "printedName": "AuthenticateWithWebEidError", - "children": [ - { - "kind": "Var", - "name": "failedToReadPublicKey", - "printedName": "failedToReadPublicKey", + "name": "failedToHashData", + "printedName": "failedToHashData", "children": [ { "kind": "TypeFunc", @@ -1483,14 +1167,14 @@ } ], "declKind": "EnumElement", - "usr": "s:6nfclib27AuthenticateWithWebEidErrorO21failedToReadPublicKeyyA2CmF", - "mangledName": "$s6nfclib27AuthenticateWithWebEidErrorO21failedToReadPublicKeyyA2CmF", + "usr": "s:6nfclib27AuthenticateWithWebEidErrorO16failedToHashDatayA2CmF", + "mangledName": "$s6nfclib27AuthenticateWithWebEidErrorO16failedToHashDatayA2CmF", "moduleName": "nfclib" }, { "kind": "Var", - "name": "failedToDetermineAlgorithm", - "printedName": "failedToDetermineAlgorithm", + "name": "failedToMapAlgorithm", + "printedName": "failedToMapAlgorithm", "children": [ { "kind": "TypeFunc", @@ -1520,14 +1204,14 @@ } ], "declKind": "EnumElement", - "usr": "s:6nfclib27AuthenticateWithWebEidErrorO26failedToDetermineAlgorithmyA2CmF", - "mangledName": "$s6nfclib27AuthenticateWithWebEidErrorO26failedToDetermineAlgorithmyA2CmF", + "usr": "s:6nfclib27AuthenticateWithWebEidErrorO20failedToMapAlgorithmyA2CmF", + "mangledName": "$s6nfclib27AuthenticateWithWebEidErrorO20failedToMapAlgorithmyA2CmF", "moduleName": "nfclib" }, { "kind": "Var", - "name": "failedToHashData", - "printedName": "failedToHashData", + "name": "failedCertificateExpired", + "printedName": "failedCertificateExpired", "children": [ { "kind": "TypeFunc", @@ -1557,14 +1241,14 @@ } ], "declKind": "EnumElement", - "usr": "s:6nfclib27AuthenticateWithWebEidErrorO16failedToHashDatayA2CmF", - "mangledName": "$s6nfclib27AuthenticateWithWebEidErrorO16failedToHashDatayA2CmF", + "usr": "s:6nfclib27AuthenticateWithWebEidErrorO24failedCertificateExpiredyA2CmF", + "mangledName": "$s6nfclib27AuthenticateWithWebEidErrorO24failedCertificateExpiredyA2CmF", "moduleName": "nfclib" }, { "kind": "Var", - "name": "failedToMapAlgorithm", - "printedName": "failedToMapAlgorithm", + "name": "failedCertificateNotYetValid", + "printedName": "failedCertificateNotYetValid", "children": [ { "kind": "TypeFunc", @@ -1594,120 +1278,46 @@ } ], "declKind": "EnumElement", - "usr": "s:6nfclib27AuthenticateWithWebEidErrorO20failedToMapAlgorithmyA2CmF", - "mangledName": "$s6nfclib27AuthenticateWithWebEidErrorO20failedToMapAlgorithmyA2CmF", + "usr": "s:6nfclib27AuthenticateWithWebEidErrorO28failedCertificateNotYetValidyA2CmF", + "mangledName": "$s6nfclib27AuthenticateWithWebEidErrorO28failedCertificateNotYetValidyA2CmF", "moduleName": "nfclib" }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "AuthenticateWithWebEidError", + "printedName": "nfclib.AuthenticateWithWebEidError", + "usr": "s:6nfclib27AuthenticateWithWebEidErrorO" + }, + { + "kind": "TypeNominal", + "name": "AuthenticateWithWebEidError", + "printedName": "nfclib.AuthenticateWithWebEidError", + "usr": "s:6nfclib27AuthenticateWithWebEidErrorO" + } + ], + "declKind": "Func", + "usr": "s:6nfclib27AuthenticateWithWebEidErrorO2eeoiySbAC_ACtFZ", + "mangledName": "$s6nfclib27AuthenticateWithWebEidErrorO2eeoiySbAC_ACtFZ", + "moduleName": "nfclib", + "static": true, + "implicit": true, + "funcSelfKind": "NonMutating" + }, { "kind": "Var", - "name": "failedCertificateExpired", - "printedName": "failedCertificateExpired", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.AuthenticateWithWebEidError.Type) -> nfclib.AuthenticateWithWebEidError", - "children": [ - { - "kind": "TypeNominal", - "name": "AuthenticateWithWebEidError", - "printedName": "nfclib.AuthenticateWithWebEidError", - "usr": "s:6nfclib27AuthenticateWithWebEidErrorO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.AuthenticateWithWebEidError.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "AuthenticateWithWebEidError", - "printedName": "nfclib.AuthenticateWithWebEidError", - "usr": "s:6nfclib27AuthenticateWithWebEidErrorO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib27AuthenticateWithWebEidErrorO24failedCertificateExpiredyA2CmF", - "mangledName": "$s6nfclib27AuthenticateWithWebEidErrorO24failedCertificateExpiredyA2CmF", - "moduleName": "nfclib" - }, - { - "kind": "Var", - "name": "failedCertificateNotYetValid", - "printedName": "failedCertificateNotYetValid", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.AuthenticateWithWebEidError.Type) -> nfclib.AuthenticateWithWebEidError", - "children": [ - { - "kind": "TypeNominal", - "name": "AuthenticateWithWebEidError", - "printedName": "nfclib.AuthenticateWithWebEidError", - "usr": "s:6nfclib27AuthenticateWithWebEidErrorO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.AuthenticateWithWebEidError.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "AuthenticateWithWebEidError", - "printedName": "nfclib.AuthenticateWithWebEidError", - "usr": "s:6nfclib27AuthenticateWithWebEidErrorO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib27AuthenticateWithWebEidErrorO28failedCertificateNotYetValidyA2CmF", - "mangledName": "$s6nfclib27AuthenticateWithWebEidErrorO28failedCertificateNotYetValidyA2CmF", - "moduleName": "nfclib" - }, - { - "kind": "Function", - "name": "==", - "printedName": "==(_:_:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" - }, - { - "kind": "TypeNominal", - "name": "AuthenticateWithWebEidError", - "printedName": "nfclib.AuthenticateWithWebEidError", - "usr": "s:6nfclib27AuthenticateWithWebEidErrorO" - }, - { - "kind": "TypeNominal", - "name": "AuthenticateWithWebEidError", - "printedName": "nfclib.AuthenticateWithWebEidError", - "usr": "s:6nfclib27AuthenticateWithWebEidErrorO" - } - ], - "declKind": "Func", - "usr": "s:6nfclib27AuthenticateWithWebEidErrorO2eeoiySbAC_ACtFZ", - "mangledName": "$s6nfclib27AuthenticateWithWebEidErrorO2eeoiySbAC_ACtFZ", - "moduleName": "nfclib", - "static": true, - "implicit": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Var", - "name": "hashValue", - "printedName": "hashValue", + "name": "hashValue", + "printedName": "hashValue", "children": [ { "kind": "TypeNominal", @@ -1895,7 +1505,6 @@ "usr": "s:6nfclib31OperationAuthenticateWithWebEIDC12startReadingAA0E7EidDataCyYaKF", "mangledName": "$s6nfclib31OperationAuthenticateWithWebEIDC12startReadingAA0E7EidDataCyYaKF", "moduleName": "nfclib", - "isOpen": true, "declAttributes": [ "Custom", "AccessControl" @@ -1965,7 +1574,6 @@ "usr": "s:6nfclib31OperationAuthenticateWithWebEIDC16tagReaderSession_9didDetectySo06NFCTaghI0C_Say7CoreNFC0L0OGtF", "mangledName": "$s6nfclib31OperationAuthenticateWithWebEIDC16tagReaderSession_9didDetectySo06NFCTaghI0C_Say7CoreNFC0L0OGtF", "moduleName": "nfclib", - "isOpen": true, "declAttributes": [ "Custom", "AccessControl" @@ -2016,7 +1624,6 @@ "usr": "s:6nfclib31OperationAuthenticateWithWebEIDC29getAlgorithmNameTypeAndLength4fromSS9algorithm_Si03keyL0tSgSo9SecKeyRefa_tF", "mangledName": "$s6nfclib31OperationAuthenticateWithWebEIDC29getAlgorithmNameTypeAndLength4fromSS9algorithm_Si03keyL0tSgSo9SecKeyRefa_tF", "moduleName": "nfclib", - "isOpen": true, "declAttributes": [ "Custom", "AccessControl" @@ -2045,7 +1652,6 @@ "usr": "s:6nfclib31OperationAuthenticateWithWebEIDC31tagReaderSessionDidBecomeActiveyySo06NFCTaghI0CF", "mangledName": "$s6nfclib31OperationAuthenticateWithWebEIDC31tagReaderSessionDidBecomeActiveyySo06NFCTaghI0CF", "moduleName": "nfclib", - "isOpen": true, "declAttributes": [ "Custom", "AccessControl" @@ -2080,7 +1686,6 @@ "usr": "s:6nfclib31OperationAuthenticateWithWebEIDC16tagReaderSession_013didInvalidateD5ErrorySo06NFCTaghI0C_s0L0_ptF", "mangledName": "$s6nfclib31OperationAuthenticateWithWebEIDC16tagReaderSession_013didInvalidateD5ErrorySo06NFCTaghI0C_s0L0_ptF", "moduleName": "nfclib", - "isOpen": true, "declAttributes": [ "Custom", "AccessControl" @@ -2124,7 +1729,6 @@ "usr": "s:6nfclib31OperationAuthenticateWithWebEIDC14mapToAlgorithm9algorithm9bitLengthSSSgSS_SitF", "mangledName": "$s6nfclib31OperationAuthenticateWithWebEIDC14mapToAlgorithm9algorithm9bitLengthSSSgSS_SitF", "moduleName": "nfclib", - "isOpen": true, "declAttributes": [ "Custom", "AccessControl" @@ -2137,7 +1741,6 @@ "usr": "c:@M@nfclib@objc(cs)OperationAuthenticateWithWebEID", "mangledName": "$s6nfclib31OperationAuthenticateWithWebEIDC", "moduleName": "nfclib", - "isOpen": true, "declAttributes": [ "AccessControl", "Custom", @@ -2231,125 +1834,6 @@ "kind": "TypeDecl", "name": "SignatureAlgorithmInfo", "printedName": "SignatureAlgorithmInfo", - "children": [ - { - "kind": "Var", - "name": "name", - "printedName": "name", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:6nfclib22SignatureAlgorithmInfoV4nameSSvp", - "mangledName": "$s6nfclib22SignatureAlgorithmInfoV4nameSSvp", - "moduleName": "nfclib", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib22SignatureAlgorithmInfoV4nameSSvg", - "mangledName": "$s6nfclib22SignatureAlgorithmInfoV4nameSSvg", - "moduleName": "nfclib", - "implicit": true, - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "bitSize", - "printedName": "bitSize", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Var", - "usr": "s:6nfclib22SignatureAlgorithmInfoV7bitSizeSivp", - "mangledName": "$s6nfclib22SignatureAlgorithmInfoV7bitSizeSivp", - "moduleName": "nfclib", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib22SignatureAlgorithmInfoV7bitSizeSivg", - "mangledName": "$s6nfclib22SignatureAlgorithmInfoV7bitSizeSivg", - "moduleName": "nfclib", - "implicit": true, - "accessorKind": "get" - } - ] - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(name:bitSize:)", - "children": [ - { - "kind": "TypeNominal", - "name": "SignatureAlgorithmInfo", - "printedName": "nfclib.SignatureAlgorithmInfo", - "usr": "s:6nfclib22SignatureAlgorithmInfoV" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Constructor", - "usr": "s:6nfclib22SignatureAlgorithmInfoV4name7bitSizeACSS_Sitcfc", - "mangledName": "$s6nfclib22SignatureAlgorithmInfoV4name7bitSizeACSS_Sitcfc", - "moduleName": "nfclib", - "implicit": true, - "init_kind": "Designated" - } - ], "declKind": "Struct", "usr": "s:6nfclib22SignatureAlgorithmInfoV", "mangledName": "$s6nfclib22SignatureAlgorithmInfoV", @@ -2443,995 +1927,481 @@ "moduleName": "nfclib" }, { - "kind": "TypeDecl", - "name": "CardReaderNFC", - "printedName": "CardReaderNFC", - "children": [ - { - "kind": "TypeDecl", - "name": "PasswordType", - "printedName": "PasswordType", - "children": [ - { - "kind": "Var", - "name": "id_PasswordType_MRZ", - "printedName": "id_PasswordType_MRZ", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.CardReaderNFC.PasswordType.Type) -> nfclib.CardReaderNFC.PasswordType", - "children": [ - { - "kind": "TypeNominal", - "name": "PasswordType", - "printedName": "nfclib.CardReaderNFC.PasswordType", - "usr": "s:6nfclib13CardReaderNFCC12PasswordTypeO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.CardReaderNFC.PasswordType.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "PasswordType", - "printedName": "nfclib.CardReaderNFC.PasswordType", - "usr": "s:6nfclib13CardReaderNFCC12PasswordTypeO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib13CardReaderNFCC12PasswordTypeO03id_eF4_MRZyA2EmF", - "mangledName": "$s6nfclib13CardReaderNFCC12PasswordTypeO03id_eF4_MRZyA2EmF", - "moduleName": "nfclib", - "fixedbinaryorder": 0 - }, - { - "kind": "Var", - "name": "id_PasswordType_CAN", - "printedName": "id_PasswordType_CAN", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.CardReaderNFC.PasswordType.Type) -> nfclib.CardReaderNFC.PasswordType", - "children": [ - { - "kind": "TypeNominal", - "name": "PasswordType", - "printedName": "nfclib.CardReaderNFC.PasswordType", - "usr": "s:6nfclib13CardReaderNFCC12PasswordTypeO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.CardReaderNFC.PasswordType.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "PasswordType", - "printedName": "nfclib.CardReaderNFC.PasswordType", - "usr": "s:6nfclib13CardReaderNFCC12PasswordTypeO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib13CardReaderNFCC12PasswordTypeO03id_eF4_CANyA2EmF", - "mangledName": "$s6nfclib13CardReaderNFCC12PasswordTypeO03id_eF4_CANyA2EmF", - "moduleName": "nfclib", - "declAttributes": [ - "RawDocComment" - ], - "fixedbinaryorder": 1 - }, - { - "kind": "Var", - "name": "data", - "printedName": "data", + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "nfclib", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "CryptoTokenKit", + "printedName": "CryptoTokenKit", + "declKind": "Import", + "moduleName": "nfclib", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "nfclib", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "CoreNFC", + "printedName": "CoreNFC", + "declKind": "Import", + "moduleName": "nfclib" + }, + { + "kind": "Import", + "name": "CommonCrypto", + "printedName": "CommonCrypto", + "declKind": "Import", + "moduleName": "nfclib" + }, + { + "kind": "Import", + "name": "CryptoTokenKit", + "printedName": "CryptoTokenKit", + "declKind": "Import", + "moduleName": "nfclib" + }, + { + "kind": "Import", + "name": "SwiftECC", + "printedName": "SwiftECC", + "declKind": "Import", + "moduleName": "nfclib", + "declAttributes": [ + "AccessControl" + ] + }, + { + "kind": "Import", + "name": "BigInt", + "printedName": "BigInt", + "declKind": "Import", + "moduleName": "nfclib" + }, + { + "kind": "Import", + "name": "Security", + "printedName": "Security", + "declKind": "Import", + "moduleName": "nfclib" + }, + { + "kind": "TypeDecl", + "name": "ReadCertificateError", + "printedName": "ReadCertificateError", + "children": [ + { + "kind": "Var", + "name": "certificateUsageNotSpecified", + "printedName": "certificateUsageNotSpecified", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(nfclib.ReadCertificateError.Type) -> nfclib.ReadCertificateError", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:6nfclib13CardReaderNFCC12PasswordTypeO4dataSSvp", - "mangledName": "$s6nfclib13CardReaderNFCC12PasswordTypeO4dataSSvp", - "moduleName": "nfclib", - "declAttributes": [ - "RawDocComment" - ], - "accessors": [ + "name": "ReadCertificateError", + "printedName": "nfclib.ReadCertificateError", + "usr": "s:6nfclib20ReadCertificateErrorO" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "nfclib.ReadCertificateError.Type", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "ReadCertificateError", + "printedName": "nfclib.ReadCertificateError", + "usr": "s:6nfclib20ReadCertificateErrorO" } - ], - "declKind": "Accessor", - "usr": "s:6nfclib13CardReaderNFCC12PasswordTypeO4dataSSvg", - "mangledName": "$s6nfclib13CardReaderNFCC12PasswordTypeO4dataSSvg", - "moduleName": "nfclib", - "accessorKind": "get" + ] } ] - }, + } + ], + "declKind": "EnumElement", + "usr": "s:6nfclib20ReadCertificateErrorO28certificateUsageNotSpecifiedyA2CmF", + "mangledName": "$s6nfclib20ReadCertificateErrorO28certificateUsageNotSpecifiedyA2CmF", + "moduleName": "nfclib" + }, + { + "kind": "Var", + "name": "failedToReadCertificate", + "printedName": "failedToReadCertificate", + "children": [ { - "kind": "Constructor", - "name": "init", - "printedName": "init(rawValue:)", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(nfclib.ReadCertificateError.Type) -> nfclib.ReadCertificateError", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "nfclib.CardReaderNFC.PasswordType?", - "children": [ - { - "kind": "TypeNominal", - "name": "PasswordType", - "printedName": "nfclib.CardReaderNFC.PasswordType", - "usr": "s:6nfclib13CardReaderNFCC12PasswordTypeO" - } - ], - "usr": "s:Sq" + "name": "ReadCertificateError", + "printedName": "nfclib.ReadCertificateError", + "usr": "s:6nfclib20ReadCertificateErrorO" }, { "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "declKind": "Constructor", - "usr": "s:6nfclib13CardReaderNFCC12PasswordTypeO8rawValueAESgs5UInt8V_tcfc", - "mangledName": "$s6nfclib13CardReaderNFCC12PasswordTypeO8rawValueAESgs5UInt8V_tcfc", - "moduleName": "nfclib", - "implicit": true, - "init_kind": "Designated" - }, - { - "kind": "Var", - "name": "rawValue", - "printedName": "rawValue", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "declKind": "Var", - "usr": "s:6nfclib13CardReaderNFCC12PasswordTypeO8rawValues5UInt8Vvp", - "mangledName": "$s6nfclib13CardReaderNFCC12PasswordTypeO8rawValues5UInt8Vvp", - "moduleName": "nfclib", - "implicit": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "name": "Metatype", + "printedName": "nfclib.ReadCertificateError.Type", "children": [ { "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" + "name": "ReadCertificateError", + "printedName": "nfclib.ReadCertificateError", + "usr": "s:6nfclib20ReadCertificateErrorO" } - ], - "declKind": "Accessor", - "usr": "s:6nfclib13CardReaderNFCC12PasswordTypeO8rawValues5UInt8Vvg", - "mangledName": "$s6nfclib13CardReaderNFCC12PasswordTypeO8rawValues5UInt8Vvg", - "moduleName": "nfclib", - "implicit": true, - "accessorKind": "get" + ] } ] } ], - "declKind": "Enum", - "usr": "s:6nfclib13CardReaderNFCC12PasswordTypeO", - "mangledName": "$s6nfclib13CardReaderNFCC12PasswordTypeO", - "moduleName": "nfclib", - "declAttributes": [ - "RawDocComment" - ], - "enumRawTypeName": "UInt8", - "isEnumExhaustive": true, - "conformances": [ - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Equatable", - "printedName": "Equatable", - "usr": "s:SQ", - "mangledName": "$sSQ" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - }, - { - "kind": "Conformance", - "name": "Hashable", - "printedName": "Hashable", - "usr": "s:SH", - "mangledName": "$sSH" - }, + "declKind": "EnumElement", + "usr": "s:6nfclib20ReadCertificateErrorO08failedTobC0yA2CmF", + "mangledName": "$s6nfclib20ReadCertificateErrorO08failedTobC0yA2CmF", + "moduleName": "nfclib" + }, + { + "kind": "Var", + "name": "general", + "printedName": "general", + "children": [ { - "kind": "Conformance", - "name": "RawRepresentable", - "printedName": "RawRepresentable", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(nfclib.ReadCertificateError.Type) -> nfclib.ReadCertificateError", "children": [ { - "kind": "TypeWitness", - "name": "RawValue", - "printedName": "RawValue", + "kind": "TypeNominal", + "name": "ReadCertificateError", + "printedName": "nfclib.ReadCertificateError", + "usr": "s:6nfclib20ReadCertificateErrorO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "nfclib.ReadCertificateError.Type", "children": [ { "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" + "name": "ReadCertificateError", + "printedName": "nfclib.ReadCertificateError", + "usr": "s:6nfclib20ReadCertificateErrorO" } ] } - ], - "usr": "s:SY", - "mangledName": "$sSY" + ] + } + ], + "declKind": "EnumElement", + "usr": "s:6nfclib20ReadCertificateErrorO7generalyA2CmF", + "mangledName": "$s6nfclib20ReadCertificateErrorO7generalyA2CmF", + "moduleName": "nfclib" + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" }, { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" + "kind": "TypeNominal", + "name": "ReadCertificateError", + "printedName": "nfclib.ReadCertificateError", + "usr": "s:6nfclib20ReadCertificateErrorO" }, { - "kind": "Conformance", - "name": "BitwiseCopyable", - "printedName": "BitwiseCopyable", - "usr": "s:s15BitwiseCopyableP", - "mangledName": "$ss15BitwiseCopyableP" + "kind": "TypeNominal", + "name": "ReadCertificateError", + "printedName": "nfclib.ReadCertificateError", + "usr": "s:6nfclib20ReadCertificateErrorO" } - ] + ], + "declKind": "Func", + "usr": "s:6nfclib20ReadCertificateErrorO2eeoiySbAC_ACtFZ", + "mangledName": "$s6nfclib20ReadCertificateErrorO2eeoiySbAC_ACtFZ", + "moduleName": "nfclib", + "static": true, + "implicit": true, + "funcSelfKind": "NonMutating" }, { - "kind": "TypeDecl", - "name": "MappingType", - "printedName": "MappingType", + "kind": "Var", + "name": "hashValue", + "printedName": "hashValue", "children": [ { - "kind": "Var", - "name": "id_PACE_ECDH_GM_AES_CBC_CMAC_256", - "printedName": "id_PACE_ECDH_GM_AES_CBC_CMAC_256", + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:6nfclib20ReadCertificateErrorO9hashValueSivp", + "mangledName": "$s6nfclib20ReadCertificateErrorO9hashValueSivp", + "moduleName": "nfclib", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.CardReaderNFC.MappingType.Type) -> nfclib.CardReaderNFC.MappingType", - "children": [ - { - "kind": "TypeNominal", - "name": "MappingType", - "printedName": "nfclib.CardReaderNFC.MappingType", - "usr": "s:6nfclib13CardReaderNFCC11MappingTypeO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.CardReaderNFC.MappingType.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "MappingType", - "printedName": "nfclib.CardReaderNFC.MappingType", - "usr": "s:6nfclib13CardReaderNFCC11MappingTypeO" - } - ] - } - ] + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], - "declKind": "EnumElement", - "usr": "s:6nfclib13CardReaderNFCC11MappingTypeO32id_PACE_ECDH_GM_AES_CBC_CMAC_256yA2EmF", - "mangledName": "$s6nfclib13CardReaderNFCC11MappingTypeO32id_PACE_ECDH_GM_AES_CBC_CMAC_256yA2EmF", + "declKind": "Accessor", + "usr": "s:6nfclib20ReadCertificateErrorO9hashValueSivg", + "mangledName": "$s6nfclib20ReadCertificateErrorO9hashValueSivg", "moduleName": "nfclib", - "fixedbinaryorder": 0 - }, + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "hash", + "printedName": "hash(into:)", + "children": [ { - "kind": "Var", - "name": "id_PACE_ECDH_IM_AES_CBC_CMAC_256", - "printedName": "id_PACE_ECDH_IM_AES_CBC_CMAC_256", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.CardReaderNFC.MappingType.Type) -> nfclib.CardReaderNFC.MappingType", - "children": [ - { - "kind": "TypeNominal", - "name": "MappingType", - "printedName": "nfclib.CardReaderNFC.MappingType", - "usr": "s:6nfclib13CardReaderNFCC11MappingTypeO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.CardReaderNFC.MappingType.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "MappingType", - "printedName": "nfclib.CardReaderNFC.MappingType", - "usr": "s:6nfclib13CardReaderNFCC11MappingTypeO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib13CardReaderNFCC11MappingTypeO32id_PACE_ECDH_IM_AES_CBC_CMAC_256yA2EmF", - "mangledName": "$s6nfclib13CardReaderNFCC11MappingTypeO32id_PACE_ECDH_IM_AES_CBC_CMAC_256yA2EmF", - "moduleName": "nfclib", - "declAttributes": [ - "RawDocComment" - ], - "fixedbinaryorder": 1 + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" }, { - "kind": "Var", - "name": "data", - "printedName": "data", + "kind": "TypeNominal", + "name": "Hasher", + "printedName": "Swift.Hasher", + "paramValueOwnership": "InOut", + "usr": "s:s6HasherV" + } + ], + "declKind": "Func", + "usr": "s:6nfclib20ReadCertificateErrorO4hash4intoys6HasherVz_tF", + "mangledName": "$s6nfclib20ReadCertificateErrorO4hash4intoys6HasherVz_tF", + "moduleName": "nfclib", + "implicit": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Enum", + "usr": "s:6nfclib20ReadCertificateErrorO", + "mangledName": "$s6nfclib20ReadCertificateErrorO", + "moduleName": "nfclib", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "Error", + "printedName": "Error", + "usr": "s:s5ErrorP", + "mangledName": "$ss5ErrorP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "CertificateUsage", + "printedName": "CertificateUsage", + "children": [ + { + "kind": "Var", + "name": "auth", + "printedName": "auth", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(nfclib.CertificateUsage.Type) -> nfclib.CertificateUsage", "children": [ { "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Var", - "usr": "s:6nfclib13CardReaderNFCC11MappingTypeO4data10Foundation4DataVvp", - "mangledName": "$s6nfclib13CardReaderNFCC11MappingTypeO4data10Foundation4DataVvp", - "moduleName": "nfclib", - "declAttributes": [ - "RawDocComment" - ], - "accessors": [ + "name": "CertificateUsage", + "printedName": "nfclib.CertificateUsage", + "usr": "s:6nfclib16CertificateUsageO" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "nfclib.CertificateUsage.Type", "children": [ { "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" + "name": "CertificateUsage", + "printedName": "nfclib.CertificateUsage", + "usr": "s:6nfclib16CertificateUsageO" } - ], - "declKind": "Accessor", - "usr": "s:6nfclib13CardReaderNFCC11MappingTypeO4data10Foundation4DataVvg", - "mangledName": "$s6nfclib13CardReaderNFCC11MappingTypeO4data10Foundation4DataVvg", - "moduleName": "nfclib", - "accessorKind": "get" + ] } ] - }, + } + ], + "declKind": "EnumElement", + "usr": "s:6nfclib16CertificateUsageO4authyA2CmF", + "mangledName": "$s6nfclib16CertificateUsageO4authyA2CmF", + "moduleName": "nfclib" + }, + { + "kind": "Var", + "name": "sign", + "printedName": "sign", + "children": [ { - "kind": "Constructor", - "name": "init", - "printedName": "init(rawValue:)", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(nfclib.CertificateUsage.Type) -> nfclib.CertificateUsage", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "nfclib.CardReaderNFC.MappingType?", - "children": [ - { - "kind": "TypeNominal", - "name": "MappingType", - "printedName": "nfclib.CardReaderNFC.MappingType", - "usr": "s:6nfclib13CardReaderNFCC11MappingTypeO" - } - ], - "usr": "s:Sq" + "name": "CertificateUsage", + "printedName": "nfclib.CertificateUsage", + "usr": "s:6nfclib16CertificateUsageO" }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Constructor", - "usr": "s:6nfclib13CardReaderNFCC11MappingTypeO8rawValueAESgSS_tcfc", - "mangledName": "$s6nfclib13CardReaderNFCC11MappingTypeO8rawValueAESgSS_tcfc", - "moduleName": "nfclib", - "implicit": true, - "init_kind": "Designated" - }, - { - "kind": "Var", - "name": "rawValue", - "printedName": "rawValue", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:6nfclib13CardReaderNFCC11MappingTypeO8rawValueSSvp", - "mangledName": "$s6nfclib13CardReaderNFCC11MappingTypeO8rawValueSSvp", - "moduleName": "nfclib", - "implicit": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "name": "Metatype", + "printedName": "nfclib.CertificateUsage.Type", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "CertificateUsage", + "printedName": "nfclib.CertificateUsage", + "usr": "s:6nfclib16CertificateUsageO" } - ], - "declKind": "Accessor", - "usr": "s:6nfclib13CardReaderNFCC11MappingTypeO8rawValueSSvg", - "mangledName": "$s6nfclib13CardReaderNFCC11MappingTypeO8rawValueSSvg", - "moduleName": "nfclib", - "implicit": true, - "accessorKind": "get" + ] } ] } ], - "declKind": "Enum", - "usr": "s:6nfclib13CardReaderNFCC11MappingTypeO", - "mangledName": "$s6nfclib13CardReaderNFCC11MappingTypeO", - "moduleName": "nfclib", - "enumRawTypeName": "String", - "isEnumExhaustive": true, - "conformances": [ - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Equatable", - "printedName": "Equatable", - "usr": "s:SQ", - "mangledName": "$sSQ" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - }, - { - "kind": "Conformance", - "name": "Hashable", - "printedName": "Hashable", - "usr": "s:SH", - "mangledName": "$sSH" - }, + "declKind": "EnumElement", + "usr": "s:6nfclib16CertificateUsageO4signyA2CmF", + "mangledName": "$s6nfclib16CertificateUsageO4signyA2CmF", + "moduleName": "nfclib" + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ { - "kind": "Conformance", - "name": "RawRepresentable", - "printedName": "RawRepresentable", - "children": [ - { - "kind": "TypeWitness", - "name": "RawValue", - "printedName": "RawValue", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ] - } - ], - "usr": "s:SY", - "mangledName": "$sSY" + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" }, { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" + "kind": "TypeNominal", + "name": "CertificateUsage", + "printedName": "nfclib.CertificateUsage", + "usr": "s:6nfclib16CertificateUsageO" }, { - "kind": "Conformance", - "name": "BitwiseCopyable", - "printedName": "BitwiseCopyable", - "usr": "s:s15BitwiseCopyableP", - "mangledName": "$ss15BitwiseCopyableP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "ParameterId", - "printedName": "ParameterId", - "children": [ - { - "kind": "Var", - "name": "EC256r1", - "printedName": "EC256r1", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.CardReaderNFC.ParameterId.Type) -> nfclib.CardReaderNFC.ParameterId", - "children": [ - { - "kind": "TypeNominal", - "name": "ParameterId", - "printedName": "nfclib.CardReaderNFC.ParameterId", - "usr": "s:6nfclib13CardReaderNFCC11ParameterIdO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.CardReaderNFC.ParameterId.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "ParameterId", - "printedName": "nfclib.CardReaderNFC.ParameterId", - "usr": "s:6nfclib13CardReaderNFCC11ParameterIdO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib13CardReaderNFCC11ParameterIdO7EC256r1yA2EmF", - "mangledName": "$s6nfclib13CardReaderNFCC11ParameterIdO7EC256r1yA2EmF", - "moduleName": "nfclib", - "fixedbinaryorder": 0 - }, - { - "kind": "Var", - "name": "BP256r1", - "printedName": "BP256r1", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.CardReaderNFC.ParameterId.Type) -> nfclib.CardReaderNFC.ParameterId", - "children": [ - { - "kind": "TypeNominal", - "name": "ParameterId", - "printedName": "nfclib.CardReaderNFC.ParameterId", - "usr": "s:6nfclib13CardReaderNFCC11ParameterIdO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.CardReaderNFC.ParameterId.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "ParameterId", - "printedName": "nfclib.CardReaderNFC.ParameterId", - "usr": "s:6nfclib13CardReaderNFCC11ParameterIdO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib13CardReaderNFCC11ParameterIdO7BP256r1yA2EmF", - "mangledName": "$s6nfclib13CardReaderNFCC11ParameterIdO7BP256r1yA2EmF", - "moduleName": "nfclib", - "fixedbinaryorder": 1 - }, - { - "kind": "Var", - "name": "EC384r1", - "printedName": "EC384r1", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.CardReaderNFC.ParameterId.Type) -> nfclib.CardReaderNFC.ParameterId", - "children": [ - { - "kind": "TypeNominal", - "name": "ParameterId", - "printedName": "nfclib.CardReaderNFC.ParameterId", - "usr": "s:6nfclib13CardReaderNFCC11ParameterIdO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.CardReaderNFC.ParameterId.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "ParameterId", - "printedName": "nfclib.CardReaderNFC.ParameterId", - "usr": "s:6nfclib13CardReaderNFCC11ParameterIdO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib13CardReaderNFCC11ParameterIdO7EC384r1yA2EmF", - "mangledName": "$s6nfclib13CardReaderNFCC11ParameterIdO7EC384r1yA2EmF", - "moduleName": "nfclib", - "fixedbinaryorder": 2 - }, - { - "kind": "Var", - "name": "BP384r1", - "printedName": "BP384r1", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.CardReaderNFC.ParameterId.Type) -> nfclib.CardReaderNFC.ParameterId", - "children": [ - { - "kind": "TypeNominal", - "name": "ParameterId", - "printedName": "nfclib.CardReaderNFC.ParameterId", - "usr": "s:6nfclib13CardReaderNFCC11ParameterIdO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.CardReaderNFC.ParameterId.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "ParameterId", - "printedName": "nfclib.CardReaderNFC.ParameterId", - "usr": "s:6nfclib13CardReaderNFCC11ParameterIdO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib13CardReaderNFCC11ParameterIdO7BP384r1yA2EmF", - "mangledName": "$s6nfclib13CardReaderNFCC11ParameterIdO7BP384r1yA2EmF", - "moduleName": "nfclib", - "fixedbinaryorder": 3 - }, - { - "kind": "Var", - "name": "BP512r1", - "printedName": "BP512r1", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.CardReaderNFC.ParameterId.Type) -> nfclib.CardReaderNFC.ParameterId", - "children": [ - { - "kind": "TypeNominal", - "name": "ParameterId", - "printedName": "nfclib.CardReaderNFC.ParameterId", - "usr": "s:6nfclib13CardReaderNFCC11ParameterIdO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.CardReaderNFC.ParameterId.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "ParameterId", - "printedName": "nfclib.CardReaderNFC.ParameterId", - "usr": "s:6nfclib13CardReaderNFCC11ParameterIdO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib13CardReaderNFCC11ParameterIdO7BP512r1yA2EmF", - "mangledName": "$s6nfclib13CardReaderNFCC11ParameterIdO7BP512r1yA2EmF", - "moduleName": "nfclib", - "fixedbinaryorder": 4 - }, - { - "kind": "Var", - "name": "EC521r1", - "printedName": "EC521r1", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.CardReaderNFC.ParameterId.Type) -> nfclib.CardReaderNFC.ParameterId", - "children": [ - { - "kind": "TypeNominal", - "name": "ParameterId", - "printedName": "nfclib.CardReaderNFC.ParameterId", - "usr": "s:6nfclib13CardReaderNFCC11ParameterIdO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.CardReaderNFC.ParameterId.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "ParameterId", - "printedName": "nfclib.CardReaderNFC.ParameterId", - "usr": "s:6nfclib13CardReaderNFCC11ParameterIdO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib13CardReaderNFCC11ParameterIdO7EC521r1yA2EmF", - "mangledName": "$s6nfclib13CardReaderNFCC11ParameterIdO7EC521r1yA2EmF", - "moduleName": "nfclib", - "fixedbinaryorder": 5 - }, - { - "kind": "Var", - "name": "domain", - "printedName": "domain", - "children": [ - { - "kind": "TypeNominal", - "name": "Domain", - "printedName": "SwiftECC.Domain", - "usr": "s:8SwiftECC6DomainC" - } - ], - "declKind": "Var", - "usr": "s:6nfclib13CardReaderNFCC11ParameterIdO6domain8SwiftECC6DomainCvp", - "mangledName": "$s6nfclib13CardReaderNFCC11ParameterIdO6domain8SwiftECC6DomainCvp", - "moduleName": "nfclib", - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Domain", - "printedName": "SwiftECC.Domain", - "usr": "s:8SwiftECC6DomainC" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib13CardReaderNFCC11ParameterIdO6domain8SwiftECC6DomainCvg", - "mangledName": "$s6nfclib13CardReaderNFCC11ParameterIdO6domain8SwiftECC6DomainCvg", - "moduleName": "nfclib", - "accessorKind": "get" - } - ] - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(rawValue:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "nfclib.CardReaderNFC.ParameterId?", - "children": [ - { - "kind": "TypeNominal", - "name": "ParameterId", - "printedName": "nfclib.CardReaderNFC.ParameterId", - "usr": "s:6nfclib13CardReaderNFCC11ParameterIdO" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "declKind": "Constructor", - "usr": "s:6nfclib13CardReaderNFCC11ParameterIdO8rawValueAESgs5UInt8V_tcfc", - "mangledName": "$s6nfclib13CardReaderNFCC11ParameterIdO8rawValueAESgs5UInt8V_tcfc", - "moduleName": "nfclib", - "implicit": true, - "init_kind": "Designated" - }, - { - "kind": "Var", - "name": "rawValue", - "printedName": "rawValue", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "declKind": "Var", - "usr": "s:6nfclib13CardReaderNFCC11ParameterIdO8rawValues5UInt8Vvp", - "mangledName": "$s6nfclib13CardReaderNFCC11ParameterIdO8rawValues5UInt8Vvp", - "moduleName": "nfclib", - "implicit": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib13CardReaderNFCC11ParameterIdO8rawValues5UInt8Vvg", - "mangledName": "$s6nfclib13CardReaderNFCC11ParameterIdO8rawValues5UInt8Vvg", - "moduleName": "nfclib", - "implicit": true, - "accessorKind": "get" - } - ] + "kind": "TypeNominal", + "name": "CertificateUsage", + "printedName": "nfclib.CertificateUsage", + "usr": "s:6nfclib16CertificateUsageO" } ], - "declKind": "Enum", - "usr": "s:6nfclib13CardReaderNFCC11ParameterIdO", - "mangledName": "$s6nfclib13CardReaderNFCC11ParameterIdO", + "declKind": "Func", + "usr": "s:6nfclib16CertificateUsageO2eeoiySbAC_ACtFZ", + "mangledName": "$s6nfclib16CertificateUsageO2eeoiySbAC_ACtFZ", "moduleName": "nfclib", - "declAttributes": [ - "RawDocComment" - ], - "enumRawTypeName": "UInt8", - "isEnumExhaustive": true, - "conformances": [ - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Equatable", - "printedName": "Equatable", - "usr": "s:SQ", - "mangledName": "$sSQ" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - }, - { - "kind": "Conformance", - "name": "Hashable", - "printedName": "Hashable", - "usr": "s:SH", - "mangledName": "$sSH" - }, - { - "kind": "Conformance", - "name": "RawRepresentable", - "printedName": "RawRepresentable", - "children": [ - { - "kind": "TypeWitness", - "name": "RawValue", - "printedName": "RawValue", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ] - } - ], - "usr": "s:SY", - "mangledName": "$sSY" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "BitwiseCopyable", - "printedName": "BitwiseCopyable", - "usr": "s:s15BitwiseCopyableP", - "mangledName": "$ss15BitwiseCopyableP" - } - ] + "static": true, + "implicit": true, + "funcSelfKind": "NonMutating" }, { "kind": "Var", - "name": "tag", - "printedName": "tag", + "name": "hashValue", + "printedName": "hashValue", "children": [ { "kind": "TypeNominal", - "name": "SendableISO7816Tag", - "printedName": "nfclib.SendableISO7816Tag", - "usr": "s:6nfclib18SendableISO7816TagV" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], "declKind": "Var", - "usr": "s:6nfclib13CardReaderNFCC3tagAA18SendableISO7816TagVvp", - "mangledName": "$s6nfclib13CardReaderNFCC3tagAA18SendableISO7816TagVvp", + "usr": "s:6nfclib16CertificateUsageO9hashValueSivp", + "mangledName": "$s6nfclib16CertificateUsageO9hashValueSivp", "moduleName": "nfclib", - "declAttributes": [ - "Final", - "HasStorage" - ], - "fixedbinaryorder": 0, - "isLet": true, - "hasStorage": true, + "implicit": true, "accessors": [ { "kind": "Accessor", @@ -3440,486 +2410,299 @@ "children": [ { "kind": "TypeNominal", - "name": "SendableISO7816Tag", - "printedName": "nfclib.SendableISO7816Tag", - "usr": "s:6nfclib18SendableISO7816TagV" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], "declKind": "Accessor", - "usr": "s:6nfclib13CardReaderNFCC3tagAA18SendableISO7816TagVvg", - "mangledName": "$s6nfclib13CardReaderNFCC3tagAA18SendableISO7816TagVvg", + "usr": "s:6nfclib16CertificateUsageO9hashValueSivg", + "mangledName": "$s6nfclib16CertificateUsageO9hashValueSivg", "moduleName": "nfclib", "implicit": true, - "declAttributes": [ - "Transparent", - "Final" - ], "accessorKind": "get" } ] }, { - "kind": "Var", - "name": "ksEnc", - "printedName": "ksEnc", + "kind": "Function", + "name": "hash", + "printedName": "hash(into:)", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.UInt8]", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "usr": "s:Sa" - } - ], - "declKind": "Var", - "usr": "s:6nfclib13CardReaderNFCC5ksEncSays5UInt8VGvp", - "mangledName": "$s6nfclib13CardReaderNFCC5ksEncSays5UInt8VGvp", - "moduleName": "nfclib", - "isOpen": true, - "declAttributes": [ - "HasInitialValue", - "HasStorage" + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Hasher", + "printedName": "Swift.Hasher", + "paramValueOwnership": "InOut", + "usr": "s:s6HasherV" + } ], - "fixedbinaryorder": 1, - "hasStorage": true, - "accessors": [ + "declKind": "Func", + "usr": "s:6nfclib16CertificateUsageO4hash4intoys6HasherVz_tF", + "mangledName": "$s6nfclib16CertificateUsageO4hash4intoys6HasherVz_tF", + "moduleName": "nfclib", + "implicit": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Enum", + "usr": "s:6nfclib16CertificateUsageO", + "mangledName": "$s6nfclib16CertificateUsageO", + "moduleName": "nfclib", + "declAttributes": [ + "AccessControl" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + } + ] + }, + { + "kind": "TypeDecl", + "name": "OperationReadCertificate", + "printedName": "OperationReadCertificate", + "children": [ + { + "kind": "Function", + "name": "startReading", + "printedName": "startReading(CAN:certUsage:)", + "children": [ { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.UInt8]", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "usr": "s:Sa" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib13CardReaderNFCC5ksEncSays5UInt8VGvg", - "mangledName": "$s6nfclib13CardReaderNFCC5ksEncSays5UInt8VGvg", - "moduleName": "nfclib", - "implicit": true, - "isOpen": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + "kind": "TypeNominal", + "name": "SecCertificate", + "printedName": "Security.SecCertificate", + "usr": "c:@T@SecCertificateRef" }, { - "kind": "Accessor", - "name": "Set", - "printedName": "Set()", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.UInt8]", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "usr": "s:Sa" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib13CardReaderNFCC5ksEncSays5UInt8VGvs", - "mangledName": "$s6nfclib13CardReaderNFCC5ksEncSays5UInt8VGvs", - "moduleName": "nfclib", - "implicit": true, - "isOpen": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "set" + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" }, { - "kind": "Accessor", - "name": "Modify", - "printedName": "Modify()", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib13CardReaderNFCC5ksEncSays5UInt8VGvM", - "mangledName": "$s6nfclib13CardReaderNFCC5ksEncSays5UInt8VGvM", - "moduleName": "nfclib", - "implicit": true, - "isOpen": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "_modify" + "kind": "TypeNominal", + "name": "CertificateUsage", + "printedName": "nfclib.CertificateUsage", + "usr": "s:6nfclib16CertificateUsageO" } - ] + ], + "declKind": "Func", + "usr": "s:6nfclib24OperationReadCertificateC12startReading3CAN9certUsageSo03SecD3RefaSS_AA0dI0OtYaKF", + "mangledName": "$s6nfclib24OperationReadCertificateC12startReading3CAN9certUsageSo03SecD3RefaSS_AA0dI0OtYaKF", + "moduleName": "nfclib", + "declAttributes": [ + "Custom", + "AccessControl" + ], + "throwing": true, + "funcSelfKind": "NonMutating" }, { - "kind": "Var", - "name": "ksMac", - "printedName": "ksMac", + "kind": "Constructor", + "name": "init", + "printedName": "init()", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.UInt8]", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "usr": "s:Sa" + "name": "OperationReadCertificate", + "printedName": "nfclib.OperationReadCertificate", + "usr": "c:@M@nfclib@objc(cs)OperationReadCertificate" } ], - "declKind": "Var", - "usr": "s:6nfclib13CardReaderNFCC5ksMacSays5UInt8VGvp", - "mangledName": "$s6nfclib13CardReaderNFCC5ksMacSays5UInt8VGvp", + "declKind": "Constructor", + "usr": "c:@M@nfclib@objc(cs)OperationReadCertificate(im)init", + "mangledName": "$s6nfclib24OperationReadCertificateCACycfc", "moduleName": "nfclib", - "isOpen": true, + "overriding": true, + "implicit": true, + "objc_name": "init", "declAttributes": [ - "HasInitialValue", - "HasStorage" + "Dynamic", + "ObjC", + "Custom", + "Override" ], - "fixedbinaryorder": 2, - "hasStorage": true, - "accessors": [ + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "tagReaderSession", + "printedName": "tagReaderSession(_:didDetect:)", + "children": [ { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.UInt8]", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "usr": "s:Sa" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib13CardReaderNFCC5ksMacSays5UInt8VGvg", - "mangledName": "$s6nfclib13CardReaderNFCC5ksMacSays5UInt8VGvg", - "moduleName": "nfclib", - "implicit": true, - "isOpen": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" }, { - "kind": "Accessor", - "name": "Set", - "printedName": "Set()", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.UInt8]", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "usr": "s:Sa" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib13CardReaderNFCC5ksMacSays5UInt8VGvs", - "mangledName": "$s6nfclib13CardReaderNFCC5ksMacSays5UInt8VGvs", - "moduleName": "nfclib", - "implicit": true, - "isOpen": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "set" + "kind": "TypeNominal", + "name": "NFCTagReaderSession", + "printedName": "CoreNFC.NFCTagReaderSession", + "usr": "c:objc(cs)NFCTagReaderSession" }, { - "kind": "Accessor", - "name": "Modify", - "printedName": "Modify()", + "kind": "TypeNominal", + "name": "Array", + "printedName": "[CoreNFC.NFCTag]", "children": [ { "kind": "TypeNominal", - "name": "Void", - "printedName": "()" + "name": "NFCTag", + "printedName": "CoreNFC.NFCTag", + "usr": "s:7CoreNFC6NFCTagO" } ], - "declKind": "Accessor", - "usr": "s:6nfclib13CardReaderNFCC5ksMacSays5UInt8VGvM", - "mangledName": "$s6nfclib13CardReaderNFCC5ksMacSays5UInt8VGvM", - "moduleName": "nfclib", - "implicit": true, - "isOpen": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "_modify" - } - ] - }, - { - "kind": "Var", - "name": "SSC", - "printedName": "SSC", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.UInt8]", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "usr": "s:Sa" + "usr": "s:Sa" } ], - "declKind": "Var", - "usr": "s:6nfclib13CardReaderNFCC3SSCSays5UInt8VGvp", - "mangledName": "$s6nfclib13CardReaderNFCC3SSCSays5UInt8VGvp", + "declKind": "Func", + "usr": "s:6nfclib24OperationReadCertificateC16tagReaderSession_9didDetectySo06NFCTagfG0C_Say7CoreNFC0J0OGtF", + "mangledName": "$s6nfclib24OperationReadCertificateC16tagReaderSession_9didDetectySo06NFCTagfG0C_Say7CoreNFC0J0OGtF", "moduleName": "nfclib", - "isOpen": true, "declAttributes": [ - "HasInitialValue", - "HasStorage" + "Custom", + "AccessControl" ], - "fixedbinaryorder": 3, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.UInt8]", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "usr": "s:Sa" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib13CardReaderNFCC3SSCSays5UInt8VGvg", - "mangledName": "$s6nfclib13CardReaderNFCC3SSCSays5UInt8VGvg", - "moduleName": "nfclib", - "implicit": true, - "isOpen": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - }, - { - "kind": "Accessor", - "name": "Set", - "printedName": "Set()", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.UInt8]", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "usr": "s:Sa" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib13CardReaderNFCC3SSCSays5UInt8VGvs", - "mangledName": "$s6nfclib13CardReaderNFCC3SSCSays5UInt8VGvs", - "moduleName": "nfclib", - "implicit": true, - "isOpen": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "set" - }, - { - "kind": "Accessor", - "name": "Modify", - "printedName": "Modify()", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib13CardReaderNFCC3SSCSays5UInt8VGvM", - "mangledName": "$s6nfclib13CardReaderNFCC3SSCSays5UInt8VGvM", - "moduleName": "nfclib", - "implicit": true, - "isOpen": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "_modify" - } - ] + "isFromExtension": true, + "funcSelfKind": "NonMutating" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(_:CAN:)", + "kind": "Function", + "name": "tagReaderSessionDidBecomeActive", + "printedName": "tagReaderSessionDidBecomeActive(_:)", "children": [ { "kind": "TypeNominal", - "name": "CardReaderNFC", - "printedName": "nfclib.CardReaderNFC", - "usr": "s:6nfclib13CardReaderNFCC" - }, - { - "kind": "TypeNominal", - "name": "NFCISO7816Tag", - "printedName": "any CoreNFC.NFCISO7816Tag", - "usr": "c:objc(pl)NFCISO7816Tag" + "name": "Void", + "printedName": "()" }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "NFCTagReaderSession", + "printedName": "CoreNFC.NFCTagReaderSession", + "usr": "c:objc(cs)NFCTagReaderSession" } ], - "declKind": "Constructor", - "usr": "s:6nfclib13CardReaderNFCC_3CANACSo13NFCISO7816Tag_p_SStYaKcfc", - "mangledName": "$s6nfclib13CardReaderNFCC_3CANACSo13NFCISO7816Tag_p_SStYaKcfc", + "declKind": "Func", + "usr": "s:6nfclib24OperationReadCertificateC31tagReaderSessionDidBecomeActiveyySo06NFCTagfG0CF", + "mangledName": "$s6nfclib24OperationReadCertificateC31tagReaderSessionDidBecomeActiveyySo06NFCTagfG0CF", "moduleName": "nfclib", - "throwing": true, - "init_kind": "Designated" + "declAttributes": [ + "Custom", + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" }, { "kind": "Function", - "name": "transmit", - "printedName": "transmit(_:)", + "name": "tagReaderSession", + "printedName": "tagReaderSession(_:didInvalidateWithError:)", "children": [ { "kind": "TypeNominal", - "name": "Tuple", - "printedName": "(responseData: [Swift.UInt8], sw: Swift.UInt16)", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.UInt8]", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "usr": "s:Sa" - }, - { - "kind": "TypeNominal", - "name": "UInt16", - "printedName": "Swift.UInt16", - "usr": "s:s6UInt16V" - } - ] + "name": "Void", + "printedName": "()" }, { "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.UInt8]", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "usr": "s:Sa" + "name": "NFCTagReaderSession", + "printedName": "CoreNFC.NFCTagReaderSession", + "usr": "c:objc(cs)NFCTagReaderSession" + }, + { + "kind": "TypeNominal", + "name": "Error", + "printedName": "any Swift.Error", + "usr": "s:s5ErrorP" } ], "declKind": "Func", - "usr": "s:6nfclib13CardReaderNFCC8transmitySays5UInt8VG12responseData_s6UInt16V2swtAGYaKF", - "mangledName": "$s6nfclib13CardReaderNFCC8transmitySays5UInt8VG12responseData_s6UInt16V2swtAGYaKF", + "usr": "s:6nfclib24OperationReadCertificateC16tagReaderSession_22didInvalidateWithErrorySo06NFCTagfG0C_s0K0_ptF", + "mangledName": "$s6nfclib24OperationReadCertificateC16tagReaderSession_22didInvalidateWithErrorySo06NFCTagfG0C_s0K0_ptF", "moduleName": "nfclib", - "isOpen": true, - "throwing": true, + "declAttributes": [ + "Custom", + "AccessControl" + ], + "isFromExtension": true, "funcSelfKind": "NonMutating" } ], "declKind": "Class", - "usr": "s:6nfclib13CardReaderNFCC", - "mangledName": "$s6nfclib13CardReaderNFCC", + "usr": "c:@M@nfclib@objc(cs)OperationReadCertificate", + "mangledName": "$s6nfclib24OperationReadCertificateC", "moduleName": "nfclib", - "isOpen": true, + "declAttributes": [ + "AccessControl", + "Custom", + "ObjC" + ], + "superclassUsr": "c:objc(cs)NSObject", + "inheritsConvenienceInitializers": true, + "superclassNames": [ + "ObjectiveC.NSObject" + ], "conformances": [ + { + "kind": "Conformance", + "name": "NFCTagReaderSessionDelegate", + "printedName": "NFCTagReaderSessionDelegate", + "usr": "s:7CoreNFC27NFCTagReaderSessionDelegateP", + "mangledName": "$s7CoreNFC27NFCTagReaderSessionDelegateP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObserving", + "printedName": "_KeyValueCodingAndObserving", + "usr": "s:10Foundation27_KeyValueCodingAndObservingP", + "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObservingPublishing", + "printedName": "_KeyValueCodingAndObservingPublishing", + "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP", + "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + }, { "kind": "Conformance", "name": "Copyable", @@ -3927,6 +2710,27 @@ "usr": "s:s8CopyableP", "mangledName": "$ss8CopyableP" }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, { "kind": "Conformance", "name": "Escapable", @@ -3936,10 +2740,10 @@ }, { "kind": "Conformance", - "name": "CardReader", - "printedName": "CardReader", - "usr": "s:6nfclib10CardReaderP", - "mangledName": "$s6nfclib10CardReaderP" + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" }, { "kind": "Conformance", @@ -3947,20 +2751,13 @@ "printedName": "Sendable", "usr": "s:s8SendableP", "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" } ] }, { "kind": "Import", - "name": "Foundation", - "printedName": "Foundation", + "name": "CommonCrypto", + "printedName": "CommonCrypto", "declKind": "Import", "moduleName": "nfclib", "declAttributes": [ @@ -3968,411 +2765,468 @@ ] }, { - "kind": "TypeDecl", - "name": "Idemia", - "printedName": "Idemia", - "children": [ - { - "kind": "Var", - "name": "canChangePUK", - "printedName": "canChangePUK", - "children": [ - { - "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" - } - ], - "declKind": "Var", - "usr": "s:6nfclib6IdemiaC12canChangePUKSbvp", - "mangledName": "$s6nfclib6IdemiaC12canChangePUKSbvp", - "moduleName": "nfclib", - "declAttributes": [ - "HasInitialValue", - "Final", - "HasStorage" - ], - "fixedbinaryorder": 0, - "isLet": true, - "hasStorage": true, - "accessors": [ + "kind": "Import", + "name": "CryptoTokenKit", + "printedName": "CryptoTokenKit", + "declKind": "Import", + "moduleName": "nfclib" + }, + { + "kind": "Import", + "name": "SwiftECC", + "printedName": "SwiftECC", + "declKind": "Import", + "moduleName": "nfclib", + "declAttributes": [ + "AccessControl" + ] + }, + { + "kind": "Import", + "name": "CryptoTokenKit", + "printedName": "CryptoTokenKit", + "declKind": "Import", + "moduleName": "nfclib", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "OSLog", + "printedName": "OSLog", + "declKind": "Import", + "moduleName": "nfclib", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "CoreNFC", + "printedName": "CoreNFC", + "declKind": "Import", + "moduleName": "nfclib", + "declAttributes": [ + "Preconcurrency" + ] + }, + { + "kind": "Import", + "name": "CryptoTokenKit", + "printedName": "CryptoTokenKit", + "declKind": "Import", + "moduleName": "nfclib" + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "nfclib", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "CoreNFC", + "printedName": "CoreNFC", + "declKind": "Import", + "moduleName": "nfclib" + }, + { + "kind": "Import", + "name": "CommonCrypto", + "printedName": "CommonCrypto", + "declKind": "Import", + "moduleName": "nfclib" + }, + { + "kind": "Import", + "name": "CryptoTokenKit", + "printedName": "CryptoTokenKit", + "declKind": "Import", + "moduleName": "nfclib" + }, + { + "kind": "Import", + "name": "SwiftECC", + "printedName": "SwiftECC", + "declKind": "Import", + "moduleName": "nfclib", + "declAttributes": [ + "AccessControl" + ] + }, + { + "kind": "Import", + "name": "BigInt", + "printedName": "BigInt", + "declKind": "Import", + "moduleName": "nfclib" + }, + { + "kind": "Import", + "name": "Security", + "printedName": "Security", + "declKind": "Import", + "moduleName": "nfclib" + }, + { + "kind": "TypeDecl", + "name": "UnblockPINError", + "printedName": "UnblockPINError", + "children": [ + { + "kind": "Var", + "name": "missingRequiredParameter", + "printedName": "missingRequiredParameter", + "children": [ { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(nfclib.UnblockPINError.Type) -> nfclib.UnblockPINError", "children": [ { "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" + "name": "UnblockPINError", + "printedName": "nfclib.UnblockPINError", + "usr": "s:6nfclib15UnblockPINErrorO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "nfclib.UnblockPINError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "UnblockPINError", + "printedName": "nfclib.UnblockPINError", + "usr": "s:6nfclib15UnblockPINErrorO" + } + ] } - ], - "declKind": "Accessor", - "usr": "s:6nfclib6IdemiaC12canChangePUKSbvg", - "mangledName": "$s6nfclib6IdemiaC12canChangePUKSbvg", - "moduleName": "nfclib", - "implicit": true, - "declAttributes": [ - "Transparent", - "Final" - ], - "accessorKind": "get" + ] } - ] + ], + "declKind": "EnumElement", + "usr": "s:6nfclib15UnblockPINErrorO24missingRequiredParameteryA2CmF", + "mangledName": "$s6nfclib15UnblockPINErrorO24missingRequiredParameteryA2CmF", + "moduleName": "nfclib" }, { "kind": "Var", - "name": "reader", - "printedName": "reader", + "name": "failed", + "printedName": "failed", "children": [ { - "kind": "TypeNominal", - "name": "CardReader", - "printedName": "any nfclib.CardReader", - "usr": "s:6nfclib10CardReaderP" - } - ], - "declKind": "Var", - "usr": "s:6nfclib6IdemiaC6readerAA10CardReader_pvp", - "mangledName": "$s6nfclib6IdemiaC6readerAA10CardReader_pvp", - "moduleName": "nfclib", - "declAttributes": [ - "Final", - "HasStorage" - ], - "fixedbinaryorder": 1, - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(nfclib.UnblockPINError.Type) -> nfclib.UnblockPINError", "children": [ { "kind": "TypeNominal", - "name": "CardReader", - "printedName": "any nfclib.CardReader", - "usr": "s:6nfclib10CardReaderP" + "name": "UnblockPINError", + "printedName": "nfclib.UnblockPINError", + "usr": "s:6nfclib15UnblockPINErrorO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "nfclib.UnblockPINError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "UnblockPINError", + "printedName": "nfclib.UnblockPINError", + "usr": "s:6nfclib15UnblockPINErrorO" + } + ] } - ], - "declKind": "Accessor", - "usr": "s:6nfclib6IdemiaC6readerAA10CardReader_pvg", - "mangledName": "$s6nfclib6IdemiaC6readerAA10CardReader_pvg", - "moduleName": "nfclib", - "implicit": true, - "declAttributes": [ - "Transparent", - "Final" - ], - "accessorKind": "get" + ] } - ] + ], + "declKind": "EnumElement", + "usr": "s:6nfclib15UnblockPINErrorO6failedyA2CmF", + "mangledName": "$s6nfclib15UnblockPINErrorO6failedyA2CmF", + "moduleName": "nfclib" }, { "kind": "Var", - "name": "fillChar", - "printedName": "fillChar", + "name": "general", + "printedName": "general", "children": [ { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "declKind": "Var", - "usr": "s:6nfclib6IdemiaC8fillChars5UInt8Vvp", - "mangledName": "$s6nfclib6IdemiaC8fillChars5UInt8Vvp", - "moduleName": "nfclib", - "declAttributes": [ - "HasInitialValue", - "Final", - "HasStorage" - ], - "fixedbinaryorder": 2, - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(nfclib.UnblockPINError.Type) -> nfclib.UnblockPINError", "children": [ { "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib6IdemiaC8fillChars5UInt8Vvg", - "mangledName": "$s6nfclib6IdemiaC8fillChars5UInt8Vvg", - "moduleName": "nfclib", - "implicit": true, - "declAttributes": [ - "Transparent", - "Final" - ], - "accessorKind": "get" - } - ] - }, + "name": "UnblockPINError", + "printedName": "nfclib.UnblockPINError", + "usr": "s:6nfclib15UnblockPINErrorO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "nfclib.UnblockPINError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "UnblockPINError", + "printedName": "nfclib.UnblockPINError", + "usr": "s:6nfclib15UnblockPINErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:6nfclib15UnblockPINErrorO7generalyA2CmF", + "mangledName": "$s6nfclib15UnblockPINErrorO7generalyA2CmF", + "moduleName": "nfclib" + }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(reader:atr:)", + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "nfclib.Idemia?", - "children": [ - { - "kind": "TypeNominal", - "name": "Idemia", - "printedName": "nfclib.Idemia", - "usr": "s:6nfclib6IdemiaC" - } - ], - "usr": "s:Sq" + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" }, { "kind": "TypeNominal", - "name": "CardReader", - "printedName": "any nfclib.CardReader", - "usr": "s:6nfclib10CardReaderP" + "name": "UnblockPINError", + "printedName": "nfclib.UnblockPINError", + "usr": "s:6nfclib15UnblockPINErrorO" }, { "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.UInt8]", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "usr": "s:Sa" + "name": "UnblockPINError", + "printedName": "nfclib.UnblockPINError", + "usr": "s:6nfclib15UnblockPINErrorO" } ], - "declKind": "Constructor", - "usr": "s:6nfclib6IdemiaC6reader3atrACSgAA10CardReader_p_Says5UInt8VGtcfc", - "mangledName": "$s6nfclib6IdemiaC6reader3atrACSgAA10CardReader_p_Says5UInt8VGtcfc", + "declKind": "Func", + "usr": "s:6nfclib15UnblockPINErrorO2eeoiySbAC_ACtFZ", + "mangledName": "$s6nfclib15UnblockPINErrorO2eeoiySbAC_ACtFZ", "moduleName": "nfclib", - "declAttributes": [ - "Required" - ], - "init_kind": "Designated" + "static": true, + "implicit": true, + "funcSelfKind": "NonMutating" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(reader:aid:)", + "kind": "Var", + "name": "hashValue", + "printedName": "hashValue", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "nfclib.Idemia?", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:6nfclib15UnblockPINErrorO9hashValueSivp", + "mangledName": "$s6nfclib15UnblockPINErrorO9hashValueSivp", + "moduleName": "nfclib", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "Idemia", - "printedName": "nfclib.Idemia", - "usr": "s:6nfclib6IdemiaC" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], - "usr": "s:Sq" - }, + "declKind": "Accessor", + "usr": "s:6nfclib15UnblockPINErrorO9hashValueSivg", + "mangledName": "$s6nfclib15UnblockPINErrorO9hashValueSivg", + "moduleName": "nfclib", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "hash", + "printedName": "hash(into:)", + "children": [ { "kind": "TypeNominal", - "name": "CardReader", - "printedName": "any nfclib.CardReader", - "usr": "s:6nfclib10CardReaderP" + "name": "Void", + "printedName": "()" }, { "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.UInt8]", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "usr": "s:Sa" + "name": "Hasher", + "printedName": "Swift.Hasher", + "paramValueOwnership": "InOut", + "usr": "s:s6HasherV" } ], - "declKind": "Constructor", - "usr": "s:6nfclib6IdemiaC6reader3aidACSgAA10CardReader_p_Says5UInt8VGtcfc", - "mangledName": "$s6nfclib6IdemiaC6reader3aidACSgAA10CardReader_p_Says5UInt8VGtcfc", + "declKind": "Func", + "usr": "s:6nfclib15UnblockPINErrorO4hash4intoys6HasherVz_tF", + "mangledName": "$s6nfclib15UnblockPINErrorO4hash4intoys6HasherVz_tF", "moduleName": "nfclib", - "declAttributes": [ - "Required" - ], - "init_kind": "Designated" + "implicit": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Enum", + "usr": "s:6nfclib15UnblockPINErrorO", + "mangledName": "$s6nfclib15UnblockPINErrorO", + "moduleName": "nfclib", + "declAttributes": [ + "AccessControl" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(reader:selectAID:)", + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "Error", + "printedName": "Error", + "usr": "s:s5ErrorP", + "mangledName": "$ss5ErrorP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "OperationUnblockPin", + "printedName": "OperationUnblockPin", + "children": [ + { + "kind": "Function", + "name": "startReading", + "printedName": "startReading(CAN:codeType:puk:newPin:)", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "nfclib.Idemia?", - "children": [ - { - "kind": "TypeNominal", - "name": "Idemia", - "printedName": "nfclib.Idemia", - "usr": "s:6nfclib6IdemiaC" - } - ], - "usr": "s:Sq" + "name": "Void", + "printedName": "()" }, { "kind": "TypeNominal", - "name": "CardReader", - "printedName": "any nfclib.CardReader", - "usr": "s:6nfclib10CardReaderP" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" }, { "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" - } - ], - "declKind": "Constructor", - "usr": "s:6nfclib6IdemiaC6reader9selectAIDACSgAA10CardReader_p_SbtYacfc", - "mangledName": "$s6nfclib6IdemiaC6reader9selectAIDACSgAA10CardReader_p_SbtYacfc", - "moduleName": "nfclib", - "declAttributes": [ - "Required" - ], - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "readPublicData", - "printedName": "readPublicData()", - "children": [ + "name": "CodeType", + "printedName": "nfclib.CodeType", + "usr": "s:6nfclib8CodeTypeO" + }, { "kind": "TypeNominal", - "name": "CardInfo", - "printedName": "nfclib.CardInfo", - "usr": "s:6nfclib8CardInfoV" + "name": "SecureData", + "printedName": "nfclib.SecureData", + "usr": "s:6nfclib10SecureDataC" + }, + { + "kind": "TypeNominal", + "name": "SecureData", + "printedName": "nfclib.SecureData", + "usr": "s:6nfclib10SecureDataC" } ], "declKind": "Func", - "usr": "s:6nfclib6IdemiaC14readPublicDataAA8CardInfoVyYaKF", - "mangledName": "$s6nfclib6IdemiaC14readPublicDataAA8CardInfoVyYaKF", + "usr": "s:6nfclib19OperationUnblockPinC12startReading3CAN8codeType3puk03newD0ySS_AA04CodeI0OAA10SecureDataCALtYaKF", + "mangledName": "$s6nfclib19OperationUnblockPinC12startReading3CAN8codeType3puk03newD0ySS_AA04CodeI0OAA10SecureDataCALtYaKF", "moduleName": "nfclib", "declAttributes": [ - "Final", - "RawDocComment" + "Custom", + "AccessControl" ], "throwing": true, "funcSelfKind": "NonMutating" }, { - "kind": "Function", - "name": "readAuthenticationCertificate", - "printedName": "readAuthenticationCertificate()", - "children": [ - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Func", - "usr": "s:6nfclib6IdemiaC29readAuthenticationCertificate10Foundation4DataVyYaKF", - "mangledName": "$s6nfclib6IdemiaC29readAuthenticationCertificate10Foundation4DataVyYaKF", - "moduleName": "nfclib", - "declAttributes": [ - "Final" - ], - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "readSignatureCertificate", - "printedName": "readSignatureCertificate()", - "children": [ - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Func", - "usr": "s:6nfclib6IdemiaC24readSignatureCertificate10Foundation4DataVyYaKF", - "mangledName": "$s6nfclib6IdemiaC24readSignatureCertificate10Foundation4DataVyYaKF", - "moduleName": "nfclib", - "declAttributes": [ - "Final" - ], - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "readCodeTryCounterRecord", - "printedName": "readCodeTryCounterRecord(_:)", + "kind": "Constructor", + "name": "init", + "printedName": "init()", "children": [ { "kind": "TypeNominal", - "name": "Tuple", - "printedName": "(retryCount: Swift.UInt8, pinActive: Swift.Bool)", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - }, - { - "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" - } - ] - }, - { - "kind": "TypeNominal", - "name": "CodeType", - "printedName": "nfclib.CodeType", - "usr": "s:6nfclib8CodeTypeO" + "name": "OperationUnblockPin", + "printedName": "nfclib.OperationUnblockPin", + "usr": "c:@M@nfclib@objc(cs)OperationUnblockPin" } ], - "declKind": "Func", - "usr": "s:6nfclib6IdemiaC24readCodeTryCounterRecordys5UInt8V10retryCount_Sb9pinActivetAA0D4TypeOYaKF", - "mangledName": "$s6nfclib6IdemiaC24readCodeTryCounterRecordys5UInt8V10retryCount_Sb9pinActivetAA0D4TypeOYaKF", + "declKind": "Constructor", + "usr": "c:@M@nfclib@objc(cs)OperationUnblockPin(im)init", + "mangledName": "$s6nfclib19OperationUnblockPinCACycfc", "moduleName": "nfclib", + "overriding": true, + "implicit": true, + "objc_name": "init", "declAttributes": [ - "Final", - "RawDocComment" + "Dynamic", + "ObjC", + "Custom", + "Override" ], - "throwing": true, - "funcSelfKind": "NonMutating" + "init_kind": "Designated" }, { "kind": "Function", - "name": "changeCode", - "printedName": "changeCode(_:to:verifyCode:)", + "name": "tagReaderSession", + "printedName": "tagReaderSession(_:didDetect:)", "children": [ { "kind": "TypeNominal", @@ -4381,37 +3235,40 @@ }, { "kind": "TypeNominal", - "name": "CodeType", - "printedName": "nfclib.CodeType", - "usr": "s:6nfclib8CodeTypeO" - }, - { - "kind": "TypeNominal", - "name": "SecureData", - "printedName": "nfclib.SecureData", - "usr": "s:6nfclib10SecureDataC" + "name": "NFCTagReaderSession", + "printedName": "CoreNFC.NFCTagReaderSession", + "usr": "c:objc(cs)NFCTagReaderSession" }, { "kind": "TypeNominal", - "name": "SecureData", - "printedName": "nfclib.SecureData", - "usr": "s:6nfclib10SecureDataC" + "name": "Array", + "printedName": "[CoreNFC.NFCTag]", + "children": [ + { + "kind": "TypeNominal", + "name": "NFCTag", + "printedName": "CoreNFC.NFCTag", + "usr": "s:7CoreNFC6NFCTagO" + } + ], + "usr": "s:Sa" } ], "declKind": "Func", - "usr": "s:6nfclib6IdemiaC10changeCode_2to06verifyD0yAA0D4TypeO_AA10SecureDataCAJtYaKF", - "mangledName": "$s6nfclib6IdemiaC10changeCode_2to06verifyD0yAA0D4TypeO_AA10SecureDataCAJtYaKF", + "usr": "s:6nfclib19OperationUnblockPinC16tagReaderSession_9didDetectySo06NFCTagfG0C_Say7CoreNFC0J0OGtF", + "mangledName": "$s6nfclib19OperationUnblockPinC16tagReaderSession_9didDetectySo06NFCTagfG0C_Say7CoreNFC0J0OGtF", "moduleName": "nfclib", "declAttributes": [ - "Final" + "Custom", + "AccessControl" ], - "throwing": true, + "isFromExtension": true, "funcSelfKind": "NonMutating" }, { "kind": "Function", - "name": "verifyCode", - "printedName": "verifyCode(_:code:)", + "name": "tagReaderSessionDidBecomeActive", + "printedName": "tagReaderSessionDidBecomeActive(_:)", "children": [ { "kind": "TypeNominal", @@ -4420,31 +3277,26 @@ }, { "kind": "TypeNominal", - "name": "CodeType", - "printedName": "nfclib.CodeType", - "usr": "s:6nfclib8CodeTypeO" - }, - { - "kind": "TypeNominal", - "name": "SecureData", - "printedName": "nfclib.SecureData", - "usr": "s:6nfclib10SecureDataC" + "name": "NFCTagReaderSession", + "printedName": "CoreNFC.NFCTagReaderSession", + "usr": "c:objc(cs)NFCTagReaderSession" } ], "declKind": "Func", - "usr": "s:6nfclib6IdemiaC10verifyCode_4codeyAA0D4TypeO_AA10SecureDataCtYaKF", - "mangledName": "$s6nfclib6IdemiaC10verifyCode_4codeyAA0D4TypeO_AA10SecureDataCtYaKF", + "usr": "s:6nfclib19OperationUnblockPinC31tagReaderSessionDidBecomeActiveyySo06NFCTagfG0CF", + "mangledName": "$s6nfclib19OperationUnblockPinC31tagReaderSessionDidBecomeActiveyySo06NFCTagfG0CF", "moduleName": "nfclib", "declAttributes": [ - "Final" + "Custom", + "AccessControl" ], - "throwing": true, + "isFromExtension": true, "funcSelfKind": "NonMutating" }, { "kind": "Function", - "name": "unblockCode", - "printedName": "unblockCode(_:puk:newCode:)", + "name": "tagReaderSession", + "printedName": "tagReaderSession(_:didInvalidateWithError:)", "children": [ { "kind": "TypeNominal", @@ -4453,145 +3305,72 @@ }, { "kind": "TypeNominal", - "name": "CodeType", - "printedName": "nfclib.CodeType", - "usr": "s:6nfclib8CodeTypeO" - }, - { - "kind": "TypeNominal", - "name": "SecureData", - "printedName": "nfclib.SecureData", - "usr": "s:6nfclib10SecureDataC" + "name": "NFCTagReaderSession", + "printedName": "CoreNFC.NFCTagReaderSession", + "usr": "c:objc(cs)NFCTagReaderSession" }, { "kind": "TypeNominal", - "name": "SecureData", - "printedName": "nfclib.SecureData", - "usr": "s:6nfclib10SecureDataC" + "name": "Error", + "printedName": "any Swift.Error", + "usr": "s:s5ErrorP" } ], "declKind": "Func", - "usr": "s:6nfclib6IdemiaC11unblockCode_3puk03newD0yAA0D4TypeO_AA10SecureDataCAJtYaKF", - "mangledName": "$s6nfclib6IdemiaC11unblockCode_3puk03newD0yAA0D4TypeO_AA10SecureDataCAJtYaKF", + "usr": "s:6nfclib19OperationUnblockPinC16tagReaderSession_22didInvalidateWithErrorySo06NFCTagfG0C_s0K0_ptF", + "mangledName": "$s6nfclib19OperationUnblockPinC16tagReaderSession_22didInvalidateWithErrorySo06NFCTagfG0C_s0K0_ptF", "moduleName": "nfclib", "declAttributes": [ - "Final" + "Custom", + "AccessControl" ], - "throwing": true, + "isFromExtension": true, "funcSelfKind": "NonMutating" - }, + } + ], + "declKind": "Class", + "usr": "c:@M@nfclib@objc(cs)OperationUnblockPin", + "mangledName": "$s6nfclib19OperationUnblockPinC", + "moduleName": "nfclib", + "declAttributes": [ + "AccessControl", + "Custom", + "ObjC" + ], + "superclassUsr": "c:objc(cs)NSObject", + "inheritsConvenienceInitializers": true, + "superclassNames": [ + "ObjectiveC.NSObject" + ], + "conformances": [ { - "kind": "Function", - "name": "authenticate", - "printedName": "authenticate(for:withPin1:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - }, - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - }, - { - "kind": "TypeNominal", - "name": "SecureData", - "printedName": "nfclib.SecureData", - "usr": "s:6nfclib10SecureDataC" - } - ], - "declKind": "Func", - "usr": "s:6nfclib6IdemiaC12authenticate3for8withPin110Foundation4DataVAI_AA06SecureH0CtYaKF", - "mangledName": "$s6nfclib6IdemiaC12authenticate3for8withPin110Foundation4DataVAI_AA06SecureH0CtYaKF", - "moduleName": "nfclib", - "declAttributes": [ - "Final", - "RawDocComment" - ], - "throwing": true, - "funcSelfKind": "NonMutating" + "kind": "Conformance", + "name": "NFCTagReaderSessionDelegate", + "printedName": "NFCTagReaderSessionDelegate", + "usr": "s:7CoreNFC27NFCTagReaderSessionDelegateP", + "mangledName": "$s7CoreNFC27NFCTagReaderSessionDelegateP" }, { - "kind": "Function", - "name": "calculateSignature", - "printedName": "calculateSignature(for:withPin2:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - }, - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - }, - { - "kind": "TypeNominal", - "name": "SecureData", - "printedName": "nfclib.SecureData", - "usr": "s:6nfclib10SecureDataC" - } - ], - "declKind": "Func", - "usr": "s:6nfclib6IdemiaC18calculateSignature3for8withPin210Foundation4DataVAI_AA06SecureI0CtYaKF", - "mangledName": "$s6nfclib6IdemiaC18calculateSignature3for8withPin210Foundation4DataVAI_AA06SecureI0CtYaKF", - "moduleName": "nfclib", - "declAttributes": [ - "Final" - ], - "throwing": true, - "funcSelfKind": "NonMutating" + "kind": "Conformance", + "name": "_KeyValueCodingAndObserving", + "printedName": "_KeyValueCodingAndObserving", + "usr": "s:10Foundation27_KeyValueCodingAndObservingP", + "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP" }, { - "kind": "Function", - "name": "decryptData", - "printedName": "decryptData(_:withPin1:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - }, - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - }, - { - "kind": "TypeNominal", - "name": "SecureData", - "printedName": "nfclib.SecureData", - "usr": "s:6nfclib10SecureDataC" - } - ], - "declKind": "Func", - "usr": "s:6nfclib6IdemiaC11decryptData_8withPin110Foundation0D0VAH_AA06SecureD0CtYaKF", - "mangledName": "$s6nfclib6IdemiaC11decryptData_8withPin110Foundation0D0VAH_AA06SecureD0CtYaKF", - "moduleName": "nfclib", - "declAttributes": [ - "Final" - ], - "throwing": true, - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Class", - "usr": "s:6nfclib6IdemiaC", - "mangledName": "$s6nfclib6IdemiaC", - "moduleName": "nfclib", - "declAttributes": [ - "Final" - ], - "conformances": [ + "kind": "Conformance", + "name": "_KeyValueCodingAndObservingPublishing", + "printedName": "_KeyValueCodingAndObservingPublishing", + "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP", + "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + }, { "kind": "Conformance", "name": "Copyable", @@ -4599,6 +3378,27 @@ "usr": "s:s8CopyableP", "mangledName": "$ss8CopyableP" }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, { "kind": "Conformance", "name": "Escapable", @@ -4608,17 +3408,10 @@ }, { "kind": "Conformance", - "name": "CardCommandsInternal", - "printedName": "CardCommandsInternal", - "usr": "s:6nfclib20CardCommandsInternalP", - "mangledName": "$s6nfclib20CardCommandsInternalP" - }, - { - "kind": "Conformance", - "name": "CardCommands", - "printedName": "CardCommands", - "usr": "s:6nfclib12CardCommandsP", - "mangledName": "$s6nfclib12CardCommandsP" + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" }, { "kind": "Conformance", @@ -4626,400 +3419,164 @@ "printedName": "Sendable", "usr": "s:s8SendableP", "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" } ] }, { "kind": "Import", - "name": "CryptoTokenKit", - "printedName": "CryptoTokenKit", + "name": "Foundation", + "printedName": "Foundation", "declKind": "Import", "moduleName": "nfclib", "declAttributes": [ "RawDocComment" ] }, + { + "kind": "Import", + "name": "CoreNFC", + "printedName": "CoreNFC", + "declKind": "Import", + "moduleName": "nfclib", + "declAttributes": [ + "Preconcurrency" + ] + }, + { + "kind": "Import", + "name": "BigInt", + "printedName": "BigInt", + "declKind": "Import", + "moduleName": "nfclib" + }, + { + "kind": "Import", + "name": "CryptoTokenKit", + "printedName": "CryptoTokenKit", + "declKind": "Import", + "moduleName": "nfclib" + }, { "kind": "TypeDecl", - "name": "CardCommandsInternal", - "printedName": "CardCommandsInternal", + "name": "NFCConnection", + "printedName": "NFCConnection", "children": [ { - "kind": "Var", - "name": "reader", - "printedName": "reader", + "kind": "Constructor", + "name": "init", + "printedName": "init()", "children": [ { "kind": "TypeNominal", - "name": "CardReader", - "printedName": "any nfclib.CardReader", - "usr": "s:6nfclib10CardReaderP" + "name": "NFCConnection", + "printedName": "nfclib.NFCConnection", + "usr": "s:6nfclib13NFCConnectionC" } ], - "declKind": "Var", - "usr": "s:6nfclib20CardCommandsInternalP6readerAA0B6Reader_pvp", - "mangledName": "$s6nfclib20CardCommandsInternalP6readerAA0B6Reader_pvp", + "declKind": "Constructor", + "usr": "s:6nfclib13NFCConnectionCACycfc", + "mangledName": "$s6nfclib13NFCConnectionCACycfc", "moduleName": "nfclib", - "protocolReq": true, "declAttributes": [ - "RawDocComment" - ], - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "CardReader", - "printedName": "any nfclib.CardReader", - "usr": "s:6nfclib10CardReaderP" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib20CardCommandsInternalP6readerAA0B6Reader_pvg", - "mangledName": "$s6nfclib20CardCommandsInternalP6readerAA0B6Reader_pvg", - "moduleName": "nfclib", - "genericSig": "<τ_0_0 where τ_0_0 : nfclib.CardCommandsInternal>", - "sugared_genericSig": "", - "protocolReq": true, - "reqNewWitnessTableEntry": true, - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "fillChar", - "printedName": "fillChar", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } + "Custom", + "AccessControl" ], - "declKind": "Var", - "usr": "s:6nfclib20CardCommandsInternalP8fillChars5UInt8Vvp", - "mangledName": "$s6nfclib20CardCommandsInternalP8fillChars5UInt8Vvp", - "moduleName": "nfclib", - "protocolReq": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib20CardCommandsInternalP8fillChars5UInt8Vvg", - "mangledName": "$s6nfclib20CardCommandsInternalP8fillChars5UInt8Vvg", - "moduleName": "nfclib", - "genericSig": "<τ_0_0 where τ_0_0 : nfclib.CardCommandsInternal>", - "sugared_genericSig": "", - "protocolReq": true, - "reqNewWitnessTableEntry": true, - "accessorKind": "get" - } - ] + "init_kind": "Designated" }, { "kind": "Function", - "name": "select", - "printedName": "select(p1Byte:p2Byte:file:)", + "name": "setup", + "printedName": "setup(_:tags:)", "children": [ { "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - }, - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "hasDefaultArg": true, - "usr": "s:s5UInt8V" + "name": "NFCISO7816Tag", + "printedName": "any CoreNFC.NFCISO7816Tag", + "usr": "c:objc(pl)NFCISO7816Tag" }, { "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "hasDefaultArg": true, - "usr": "s:s5UInt8V" + "name": "NFCTagReaderSession", + "printedName": "CoreNFC.NFCTagReaderSession", + "usr": "c:objc(cs)NFCTagReaderSession" }, { "kind": "TypeNominal", "name": "Array", - "printedName": "[Swift.UInt8]", + "printedName": "[CoreNFC.NFCTag]", "children": [ { "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" + "name": "NFCTag", + "printedName": "CoreNFC.NFCTag", + "usr": "s:7CoreNFC6NFCTagO" } ], "usr": "s:Sa" } ], "declKind": "Func", - "usr": "s:6nfclib20CardCommandsInternalPAAE6select6p1Byte02p2G04file10Foundation4DataVs5UInt8V_ALSayALGtYaKF", - "mangledName": "$s6nfclib20CardCommandsInternalPAAE6select6p1Byte02p2G04file10Foundation4DataVs5UInt8V_ALSayALGtYaKF", + "usr": "s:6nfclib13NFCConnectionC5setup_4tagsSo13NFCISO7816Tag_pSo19NFCTagReaderSessionC_Say7CoreNFC0G0OGtYaKF", + "mangledName": "$s6nfclib13NFCConnectionC5setup_4tagsSo13NFCISO7816Tag_pSo19NFCTagReaderSessionC_Say7CoreNFC0G0OGtYaKF", "moduleName": "nfclib", - "genericSig": "<τ_0_0 where τ_0_0 : nfclib.CardCommandsInternal>", - "sugared_genericSig": "", - "isFromExtension": true, + "declAttributes": [ + "Custom", + "AccessControl" + ], "throwing": true, "funcSelfKind": "NonMutating" }, { "kind": "Function", - "name": "readFile", - "printedName": "readFile(p1Byte:file:)", + "name": "getCardCommands", + "printedName": "getCardCommands(_:tag:CAN:)", "children": [ { "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" + "name": "CardCommands", + "printedName": "any nfclib.CardCommands", + "usr": "s:6nfclib12CardCommandsP" }, { "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" + "name": "NFCTagReaderSession", + "printedName": "CoreNFC.NFCTagReaderSession", + "usr": "c:objc(cs)NFCTagReaderSession" }, { "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.UInt8]", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "usr": "s:Sa" + "name": "NFCISO7816Tag", + "printedName": "any CoreNFC.NFCISO7816Tag", + "usr": "c:objc(pl)NFCISO7816Tag" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Func", - "usr": "s:6nfclib20CardCommandsInternalPAAE8readFile6p1Byte4file10Foundation4DataVs5UInt8V_SayAKGtYaKF", - "mangledName": "$s6nfclib20CardCommandsInternalPAAE8readFile6p1Byte4file10Foundation4DataVs5UInt8V_SayAKGtYaKF", + "usr": "s:6nfclib13NFCConnectionC15getCardCommands_3tag3CANAA0dE0_pSo19NFCTagReaderSessionC_So13NFCISO7816Tag_pSStYaKF", + "mangledName": "$s6nfclib13NFCConnectionC15getCardCommands_3tag3CANAA0dE0_pSo19NFCTagReaderSessionC_So13NFCISO7816Tag_pSStYaKF", "moduleName": "nfclib", - "genericSig": "<τ_0_0 where τ_0_0 : nfclib.CardCommandsInternal>", - "sugared_genericSig": "", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "changeCode", - "printedName": "changeCode(_:to:verifyCode:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - }, - { - "kind": "TypeNominal", - "name": "SecureData", - "printedName": "nfclib.SecureData", - "usr": "s:6nfclib10SecureDataC" - }, - { - "kind": "TypeNominal", - "name": "SecureData", - "printedName": "nfclib.SecureData", - "usr": "s:6nfclib10SecureDataC" - } - ], - "declKind": "Func", - "usr": "s:6nfclib20CardCommandsInternalPAAE10changeCode_2to06verifyF0ys5UInt8V_AA10SecureDataCAJtYaKF", - "mangledName": "$s6nfclib20CardCommandsInternalPAAE10changeCode_2to06verifyF0ys5UInt8V_AA10SecureDataCAJtYaKF", - "moduleName": "nfclib", - "genericSig": "<τ_0_0 where τ_0_0 : nfclib.CardCommandsInternal>", - "sugared_genericSig": "", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "unblockCode", - "printedName": "unblockCode(_:puk:newCode:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "nfclib.SecureData?", - "children": [ - { - "kind": "TypeNominal", - "name": "SecureData", - "printedName": "nfclib.SecureData", - "usr": "s:6nfclib10SecureDataC" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "SecureData", - "printedName": "nfclib.SecureData", - "usr": "s:6nfclib10SecureDataC" - } - ], - "declKind": "Func", - "usr": "s:6nfclib20CardCommandsInternalPAAE11unblockCode_3puk03newF0ys5UInt8V_AA10SecureDataCSgAJtYaKF", - "mangledName": "$s6nfclib20CardCommandsInternalPAAE11unblockCode_3puk03newF0ys5UInt8V_AA10SecureDataCSgAJtYaKF", - "moduleName": "nfclib", - "genericSig": "<τ_0_0 where τ_0_0 : nfclib.CardCommandsInternal>", - "sugared_genericSig": "", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "verifyCode", - "printedName": "verifyCode(_:code:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - }, - { - "kind": "TypeNominal", - "name": "SecureData", - "printedName": "nfclib.SecureData", - "usr": "s:6nfclib10SecureDataC" - } - ], - "declKind": "Func", - "usr": "s:6nfclib20CardCommandsInternalPAAE10verifyCode_4codeys5UInt8V_AA10SecureDataCtYaKF", - "mangledName": "$s6nfclib20CardCommandsInternalPAAE10verifyCode_4codeys5UInt8V_AA10SecureDataCtYaKF", - "moduleName": "nfclib", - "genericSig": "<τ_0_0 where τ_0_0 : nfclib.CardCommandsInternal>", - "sugared_genericSig": "", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "setSecEnv", - "printedName": "setSecEnv(mode:algo:keyRef:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.UInt8]?", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.UInt8]", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "usr": "s:Sa" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "declKind": "Func", - "usr": "s:6nfclib20CardCommandsInternalPAAE9setSecEnv4mode4algo6keyRefys5UInt8V_SayAIGSgAItYaKF", - "mangledName": "$s6nfclib20CardCommandsInternalPAAE9setSecEnv4mode4algo6keyRefys5UInt8V_SayAIGSgAItYaKF", - "moduleName": "nfclib", - "genericSig": "<τ_0_0 where τ_0_0 : nfclib.CardCommandsInternal>", - "sugared_genericSig": "", - "isFromExtension": true, + "declAttributes": [ + "AccessControl", + "Custom" + ], "throwing": true, "funcSelfKind": "NonMutating" } ], - "declKind": "Protocol", - "usr": "s:6nfclib20CardCommandsInternalP", - "mangledName": "$s6nfclib20CardCommandsInternalP", + "declKind": "Class", + "usr": "s:6nfclib13NFCConnectionC", + "mangledName": "$s6nfclib13NFCConnectionC", "moduleName": "nfclib", - "genericSig": "<τ_0_0 : nfclib.CardCommands>", - "sugared_genericSig": "", + "declAttributes": [ + "AccessControl", + "Custom" + ], "conformances": [ - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - }, { "kind": "Conformance", "name": "Copyable", @@ -5029,10 +3586,10 @@ }, { "kind": "Conformance", - "name": "CardCommands", - "printedName": "CardCommands", - "usr": "s:6nfclib12CardCommandsP", - "mangledName": "$s6nfclib12CardCommandsP" + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" }, { "kind": "Conformance", @@ -5040,20 +3597,13 @@ "printedName": "Sendable", "usr": "s:s8SendableP", "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" } ] }, { "kind": "Import", - "name": "Foundation", - "printedName": "Foundation", + "name": "CommonCrypto", + "printedName": "CommonCrypto", "declKind": "Import", "moduleName": "nfclib", "declAttributes": [ @@ -5062,22 +3612,8 @@ }, { "kind": "Import", - "name": "CoreNFC", - "printedName": "CoreNFC", - "declKind": "Import", - "moduleName": "nfclib" - }, - { - "kind": "Import", - "name": "CommonCrypto", - "printedName": "CommonCrypto", - "declKind": "Import", - "moduleName": "nfclib" - }, - { - "kind": "Import", - "name": "CryptoTokenKit", - "printedName": "CryptoTokenKit", + "name": "Foundation", + "printedName": "Foundation", "declKind": "Import", "moduleName": "nfclib" }, @@ -5093,49 +3629,52 @@ }, { "kind": "Import", - "name": "BigInt", - "printedName": "BigInt", + "name": "Foundation", + "printedName": "Foundation", "declKind": "Import", - "moduleName": "nfclib" + "moduleName": "nfclib", + "declAttributes": [ + "RawDocComment" + ] }, { "kind": "Import", - "name": "Security", - "printedName": "Security", + "name": "CommonCrypto", + "printedName": "CommonCrypto", "declKind": "Import", "moduleName": "nfclib" }, { "kind": "TypeDecl", - "name": "ReadCertificateError", - "printedName": "ReadCertificateError", + "name": "IdCardError", + "printedName": "IdCardError", "children": [ { "kind": "Var", - "name": "certificateUsageNotSpecified", - "printedName": "certificateUsageNotSpecified", + "name": "wrongCAN", + "printedName": "wrongCAN", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(nfclib.ReadCertificateError.Type) -> nfclib.ReadCertificateError", + "printedName": "(nfclib.IdCardError.Type) -> nfclib.IdCardError", "children": [ { "kind": "TypeNominal", - "name": "ReadCertificateError", - "printedName": "nfclib.ReadCertificateError", - "usr": "s:6nfclib20ReadCertificateErrorO" + "name": "IdCardError", + "printedName": "nfclib.IdCardError", + "usr": "s:6nfclib11IdCardErrorO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "nfclib.ReadCertificateError.Type", + "printedName": "nfclib.IdCardError.Type", "children": [ { "kind": "TypeNominal", - "name": "ReadCertificateError", - "printedName": "nfclib.ReadCertificateError", - "usr": "s:6nfclib20ReadCertificateErrorO" + "name": "IdCardError", + "printedName": "nfclib.IdCardError", + "usr": "s:6nfclib11IdCardErrorO" } ] } @@ -5143,36 +3682,56 @@ } ], "declKind": "EnumElement", - "usr": "s:6nfclib20ReadCertificateErrorO28certificateUsageNotSpecifiedyA2CmF", - "mangledName": "$s6nfclib20ReadCertificateErrorO28certificateUsageNotSpecifiedyA2CmF", + "usr": "s:6nfclib11IdCardErrorO8wrongCANyA2CmF", + "mangledName": "$s6nfclib11IdCardErrorO8wrongCANyA2CmF", "moduleName": "nfclib" }, { "kind": "Var", - "name": "failedToReadCertificate", - "printedName": "failedToReadCertificate", + "name": "wrongPIN", + "printedName": "wrongPIN", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(nfclib.ReadCertificateError.Type) -> nfclib.ReadCertificateError", + "printedName": "(nfclib.IdCardError.Type) -> (Swift.Int) -> nfclib.IdCardError", "children": [ { - "kind": "TypeNominal", - "name": "ReadCertificateError", - "printedName": "nfclib.ReadCertificateError", - "usr": "s:6nfclib20ReadCertificateErrorO" + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.Int) -> nfclib.IdCardError", + "children": [ + { + "kind": "TypeNominal", + "name": "IdCardError", + "printedName": "nfclib.IdCardError", + "usr": "s:6nfclib11IdCardErrorO" + }, + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(triesLeft: Swift.Int)", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + } + ] }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "nfclib.ReadCertificateError.Type", + "printedName": "nfclib.IdCardError.Type", "children": [ { "kind": "TypeNominal", - "name": "ReadCertificateError", - "printedName": "nfclib.ReadCertificateError", - "usr": "s:6nfclib20ReadCertificateErrorO" + "name": "IdCardError", + "printedName": "nfclib.IdCardError", + "usr": "s:6nfclib11IdCardErrorO" } ] } @@ -5180,36 +3739,36 @@ } ], "declKind": "EnumElement", - "usr": "s:6nfclib20ReadCertificateErrorO08failedTobC0yA2CmF", - "mangledName": "$s6nfclib20ReadCertificateErrorO08failedTobC0yA2CmF", + "usr": "s:6nfclib11IdCardErrorO8wrongPINyACSi_tcACmF", + "mangledName": "$s6nfclib11IdCardErrorO8wrongPINyACSi_tcACmF", "moduleName": "nfclib" }, { "kind": "Var", - "name": "general", - "printedName": "general", + "name": "invalidNewPIN", + "printedName": "invalidNewPIN", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(nfclib.ReadCertificateError.Type) -> nfclib.ReadCertificateError", + "printedName": "(nfclib.IdCardError.Type) -> nfclib.IdCardError", "children": [ { "kind": "TypeNominal", - "name": "ReadCertificateError", - "printedName": "nfclib.ReadCertificateError", - "usr": "s:6nfclib20ReadCertificateErrorO" + "name": "IdCardError", + "printedName": "nfclib.IdCardError", + "usr": "s:6nfclib11IdCardErrorO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "nfclib.ReadCertificateError.Type", + "printedName": "nfclib.IdCardError.Type", "children": [ { "kind": "TypeNominal", - "name": "ReadCertificateError", - "printedName": "nfclib.ReadCertificateError", - "usr": "s:6nfclib20ReadCertificateErrorO" + "name": "IdCardError", + "printedName": "nfclib.IdCardError", + "usr": "s:6nfclib11IdCardErrorO" } ] } @@ -5217,110 +3776,51 @@ } ], "declKind": "EnumElement", - "usr": "s:6nfclib20ReadCertificateErrorO7generalyA2CmF", - "mangledName": "$s6nfclib20ReadCertificateErrorO7generalyA2CmF", + "usr": "s:6nfclib11IdCardErrorO13invalidNewPINyA2CmF", + "mangledName": "$s6nfclib11IdCardErrorO13invalidNewPINyA2CmF", "moduleName": "nfclib" }, - { - "kind": "Function", - "name": "==", - "printedName": "==(_:_:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" - }, - { - "kind": "TypeNominal", - "name": "ReadCertificateError", - "printedName": "nfclib.ReadCertificateError", - "usr": "s:6nfclib20ReadCertificateErrorO" - }, - { - "kind": "TypeNominal", - "name": "ReadCertificateError", - "printedName": "nfclib.ReadCertificateError", - "usr": "s:6nfclib20ReadCertificateErrorO" - } - ], - "declKind": "Func", - "usr": "s:6nfclib20ReadCertificateErrorO2eeoiySbAC_ACtFZ", - "mangledName": "$s6nfclib20ReadCertificateErrorO2eeoiySbAC_ACtFZ", - "moduleName": "nfclib", - "static": true, - "implicit": true, - "funcSelfKind": "NonMutating" - }, { "kind": "Var", - "name": "hashValue", - "printedName": "hashValue", + "name": "sessionError", + "printedName": "sessionError", "children": [ { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Var", - "usr": "s:6nfclib20ReadCertificateErrorO9hashValueSivp", - "mangledName": "$s6nfclib20ReadCertificateErrorO9hashValueSivp", - "moduleName": "nfclib", - "implicit": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(nfclib.IdCardError.Type) -> nfclib.IdCardError", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "IdCardError", + "printedName": "nfclib.IdCardError", + "usr": "s:6nfclib11IdCardErrorO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "nfclib.IdCardError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "IdCardError", + "printedName": "nfclib.IdCardError", + "usr": "s:6nfclib11IdCardErrorO" + } + ] } - ], - "declKind": "Accessor", - "usr": "s:6nfclib20ReadCertificateErrorO9hashValueSivg", - "mangledName": "$s6nfclib20ReadCertificateErrorO9hashValueSivg", - "moduleName": "nfclib", - "implicit": true, - "accessorKind": "get" - } - ] - }, - { - "kind": "Function", - "name": "hash", - "printedName": "hash(into:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "Hasher", - "printedName": "Swift.Hasher", - "paramValueOwnership": "InOut", - "usr": "s:s6HasherV" + ] } ], - "declKind": "Func", - "usr": "s:6nfclib20ReadCertificateErrorO4hash4intoys6HasherVz_tF", - "mangledName": "$s6nfclib20ReadCertificateErrorO4hash4intoys6HasherVz_tF", - "moduleName": "nfclib", - "implicit": true, - "funcSelfKind": "NonMutating" + "declKind": "EnumElement", + "usr": "s:6nfclib11IdCardErrorO07sessionD0yA2CmF", + "mangledName": "$s6nfclib11IdCardErrorO07sessionD0yA2CmF", + "moduleName": "nfclib" } ], "declKind": "Enum", - "usr": "s:6nfclib20ReadCertificateErrorO", - "mangledName": "$s6nfclib20ReadCertificateErrorO", + "usr": "s:6nfclib11IdCardErrorO", + "mangledName": "$s6nfclib11IdCardErrorO", "moduleName": "nfclib", "declAttributes": [ "AccessControl", @@ -5336,10 +3836,10 @@ }, { "kind": "Conformance", - "name": "Equatable", - "printedName": "Equatable", - "usr": "s:SQ", - "mangledName": "$sSQ" + "name": "Error", + "printedName": "Error", + "usr": "s:s5ErrorP", + "mangledName": "$ss5ErrorP" }, { "kind": "Conformance", @@ -5348,20 +3848,6 @@ "usr": "s:s9EscapableP", "mangledName": "$ss9EscapableP" }, - { - "kind": "Conformance", - "name": "Hashable", - "printedName": "Hashable", - "usr": "s:SH", - "mangledName": "$sSH" - }, - { - "kind": "Conformance", - "name": "Error", - "printedName": "Error", - "usr": "s:s5ErrorP", - "mangledName": "$ss5ErrorP" - }, { "kind": "Conformance", "name": "Sendable", @@ -5380,35 +3866,35 @@ }, { "kind": "TypeDecl", - "name": "CertificateUsage", - "printedName": "CertificateUsage", + "name": "IdCardInternalError", + "printedName": "IdCardInternalError", "children": [ { "kind": "Var", - "name": "auth", - "printedName": "auth", + "name": "missingRESTag", + "printedName": "missingRESTag", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(nfclib.CertificateUsage.Type) -> nfclib.CertificateUsage", + "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", "children": [ { "kind": "TypeNominal", - "name": "CertificateUsage", - "printedName": "nfclib.CertificateUsage", - "usr": "s:6nfclib16CertificateUsageO" + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "nfclib.CertificateUsage.Type", + "printedName": "nfclib.IdCardInternalError.Type", "children": [ { "kind": "TypeNominal", - "name": "CertificateUsage", - "printedName": "nfclib.CertificateUsage", - "usr": "s:6nfclib16CertificateUsageO" + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" } ] } @@ -5416,36 +3902,36 @@ } ], "declKind": "EnumElement", - "usr": "s:6nfclib16CertificateUsageO4authyA2CmF", - "mangledName": "$s6nfclib16CertificateUsageO4authyA2CmF", + "usr": "s:6nfclib19IdCardInternalErrorO13missingRESTagyA2CmF", + "mangledName": "$s6nfclib19IdCardInternalErrorO13missingRESTagyA2CmF", "moduleName": "nfclib" }, { "kind": "Var", - "name": "sign", - "printedName": "sign", + "name": "missingMACTag", + "printedName": "missingMACTag", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(nfclib.CertificateUsage.Type) -> nfclib.CertificateUsage", + "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", "children": [ { "kind": "TypeNominal", - "name": "CertificateUsage", - "printedName": "nfclib.CertificateUsage", - "usr": "s:6nfclib16CertificateUsageO" + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "nfclib.CertificateUsage.Type", + "printedName": "nfclib.IdCardInternalError.Type", "children": [ { "kind": "TypeNominal", - "name": "CertificateUsage", - "printedName": "nfclib.CertificateUsage", - "usr": "s:6nfclib16CertificateUsageO" + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" } ] } @@ -5453,5847 +3939,744 @@ } ], "declKind": "EnumElement", - "usr": "s:6nfclib16CertificateUsageO4signyA2CmF", - "mangledName": "$s6nfclib16CertificateUsageO4signyA2CmF", + "usr": "s:6nfclib19IdCardInternalErrorO13missingMACTagyA2CmF", + "mangledName": "$s6nfclib19IdCardInternalErrorO13missingMACTagyA2CmF", "moduleName": "nfclib" }, - { - "kind": "Function", - "name": "==", - "printedName": "==(_:_:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" - }, - { - "kind": "TypeNominal", - "name": "CertificateUsage", - "printedName": "nfclib.CertificateUsage", - "usr": "s:6nfclib16CertificateUsageO" - }, - { - "kind": "TypeNominal", - "name": "CertificateUsage", - "printedName": "nfclib.CertificateUsage", - "usr": "s:6nfclib16CertificateUsageO" - } - ], - "declKind": "Func", - "usr": "s:6nfclib16CertificateUsageO2eeoiySbAC_ACtFZ", - "mangledName": "$s6nfclib16CertificateUsageO2eeoiySbAC_ACtFZ", - "moduleName": "nfclib", - "static": true, - "implicit": true, - "funcSelfKind": "NonMutating" - }, { "kind": "Var", - "name": "hashValue", - "printedName": "hashValue", + "name": "invalidMACValue", + "printedName": "invalidMACValue", "children": [ { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Var", - "usr": "s:6nfclib16CertificateUsageO9hashValueSivp", - "mangledName": "$s6nfclib16CertificateUsageO9hashValueSivp", - "moduleName": "nfclib", - "implicit": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib16CertificateUsageO9hashValueSivg", - "mangledName": "$s6nfclib16CertificateUsageO9hashValueSivg", - "moduleName": "nfclib", - "implicit": true, - "accessorKind": "get" - } - ] - }, - { - "kind": "Function", - "name": "hash", - "printedName": "hash(into:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "Hasher", - "printedName": "Swift.Hasher", - "paramValueOwnership": "InOut", - "usr": "s:s6HasherV" - } - ], - "declKind": "Func", - "usr": "s:6nfclib16CertificateUsageO4hash4intoys6HasherVz_tF", - "mangledName": "$s6nfclib16CertificateUsageO4hash4intoys6HasherVz_tF", - "moduleName": "nfclib", - "implicit": true, - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Enum", - "usr": "s:6nfclib16CertificateUsageO", - "mangledName": "$s6nfclib16CertificateUsageO", - "moduleName": "nfclib", - "declAttributes": [ - "AccessControl" - ], - "conformances": [ - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Equatable", - "printedName": "Equatable", - "usr": "s:SQ", - "mangledName": "$sSQ" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - }, - { - "kind": "Conformance", - "name": "Hashable", - "printedName": "Hashable", - "usr": "s:SH", - "mangledName": "$sSH" - } - ] - }, - { - "kind": "TypeDecl", - "name": "OperationReadCertificate", - "printedName": "OperationReadCertificate", - "children": [ - { - "kind": "Function", - "name": "startReading", - "printedName": "startReading(CAN:certUsage:)", - "children": [ - { - "kind": "TypeNominal", - "name": "SecCertificate", - "printedName": "Security.SecCertificate", - "usr": "c:@T@SecCertificateRef" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "CertificateUsage", - "printedName": "nfclib.CertificateUsage", - "usr": "s:6nfclib16CertificateUsageO" - } - ], - "declKind": "Func", - "usr": "s:6nfclib24OperationReadCertificateC12startReading3CAN9certUsageSo03SecD3RefaSS_AA0dI0OtYaKF", - "mangledName": "$s6nfclib24OperationReadCertificateC12startReading3CAN9certUsageSo03SecD3RefaSS_AA0dI0OtYaKF", - "moduleName": "nfclib", - "isOpen": true, - "declAttributes": [ - "Custom", - "AccessControl" - ], - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init()", - "children": [ - { - "kind": "TypeNominal", - "name": "OperationReadCertificate", - "printedName": "nfclib.OperationReadCertificate", - "usr": "c:@M@nfclib@objc(cs)OperationReadCertificate" - } - ], - "declKind": "Constructor", - "usr": "c:@M@nfclib@objc(cs)OperationReadCertificate(im)init", - "mangledName": "$s6nfclib24OperationReadCertificateCACycfc", - "moduleName": "nfclib", - "overriding": true, - "implicit": true, - "objc_name": "init", - "declAttributes": [ - "Dynamic", - "ObjC", - "Custom", - "Override" - ], - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "tagReaderSession", - "printedName": "tagReaderSession(_:didDetect:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "NFCTagReaderSession", - "printedName": "CoreNFC.NFCTagReaderSession", - "usr": "c:objc(cs)NFCTagReaderSession" - }, - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[CoreNFC.NFCTag]", - "children": [ - { - "kind": "TypeNominal", - "name": "NFCTag", - "printedName": "CoreNFC.NFCTag", - "usr": "s:7CoreNFC6NFCTagO" - } - ], - "usr": "s:Sa" - } - ], - "declKind": "Func", - "usr": "s:6nfclib24OperationReadCertificateC16tagReaderSession_9didDetectySo06NFCTagfG0C_Say7CoreNFC0J0OGtF", - "mangledName": "$s6nfclib24OperationReadCertificateC16tagReaderSession_9didDetectySo06NFCTagfG0C_Say7CoreNFC0J0OGtF", - "moduleName": "nfclib", - "isOpen": true, - "declAttributes": [ - "Custom", - "AccessControl" - ], - "isFromExtension": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "tagReaderSessionDidBecomeActive", - "printedName": "tagReaderSessionDidBecomeActive(_:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "NFCTagReaderSession", - "printedName": "CoreNFC.NFCTagReaderSession", - "usr": "c:objc(cs)NFCTagReaderSession" - } - ], - "declKind": "Func", - "usr": "s:6nfclib24OperationReadCertificateC31tagReaderSessionDidBecomeActiveyySo06NFCTagfG0CF", - "mangledName": "$s6nfclib24OperationReadCertificateC31tagReaderSessionDidBecomeActiveyySo06NFCTagfG0CF", - "moduleName": "nfclib", - "isOpen": true, - "declAttributes": [ - "Custom", - "AccessControl" - ], - "isFromExtension": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "tagReaderSession", - "printedName": "tagReaderSession(_:didInvalidateWithError:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "NFCTagReaderSession", - "printedName": "CoreNFC.NFCTagReaderSession", - "usr": "c:objc(cs)NFCTagReaderSession" - }, - { - "kind": "TypeNominal", - "name": "Error", - "printedName": "any Swift.Error", - "usr": "s:s5ErrorP" - } - ], - "declKind": "Func", - "usr": "s:6nfclib24OperationReadCertificateC16tagReaderSession_22didInvalidateWithErrorySo06NFCTagfG0C_s0K0_ptF", - "mangledName": "$s6nfclib24OperationReadCertificateC16tagReaderSession_22didInvalidateWithErrorySo06NFCTagfG0C_s0K0_ptF", - "moduleName": "nfclib", - "isOpen": true, - "declAttributes": [ - "Custom", - "AccessControl" - ], - "isFromExtension": true, - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Class", - "usr": "c:@M@nfclib@objc(cs)OperationReadCertificate", - "mangledName": "$s6nfclib24OperationReadCertificateC", - "moduleName": "nfclib", - "isOpen": true, - "declAttributes": [ - "AccessControl", - "Custom", - "ObjC" - ], - "superclassUsr": "c:objc(cs)NSObject", - "inheritsConvenienceInitializers": true, - "superclassNames": [ - "ObjectiveC.NSObject" - ], - "conformances": [ - { - "kind": "Conformance", - "name": "NFCTagReaderSessionDelegate", - "printedName": "NFCTagReaderSessionDelegate", - "usr": "s:7CoreNFC27NFCTagReaderSessionDelegateP", - "mangledName": "$s7CoreNFC27NFCTagReaderSessionDelegateP" - }, - { - "kind": "Conformance", - "name": "_KeyValueCodingAndObserving", - "printedName": "_KeyValueCodingAndObserving", - "usr": "s:10Foundation27_KeyValueCodingAndObservingP", - "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP" - }, - { - "kind": "Conformance", - "name": "_KeyValueCodingAndObservingPublishing", - "printedName": "_KeyValueCodingAndObservingPublishing", - "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP", - "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP" - }, - { - "kind": "Conformance", - "name": "CVarArg", - "printedName": "CVarArg", - "usr": "s:s7CVarArgP", - "mangledName": "$ss7CVarArgP" - }, - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "CustomDebugStringConvertible", - "printedName": "CustomDebugStringConvertible", - "usr": "s:s28CustomDebugStringConvertibleP", - "mangledName": "$ss28CustomDebugStringConvertibleP" - }, - { - "kind": "Conformance", - "name": "CustomStringConvertible", - "printedName": "CustomStringConvertible", - "usr": "s:s23CustomStringConvertibleP", - "mangledName": "$ss23CustomStringConvertibleP" - }, - { - "kind": "Conformance", - "name": "Equatable", - "printedName": "Equatable", - "usr": "s:SQ", - "mangledName": "$sSQ" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - }, - { - "kind": "Conformance", - "name": "Hashable", - "printedName": "Hashable", - "usr": "s:SH", - "mangledName": "$sSH" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - } - ] - }, - { - "kind": "Import", - "name": "CommonCrypto", - "printedName": "CommonCrypto", - "declKind": "Import", - "moduleName": "nfclib", - "declAttributes": [ - "RawDocComment" - ] - }, - { - "kind": "Import", - "name": "CryptoTokenKit", - "printedName": "CryptoTokenKit", - "declKind": "Import", - "moduleName": "nfclib" - }, - { - "kind": "Import", - "name": "SwiftECC", - "printedName": "SwiftECC", - "declKind": "Import", - "moduleName": "nfclib", - "declAttributes": [ - "AccessControl" - ] - }, - { - "kind": "Import", - "name": "CryptoTokenKit", - "printedName": "CryptoTokenKit", - "declKind": "Import", - "moduleName": "nfclib", - "declAttributes": [ - "RawDocComment" - ] - }, - { - "kind": "TypeDecl", - "name": "Thales", - "printedName": "Thales", - "children": [ - { - "kind": "Var", - "name": "canChangePUK", - "printedName": "canChangePUK", - "children": [ - { - "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" - } - ], - "declKind": "Var", - "usr": "s:6nfclib6ThalesC12canChangePUKSbvp", - "mangledName": "$s6nfclib6ThalesC12canChangePUKSbvp", - "moduleName": "nfclib", - "declAttributes": [ - "HasInitialValue", - "Final", - "HasStorage" - ], - "fixedbinaryorder": 0, - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib6ThalesC12canChangePUKSbvg", - "mangledName": "$s6nfclib6ThalesC12canChangePUKSbvg", - "moduleName": "nfclib", - "implicit": true, - "declAttributes": [ - "Transparent", - "Final" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "reader", - "printedName": "reader", - "children": [ - { - "kind": "TypeNominal", - "name": "CardReader", - "printedName": "any nfclib.CardReader", - "usr": "s:6nfclib10CardReaderP" - } - ], - "declKind": "Var", - "usr": "s:6nfclib6ThalesC6readerAA10CardReader_pvp", - "mangledName": "$s6nfclib6ThalesC6readerAA10CardReader_pvp", - "moduleName": "nfclib", - "declAttributes": [ - "Final", - "HasStorage" - ], - "fixedbinaryorder": 1, - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "CardReader", - "printedName": "any nfclib.CardReader", - "usr": "s:6nfclib10CardReaderP" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib6ThalesC6readerAA10CardReader_pvg", - "mangledName": "$s6nfclib6ThalesC6readerAA10CardReader_pvg", - "moduleName": "nfclib", - "implicit": true, - "declAttributes": [ - "Transparent", - "Final" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "fillChar", - "printedName": "fillChar", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "declKind": "Var", - "usr": "s:6nfclib6ThalesC8fillChars5UInt8Vvp", - "mangledName": "$s6nfclib6ThalesC8fillChars5UInt8Vvp", - "moduleName": "nfclib", - "declAttributes": [ - "HasInitialValue", - "Final", - "HasStorage" - ], - "fixedbinaryorder": 2, - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib6ThalesC8fillChars5UInt8Vvg", - "mangledName": "$s6nfclib6ThalesC8fillChars5UInt8Vvg", - "moduleName": "nfclib", - "implicit": true, - "declAttributes": [ - "Transparent", - "Final" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(reader:atr:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "nfclib.Thales?", - "children": [ - { - "kind": "TypeNominal", - "name": "Thales", - "printedName": "nfclib.Thales", - "usr": "s:6nfclib6ThalesC" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "CardReader", - "printedName": "any nfclib.CardReader", - "usr": "s:6nfclib10CardReaderP" - }, - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.UInt8]", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "usr": "s:Sa" - } - ], - "declKind": "Constructor", - "usr": "s:6nfclib6ThalesC6reader3atrACSgAA10CardReader_p_Says5UInt8VGtKcfc", - "mangledName": "$s6nfclib6ThalesC6reader3atrACSgAA10CardReader_p_Says5UInt8VGtKcfc", - "moduleName": "nfclib", - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(reader:aid:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "nfclib.Thales?", - "children": [ - { - "kind": "TypeNominal", - "name": "Thales", - "printedName": "nfclib.Thales", - "usr": "s:6nfclib6ThalesC" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "CardReader", - "printedName": "any nfclib.CardReader", - "usr": "s:6nfclib10CardReaderP" - }, - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.UInt8]", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "usr": "s:Sa" - } - ], - "declKind": "Constructor", - "usr": "s:6nfclib6ThalesC6reader3aidACSgAA10CardReader_p_Says5UInt8VGtcfc", - "mangledName": "$s6nfclib6ThalesC6reader3aidACSgAA10CardReader_p_Says5UInt8VGtcfc", - "moduleName": "nfclib", - "declAttributes": [ - "Required" - ], - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(reader:selectAID:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "nfclib.Thales?", - "children": [ - { - "kind": "TypeNominal", - "name": "Thales", - "printedName": "nfclib.Thales", - "usr": "s:6nfclib6ThalesC" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "CardReader", - "printedName": "any nfclib.CardReader", - "usr": "s:6nfclib10CardReaderP" - }, - { - "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" - } - ], - "declKind": "Constructor", - "usr": "s:6nfclib6ThalesC6reader9selectAIDACSgAA10CardReader_p_SbtYacfc", - "mangledName": "$s6nfclib6ThalesC6reader9selectAIDACSgAA10CardReader_p_SbtYacfc", - "moduleName": "nfclib", - "declAttributes": [ - "Required" - ], - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "readPublicData", - "printedName": "readPublicData()", - "children": [ - { - "kind": "TypeNominal", - "name": "CardInfo", - "printedName": "nfclib.CardInfo", - "usr": "s:6nfclib8CardInfoV" - } - ], - "declKind": "Func", - "usr": "s:6nfclib6ThalesC14readPublicDataAA8CardInfoVyYaKF", - "mangledName": "$s6nfclib6ThalesC14readPublicDataAA8CardInfoVyYaKF", - "moduleName": "nfclib", - "declAttributes": [ - "Final", - "RawDocComment" - ], - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "readAuthenticationCertificate", - "printedName": "readAuthenticationCertificate()", - "children": [ - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Func", - "usr": "s:6nfclib6ThalesC29readAuthenticationCertificate10Foundation4DataVyYaKF", - "mangledName": "$s6nfclib6ThalesC29readAuthenticationCertificate10Foundation4DataVyYaKF", - "moduleName": "nfclib", - "declAttributes": [ - "Final" - ], - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "readSignatureCertificate", - "printedName": "readSignatureCertificate()", - "children": [ - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Func", - "usr": "s:6nfclib6ThalesC24readSignatureCertificate10Foundation4DataVyYaKF", - "mangledName": "$s6nfclib6ThalesC24readSignatureCertificate10Foundation4DataVyYaKF", - "moduleName": "nfclib", - "declAttributes": [ - "Final" - ], - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "readCodeTryCounterRecord", - "printedName": "readCodeTryCounterRecord(_:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Tuple", - "printedName": "(retryCount: Swift.UInt8, pinActive: Swift.Bool)", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - }, - { - "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" - } - ] - }, - { - "kind": "TypeNominal", - "name": "CodeType", - "printedName": "nfclib.CodeType", - "usr": "s:6nfclib8CodeTypeO" - } - ], - "declKind": "Func", - "usr": "s:6nfclib6ThalesC24readCodeTryCounterRecordys5UInt8V10retryCount_Sb9pinActivetAA0D4TypeOYaKF", - "mangledName": "$s6nfclib6ThalesC24readCodeTryCounterRecordys5UInt8V10retryCount_Sb9pinActivetAA0D4TypeOYaKF", - "moduleName": "nfclib", - "declAttributes": [ - "Final", - "RawDocComment" - ], - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "changeCode", - "printedName": "changeCode(_:to:verifyCode:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "CodeType", - "printedName": "nfclib.CodeType", - "usr": "s:6nfclib8CodeTypeO" - }, - { - "kind": "TypeNominal", - "name": "SecureData", - "printedName": "nfclib.SecureData", - "usr": "s:6nfclib10SecureDataC" - }, - { - "kind": "TypeNominal", - "name": "SecureData", - "printedName": "nfclib.SecureData", - "usr": "s:6nfclib10SecureDataC" - } - ], - "declKind": "Func", - "usr": "s:6nfclib6ThalesC10changeCode_2to06verifyD0yAA0D4TypeO_AA10SecureDataCAJtYaKF", - "mangledName": "$s6nfclib6ThalesC10changeCode_2to06verifyD0yAA0D4TypeO_AA10SecureDataCAJtYaKF", - "moduleName": "nfclib", - "declAttributes": [ - "Final" - ], - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "verifyCode", - "printedName": "verifyCode(_:code:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "CodeType", - "printedName": "nfclib.CodeType", - "usr": "s:6nfclib8CodeTypeO" - }, - { - "kind": "TypeNominal", - "name": "SecureData", - "printedName": "nfclib.SecureData", - "usr": "s:6nfclib10SecureDataC" - } - ], - "declKind": "Func", - "usr": "s:6nfclib6ThalesC10verifyCode_4codeyAA0D4TypeO_AA10SecureDataCtYaKF", - "mangledName": "$s6nfclib6ThalesC10verifyCode_4codeyAA0D4TypeO_AA10SecureDataCtYaKF", - "moduleName": "nfclib", - "declAttributes": [ - "Final" - ], - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "unblockCode", - "printedName": "unblockCode(_:puk:newCode:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "CodeType", - "printedName": "nfclib.CodeType", - "usr": "s:6nfclib8CodeTypeO" - }, - { - "kind": "TypeNominal", - "name": "SecureData", - "printedName": "nfclib.SecureData", - "usr": "s:6nfclib10SecureDataC" - }, - { - "kind": "TypeNominal", - "name": "SecureData", - "printedName": "nfclib.SecureData", - "usr": "s:6nfclib10SecureDataC" - } - ], - "declKind": "Func", - "usr": "s:6nfclib6ThalesC11unblockCode_3puk03newD0yAA0D4TypeO_AA10SecureDataCAJtYaKF", - "mangledName": "$s6nfclib6ThalesC11unblockCode_3puk03newD0yAA0D4TypeO_AA10SecureDataCAJtYaKF", - "moduleName": "nfclib", - "declAttributes": [ - "Final" - ], - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "authenticate", - "printedName": "authenticate(for:withPin1:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - }, - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - }, - { - "kind": "TypeNominal", - "name": "SecureData", - "printedName": "nfclib.SecureData", - "usr": "s:6nfclib10SecureDataC" - } - ], - "declKind": "Func", - "usr": "s:6nfclib6ThalesC12authenticate3for8withPin110Foundation4DataVAI_AA06SecureH0CtYaKF", - "mangledName": "$s6nfclib6ThalesC12authenticate3for8withPin110Foundation4DataVAI_AA06SecureH0CtYaKF", - "moduleName": "nfclib", - "declAttributes": [ - "Final" - ], - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "calculateSignature", - "printedName": "calculateSignature(for:withPin2:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - }, - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - }, - { - "kind": "TypeNominal", - "name": "SecureData", - "printedName": "nfclib.SecureData", - "usr": "s:6nfclib10SecureDataC" - } - ], - "declKind": "Func", - "usr": "s:6nfclib6ThalesC18calculateSignature3for8withPin210Foundation4DataVAI_AA06SecureI0CtYaKF", - "mangledName": "$s6nfclib6ThalesC18calculateSignature3for8withPin210Foundation4DataVAI_AA06SecureI0CtYaKF", - "moduleName": "nfclib", - "declAttributes": [ - "Final" - ], - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "decryptData", - "printedName": "decryptData(_:withPin1:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - }, - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - }, - { - "kind": "TypeNominal", - "name": "SecureData", - "printedName": "nfclib.SecureData", - "usr": "s:6nfclib10SecureDataC" - } - ], - "declKind": "Func", - "usr": "s:6nfclib6ThalesC11decryptData_8withPin110Foundation0D0VAH_AA06SecureD0CtYaKF", - "mangledName": "$s6nfclib6ThalesC11decryptData_8withPin110Foundation0D0VAH_AA06SecureD0CtYaKF", - "moduleName": "nfclib", - "declAttributes": [ - "Final" - ], - "throwing": true, - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Class", - "usr": "s:6nfclib6ThalesC", - "mangledName": "$s6nfclib6ThalesC", - "moduleName": "nfclib", - "declAttributes": [ - "Final" - ], - "conformances": [ - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - }, - { - "kind": "Conformance", - "name": "CardCommandsInternal", - "printedName": "CardCommandsInternal", - "usr": "s:6nfclib20CardCommandsInternalP", - "mangledName": "$s6nfclib20CardCommandsInternalP" - }, - { - "kind": "Conformance", - "name": "CardCommands", - "printedName": "CardCommands", - "usr": "s:6nfclib12CardCommandsP", - "mangledName": "$s6nfclib12CardCommandsP" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - } - ] - }, - { - "kind": "Import", - "name": "OSLog", - "printedName": "OSLog", - "declKind": "Import", - "moduleName": "nfclib", - "declAttributes": [ - "RawDocComment" - ] - }, - { - "kind": "Import", - "name": "CoreNFC", - "printedName": "CoreNFC", - "declKind": "Import", - "moduleName": "nfclib", - "declAttributes": [ - "Preconcurrency" - ] - }, - { - "kind": "Import", - "name": "CryptoTokenKit", - "printedName": "CryptoTokenKit", - "declKind": "Import", - "moduleName": "nfclib" - }, - { - "kind": "TypeDecl", - "name": "SendableISO7816Tag", - "printedName": "SendableISO7816Tag", - "children": [ - { - "kind": "Var", - "name": "tag", - "printedName": "tag", - "children": [ - { - "kind": "TypeNominal", - "name": "NFCISO7816Tag", - "printedName": "any CoreNFC.NFCISO7816Tag", - "usr": "c:objc(pl)NFCISO7816Tag" - } - ], - "declKind": "Var", - "usr": "s:6nfclib18SendableISO7816TagV3tagSo010NFCISO7816D0_pvp", - "mangledName": "$s6nfclib18SendableISO7816TagV3tagSo010NFCISO7816D0_pvp", - "moduleName": "nfclib", - "declAttributes": [ - "HasStorage" - ], - "fixedbinaryorder": 0, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "NFCISO7816Tag", - "printedName": "any CoreNFC.NFCISO7816Tag", - "usr": "c:objc(pl)NFCISO7816Tag" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib18SendableISO7816TagV3tagSo010NFCISO7816D0_pvg", - "mangledName": "$s6nfclib18SendableISO7816TagV3tagSo010NFCISO7816D0_pvg", - "moduleName": "nfclib", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - }, - { - "kind": "Accessor", - "name": "Set", - "printedName": "Set()", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "NFCISO7816Tag", - "printedName": "any CoreNFC.NFCISO7816Tag", - "usr": "c:objc(pl)NFCISO7816Tag" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib18SendableISO7816TagV3tagSo010NFCISO7816D0_pvs", - "mangledName": "$s6nfclib18SendableISO7816TagV3tagSo010NFCISO7816D0_pvs", - "moduleName": "nfclib", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "set" - }, - { - "kind": "Accessor", - "name": "Modify", - "printedName": "Modify()", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib18SendableISO7816TagV3tagSo010NFCISO7816D0_pvM", - "mangledName": "$s6nfclib18SendableISO7816TagV3tagSo010NFCISO7816D0_pvM", - "moduleName": "nfclib", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "_modify" - } - ] - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(tag:)", - "children": [ - { - "kind": "TypeNominal", - "name": "SendableISO7816Tag", - "printedName": "nfclib.SendableISO7816Tag", - "usr": "s:6nfclib18SendableISO7816TagV" - }, - { - "kind": "TypeNominal", - "name": "NFCISO7816Tag", - "printedName": "any CoreNFC.NFCISO7816Tag", - "usr": "c:objc(pl)NFCISO7816Tag" - } - ], - "declKind": "Constructor", - "usr": "s:6nfclib18SendableISO7816TagV3tagACSo010NFCISO7816D0_p_tcfc", - "mangledName": "$s6nfclib18SendableISO7816TagV3tagACSo010NFCISO7816D0_p_tcfc", - "moduleName": "nfclib", - "implicit": true, - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "sendCommand", - "printedName": "sendCommand(cls:ins:p1Byte:p2Byte:data:leByte:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - }, - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - }, - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - }, - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - }, - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - }, - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "hasDefaultArg": true, - "usr": "s:10Foundation4DataV" - }, - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "hasDefaultArg": true, - "usr": "s:Si" - } - ], - "declKind": "Func", - "usr": "s:6nfclib18SendableISO7816TagV11sendCommand3cls3ins6p1Byte02p2J04data02leJ010Foundation4DataVs5UInt8V_A3oMSitYaKF", - "mangledName": "$s6nfclib18SendableISO7816TagV11sendCommand3cls3ins6p1Byte02p2J04data02leJ010Foundation4DataVs5UInt8V_A3oMSitYaKF", - "moduleName": "nfclib", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "sendCommand", - "printedName": "sendCommand(cls:ins:p1Byte:p2Byte:records:leByte:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - }, - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - }, - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - }, - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - }, - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - }, - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[CryptoTokenKit.TKTLVRecord]", - "children": [ - { - "kind": "TypeNominal", - "name": "TKTLVRecord", - "printedName": "CryptoTokenKit.TKTLVRecord", - "usr": "c:objc(cs)TKTLVRecord" - } - ], - "usr": "s:Sa" - }, - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "hasDefaultArg": true, - "usr": "s:Si" - } - ], - "declKind": "Func", - "usr": "s:6nfclib18SendableISO7816TagV11sendCommand3cls3ins6p1Byte02p2J07records02leJ010Foundation4DataVs5UInt8V_A3OSaySo11TKTLVRecordCGSitYaKF", - "mangledName": "$s6nfclib18SendableISO7816TagV11sendCommand3cls3ins6p1Byte02p2J07records02leJ010Foundation4DataVs5UInt8V_A3OSaySo11TKTLVRecordCGSitYaKF", - "moduleName": "nfclib", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "sendPaceCommand", - "printedName": "sendPaceCommand(records:tagExpected:)", - "children": [ - { - "kind": "TypeNominal", - "name": "TKBERTLVRecord", - "printedName": "CryptoTokenKit.TKBERTLVRecord", - "usr": "c:objc(cs)TKBERTLVRecord" - }, - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[CryptoTokenKit.TKTLVRecord]", - "children": [ - { - "kind": "TypeNominal", - "name": "TKTLVRecord", - "printedName": "CryptoTokenKit.TKTLVRecord", - "usr": "c:objc(cs)TKTLVRecord" - } - ], - "usr": "s:Sa" - }, - { - "kind": "TypeNominal", - "name": "UInt64", - "printedName": "Swift.UInt64", - "usr": "s:s6UInt64V" - } - ], - "declKind": "Func", - "usr": "s:6nfclib18SendableISO7816TagV15sendPaceCommand7records11tagExpectedSo14TKBERTLVRecordCSaySo11TKTLVRecordCG_s6UInt64VtYaKF", - "mangledName": "$s6nfclib18SendableISO7816TagV15sendPaceCommand7records11tagExpectedSo14TKBERTLVRecordCSaySo11TKTLVRecordCG_s6UInt64VtYaKF", - "moduleName": "nfclib", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Struct", - "usr": "s:6nfclib18SendableISO7816TagV", - "mangledName": "$s6nfclib18SendableISO7816TagV", - "moduleName": "nfclib", - "conformances": [ - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - } - ] - }, - { - "kind": "Import", - "name": "Foundation", - "printedName": "Foundation", - "declKind": "Import", - "moduleName": "nfclib", - "declAttributes": [ - "RawDocComment" - ] - }, - { - "kind": "Import", - "name": "CoreNFC", - "printedName": "CoreNFC", - "declKind": "Import", - "moduleName": "nfclib" - }, - { - "kind": "Import", - "name": "CommonCrypto", - "printedName": "CommonCrypto", - "declKind": "Import", - "moduleName": "nfclib" - }, - { - "kind": "Import", - "name": "CryptoTokenKit", - "printedName": "CryptoTokenKit", - "declKind": "Import", - "moduleName": "nfclib" - }, - { - "kind": "Import", - "name": "SwiftECC", - "printedName": "SwiftECC", - "declKind": "Import", - "moduleName": "nfclib", - "declAttributes": [ - "AccessControl" - ] - }, - { - "kind": "Import", - "name": "BigInt", - "printedName": "BigInt", - "declKind": "Import", - "moduleName": "nfclib" - }, - { - "kind": "Import", - "name": "Security", - "printedName": "Security", - "declKind": "Import", - "moduleName": "nfclib" - }, - { - "kind": "TypeDecl", - "name": "UnblockPINError", - "printedName": "UnblockPINError", - "children": [ - { - "kind": "Var", - "name": "missingRequiredParameter", - "printedName": "missingRequiredParameter", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.UnblockPINError.Type) -> nfclib.UnblockPINError", - "children": [ - { - "kind": "TypeNominal", - "name": "UnblockPINError", - "printedName": "nfclib.UnblockPINError", - "usr": "s:6nfclib15UnblockPINErrorO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.UnblockPINError.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "UnblockPINError", - "printedName": "nfclib.UnblockPINError", - "usr": "s:6nfclib15UnblockPINErrorO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib15UnblockPINErrorO24missingRequiredParameteryA2CmF", - "mangledName": "$s6nfclib15UnblockPINErrorO24missingRequiredParameteryA2CmF", - "moduleName": "nfclib" - }, - { - "kind": "Var", - "name": "failed", - "printedName": "failed", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.UnblockPINError.Type) -> nfclib.UnblockPINError", - "children": [ - { - "kind": "TypeNominal", - "name": "UnblockPINError", - "printedName": "nfclib.UnblockPINError", - "usr": "s:6nfclib15UnblockPINErrorO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.UnblockPINError.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "UnblockPINError", - "printedName": "nfclib.UnblockPINError", - "usr": "s:6nfclib15UnblockPINErrorO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib15UnblockPINErrorO6failedyA2CmF", - "mangledName": "$s6nfclib15UnblockPINErrorO6failedyA2CmF", - "moduleName": "nfclib" - }, - { - "kind": "Var", - "name": "general", - "printedName": "general", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.UnblockPINError.Type) -> nfclib.UnblockPINError", - "children": [ - { - "kind": "TypeNominal", - "name": "UnblockPINError", - "printedName": "nfclib.UnblockPINError", - "usr": "s:6nfclib15UnblockPINErrorO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.UnblockPINError.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "UnblockPINError", - "printedName": "nfclib.UnblockPINError", - "usr": "s:6nfclib15UnblockPINErrorO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib15UnblockPINErrorO7generalyA2CmF", - "mangledName": "$s6nfclib15UnblockPINErrorO7generalyA2CmF", - "moduleName": "nfclib" - }, - { - "kind": "Function", - "name": "==", - "printedName": "==(_:_:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" - }, - { - "kind": "TypeNominal", - "name": "UnblockPINError", - "printedName": "nfclib.UnblockPINError", - "usr": "s:6nfclib15UnblockPINErrorO" - }, - { - "kind": "TypeNominal", - "name": "UnblockPINError", - "printedName": "nfclib.UnblockPINError", - "usr": "s:6nfclib15UnblockPINErrorO" - } - ], - "declKind": "Func", - "usr": "s:6nfclib15UnblockPINErrorO2eeoiySbAC_ACtFZ", - "mangledName": "$s6nfclib15UnblockPINErrorO2eeoiySbAC_ACtFZ", - "moduleName": "nfclib", - "static": true, - "implicit": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Var", - "name": "hashValue", - "printedName": "hashValue", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Var", - "usr": "s:6nfclib15UnblockPINErrorO9hashValueSivp", - "mangledName": "$s6nfclib15UnblockPINErrorO9hashValueSivp", - "moduleName": "nfclib", - "implicit": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib15UnblockPINErrorO9hashValueSivg", - "mangledName": "$s6nfclib15UnblockPINErrorO9hashValueSivg", - "moduleName": "nfclib", - "implicit": true, - "accessorKind": "get" - } - ] - }, - { - "kind": "Function", - "name": "hash", - "printedName": "hash(into:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "Hasher", - "printedName": "Swift.Hasher", - "paramValueOwnership": "InOut", - "usr": "s:s6HasherV" - } - ], - "declKind": "Func", - "usr": "s:6nfclib15UnblockPINErrorO4hash4intoys6HasherVz_tF", - "mangledName": "$s6nfclib15UnblockPINErrorO4hash4intoys6HasherVz_tF", - "moduleName": "nfclib", - "implicit": true, - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Enum", - "usr": "s:6nfclib15UnblockPINErrorO", - "mangledName": "$s6nfclib15UnblockPINErrorO", - "moduleName": "nfclib", - "declAttributes": [ - "AccessControl" - ], - "conformances": [ - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Equatable", - "printedName": "Equatable", - "usr": "s:SQ", - "mangledName": "$sSQ" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - }, - { - "kind": "Conformance", - "name": "Hashable", - "printedName": "Hashable", - "usr": "s:SH", - "mangledName": "$sSH" - }, - { - "kind": "Conformance", - "name": "Error", - "printedName": "Error", - "usr": "s:s5ErrorP", - "mangledName": "$ss5ErrorP" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "OperationUnblockPin", - "printedName": "OperationUnblockPin", - "children": [ - { - "kind": "Function", - "name": "startReading", - "printedName": "startReading(CAN:codeType:puk:newPin:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "CodeType", - "printedName": "nfclib.CodeType", - "usr": "s:6nfclib8CodeTypeO" - }, - { - "kind": "TypeNominal", - "name": "SecureData", - "printedName": "nfclib.SecureData", - "usr": "s:6nfclib10SecureDataC" - }, - { - "kind": "TypeNominal", - "name": "SecureData", - "printedName": "nfclib.SecureData", - "usr": "s:6nfclib10SecureDataC" - } - ], - "declKind": "Func", - "usr": "s:6nfclib19OperationUnblockPinC12startReading3CAN8codeType3puk03newD0ySS_AA04CodeI0OAA10SecureDataCALtYaKF", - "mangledName": "$s6nfclib19OperationUnblockPinC12startReading3CAN8codeType3puk03newD0ySS_AA04CodeI0OAA10SecureDataCALtYaKF", - "moduleName": "nfclib", - "isOpen": true, - "declAttributes": [ - "Custom", - "AccessControl" - ], - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init()", - "children": [ - { - "kind": "TypeNominal", - "name": "OperationUnblockPin", - "printedName": "nfclib.OperationUnblockPin", - "usr": "c:@M@nfclib@objc(cs)OperationUnblockPin" - } - ], - "declKind": "Constructor", - "usr": "c:@M@nfclib@objc(cs)OperationUnblockPin(im)init", - "mangledName": "$s6nfclib19OperationUnblockPinCACycfc", - "moduleName": "nfclib", - "overriding": true, - "implicit": true, - "objc_name": "init", - "declAttributes": [ - "Dynamic", - "ObjC", - "Custom", - "Override" - ], - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "tagReaderSession", - "printedName": "tagReaderSession(_:didDetect:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "NFCTagReaderSession", - "printedName": "CoreNFC.NFCTagReaderSession", - "usr": "c:objc(cs)NFCTagReaderSession" - }, - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[CoreNFC.NFCTag]", - "children": [ - { - "kind": "TypeNominal", - "name": "NFCTag", - "printedName": "CoreNFC.NFCTag", - "usr": "s:7CoreNFC6NFCTagO" - } - ], - "usr": "s:Sa" - } - ], - "declKind": "Func", - "usr": "s:6nfclib19OperationUnblockPinC16tagReaderSession_9didDetectySo06NFCTagfG0C_Say7CoreNFC0J0OGtF", - "mangledName": "$s6nfclib19OperationUnblockPinC16tagReaderSession_9didDetectySo06NFCTagfG0C_Say7CoreNFC0J0OGtF", - "moduleName": "nfclib", - "isOpen": true, - "declAttributes": [ - "Custom", - "AccessControl" - ], - "isFromExtension": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "tagReaderSessionDidBecomeActive", - "printedName": "tagReaderSessionDidBecomeActive(_:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "NFCTagReaderSession", - "printedName": "CoreNFC.NFCTagReaderSession", - "usr": "c:objc(cs)NFCTagReaderSession" - } - ], - "declKind": "Func", - "usr": "s:6nfclib19OperationUnblockPinC31tagReaderSessionDidBecomeActiveyySo06NFCTagfG0CF", - "mangledName": "$s6nfclib19OperationUnblockPinC31tagReaderSessionDidBecomeActiveyySo06NFCTagfG0CF", - "moduleName": "nfclib", - "isOpen": true, - "declAttributes": [ - "Custom", - "AccessControl" - ], - "isFromExtension": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "tagReaderSession", - "printedName": "tagReaderSession(_:didInvalidateWithError:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "NFCTagReaderSession", - "printedName": "CoreNFC.NFCTagReaderSession", - "usr": "c:objc(cs)NFCTagReaderSession" - }, - { - "kind": "TypeNominal", - "name": "Error", - "printedName": "any Swift.Error", - "usr": "s:s5ErrorP" - } - ], - "declKind": "Func", - "usr": "s:6nfclib19OperationUnblockPinC16tagReaderSession_22didInvalidateWithErrorySo06NFCTagfG0C_s0K0_ptF", - "mangledName": "$s6nfclib19OperationUnblockPinC16tagReaderSession_22didInvalidateWithErrorySo06NFCTagfG0C_s0K0_ptF", - "moduleName": "nfclib", - "isOpen": true, - "declAttributes": [ - "Custom", - "AccessControl" - ], - "isFromExtension": true, - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Class", - "usr": "c:@M@nfclib@objc(cs)OperationUnblockPin", - "mangledName": "$s6nfclib19OperationUnblockPinC", - "moduleName": "nfclib", - "isOpen": true, - "declAttributes": [ - "AccessControl", - "Custom", - "ObjC" - ], - "superclassUsr": "c:objc(cs)NSObject", - "inheritsConvenienceInitializers": true, - "superclassNames": [ - "ObjectiveC.NSObject" - ], - "conformances": [ - { - "kind": "Conformance", - "name": "NFCTagReaderSessionDelegate", - "printedName": "NFCTagReaderSessionDelegate", - "usr": "s:7CoreNFC27NFCTagReaderSessionDelegateP", - "mangledName": "$s7CoreNFC27NFCTagReaderSessionDelegateP" - }, - { - "kind": "Conformance", - "name": "_KeyValueCodingAndObserving", - "printedName": "_KeyValueCodingAndObserving", - "usr": "s:10Foundation27_KeyValueCodingAndObservingP", - "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP" - }, - { - "kind": "Conformance", - "name": "_KeyValueCodingAndObservingPublishing", - "printedName": "_KeyValueCodingAndObservingPublishing", - "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP", - "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP" - }, - { - "kind": "Conformance", - "name": "CVarArg", - "printedName": "CVarArg", - "usr": "s:s7CVarArgP", - "mangledName": "$ss7CVarArgP" - }, - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "CustomDebugStringConvertible", - "printedName": "CustomDebugStringConvertible", - "usr": "s:s28CustomDebugStringConvertibleP", - "mangledName": "$ss28CustomDebugStringConvertibleP" - }, - { - "kind": "Conformance", - "name": "CustomStringConvertible", - "printedName": "CustomStringConvertible", - "usr": "s:s23CustomStringConvertibleP", - "mangledName": "$ss23CustomStringConvertibleP" - }, - { - "kind": "Conformance", - "name": "Equatable", - "printedName": "Equatable", - "usr": "s:SQ", - "mangledName": "$sSQ" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - }, - { - "kind": "Conformance", - "name": "Hashable", - "printedName": "Hashable", - "usr": "s:SH", - "mangledName": "$sSH" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - } - ] - }, - { - "kind": "Import", - "name": "Foundation", - "printedName": "Foundation", - "declKind": "Import", - "moduleName": "nfclib", - "declAttributes": [ - "RawDocComment" - ] - }, - { - "kind": "Import", - "name": "CoreNFC", - "printedName": "CoreNFC", - "declKind": "Import", - "moduleName": "nfclib", - "declAttributes": [ - "Preconcurrency" - ] - }, - { - "kind": "Import", - "name": "BigInt", - "printedName": "BigInt", - "declKind": "Import", - "moduleName": "nfclib" - }, - { - "kind": "Import", - "name": "CryptoTokenKit", - "printedName": "CryptoTokenKit", - "declKind": "Import", - "moduleName": "nfclib" - }, - { - "kind": "TypeDecl", - "name": "NFCConnection", - "printedName": "NFCConnection", - "children": [ - { - "kind": "Constructor", - "name": "init", - "printedName": "init()", - "children": [ - { - "kind": "TypeNominal", - "name": "NFCConnection", - "printedName": "nfclib.NFCConnection", - "usr": "s:6nfclib13NFCConnectionC" - } - ], - "declKind": "Constructor", - "usr": "s:6nfclib13NFCConnectionCACycfc", - "mangledName": "$s6nfclib13NFCConnectionCACycfc", - "moduleName": "nfclib", - "declAttributes": [ - "Custom", - "AccessControl" - ], - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "setup", - "printedName": "setup(_:tags:)", - "children": [ - { - "kind": "TypeNominal", - "name": "NFCISO7816Tag", - "printedName": "any CoreNFC.NFCISO7816Tag", - "usr": "c:objc(pl)NFCISO7816Tag" - }, - { - "kind": "TypeNominal", - "name": "NFCTagReaderSession", - "printedName": "CoreNFC.NFCTagReaderSession", - "usr": "c:objc(cs)NFCTagReaderSession" - }, - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[CoreNFC.NFCTag]", - "children": [ - { - "kind": "TypeNominal", - "name": "NFCTag", - "printedName": "CoreNFC.NFCTag", - "usr": "s:7CoreNFC6NFCTagO" - } - ], - "usr": "s:Sa" - } - ], - "declKind": "Func", - "usr": "s:6nfclib13NFCConnectionC5setup_4tagsSo13NFCISO7816Tag_pSo19NFCTagReaderSessionC_Say7CoreNFC0G0OGtYaKF", - "mangledName": "$s6nfclib13NFCConnectionC5setup_4tagsSo13NFCISO7816Tag_pSo19NFCTagReaderSessionC_Say7CoreNFC0G0OGtYaKF", - "moduleName": "nfclib", - "isOpen": true, - "declAttributes": [ - "Custom", - "AccessControl" - ], - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "getCardCommands", - "printedName": "getCardCommands(_:tag:CAN:)", - "children": [ - { - "kind": "TypeNominal", - "name": "CardCommands", - "printedName": "any nfclib.CardCommands", - "usr": "s:6nfclib12CardCommandsP" - }, - { - "kind": "TypeNominal", - "name": "NFCTagReaderSession", - "printedName": "CoreNFC.NFCTagReaderSession", - "usr": "c:objc(cs)NFCTagReaderSession" - }, - { - "kind": "TypeNominal", - "name": "NFCISO7816Tag", - "printedName": "any CoreNFC.NFCISO7816Tag", - "usr": "c:objc(pl)NFCISO7816Tag" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Func", - "usr": "s:6nfclib13NFCConnectionC15getCardCommands_3tag3CANAA0dE0_pSo19NFCTagReaderSessionC_So13NFCISO7816Tag_pSStYaKF", - "mangledName": "$s6nfclib13NFCConnectionC15getCardCommands_3tag3CANAA0dE0_pSo19NFCTagReaderSessionC_So13NFCISO7816Tag_pSStYaKF", - "moduleName": "nfclib", - "isOpen": true, - "declAttributes": [ - "AccessControl", - "Custom" - ], - "throwing": true, - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Class", - "usr": "s:6nfclib13NFCConnectionC", - "mangledName": "$s6nfclib13NFCConnectionC", - "moduleName": "nfclib", - "isOpen": true, - "declAttributes": [ - "AccessControl", - "Custom" - ], - "conformances": [ - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "ProgressBar", - "printedName": "ProgressBar", - "children": [ - { - "kind": "Var", - "name": "totalSteps", - "printedName": "totalSteps", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Var", - "usr": "s:6nfclib11ProgressBarV10totalSteps33_1AA606DA0C7C84ED195AE0AE1E9AC532LLSivp", - "mangledName": "$s6nfclib11ProgressBarV10totalSteps33_1AA606DA0C7C84ED195AE0AE1E9AC532LLSivp", - "moduleName": "nfclib", - "isInternal": true, - "declAttributes": [ - "HasStorage", - "AccessControl" - ], - "fixedbinaryorder": 0, - "isLet": true, - "hasStorage": true - }, - { - "kind": "Var", - "name": "currentStep", - "printedName": "currentStep", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Var", - "usr": "s:6nfclib11ProgressBarV11currentStep33_1AA606DA0C7C84ED195AE0AE1E9AC532LLSivp", - "mangledName": "$s6nfclib11ProgressBarV11currentStep33_1AA606DA0C7C84ED195AE0AE1E9AC532LLSivp", - "moduleName": "nfclib", - "isInternal": true, - "declAttributes": [ - "HasStorage", - "AccessControl" - ], - "fixedbinaryorder": 1, - "isLet": true, - "hasStorage": true - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(currentStep:totalSteps:)", - "children": [ - { - "kind": "TypeNominal", - "name": "ProgressBar", - "printedName": "nfclib.ProgressBar", - "usr": "s:6nfclib11ProgressBarV" - }, - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - }, - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "hasDefaultArg": true, - "usr": "s:Si" - } - ], - "declKind": "Constructor", - "usr": "s:6nfclib11ProgressBarV11currentStep10totalStepsACSi_Sitcfc", - "mangledName": "$s6nfclib11ProgressBarV11currentStep10totalStepsACSi_Sitcfc", - "moduleName": "nfclib", - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "generate", - "printedName": "generate()", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Func", - "usr": "s:6nfclib11ProgressBarV8generateSSyF", - "mangledName": "$s6nfclib11ProgressBarV8generateSSyF", - "moduleName": "nfclib", - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Struct", - "usr": "s:6nfclib11ProgressBarV", - "mangledName": "$s6nfclib11ProgressBarV", - "moduleName": "nfclib", - "declAttributes": [ - "RawDocComment" - ], - "conformances": [ - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "BitwiseCopyable", - "printedName": "BitwiseCopyable", - "usr": "s:s15BitwiseCopyableP", - "mangledName": "$ss15BitwiseCopyableP" - } - ] - }, - { - "kind": "Import", - "name": "CommonCrypto", - "printedName": "CommonCrypto", - "declKind": "Import", - "moduleName": "nfclib", - "declAttributes": [ - "RawDocComment" - ] - }, - { - "kind": "Import", - "name": "Foundation", - "printedName": "Foundation", - "declKind": "Import", - "moduleName": "nfclib" - }, - { - "kind": "Import", - "name": "SwiftECC", - "printedName": "SwiftECC", - "declKind": "Import", - "moduleName": "nfclib", - "declAttributes": [ - "AccessControl" - ] - }, - { - "kind": "TypeDecl", - "name": "AES", - "printedName": "AES", - "children": [ - { - "kind": "Var", - "name": "BlockSize", - "printedName": "BlockSize", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Var", - "usr": "s:6nfclib3AESC9BlockSizeSivpZ", - "mangledName": "$s6nfclib3AESC9BlockSizeSivpZ", - "moduleName": "nfclib", - "static": true, - "declAttributes": [ - "HasInitialValue", - "Final", - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib3AESC9BlockSizeSivgZ", - "mangledName": "$s6nfclib3AESC9BlockSizeSivgZ", - "moduleName": "nfclib", - "static": true, - "implicit": true, - "declAttributes": [ - "Transparent", - "Final" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "Zero", - "printedName": "Zero", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.UInt8]", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "usr": "s:Sa" - } - ], - "declKind": "Var", - "usr": "s:6nfclib3AESC4ZeroSays5UInt8VGvpZ", - "mangledName": "$s6nfclib3AESC4ZeroSays5UInt8VGvpZ", - "moduleName": "nfclib", - "static": true, - "declAttributes": [ - "HasInitialValue", - "Final", - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.UInt8]", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "usr": "s:Sa" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib3AESC4ZeroSays5UInt8VGvgZ", - "mangledName": "$s6nfclib3AESC4ZeroSays5UInt8VGvgZ", - "moduleName": "nfclib", - "static": true, - "implicit": true, - "declAttributes": [ - "Transparent", - "Final" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "TypeDecl", - "name": "CBC", - "printedName": "CBC", - "children": [ - { - "kind": "Var", - "name": "key", - "printedName": "key", - "children": [ - { - "kind": "TypeNominal", - "name": "ProtocolComposition", - "printedName": "any Foundation.ContiguousBytes & Foundation.DataProtocol" - } - ], - "declKind": "Var", - "usr": "s:6nfclib3AESC3CBCC3key33_118F4A36F5270C36AB21110C074B0C98LL10Foundation15ContiguousBytes_AH12DataProtocolpvp", - "mangledName": "$s6nfclib3AESC3CBCC3key33_118F4A36F5270C36AB21110C074B0C98LL10Foundation15ContiguousBytes_AH12DataProtocolpvp", - "moduleName": "nfclib", - "isInternal": true, - "declAttributes": [ - "Final", - "HasStorage", - "AccessControl" - ], - "fixedbinaryorder": 0, - "isLet": true, - "hasStorage": true - }, - { - "kind": "Var", - "name": "ivVal", - "printedName": "ivVal", - "children": [ - { - "kind": "TypeNominal", - "name": "ProtocolComposition", - "printedName": "any Foundation.ContiguousBytes & Foundation.DataProtocol" - } - ], - "declKind": "Var", - "usr": "s:6nfclib3AESC3CBCC5ivVal33_118F4A36F5270C36AB21110C074B0C98LL10Foundation15ContiguousBytes_AH12DataProtocolpvp", - "mangledName": "$s6nfclib3AESC3CBCC5ivVal33_118F4A36F5270C36AB21110C074B0C98LL10Foundation15ContiguousBytes_AH12DataProtocolpvp", - "moduleName": "nfclib", - "isInternal": true, - "declAttributes": [ - "Final", - "HasStorage", - "AccessControl" - ], - "fixedbinaryorder": 1, - "isLet": true, - "hasStorage": true - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(key:ivVal:)", - "children": [ - { - "kind": "TypeNominal", - "name": "CBC", - "printedName": "nfclib.AES.CBC", - "usr": "s:6nfclib3AESC3CBCC" - }, - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "τ_0_0" - }, - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "τ_0_1", - "hasDefaultArg": true - } - ], - "declKind": "Constructor", - "usr": "s:6nfclib3AESC3CBCC3key5ivValAEx_q_tc10Foundation15ContiguousBytesRzAH12DataProtocolRzAhIR_AhJR_r0_lufc", - "mangledName": "$s6nfclib3AESC3CBCC3key5ivValAEx_q_tc10Foundation15ContiguousBytesRzAH12DataProtocolRzAhIR_AhJR_r0_lufc", - "moduleName": "nfclib", - "genericSig": "<τ_0_0, τ_0_1 where τ_0_0 : Foundation.ContiguousBytes, τ_0_0 : Foundation.DataProtocol, τ_0_1 : Foundation.ContiguousBytes, τ_0_1 : Foundation.DataProtocol>", - "sugared_genericSig": "", - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "encrypt", - "printedName": "encrypt(_:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.UInt8]", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "usr": "s:Sa" - }, - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "τ_0_0" - } - ], - "declKind": "Func", - "usr": "s:6nfclib3AESC3CBCC7encryptySays5UInt8VGxK10Foundation15ContiguousBytesRzAJ12DataProtocolRzlF", - "mangledName": "$s6nfclib3AESC3CBCC7encryptySays5UInt8VGxK10Foundation15ContiguousBytesRzAJ12DataProtocolRzlF", - "moduleName": "nfclib", - "genericSig": "<τ_0_0 where τ_0_0 : Foundation.ContiguousBytes, τ_0_0 : Foundation.DataProtocol>", - "sugared_genericSig": "", - "isOpen": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "decrypt", - "printedName": "decrypt(_:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.UInt8]", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "usr": "s:Sa" - }, - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "τ_0_0" - } - ], - "declKind": "Func", - "usr": "s:6nfclib3AESC3CBCC7decryptySays5UInt8VGxK10Foundation15ContiguousBytesRzAJ12DataProtocolRzlF", - "mangledName": "$s6nfclib3AESC3CBCC7decryptySays5UInt8VGxK10Foundation15ContiguousBytesRzAJ12DataProtocolRzlF", - "moduleName": "nfclib", - "genericSig": "<τ_0_0 where τ_0_0 : Foundation.ContiguousBytes, τ_0_0 : Foundation.DataProtocol>", - "sugared_genericSig": "", - "isOpen": true, - "throwing": true, - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Class", - "usr": "s:6nfclib3AESC3CBCC", - "mangledName": "$s6nfclib3AESC3CBCC", - "moduleName": "nfclib", - "isOpen": true, - "declAttributes": [ - "AccessControl" - ], - "conformances": [ - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "CMAC", - "printedName": "CMAC", - "children": [ - { - "kind": "Var", - "name": "RBytes", - "printedName": "RBytes", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.UInt8]", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "usr": "s:Sa" - } - ], - "declKind": "Var", - "usr": "s:6nfclib3AESC4CMACC6RBytesSays5UInt8VGvpZ", - "mangledName": "$s6nfclib3AESC4CMACC6RBytesSays5UInt8VGvpZ", - "moduleName": "nfclib", - "static": true, - "declAttributes": [ - "HasInitialValue", - "Final", - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.UInt8]", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "usr": "s:Sa" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib3AESC4CMACC6RBytesSays5UInt8VGvgZ", - "mangledName": "$s6nfclib3AESC4CMACC6RBytesSays5UInt8VGvgZ", - "moduleName": "nfclib", - "static": true, - "implicit": true, - "declAttributes": [ - "Transparent", - "Final" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "cipher", - "printedName": "cipher", - "children": [ - { - "kind": "TypeNominal", - "name": "CBC", - "printedName": "nfclib.AES.CBC", - "usr": "s:6nfclib3AESC3CBCC" - } - ], - "declKind": "Var", - "usr": "s:6nfclib3AESC4CMACC6cipherAC3CBCCvp", - "mangledName": "$s6nfclib3AESC4CMACC6cipherAC3CBCCvp", - "moduleName": "nfclib", - "declAttributes": [ - "Final", - "HasStorage" - ], - "fixedbinaryorder": 0, - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "CBC", - "printedName": "nfclib.AES.CBC", - "usr": "s:6nfclib3AESC3CBCC" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib3AESC4CMACC6cipherAC3CBCCvg", - "mangledName": "$s6nfclib3AESC4CMACC6cipherAC3CBCCvg", - "moduleName": "nfclib", - "implicit": true, - "declAttributes": [ - "Transparent", - "Final" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "k1Bytes", - "printedName": "k1Bytes", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.UInt8]", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "usr": "s:Sa" - } - ], - "declKind": "Var", - "usr": "s:6nfclib3AESC4CMACC7k1BytesSays5UInt8VGvp", - "mangledName": "$s6nfclib3AESC4CMACC7k1BytesSays5UInt8VGvp", - "moduleName": "nfclib", - "declAttributes": [ - "Final", - "HasStorage" - ], - "fixedbinaryorder": 1, - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.UInt8]", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "usr": "s:Sa" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib3AESC4CMACC7k1BytesSays5UInt8VGvg", - "mangledName": "$s6nfclib3AESC4CMACC7k1BytesSays5UInt8VGvg", - "moduleName": "nfclib", - "implicit": true, - "declAttributes": [ - "Transparent", - "Final" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "k2Bytes", - "printedName": "k2Bytes", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.UInt8]", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "usr": "s:Sa" - } - ], - "declKind": "Var", - "usr": "s:6nfclib3AESC4CMACC7k2BytesSays5UInt8VGvp", - "mangledName": "$s6nfclib3AESC4CMACC7k2BytesSays5UInt8VGvp", - "moduleName": "nfclib", - "declAttributes": [ - "Final", - "HasStorage" - ], - "fixedbinaryorder": 2, - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.UInt8]", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "usr": "s:Sa" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib3AESC4CMACC7k2BytesSays5UInt8VGvg", - "mangledName": "$s6nfclib3AESC4CMACC7k2BytesSays5UInt8VGvg", - "moduleName": "nfclib", - "implicit": true, - "declAttributes": [ - "Transparent", - "Final" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(key:)", - "children": [ - { - "kind": "TypeNominal", - "name": "CMAC", - "printedName": "nfclib.AES.CMAC", - "usr": "s:6nfclib3AESC4CMACC" - }, - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "τ_0_0" - } - ], - "declKind": "Constructor", - "usr": "s:6nfclib3AESC4CMACC3keyAEx_tKc10Foundation15ContiguousBytesRzAG12DataProtocolRzlufc", - "mangledName": "$s6nfclib3AESC4CMACC3keyAEx_tKc10Foundation15ContiguousBytesRzAG12DataProtocolRzlufc", - "moduleName": "nfclib", - "genericSig": "<τ_0_0 where τ_0_0 : Foundation.ContiguousBytes, τ_0_0 : Foundation.DataProtocol>", - "sugared_genericSig": "", - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "authenticate", - "printedName": "authenticate(bytes:count:)", - "children": [ - { - "kind": "TypeNominal", - "name": "ArraySlice", - "printedName": "Swift.ArraySlice", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "usr": "s:s10ArraySliceV" - }, - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "τ_0_0" - }, - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "hasDefaultArg": true, - "usr": "s:Si" - } - ], - "declKind": "Func", - "usr": "s:6nfclib3AESC4CMACC12authenticate5bytes5counts10ArraySliceVys5UInt8VGx_SitK10Foundation15ContiguousBytesRzAN12DataProtocolRzSi5IndexSlRtzlF", - "mangledName": "$s6nfclib3AESC4CMACC12authenticate5bytes5counts10ArraySliceVys5UInt8VGx_SitK10Foundation15ContiguousBytesRzAN12DataProtocolRzSi5IndexSlRtzlF", - "moduleName": "nfclib", - "genericSig": "<τ_0_0 where τ_0_0 : Foundation.ContiguousBytes, τ_0_0 : Foundation.DataProtocol, τ_0_0.Index == Swift.Int>", - "sugared_genericSig": "", - "isOpen": true, - "throwing": true, - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Class", - "usr": "s:6nfclib3AESC4CMACC", - "mangledName": "$s6nfclib3AESC4CMACC", - "moduleName": "nfclib", - "isOpen": true, - "declAttributes": [ - "AccessControl" - ], - "conformances": [ - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init()", - "children": [ - { - "kind": "TypeNominal", - "name": "AES", - "printedName": "nfclib.AES", - "usr": "s:6nfclib3AESC" - } - ], - "declKind": "Constructor", - "usr": "s:6nfclib3AESCACycfc", - "mangledName": "$s6nfclib3AESCACycfc", - "moduleName": "nfclib", - "implicit": true, - "init_kind": "Designated" - } - ], - "declKind": "Class", - "usr": "s:6nfclib3AESC", - "mangledName": "$s6nfclib3AESC", - "moduleName": "nfclib", - "isOpen": true, - "conformances": [ - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "Import", - "name": "Foundation", - "printedName": "Foundation", - "declKind": "Import", - "moduleName": "nfclib", - "declAttributes": [ - "RawDocComment" - ] - }, - { - "kind": "Import", - "name": "CommonCrypto", - "printedName": "CommonCrypto", - "declKind": "Import", - "moduleName": "nfclib" - }, - { - "kind": "TypeDecl", - "name": "HashLength", - "printedName": "HashLength", - "children": [ - { - "kind": "Var", - "name": "bits256", - "printedName": "bits256", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.HashLength.Type) -> nfclib.HashLength", - "children": [ - { - "kind": "TypeNominal", - "name": "HashLength", - "printedName": "nfclib.HashLength", - "usr": "s:6nfclib10HashLengthO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.HashLength.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "HashLength", - "printedName": "nfclib.HashLength", - "usr": "s:6nfclib10HashLengthO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib10HashLengthO7bits256yA2CmF", - "mangledName": "$s6nfclib10HashLengthO7bits256yA2CmF", - "moduleName": "nfclib", - "fixedbinaryorder": 0 - }, - { - "kind": "Var", - "name": "bits384", - "printedName": "bits384", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.HashLength.Type) -> nfclib.HashLength", - "children": [ - { - "kind": "TypeNominal", - "name": "HashLength", - "printedName": "nfclib.HashLength", - "usr": "s:6nfclib10HashLengthO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.HashLength.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "HashLength", - "printedName": "nfclib.HashLength", - "usr": "s:6nfclib10HashLengthO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib10HashLengthO7bits384yA2CmF", - "mangledName": "$s6nfclib10HashLengthO7bits384yA2CmF", - "moduleName": "nfclib", - "fixedbinaryorder": 1 - }, - { - "kind": "Var", - "name": "bits512", - "printedName": "bits512", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.HashLength.Type) -> nfclib.HashLength", - "children": [ - { - "kind": "TypeNominal", - "name": "HashLength", - "printedName": "nfclib.HashLength", - "usr": "s:6nfclib10HashLengthO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.HashLength.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "HashLength", - "printedName": "nfclib.HashLength", - "usr": "s:6nfclib10HashLengthO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib10HashLengthO7bits512yA2CmF", - "mangledName": "$s6nfclib10HashLengthO7bits512yA2CmF", - "moduleName": "nfclib", - "fixedbinaryorder": 2 - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(rawValue:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "nfclib.HashLength?", - "children": [ - { - "kind": "TypeNominal", - "name": "HashLength", - "printedName": "nfclib.HashLength", - "usr": "s:6nfclib10HashLengthO" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Constructor", - "usr": "s:6nfclib10HashLengthO8rawValueACSgSi_tcfc", - "mangledName": "$s6nfclib10HashLengthO8rawValueACSgSi_tcfc", - "moduleName": "nfclib", - "implicit": true, - "init_kind": "Designated" - }, - { - "kind": "Var", - "name": "rawValue", - "printedName": "rawValue", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Var", - "usr": "s:6nfclib10HashLengthO8rawValueSivp", - "mangledName": "$s6nfclib10HashLengthO8rawValueSivp", - "moduleName": "nfclib", - "implicit": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib10HashLengthO8rawValueSivg", - "mangledName": "$s6nfclib10HashLengthO8rawValueSivg", - "moduleName": "nfclib", - "implicit": true, - "accessorKind": "get" - } - ] - } - ], - "declKind": "Enum", - "usr": "s:6nfclib10HashLengthO", - "mangledName": "$s6nfclib10HashLengthO", - "moduleName": "nfclib", - "enumRawTypeName": "Int", - "isEnumExhaustive": true, - "conformances": [ - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Equatable", - "printedName": "Equatable", - "usr": "s:SQ", - "mangledName": "$sSQ" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - }, - { - "kind": "Conformance", - "name": "Hashable", - "printedName": "Hashable", - "usr": "s:SH", - "mangledName": "$sSH" - }, - { - "kind": "Conformance", - "name": "RawRepresentable", - "printedName": "RawRepresentable", - "children": [ - { - "kind": "TypeWitness", - "name": "RawValue", - "printedName": "RawValue", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ] - } - ], - "usr": "s:SY", - "mangledName": "$sSY" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "BitwiseCopyable", - "printedName": "BitwiseCopyable", - "usr": "s:s15BitwiseCopyableP", - "mangledName": "$ss15BitwiseCopyableP" - } - ] - }, - { - "kind": "Function", - "name": "hashLengthFromInt", - "printedName": "hashLengthFromInt(_:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "nfclib.HashLength?", - "children": [ - { - "kind": "TypeNominal", - "name": "HashLength", - "printedName": "nfclib.HashLength", - "usr": "s:6nfclib10HashLengthO" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Func", - "usr": "s:6nfclib17hashLengthFromIntyAA04HashC0OSgSiF", - "mangledName": "$s6nfclib17hashLengthFromIntyAA04HashC0OSgSiF", - "moduleName": "nfclib", - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "sha", - "printedName": "sha(hashLength:data:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Foundation.Data?", - "children": [ - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "HashLength", - "printedName": "nfclib.HashLength", - "usr": "s:6nfclib10HashLengthO" - }, - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Func", - "usr": "s:6nfclib3sha10hashLength4data10Foundation4DataVSgAA04HashD0O_AGtF", - "mangledName": "$s6nfclib3sha10hashLength4data10Foundation4DataVSgAA04HashD0O_AGtF", - "moduleName": "nfclib", - "funcSelfKind": "NonMutating" - }, - { - "kind": "TypeDecl", - "name": "IdCardError", - "printedName": "IdCardError", - "children": [ - { - "kind": "Var", - "name": "wrongCAN", - "printedName": "wrongCAN", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.IdCardError.Type) -> nfclib.IdCardError", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardError", - "printedName": "nfclib.IdCardError", - "usr": "s:6nfclib11IdCardErrorO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.IdCardError.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardError", - "printedName": "nfclib.IdCardError", - "usr": "s:6nfclib11IdCardErrorO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib11IdCardErrorO8wrongCANyA2CmF", - "mangledName": "$s6nfclib11IdCardErrorO8wrongCANyA2CmF", - "moduleName": "nfclib" - }, - { - "kind": "Var", - "name": "wrongPIN", - "printedName": "wrongPIN", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.IdCardError.Type) -> (Swift.Int) -> nfclib.IdCardError", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(Swift.Int) -> nfclib.IdCardError", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardError", - "printedName": "nfclib.IdCardError", - "usr": "s:6nfclib11IdCardErrorO" - }, - { - "kind": "TypeNominal", - "name": "Tuple", - "printedName": "(triesLeft: Swift.Int)", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ] - } - ] - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.IdCardError.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardError", - "printedName": "nfclib.IdCardError", - "usr": "s:6nfclib11IdCardErrorO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib11IdCardErrorO8wrongPINyACSi_tcACmF", - "mangledName": "$s6nfclib11IdCardErrorO8wrongPINyACSi_tcACmF", - "moduleName": "nfclib" - }, - { - "kind": "Var", - "name": "invalidNewPIN", - "printedName": "invalidNewPIN", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.IdCardError.Type) -> nfclib.IdCardError", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardError", - "printedName": "nfclib.IdCardError", - "usr": "s:6nfclib11IdCardErrorO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.IdCardError.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardError", - "printedName": "nfclib.IdCardError", - "usr": "s:6nfclib11IdCardErrorO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib11IdCardErrorO13invalidNewPINyA2CmF", - "mangledName": "$s6nfclib11IdCardErrorO13invalidNewPINyA2CmF", - "moduleName": "nfclib" - }, - { - "kind": "Var", - "name": "sessionError", - "printedName": "sessionError", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.IdCardError.Type) -> nfclib.IdCardError", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardError", - "printedName": "nfclib.IdCardError", - "usr": "s:6nfclib11IdCardErrorO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.IdCardError.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardError", - "printedName": "nfclib.IdCardError", - "usr": "s:6nfclib11IdCardErrorO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib11IdCardErrorO07sessionD0yA2CmF", - "mangledName": "$s6nfclib11IdCardErrorO07sessionD0yA2CmF", - "moduleName": "nfclib" - } - ], - "declKind": "Enum", - "usr": "s:6nfclib11IdCardErrorO", - "mangledName": "$s6nfclib11IdCardErrorO", - "moduleName": "nfclib", - "declAttributes": [ - "AccessControl", - "RawDocComment" - ], - "conformances": [ - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Error", - "printedName": "Error", - "usr": "s:s5ErrorP", - "mangledName": "$ss5ErrorP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "IdCardInternalError", - "printedName": "IdCardInternalError", - "children": [ - { - "kind": "Var", - "name": "missingRESTag", - "printedName": "missingRESTag", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.IdCardInternalError.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib19IdCardInternalErrorO13missingRESTagyA2CmF", - "mangledName": "$s6nfclib19IdCardInternalErrorO13missingRESTagyA2CmF", - "moduleName": "nfclib" - }, - { - "kind": "Var", - "name": "missingMACTag", - "printedName": "missingMACTag", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.IdCardInternalError.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib19IdCardInternalErrorO13missingMACTagyA2CmF", - "mangledName": "$s6nfclib19IdCardInternalErrorO13missingMACTagyA2CmF", - "moduleName": "nfclib" - }, - { - "kind": "Var", - "name": "invalidMACValue", - "printedName": "invalidMACValue", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.IdCardInternalError.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib19IdCardInternalErrorO15invalidMACValueyA2CmF", - "mangledName": "$s6nfclib19IdCardInternalErrorO15invalidMACValueyA2CmF", - "moduleName": "nfclib" - }, - { - "kind": "Var", - "name": "failedReadingField", - "printedName": "failedReadingField", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.IdCardInternalError.Type) -> (nfclib.CardField) -> nfclib.IdCardInternalError", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.CardField) -> nfclib.IdCardInternalError", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - }, - { - "kind": "TypeNominal", - "name": "CardField", - "printedName": "nfclib.CardField", - "usr": "s:6nfclib9CardFieldO" - } - ] - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.IdCardInternalError.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib19IdCardInternalErrorO18failedReadingFieldyAcA0cH0OcACmF", - "mangledName": "$s6nfclib19IdCardInternalErrorO18failedReadingFieldyAcA0cH0OcACmF", - "moduleName": "nfclib" - }, - { - "kind": "Var", - "name": "hexConversionFailed", - "printedName": "hexConversionFailed", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.IdCardInternalError.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib19IdCardInternalErrorO19hexConversionFailedyA2CmF", - "mangledName": "$s6nfclib19IdCardInternalErrorO19hexConversionFailedyA2CmF", - "moduleName": "nfclib" - }, - { - "kind": "Var", - "name": "AESCBCError", - "printedName": "AESCBCError", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.IdCardInternalError.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib19IdCardInternalErrorO11AESCBCErroryA2CmF", - "mangledName": "$s6nfclib19IdCardInternalErrorO11AESCBCErroryA2CmF", - "moduleName": "nfclib" - }, - { - "kind": "Var", - "name": "sendCommandFailed", - "printedName": "sendCommandFailed", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.IdCardInternalError.Type) -> (Swift.String) -> nfclib.IdCardInternalError", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(Swift.String) -> nfclib.IdCardInternalError", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - }, - { - "kind": "TypeNominal", - "name": "Tuple", - "printedName": "(message: Swift.String)", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ] - } - ] - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.IdCardInternalError.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib19IdCardInternalErrorO17sendCommandFailedyACSS_tcACmF", - "mangledName": "$s6nfclib19IdCardInternalErrorO17sendCommandFailedyACSS_tcACmF", - "moduleName": "nfclib" - }, - { - "kind": "Var", - "name": "invalidResponse", - "printedName": "invalidResponse", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.IdCardInternalError.Type) -> (Swift.String) -> nfclib.IdCardInternalError", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(Swift.String) -> nfclib.IdCardInternalError", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - }, - { - "kind": "TypeNominal", - "name": "Tuple", - "printedName": "(message: Swift.String)", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ] - } - ] - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.IdCardInternalError.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib19IdCardInternalErrorO15invalidResponseyACSS_tcACmF", - "mangledName": "$s6nfclib19IdCardInternalErrorO15invalidResponseyACSS_tcACmF", - "moduleName": "nfclib" - }, - { - "kind": "Var", - "name": "swError", - "printedName": "swError", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.IdCardInternalError.Type) -> (Swift.UInt16) -> nfclib.IdCardInternalError", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(Swift.UInt16) -> nfclib.IdCardInternalError", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - }, - { - "kind": "TypeNominal", - "name": "UInt16", - "printedName": "Swift.UInt16", - "usr": "s:s6UInt16V" - } - ] - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.IdCardInternalError.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib19IdCardInternalErrorO02swE0yACs6UInt16VcACmF", - "mangledName": "$s6nfclib19IdCardInternalErrorO02swE0yACs6UInt16VcACmF", - "moduleName": "nfclib" - }, - { - "kind": "Var", - "name": "pinVerificationFailed", - "printedName": "pinVerificationFailed", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.IdCardInternalError.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib19IdCardInternalErrorO21pinVerificationFailedyA2CmF", - "mangledName": "$s6nfclib19IdCardInternalErrorO21pinVerificationFailedyA2CmF", - "moduleName": "nfclib" - }, - { - "kind": "Var", - "name": "remainingPinRetryCount", - "printedName": "remainingPinRetryCount", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.IdCardInternalError.Type) -> (Swift.Int) -> nfclib.IdCardInternalError", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(Swift.Int) -> nfclib.IdCardInternalError", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - }, - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ] - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.IdCardInternalError.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib19IdCardInternalErrorO22remainingPinRetryCountyACSicACmF", - "mangledName": "$s6nfclib19IdCardInternalErrorO22remainingPinRetryCountyACSicACmF", - "moduleName": "nfclib" - }, - { - "kind": "Var", - "name": "invalidNewPin", - "printedName": "invalidNewPin", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.IdCardInternalError.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib19IdCardInternalErrorO13invalidNewPinyA2CmF", - "mangledName": "$s6nfclib19IdCardInternalErrorO13invalidNewPinyA2CmF", - "moduleName": "nfclib" - }, - { - "kind": "Var", - "name": "notSupportedCodeType", - "printedName": "notSupportedCodeType", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.IdCardInternalError.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib19IdCardInternalErrorO20notSupportedCodeTypeyA2CmF", - "mangledName": "$s6nfclib19IdCardInternalErrorO20notSupportedCodeTypeyA2CmF", - "moduleName": "nfclib" - }, - { - "kind": "Var", - "name": "dataPaddingError", - "printedName": "dataPaddingError", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.IdCardInternalError.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib19IdCardInternalErrorO011dataPaddingE0yA2CmF", - "mangledName": "$s6nfclib19IdCardInternalErrorO011dataPaddingE0yA2CmF", - "moduleName": "nfclib" - }, - { - "kind": "Var", - "name": "invalidAPDU", - "printedName": "invalidAPDU", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.IdCardInternalError.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib19IdCardInternalErrorO11invalidAPDUyA2CmF", - "mangledName": "$s6nfclib19IdCardInternalErrorO11invalidAPDUyA2CmF", - "moduleName": "nfclib" - }, - { - "kind": "Var", - "name": "authenticationFailed", - "printedName": "authenticationFailed", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.IdCardInternalError.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib19IdCardInternalErrorO20authenticationFailedyA2CmF", - "mangledName": "$s6nfclib19IdCardInternalErrorO20authenticationFailedyA2CmF", - "moduleName": "nfclib" - }, - { - "kind": "Var", - "name": "canAuthenticationFailed", - "printedName": "canAuthenticationFailed", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.IdCardInternalError.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib19IdCardInternalErrorO23canAuthenticationFailedyA2CmF", - "mangledName": "$s6nfclib19IdCardInternalErrorO23canAuthenticationFailedyA2CmF", - "moduleName": "nfclib" - }, - { - "kind": "Var", - "name": "invalidTag", - "printedName": "invalidTag", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.IdCardInternalError.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib19IdCardInternalErrorO10invalidTagyA2CmF", - "mangledName": "$s6nfclib19IdCardInternalErrorO10invalidTagyA2CmF", - "moduleName": "nfclib" - }, - { - "kind": "Var", - "name": "cardNotSupported", - "printedName": "cardNotSupported", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.IdCardInternalError.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib19IdCardInternalErrorO16cardNotSupportedyA2CmF", - "mangledName": "$s6nfclib19IdCardInternalErrorO16cardNotSupportedyA2CmF", - "moduleName": "nfclib" - }, - { - "kind": "Var", - "name": "nfcNotSupported", - "printedName": "nfcNotSupported", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.IdCardInternalError.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib19IdCardInternalErrorO15nfcNotSupportedyA2CmF", - "mangledName": "$s6nfclib19IdCardInternalErrorO15nfcNotSupportedyA2CmF", - "moduleName": "nfclib" - }, - { - "kind": "Var", - "name": "connectionFailed", - "printedName": "connectionFailed", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.IdCardInternalError.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib19IdCardInternalErrorO16connectionFailedyA2CmF", - "mangledName": "$s6nfclib19IdCardInternalErrorO16connectionFailedyA2CmF", - "moduleName": "nfclib" - }, - { - "kind": "Var", - "name": "multipleTagsDetected", - "printedName": "multipleTagsDetected", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.IdCardInternalError.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib19IdCardInternalErrorO20multipleTagsDetectedyA2CmF", - "mangledName": "$s6nfclib19IdCardInternalErrorO20multipleTagsDetectedyA2CmF", - "moduleName": "nfclib" - }, - { - "kind": "Var", - "name": "couldNotVerifyChipsMAC", - "printedName": "couldNotVerifyChipsMAC", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.IdCardInternalError.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib19IdCardInternalErrorO22couldNotVerifyChipsMACyA2CmF", - "mangledName": "$s6nfclib19IdCardInternalErrorO22couldNotVerifyChipsMACyA2CmF", - "moduleName": "nfclib" - }, - { - "kind": "Var", - "name": "cancelledByUser", - "printedName": "cancelledByUser", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.IdCardInternalError.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib19IdCardInternalErrorO15cancelledByUseryA2CmF", - "mangledName": "$s6nfclib19IdCardInternalErrorO15cancelledByUseryA2CmF", - "moduleName": "nfclib" - }, - { - "kind": "Var", - "name": "sessionInvalidated", - "printedName": "sessionInvalidated", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.IdCardInternalError.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib19IdCardInternalErrorO18sessionInvalidatedyA2CmF", - "mangledName": "$s6nfclib19IdCardInternalErrorO18sessionInvalidatedyA2CmF", - "moduleName": "nfclib" - }, - { - "kind": "Var", - "name": "readerProcessFailed", - "printedName": "readerProcessFailed", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.IdCardInternalError.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib19IdCardInternalErrorO19readerProcessFailedyA2CmF", - "mangledName": "$s6nfclib19IdCardInternalErrorO19readerProcessFailedyA2CmF", - "moduleName": "nfclib" - }, - { - "kind": "Var", - "name": "failedToRemovePadding", - "printedName": "failedToRemovePadding", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.IdCardInternalError.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib19IdCardInternalErrorO21failedToRemovePaddingyA2CmF", - "mangledName": "$s6nfclib19IdCardInternalErrorO21failedToRemovePaddingyA2CmF", - "moduleName": "nfclib" - }, - { - "kind": "Var", - "name": "notSupportedAlgorithm", - "printedName": "notSupportedAlgorithm", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.IdCardInternalError.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib19IdCardInternalErrorO21notSupportedAlgorithmyA2CmF", - "mangledName": "$s6nfclib19IdCardInternalErrorO21notSupportedAlgorithmyA2CmF", - "moduleName": "nfclib" - }, - { - "kind": "Function", - "name": "getIdCardError", - "printedName": "getIdCardError()", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardError", - "printedName": "nfclib.IdCardError", - "usr": "s:6nfclib11IdCardErrorO" - } - ], - "declKind": "Func", - "usr": "s:6nfclib19IdCardInternalErrorO03getbcE0AA0bcE0OyF", - "mangledName": "$s6nfclib19IdCardInternalErrorO03getbcE0AA0bcE0OyF", - "moduleName": "nfclib", - "declAttributes": [ - "AccessControl" - ], - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Enum", - "usr": "s:6nfclib19IdCardInternalErrorO", - "mangledName": "$s6nfclib19IdCardInternalErrorO", - "moduleName": "nfclib", - "declAttributes": [ - "AccessControl" - ], - "conformances": [ - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Error", - "printedName": "Error", - "usr": "s:s5ErrorP", - "mangledName": "$ss5ErrorP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "PinError", - "printedName": "PinError", - "children": [ - { - "kind": "Var", - "name": "msg", - "printedName": "msg", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:6nfclib8PinErrorV3msgSSvp", - "mangledName": "$s6nfclib8PinErrorV3msgSSvp", - "moduleName": "nfclib", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib8PinErrorV3msgSSvg", - "mangledName": "$s6nfclib8PinErrorV3msgSSvg", - "moduleName": "nfclib", - "implicit": true, - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "remainingCount", - "printedName": "remainingCount", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Var", - "usr": "s:6nfclib8PinErrorV14remainingCountSivp", - "mangledName": "$s6nfclib8PinErrorV14remainingCountSivp", - "moduleName": "nfclib", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib8PinErrorV14remainingCountSivg", - "mangledName": "$s6nfclib8PinErrorV14remainingCountSivg", - "moduleName": "nfclib", - "implicit": true, - "accessorKind": "get" - } - ] - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(msg:remainingCount:)", - "children": [ - { - "kind": "TypeNominal", - "name": "PinError", - "printedName": "nfclib.PinError", - "usr": "s:6nfclib8PinErrorV" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Constructor", - "usr": "s:6nfclib8PinErrorV3msg14remainingCountACSS_Sitcfc", - "mangledName": "$s6nfclib8PinErrorV3msg14remainingCountACSS_Sitcfc", - "moduleName": "nfclib", - "implicit": true, - "init_kind": "Designated" - } - ], - "declKind": "Struct", - "usr": "s:6nfclib8PinErrorV", - "mangledName": "$s6nfclib8PinErrorV", - "moduleName": "nfclib", - "declAttributes": [ - "AccessControl" - ], - "conformances": [ - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Error", - "printedName": "Error", - "usr": "s:s5ErrorP", - "mangledName": "$ss5ErrorP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "CardInfo", - "printedName": "CardInfo", - "children": [ - { - "kind": "Var", - "name": "givenName", - "printedName": "givenName", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:6nfclib8CardInfoV9givenNameSSvp", - "mangledName": "$s6nfclib8CardInfoV9givenNameSSvp", - "moduleName": "nfclib", - "declAttributes": [ - "HasStorage", - "AccessControl" - ], - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib8CardInfoV9givenNameSSvg", - "mangledName": "$s6nfclib8CardInfoV9givenNameSSvg", - "moduleName": "nfclib", - "implicit": true, - "accessorKind": "get" - }, - { - "kind": "Accessor", - "name": "Set", - "printedName": "Set()", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib8CardInfoV9givenNameSSvs", - "mangledName": "$s6nfclib8CardInfoV9givenNameSSvs", - "moduleName": "nfclib", - "implicit": true, - "accessorKind": "set" - }, - { - "kind": "Accessor", - "name": "Modify", - "printedName": "Modify()", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib8CardInfoV9givenNameSSvM", - "mangledName": "$s6nfclib8CardInfoV9givenNameSSvM", - "moduleName": "nfclib", - "implicit": true, - "accessorKind": "_modify" - } - ] - }, - { - "kind": "Var", - "name": "surname", - "printedName": "surname", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:6nfclib8CardInfoV7surnameSSvp", - "mangledName": "$s6nfclib8CardInfoV7surnameSSvp", - "moduleName": "nfclib", - "declAttributes": [ - "HasStorage", - "AccessControl" - ], - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib8CardInfoV7surnameSSvg", - "mangledName": "$s6nfclib8CardInfoV7surnameSSvg", - "moduleName": "nfclib", - "implicit": true, - "accessorKind": "get" - }, - { - "kind": "Accessor", - "name": "Set", - "printedName": "Set()", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib8CardInfoV7surnameSSvs", - "mangledName": "$s6nfclib8CardInfoV7surnameSSvs", - "moduleName": "nfclib", - "implicit": true, - "accessorKind": "set" - }, - { - "kind": "Accessor", - "name": "Modify", - "printedName": "Modify()", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", "children": [ { "kind": "TypeNominal", - "name": "Void", - "printedName": "()" + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "nfclib.IdCardInternalError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" + } + ] } - ], - "declKind": "Accessor", - "usr": "s:6nfclib8CardInfoV7surnameSSvM", - "mangledName": "$s6nfclib8CardInfoV7surnameSSvM", - "moduleName": "nfclib", - "implicit": true, - "accessorKind": "_modify" + ] } - ] + ], + "declKind": "EnumElement", + "usr": "s:6nfclib19IdCardInternalErrorO15invalidMACValueyA2CmF", + "mangledName": "$s6nfclib19IdCardInternalErrorO15invalidMACValueyA2CmF", + "moduleName": "nfclib" }, { "kind": "Var", - "name": "personalCode", - "printedName": "personalCode", + "name": "failedReadingField", + "printedName": "failedReadingField", "children": [ { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:6nfclib8CardInfoV12personalCodeSSvp", - "mangledName": "$s6nfclib8CardInfoV12personalCodeSSvp", - "moduleName": "nfclib", - "declAttributes": [ - "HasStorage", - "AccessControl" - ], - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(nfclib.IdCardInternalError.Type) -> (nfclib.CardField) -> nfclib.IdCardInternalError", "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(nfclib.CardField) -> nfclib.IdCardInternalError", + "children": [ + { + "kind": "TypeNominal", + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" + }, + { + "kind": "TypeNominal", + "name": "CardField", + "printedName": "nfclib.CardField", + "usr": "s:6nfclib9CardFieldO" + } + ] + }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Metatype", + "printedName": "nfclib.IdCardInternalError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" + } + ] } - ], - "declKind": "Accessor", - "usr": "s:6nfclib8CardInfoV12personalCodeSSvg", - "mangledName": "$s6nfclib8CardInfoV12personalCodeSSvg", - "moduleName": "nfclib", - "implicit": true, - "accessorKind": "get" - }, + ] + } + ], + "declKind": "EnumElement", + "usr": "s:6nfclib19IdCardInternalErrorO18failedReadingFieldyAcA0cH0OcACmF", + "mangledName": "$s6nfclib19IdCardInternalErrorO18failedReadingFieldyAcA0cH0OcACmF", + "moduleName": "nfclib" + }, + { + "kind": "Var", + "name": "hexConversionFailed", + "printedName": "hexConversionFailed", + "children": [ { - "kind": "Accessor", - "name": "Set", - "printedName": "Set()", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", "children": [ { "kind": "TypeNominal", - "name": "Void", - "printedName": "()" + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Metatype", + "printedName": "nfclib.IdCardInternalError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" + } + ] } - ], - "declKind": "Accessor", - "usr": "s:6nfclib8CardInfoV12personalCodeSSvs", - "mangledName": "$s6nfclib8CardInfoV12personalCodeSSvs", - "moduleName": "nfclib", - "implicit": true, - "accessorKind": "set" - }, + ] + } + ], + "declKind": "EnumElement", + "usr": "s:6nfclib19IdCardInternalErrorO19hexConversionFailedyA2CmF", + "mangledName": "$s6nfclib19IdCardInternalErrorO19hexConversionFailedyA2CmF", + "moduleName": "nfclib" + }, + { + "kind": "Var", + "name": "AESCBCError", + "printedName": "AESCBCError", + "children": [ { - "kind": "Accessor", - "name": "Modify", - "printedName": "Modify()", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", "children": [ { "kind": "TypeNominal", - "name": "Void", - "printedName": "()" + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "nfclib.IdCardInternalError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" + } + ] } - ], - "declKind": "Accessor", - "usr": "s:6nfclib8CardInfoV12personalCodeSSvM", - "mangledName": "$s6nfclib8CardInfoV12personalCodeSSvM", - "moduleName": "nfclib", - "implicit": true, - "accessorKind": "_modify" + ] } - ] + ], + "declKind": "EnumElement", + "usr": "s:6nfclib19IdCardInternalErrorO11AESCBCErroryA2CmF", + "mangledName": "$s6nfclib19IdCardInternalErrorO11AESCBCErroryA2CmF", + "moduleName": "nfclib" }, { "kind": "Var", - "name": "citizenship", - "printedName": "citizenship", + "name": "sendCommandFailed", + "printedName": "sendCommandFailed", "children": [ { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:6nfclib8CardInfoV11citizenshipSSvp", - "mangledName": "$s6nfclib8CardInfoV11citizenshipSSvp", - "moduleName": "nfclib", - "declAttributes": [ - "HasStorage", - "AccessControl" - ], - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(nfclib.IdCardInternalError.Type) -> (Swift.String) -> nfclib.IdCardInternalError", "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.String) -> nfclib.IdCardInternalError", + "children": [ + { + "kind": "TypeNominal", + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" + }, + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(message: Swift.String)", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ] + }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Metatype", + "printedName": "nfclib.IdCardInternalError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" + } + ] } - ], - "declKind": "Accessor", - "usr": "s:6nfclib8CardInfoV11citizenshipSSvg", - "mangledName": "$s6nfclib8CardInfoV11citizenshipSSvg", - "moduleName": "nfclib", - "implicit": true, - "accessorKind": "get" - }, + ] + } + ], + "declKind": "EnumElement", + "usr": "s:6nfclib19IdCardInternalErrorO17sendCommandFailedyACSS_tcACmF", + "mangledName": "$s6nfclib19IdCardInternalErrorO17sendCommandFailedyACSS_tcACmF", + "moduleName": "nfclib" + }, + { + "kind": "Var", + "name": "invalidResponse", + "printedName": "invalidResponse", + "children": [ { - "kind": "Accessor", - "name": "Set", - "printedName": "Set()", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(nfclib.IdCardInternalError.Type) -> (Swift.String) -> nfclib.IdCardInternalError", "children": [ { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.String) -> nfclib.IdCardInternalError", + "children": [ + { + "kind": "TypeNominal", + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" + }, + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(message: Swift.String)", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ] }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib8CardInfoV11citizenshipSSvs", - "mangledName": "$s6nfclib8CardInfoV11citizenshipSSvs", - "moduleName": "nfclib", - "implicit": true, - "accessorKind": "set" - }, - { - "kind": "Accessor", - "name": "Modify", - "printedName": "Modify()", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" + "name": "Metatype", + "printedName": "nfclib.IdCardInternalError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" + } + ] } - ], - "declKind": "Accessor", - "usr": "s:6nfclib8CardInfoV11citizenshipSSvM", - "mangledName": "$s6nfclib8CardInfoV11citizenshipSSvM", - "moduleName": "nfclib", - "implicit": true, - "accessorKind": "_modify" + ] } - ] + ], + "declKind": "EnumElement", + "usr": "s:6nfclib19IdCardInternalErrorO15invalidResponseyACSS_tcACmF", + "mangledName": "$s6nfclib19IdCardInternalErrorO15invalidResponseyACSS_tcACmF", + "moduleName": "nfclib" }, { "kind": "Var", - "name": "documentNumber", - "printedName": "documentNumber", + "name": "swError", + "printedName": "swError", "children": [ { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:6nfclib8CardInfoV14documentNumberSSvp", - "mangledName": "$s6nfclib8CardInfoV14documentNumberSSvp", - "moduleName": "nfclib", - "declAttributes": [ - "HasStorage", - "AccessControl" - ], - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(nfclib.IdCardInternalError.Type) -> (Swift.UInt16) -> nfclib.IdCardInternalError", "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.UInt16) -> nfclib.IdCardInternalError", + "children": [ + { + "kind": "TypeNominal", + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" + }, + { + "kind": "TypeNominal", + "name": "UInt16", + "printedName": "Swift.UInt16", + "usr": "s:s6UInt16V" + } + ] + }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Metatype", + "printedName": "nfclib.IdCardInternalError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" + } + ] } - ], - "declKind": "Accessor", - "usr": "s:6nfclib8CardInfoV14documentNumberSSvg", - "mangledName": "$s6nfclib8CardInfoV14documentNumberSSvg", - "moduleName": "nfclib", - "implicit": true, - "accessorKind": "get" - }, + ] + } + ], + "declKind": "EnumElement", + "usr": "s:6nfclib19IdCardInternalErrorO02swE0yACs6UInt16VcACmF", + "mangledName": "$s6nfclib19IdCardInternalErrorO02swE0yACs6UInt16VcACmF", + "moduleName": "nfclib" + }, + { + "kind": "Var", + "name": "pinVerificationFailed", + "printedName": "pinVerificationFailed", + "children": [ { - "kind": "Accessor", - "name": "Set", - "printedName": "Set()", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", "children": [ { "kind": "TypeNominal", - "name": "Void", - "printedName": "()" + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Metatype", + "printedName": "nfclib.IdCardInternalError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" + } + ] } - ], - "declKind": "Accessor", - "usr": "s:6nfclib8CardInfoV14documentNumberSSvs", - "mangledName": "$s6nfclib8CardInfoV14documentNumberSSvs", - "moduleName": "nfclib", - "implicit": true, - "accessorKind": "set" - }, + ] + } + ], + "declKind": "EnumElement", + "usr": "s:6nfclib19IdCardInternalErrorO21pinVerificationFailedyA2CmF", + "mangledName": "$s6nfclib19IdCardInternalErrorO21pinVerificationFailedyA2CmF", + "moduleName": "nfclib" + }, + { + "kind": "Var", + "name": "remainingPinRetryCount", + "printedName": "remainingPinRetryCount", + "children": [ { - "kind": "Accessor", - "name": "Modify", - "printedName": "Modify()", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(nfclib.IdCardInternalError.Type) -> (Swift.Int) -> nfclib.IdCardInternalError", "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.Int) -> nfclib.IdCardInternalError", + "children": [ + { + "kind": "TypeNominal", + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" + }, + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + }, { "kind": "TypeNominal", - "name": "Void", - "printedName": "()" + "name": "Metatype", + "printedName": "nfclib.IdCardInternalError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" + } + ] } - ], - "declKind": "Accessor", - "usr": "s:6nfclib8CardInfoV14documentNumberSSvM", - "mangledName": "$s6nfclib8CardInfoV14documentNumberSSvM", - "moduleName": "nfclib", - "implicit": true, - "accessorKind": "_modify" + ] } - ] + ], + "declKind": "EnumElement", + "usr": "s:6nfclib19IdCardInternalErrorO22remainingPinRetryCountyACSicACmF", + "mangledName": "$s6nfclib19IdCardInternalErrorO22remainingPinRetryCountyACSicACmF", + "moduleName": "nfclib" }, { "kind": "Var", - "name": "dateOfExpiry", - "printedName": "dateOfExpiry", + "name": "invalidNewPin", + "printedName": "invalidNewPin", "children": [ { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:6nfclib8CardInfoV12dateOfExpirySSvp", - "mangledName": "$s6nfclib8CardInfoV12dateOfExpirySSvp", - "moduleName": "nfclib", - "declAttributes": [ - "HasStorage", - "AccessControl" - ], - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "nfclib.IdCardInternalError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" + } + ] } - ], - "declKind": "Accessor", - "usr": "s:6nfclib8CardInfoV12dateOfExpirySSvg", - "mangledName": "$s6nfclib8CardInfoV12dateOfExpirySSvg", - "moduleName": "nfclib", - "implicit": true, - "accessorKind": "get" - }, + ] + } + ], + "declKind": "EnumElement", + "usr": "s:6nfclib19IdCardInternalErrorO13invalidNewPinyA2CmF", + "mangledName": "$s6nfclib19IdCardInternalErrorO13invalidNewPinyA2CmF", + "moduleName": "nfclib" + }, + { + "kind": "Var", + "name": "notSupportedCodeType", + "printedName": "notSupportedCodeType", + "children": [ { - "kind": "Accessor", - "name": "Set", - "printedName": "Set()", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", "children": [ { "kind": "TypeNominal", - "name": "Void", - "printedName": "()" + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Metatype", + "printedName": "nfclib.IdCardInternalError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" + } + ] } - ], - "declKind": "Accessor", - "usr": "s:6nfclib8CardInfoV12dateOfExpirySSvs", - "mangledName": "$s6nfclib8CardInfoV12dateOfExpirySSvs", - "moduleName": "nfclib", - "implicit": true, - "accessorKind": "set" - }, + ] + } + ], + "declKind": "EnumElement", + "usr": "s:6nfclib19IdCardInternalErrorO20notSupportedCodeTypeyA2CmF", + "mangledName": "$s6nfclib19IdCardInternalErrorO20notSupportedCodeTypeyA2CmF", + "moduleName": "nfclib" + }, + { + "kind": "Var", + "name": "dataPaddingError", + "printedName": "dataPaddingError", + "children": [ { - "kind": "Accessor", - "name": "Modify", - "printedName": "Modify()", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", "children": [ { "kind": "TypeNominal", - "name": "Void", - "printedName": "()" + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "nfclib.IdCardInternalError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" + } + ] } - ], - "declKind": "Accessor", - "usr": "s:6nfclib8CardInfoV12dateOfExpirySSvM", - "mangledName": "$s6nfclib8CardInfoV12dateOfExpirySSvM", - "moduleName": "nfclib", - "implicit": true, - "accessorKind": "_modify" + ] } - ] + ], + "declKind": "EnumElement", + "usr": "s:6nfclib19IdCardInternalErrorO011dataPaddingE0yA2CmF", + "mangledName": "$s6nfclib19IdCardInternalErrorO011dataPaddingE0yA2CmF", + "moduleName": "nfclib" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(givenName:surname:personalCode:citizenship:documentNumber:dateOfExpiry:)", + "kind": "Var", + "name": "invalidAPDU", + "printedName": "invalidAPDU", "children": [ { - "kind": "TypeNominal", - "name": "CardInfo", - "printedName": "nfclib.CardInfo", - "usr": "s:6nfclib8CardInfoV" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "hasDefaultArg": true, - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "hasDefaultArg": true, - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "hasDefaultArg": true, - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "hasDefaultArg": true, - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "hasDefaultArg": true, - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "hasDefaultArg": true, - "usr": "s:SS" + "kind": "TypeFunc", + "name": "Function", + "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", + "children": [ + { + "kind": "TypeNominal", + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "nfclib.IdCardInternalError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" + } + ] + } + ] } ], - "declKind": "Constructor", - "usr": "s:6nfclib8CardInfoV9givenName7surname12personalCode11citizenship14documentNumber12dateOfExpiryACSS_S5Stcfc", - "mangledName": "$s6nfclib8CardInfoV9givenName7surname12personalCode11citizenship14documentNumber12dateOfExpiryACSS_S5Stcfc", - "moduleName": "nfclib", - "declAttributes": [ - "AccessControl" - ], - "init_kind": "Designated" + "declKind": "EnumElement", + "usr": "s:6nfclib19IdCardInternalErrorO11invalidAPDUyA2CmF", + "mangledName": "$s6nfclib19IdCardInternalErrorO11invalidAPDUyA2CmF", + "moduleName": "nfclib" }, { "kind": "Var", - "name": "formattedDescription", - "printedName": "formattedDescription", + "name": "authenticationFailed", + "printedName": "authenticationFailed", "children": [ { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:6nfclib8CardInfoV20formattedDescriptionSSvp", - "mangledName": "$s6nfclib8CardInfoV20formattedDescriptionSSvp", - "moduleName": "nfclib", - "declAttributes": [ - "AccessControl" - ], - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "nfclib.IdCardInternalError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" + } + ] } - ], - "declKind": "Accessor", - "usr": "s:6nfclib8CardInfoV20formattedDescriptionSSvg", - "mangledName": "$s6nfclib8CardInfoV20formattedDescriptionSSvg", - "moduleName": "nfclib", - "accessorKind": "get" + ] } - ] + ], + "declKind": "EnumElement", + "usr": "s:6nfclib19IdCardInternalErrorO20authenticationFailedyA2CmF", + "mangledName": "$s6nfclib19IdCardInternalErrorO20authenticationFailedyA2CmF", + "moduleName": "nfclib" }, { "kind": "Var", - "name": "hashValue", - "printedName": "hashValue", + "name": "canAuthenticationFailed", + "printedName": "canAuthenticationFailed", "children": [ { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Var", - "usr": "s:6nfclib8CardInfoV9hashValueSivp", - "mangledName": "$s6nfclib8CardInfoV9hashValueSivp", - "moduleName": "nfclib", - "implicit": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "nfclib.IdCardInternalError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" + } + ] } - ], - "declKind": "Accessor", - "usr": "s:6nfclib8CardInfoV9hashValueSivg", - "mangledName": "$s6nfclib8CardInfoV9hashValueSivg", - "moduleName": "nfclib", - "implicit": true, - "accessorKind": "get" - } - ] - }, - { - "kind": "Function", - "name": "hash", - "printedName": "hash(into:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "Hasher", - "printedName": "Swift.Hasher", - "paramValueOwnership": "InOut", - "usr": "s:s6HasherV" + ] } ], - "declKind": "Func", - "usr": "s:6nfclib8CardInfoV4hash4intoys6HasherVz_tF", - "mangledName": "$s6nfclib8CardInfoV4hash4intoys6HasherVz_tF", - "moduleName": "nfclib", - "implicit": true, - "funcSelfKind": "NonMutating" + "declKind": "EnumElement", + "usr": "s:6nfclib19IdCardInternalErrorO23canAuthenticationFailedyA2CmF", + "mangledName": "$s6nfclib19IdCardInternalErrorO23canAuthenticationFailedyA2CmF", + "moduleName": "nfclib" }, { - "kind": "Function", - "name": "==", - "printedName": "==(_:_:)", + "kind": "Var", + "name": "invalidTag", + "printedName": "invalidTag", "children": [ { - "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" - }, - { - "kind": "TypeNominal", - "name": "CardInfo", - "printedName": "nfclib.CardInfo", - "usr": "s:6nfclib8CardInfoV" - }, - { - "kind": "TypeNominal", - "name": "CardInfo", - "printedName": "nfclib.CardInfo", - "usr": "s:6nfclib8CardInfoV" + "kind": "TypeFunc", + "name": "Function", + "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", + "children": [ + { + "kind": "TypeNominal", + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "nfclib.IdCardInternalError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" + } + ] + } + ] } ], - "declKind": "Func", - "usr": "s:6nfclib8CardInfoV2eeoiySbAC_ACtFZ", - "mangledName": "$s6nfclib8CardInfoV2eeoiySbAC_ACtFZ", - "moduleName": "nfclib", - "static": true, - "implicit": true, - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Struct", - "usr": "s:6nfclib8CardInfoV", - "mangledName": "$s6nfclib8CardInfoV", - "moduleName": "nfclib", - "declAttributes": [ - "AccessControl", - "RawDocComment" - ], - "conformances": [ - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "Hashable", - "printedName": "Hashable", - "usr": "s:SH", - "mangledName": "$sSH" + "declKind": "EnumElement", + "usr": "s:6nfclib19IdCardInternalErrorO10invalidTagyA2CmF", + "mangledName": "$s6nfclib19IdCardInternalErrorO10invalidTagyA2CmF", + "moduleName": "nfclib" }, { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" + "kind": "Var", + "name": "cardNotSupported", + "printedName": "cardNotSupported", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", + "children": [ + { + "kind": "TypeNominal", + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "nfclib.IdCardInternalError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:6nfclib19IdCardInternalErrorO16cardNotSupportedyA2CmF", + "mangledName": "$s6nfclib19IdCardInternalErrorO16cardNotSupportedyA2CmF", + "moduleName": "nfclib" }, - { - "kind": "Conformance", - "name": "Equatable", - "printedName": "Equatable", - "usr": "s:SQ", - "mangledName": "$sSQ" - } - ] - }, - { - "kind": "TypeDecl", - "name": "CardField", - "printedName": "CardField", - "children": [ { "kind": "Var", - "name": "surname", - "printedName": "surname", + "name": "nfcNotSupported", + "printedName": "nfcNotSupported", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(nfclib.CardField.Type) -> nfclib.CardField", + "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", "children": [ { "kind": "TypeNominal", - "name": "CardField", - "printedName": "nfclib.CardField", - "usr": "s:6nfclib9CardFieldO" + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "nfclib.CardField.Type", + "printedName": "nfclib.IdCardInternalError.Type", "children": [ { "kind": "TypeNominal", - "name": "CardField", - "printedName": "nfclib.CardField", - "usr": "s:6nfclib9CardFieldO" + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" } ] } @@ -11301,36 +4684,36 @@ } ], "declKind": "EnumElement", - "usr": "s:6nfclib9CardFieldO7surnameyA2CmF", - "mangledName": "$s6nfclib9CardFieldO7surnameyA2CmF", + "usr": "s:6nfclib19IdCardInternalErrorO15nfcNotSupportedyA2CmF", + "mangledName": "$s6nfclib19IdCardInternalErrorO15nfcNotSupportedyA2CmF", "moduleName": "nfclib" }, { "kind": "Var", - "name": "firstName", - "printedName": "firstName", + "name": "connectionFailed", + "printedName": "connectionFailed", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(nfclib.CardField.Type) -> nfclib.CardField", + "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", "children": [ { "kind": "TypeNominal", - "name": "CardField", - "printedName": "nfclib.CardField", - "usr": "s:6nfclib9CardFieldO" + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "nfclib.CardField.Type", + "printedName": "nfclib.IdCardInternalError.Type", "children": [ { "kind": "TypeNominal", - "name": "CardField", - "printedName": "nfclib.CardField", - "usr": "s:6nfclib9CardFieldO" + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" } ] } @@ -11338,36 +4721,36 @@ } ], "declKind": "EnumElement", - "usr": "s:6nfclib9CardFieldO9firstNameyA2CmF", - "mangledName": "$s6nfclib9CardFieldO9firstNameyA2CmF", + "usr": "s:6nfclib19IdCardInternalErrorO16connectionFailedyA2CmF", + "mangledName": "$s6nfclib19IdCardInternalErrorO16connectionFailedyA2CmF", "moduleName": "nfclib" }, { "kind": "Var", - "name": "sex", - "printedName": "sex", + "name": "multipleTagsDetected", + "printedName": "multipleTagsDetected", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(nfclib.CardField.Type) -> nfclib.CardField", + "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", "children": [ { "kind": "TypeNominal", - "name": "CardField", - "printedName": "nfclib.CardField", - "usr": "s:6nfclib9CardFieldO" + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "nfclib.CardField.Type", + "printedName": "nfclib.IdCardInternalError.Type", "children": [ { "kind": "TypeNominal", - "name": "CardField", - "printedName": "nfclib.CardField", - "usr": "s:6nfclib9CardFieldO" + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" } ] } @@ -11375,36 +4758,36 @@ } ], "declKind": "EnumElement", - "usr": "s:6nfclib9CardFieldO3sexyA2CmF", - "mangledName": "$s6nfclib9CardFieldO3sexyA2CmF", + "usr": "s:6nfclib19IdCardInternalErrorO20multipleTagsDetectedyA2CmF", + "mangledName": "$s6nfclib19IdCardInternalErrorO20multipleTagsDetectedyA2CmF", "moduleName": "nfclib" }, { "kind": "Var", - "name": "citizenship", - "printedName": "citizenship", + "name": "couldNotVerifyChipsMAC", + "printedName": "couldNotVerifyChipsMAC", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(nfclib.CardField.Type) -> nfclib.CardField", + "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", "children": [ { "kind": "TypeNominal", - "name": "CardField", - "printedName": "nfclib.CardField", - "usr": "s:6nfclib9CardFieldO" + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "nfclib.CardField.Type", + "printedName": "nfclib.IdCardInternalError.Type", "children": [ { "kind": "TypeNominal", - "name": "CardField", - "printedName": "nfclib.CardField", - "usr": "s:6nfclib9CardFieldO" + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" } ] } @@ -11412,36 +4795,36 @@ } ], "declKind": "EnumElement", - "usr": "s:6nfclib9CardFieldO11citizenshipyA2CmF", - "mangledName": "$s6nfclib9CardFieldO11citizenshipyA2CmF", + "usr": "s:6nfclib19IdCardInternalErrorO22couldNotVerifyChipsMACyA2CmF", + "mangledName": "$s6nfclib19IdCardInternalErrorO22couldNotVerifyChipsMACyA2CmF", "moduleName": "nfclib" }, { "kind": "Var", - "name": "dateAndPlaceOfBirth", - "printedName": "dateAndPlaceOfBirth", + "name": "cancelledByUser", + "printedName": "cancelledByUser", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(nfclib.CardField.Type) -> nfclib.CardField", + "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", "children": [ { "kind": "TypeNominal", - "name": "CardField", - "printedName": "nfclib.CardField", - "usr": "s:6nfclib9CardFieldO" + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "nfclib.CardField.Type", + "printedName": "nfclib.IdCardInternalError.Type", "children": [ { "kind": "TypeNominal", - "name": "CardField", - "printedName": "nfclib.CardField", - "usr": "s:6nfclib9CardFieldO" + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" } ] } @@ -11449,36 +4832,36 @@ } ], "declKind": "EnumElement", - "usr": "s:6nfclib9CardFieldO19dateAndPlaceOfBirthyA2CmF", - "mangledName": "$s6nfclib9CardFieldO19dateAndPlaceOfBirthyA2CmF", + "usr": "s:6nfclib19IdCardInternalErrorO15cancelledByUseryA2CmF", + "mangledName": "$s6nfclib19IdCardInternalErrorO15cancelledByUseryA2CmF", "moduleName": "nfclib" }, { "kind": "Var", - "name": "personalCode", - "printedName": "personalCode", + "name": "sessionInvalidated", + "printedName": "sessionInvalidated", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(nfclib.CardField.Type) -> nfclib.CardField", + "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", "children": [ { "kind": "TypeNominal", - "name": "CardField", - "printedName": "nfclib.CardField", - "usr": "s:6nfclib9CardFieldO" + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "nfclib.CardField.Type", + "printedName": "nfclib.IdCardInternalError.Type", "children": [ { "kind": "TypeNominal", - "name": "CardField", - "printedName": "nfclib.CardField", - "usr": "s:6nfclib9CardFieldO" + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" } ] } @@ -11486,36 +4869,36 @@ } ], "declKind": "EnumElement", - "usr": "s:6nfclib9CardFieldO12personalCodeyA2CmF", - "mangledName": "$s6nfclib9CardFieldO12personalCodeyA2CmF", + "usr": "s:6nfclib19IdCardInternalErrorO18sessionInvalidatedyA2CmF", + "mangledName": "$s6nfclib19IdCardInternalErrorO18sessionInvalidatedyA2CmF", "moduleName": "nfclib" }, { "kind": "Var", - "name": "documentNr", - "printedName": "documentNr", + "name": "readerProcessFailed", + "printedName": "readerProcessFailed", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(nfclib.CardField.Type) -> nfclib.CardField", + "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", "children": [ { "kind": "TypeNominal", - "name": "CardField", - "printedName": "nfclib.CardField", - "usr": "s:6nfclib9CardFieldO" + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "nfclib.CardField.Type", + "printedName": "nfclib.IdCardInternalError.Type", "children": [ { "kind": "TypeNominal", - "name": "CardField", - "printedName": "nfclib.CardField", - "usr": "s:6nfclib9CardFieldO" + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" } ] } @@ -11523,36 +4906,36 @@ } ], "declKind": "EnumElement", - "usr": "s:6nfclib9CardFieldO10documentNryA2CmF", - "mangledName": "$s6nfclib9CardFieldO10documentNryA2CmF", + "usr": "s:6nfclib19IdCardInternalErrorO19readerProcessFailedyA2CmF", + "mangledName": "$s6nfclib19IdCardInternalErrorO19readerProcessFailedyA2CmF", "moduleName": "nfclib" }, { "kind": "Var", - "name": "dateOfExpiry", - "printedName": "dateOfExpiry", + "name": "failedToRemovePadding", + "printedName": "failedToRemovePadding", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(nfclib.CardField.Type) -> nfclib.CardField", + "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", "children": [ { "kind": "TypeNominal", - "name": "CardField", - "printedName": "nfclib.CardField", - "usr": "s:6nfclib9CardFieldO" + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "nfclib.CardField.Type", + "printedName": "nfclib.IdCardInternalError.Type", "children": [ { "kind": "TypeNominal", - "name": "CardField", - "printedName": "nfclib.CardField", - "usr": "s:6nfclib9CardFieldO" + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" } ] } @@ -11560,91 +4943,76 @@ } ], "declKind": "EnumElement", - "usr": "s:6nfclib9CardFieldO12dateOfExpiryyA2CmF", - "mangledName": "$s6nfclib9CardFieldO12dateOfExpiryyA2CmF", + "usr": "s:6nfclib19IdCardInternalErrorO21failedToRemovePaddingyA2CmF", + "mangledName": "$s6nfclib19IdCardInternalErrorO21failedToRemovePaddingyA2CmF", "moduleName": "nfclib" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(rawValue:)", + "kind": "Var", + "name": "notSupportedAlgorithm", + "printedName": "notSupportedAlgorithm", "children": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "nfclib.CardField?", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", "children": [ { "kind": "TypeNominal", - "name": "CardField", - "printedName": "nfclib.CardField", - "usr": "s:6nfclib9CardFieldO" + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "nfclib.IdCardInternalError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" + } + ] } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + ] } ], - "declKind": "Constructor", - "usr": "s:6nfclib9CardFieldO8rawValueACSgSi_tcfc", - "mangledName": "$s6nfclib9CardFieldO8rawValueACSgSi_tcfc", - "moduleName": "nfclib", - "implicit": true, - "init_kind": "Designated" + "declKind": "EnumElement", + "usr": "s:6nfclib19IdCardInternalErrorO21notSupportedAlgorithmyA2CmF", + "mangledName": "$s6nfclib19IdCardInternalErrorO21notSupportedAlgorithmyA2CmF", + "moduleName": "nfclib" }, { - "kind": "Var", - "name": "rawValue", - "printedName": "rawValue", + "kind": "Function", + "name": "getIdCardError", + "printedName": "getIdCardError()", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "IdCardError", + "printedName": "nfclib.IdCardError", + "usr": "s:6nfclib11IdCardErrorO" } ], - "declKind": "Var", - "usr": "s:6nfclib9CardFieldO8rawValueSivp", - "mangledName": "$s6nfclib9CardFieldO8rawValueSivp", + "declKind": "Func", + "usr": "s:6nfclib19IdCardInternalErrorO03getbcE0AA0bcE0OyF", + "mangledName": "$s6nfclib19IdCardInternalErrorO03getbcE0AA0bcE0OyF", "moduleName": "nfclib", - "implicit": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib9CardFieldO8rawValueSivg", - "mangledName": "$s6nfclib9CardFieldO8rawValueSivg", - "moduleName": "nfclib", - "implicit": true, - "accessorKind": "get" - } - ] + "declAttributes": [ + "AccessControl" + ], + "funcSelfKind": "NonMutating" } ], "declKind": "Enum", - "usr": "s:6nfclib9CardFieldO", - "mangledName": "$s6nfclib9CardFieldO", + "usr": "s:6nfclib19IdCardInternalErrorO", + "mangledName": "$s6nfclib19IdCardInternalErrorO", "moduleName": "nfclib", "declAttributes": [ "AccessControl" ], - "enumRawTypeName": "Int", "conformances": [ { "kind": "Conformance", @@ -11655,10 +5023,10 @@ }, { "kind": "Conformance", - "name": "Equatable", - "printedName": "Equatable", - "usr": "s:SQ", - "mangledName": "$sSQ" + "name": "Error", + "printedName": "Error", + "usr": "s:s5ErrorP", + "mangledName": "$ss5ErrorP" }, { "kind": "Conformance", @@ -11669,113 +5037,204 @@ }, { "kind": "Conformance", - "name": "Hashable", - "printedName": "Hashable", - "usr": "s:SH", - "mangledName": "$sSH" + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" }, { "kind": "Conformance", - "name": "RawRepresentable", - "printedName": "RawRepresentable", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "PinError", + "printedName": "PinError", + "declKind": "Struct", + "usr": "s:6nfclib8PinErrorV", + "mangledName": "$s6nfclib8PinErrorV", + "moduleName": "nfclib", + "declAttributes": [ + "AccessControl" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Error", + "printedName": "Error", + "usr": "s:s5ErrorP", + "mangledName": "$ss5ErrorP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + } + ] + }, + { + "kind": "Import", + "name": "os", + "printedName": "os", + "declKind": "Import", + "moduleName": "nfclib", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "NFCLibLogging", + "printedName": "NFCLibLogging", + "children": [ + { + "kind": "Var", + "name": "isEnabled", + "printedName": "isEnabled", "children": [ { - "kind": "TypeWitness", - "name": "RawValue", - "printedName": "RawValue", + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Var", + "usr": "s:6nfclib13NFCLibLoggingO9isEnabledSbvpZ", + "mangledName": "$s6nfclib13NFCLibLoggingO9isEnabledSbvpZ", + "moduleName": "nfclib", + "static": true, + "declAttributes": [ + "AccessControl" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" } - ] + ], + "declKind": "Accessor", + "usr": "s:6nfclib13NFCLibLoggingO9isEnabledSbvgZ", + "mangledName": "$s6nfclib13NFCLibLoggingO9isEnabledSbvgZ", + "moduleName": "nfclib", + "static": true, + "accessorKind": "get" + }, + { + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "s:6nfclib13NFCLibLoggingO9isEnabledSbvsZ", + "mangledName": "$s6nfclib13NFCLibLoggingO9isEnabledSbvsZ", + "moduleName": "nfclib", + "static": true, + "accessorKind": "set" + }, + { + "kind": "Accessor", + "name": "Modify", + "printedName": "Modify()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Accessor", + "usr": "s:6nfclib13NFCLibLoggingO9isEnabledSbvMZ", + "mangledName": "$s6nfclib13NFCLibLoggingO9isEnabledSbvMZ", + "moduleName": "nfclib", + "static": true, + "implicit": true, + "accessorKind": "_modify" } - ], - "usr": "s:SY", - "mangledName": "$sSY" - }, + ] + } + ], + "declKind": "Enum", + "usr": "s:6nfclib13NFCLibLoggingO", + "mangledName": "$s6nfclib13NFCLibLoggingO", + "moduleName": "nfclib", + "declAttributes": [ + "AccessControl" + ], + "conformances": [ { "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" }, { "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" } ] }, - { - "kind": "Import", - "name": "Foundation", - "printedName": "Foundation", - "declKind": "Import", - "moduleName": "nfclib", - "declAttributes": [ - "RawDocComment" - ] - }, - { - "kind": "Import", - "name": "CoreNFC", - "printedName": "CoreNFC", - "declKind": "Import", - "moduleName": "nfclib" - }, - { - "kind": "Import", - "name": "CommonCrypto", - "printedName": "CommonCrypto", - "declKind": "Import", - "moduleName": "nfclib" - }, - { - "kind": "Import", - "name": "CryptoTokenKit", - "printedName": "CryptoTokenKit", - "declKind": "Import", - "moduleName": "nfclib" - }, - { - "kind": "Import", - "name": "SwiftECC", - "printedName": "SwiftECC", - "declKind": "Import", - "moduleName": "nfclib", - "declAttributes": [ - "AccessControl" - ] - }, - { - "kind": "Import", - "name": "BigInt", - "printedName": "BigInt", - "declKind": "Import", - "moduleName": "nfclib" - }, { "kind": "TypeDecl", - "name": "OperationReadPublicData", - "printedName": "OperationReadPublicData", + "name": "CardInfo", + "printedName": "CardInfo", "children": [ { - "kind": "Function", - "name": "startReading", - "printedName": "startReading(CAN:)", + "kind": "Var", + "name": "givenName", + "printedName": "givenName", "children": [ - { - "kind": "TypeNominal", - "name": "CardInfo", - "printedName": "nfclib.CardInfo", - "usr": "s:6nfclib8CardInfoV" - }, { "kind": "TypeNominal", "name": "String", @@ -11783,574 +5242,423 @@ "usr": "s:SS" } ], - "declKind": "Func", - "usr": "s:6nfclib23OperationReadPublicDataC12startReading3CANAA8CardInfoVSS_tYaKF", - "mangledName": "$s6nfclib23OperationReadPublicDataC12startReading3CANAA8CardInfoVSS_tYaKF", + "declKind": "Var", + "usr": "s:6nfclib8CardInfoV9givenNameSSvp", + "mangledName": "$s6nfclib8CardInfoV9givenNameSSvp", "moduleName": "nfclib", "declAttributes": [ - "Custom", - "Final", + "HasStorage", "AccessControl" ], - "throwing": true, - "funcSelfKind": "NonMutating" + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:6nfclib8CardInfoV9givenNameSSvg", + "mangledName": "$s6nfclib8CardInfoV9givenNameSSvg", + "moduleName": "nfclib", + "implicit": true, + "accessorKind": "get" + }, + { + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:6nfclib8CardInfoV9givenNameSSvs", + "mangledName": "$s6nfclib8CardInfoV9givenNameSSvs", + "moduleName": "nfclib", + "implicit": true, + "accessorKind": "set" + }, + { + "kind": "Accessor", + "name": "Modify", + "printedName": "Modify()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Accessor", + "usr": "s:6nfclib8CardInfoV9givenNameSSvM", + "mangledName": "$s6nfclib8CardInfoV9givenNameSSvM", + "moduleName": "nfclib", + "implicit": true, + "accessorKind": "_modify" + } + ] }, { - "kind": "Constructor", - "name": "init", - "printedName": "init()", + "kind": "Var", + "name": "surname", + "printedName": "surname", "children": [ { "kind": "TypeNominal", - "name": "OperationReadPublicData", - "printedName": "nfclib.OperationReadPublicData", - "usr": "c:@M@nfclib@objc(cs)OperationReadPublicData" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "Constructor", - "usr": "c:@M@nfclib@objc(cs)OperationReadPublicData(im)init", - "mangledName": "$s6nfclib23OperationReadPublicDataCACycfc", + "declKind": "Var", + "usr": "s:6nfclib8CardInfoV7surnameSSvp", + "mangledName": "$s6nfclib8CardInfoV7surnameSSvp", "moduleName": "nfclib", - "overriding": true, - "implicit": true, - "objc_name": "init", "declAttributes": [ - "Dynamic", - "ObjC", - "Custom", - "Override" + "HasStorage", + "AccessControl" ], - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "tagReaderSession", - "printedName": "tagReaderSession(_:didDetect:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "NFCTagReaderSession", - "printedName": "CoreNFC.NFCTagReaderSession", - "usr": "c:objc(cs)NFCTagReaderSession" + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:6nfclib8CardInfoV7surnameSSvg", + "mangledName": "$s6nfclib8CardInfoV7surnameSSvg", + "moduleName": "nfclib", + "implicit": true, + "accessorKind": "get" }, { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[CoreNFC.NFCTag]", + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", "children": [ { "kind": "TypeNominal", - "name": "NFCTag", - "printedName": "CoreNFC.NFCTag", - "usr": "s:7CoreNFC6NFCTagO" + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "usr": "s:Sa" - } - ], - "declKind": "Func", - "usr": "s:6nfclib23OperationReadPublicDataC16tagReaderSession_9didDetectySo06NFCTaggH0C_Say7CoreNFC0K0OGtF", - "mangledName": "$s6nfclib23OperationReadPublicDataC16tagReaderSession_9didDetectySo06NFCTaggH0C_Say7CoreNFC0K0OGtF", - "moduleName": "nfclib", - "declAttributes": [ - "Custom", - "Final", - "AccessControl" - ], - "isFromExtension": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "tagReaderSessionDidBecomeActive", - "printedName": "tagReaderSessionDidBecomeActive(_:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" + "declKind": "Accessor", + "usr": "s:6nfclib8CardInfoV7surnameSSvs", + "mangledName": "$s6nfclib8CardInfoV7surnameSSvs", + "moduleName": "nfclib", + "implicit": true, + "accessorKind": "set" }, { - "kind": "TypeNominal", - "name": "NFCTagReaderSession", - "printedName": "CoreNFC.NFCTagReaderSession", - "usr": "c:objc(cs)NFCTagReaderSession" + "kind": "Accessor", + "name": "Modify", + "printedName": "Modify()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Accessor", + "usr": "s:6nfclib8CardInfoV7surnameSSvM", + "mangledName": "$s6nfclib8CardInfoV7surnameSSvM", + "moduleName": "nfclib", + "implicit": true, + "accessorKind": "_modify" } - ], - "declKind": "Func", - "usr": "s:6nfclib23OperationReadPublicDataC31tagReaderSessionDidBecomeActiveyySo06NFCTaggH0CF", - "mangledName": "$s6nfclib23OperationReadPublicDataC31tagReaderSessionDidBecomeActiveyySo06NFCTaggH0CF", - "moduleName": "nfclib", - "declAttributes": [ - "Custom", - "Final", - "AccessControl" - ], - "isFromExtension": true, - "funcSelfKind": "NonMutating" + ] }, { - "kind": "Function", - "name": "tagReaderSession", - "printedName": "tagReaderSession(_:didInvalidateWithError:)", + "kind": "Var", + "name": "personalCode", + "printedName": "personalCode", "children": [ { "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "NFCTagReaderSession", - "printedName": "CoreNFC.NFCTagReaderSession", - "usr": "c:objc(cs)NFCTagReaderSession" - }, - { - "kind": "TypeNominal", - "name": "Error", - "printedName": "any Swift.Error", - "usr": "s:s5ErrorP" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "Func", - "usr": "s:6nfclib23OperationReadPublicDataC16tagReaderSession_22didInvalidateWithErrorySo06NFCTaggH0C_s0L0_ptF", - "mangledName": "$s6nfclib23OperationReadPublicDataC16tagReaderSession_22didInvalidateWithErrorySo06NFCTaggH0C_s0L0_ptF", + "declKind": "Var", + "usr": "s:6nfclib8CardInfoV12personalCodeSSvp", + "mangledName": "$s6nfclib8CardInfoV12personalCodeSSvp", "moduleName": "nfclib", "declAttributes": [ - "Custom", - "Final", + "HasStorage", "AccessControl" ], - "isFromExtension": true, - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Class", - "usr": "c:@M@nfclib@objc(cs)OperationReadPublicData", - "mangledName": "$s6nfclib23OperationReadPublicDataC", - "moduleName": "nfclib", - "declAttributes": [ - "AccessControl", - "Final", - "Custom", - "ObjC" - ], - "superclassUsr": "c:objc(cs)NSObject", - "inheritsConvenienceInitializers": true, - "superclassNames": [ - "ObjectiveC.NSObject" - ], - "conformances": [ - { - "kind": "Conformance", - "name": "NFCTagReaderSessionDelegate", - "printedName": "NFCTagReaderSessionDelegate", - "usr": "s:7CoreNFC27NFCTagReaderSessionDelegateP", - "mangledName": "$s7CoreNFC27NFCTagReaderSessionDelegateP" - }, - { - "kind": "Conformance", - "name": "_KeyValueCodingAndObserving", - "printedName": "_KeyValueCodingAndObserving", - "usr": "s:10Foundation27_KeyValueCodingAndObservingP", - "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP" - }, - { - "kind": "Conformance", - "name": "_KeyValueCodingAndObservingPublishing", - "printedName": "_KeyValueCodingAndObservingPublishing", - "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP", - "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP" - }, - { - "kind": "Conformance", - "name": "CVarArg", - "printedName": "CVarArg", - "usr": "s:s7CVarArgP", - "mangledName": "$ss7CVarArgP" - }, - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "CustomDebugStringConvertible", - "printedName": "CustomDebugStringConvertible", - "usr": "s:s28CustomDebugStringConvertibleP", - "mangledName": "$ss28CustomDebugStringConvertibleP" - }, - { - "kind": "Conformance", - "name": "CustomStringConvertible", - "printedName": "CustomStringConvertible", - "usr": "s:s23CustomStringConvertibleP", - "mangledName": "$ss23CustomStringConvertibleP" - }, - { - "kind": "Conformance", - "name": "Equatable", - "printedName": "Equatable", - "usr": "s:SQ", - "mangledName": "$sSQ" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - }, - { - "kind": "Conformance", - "name": "Hashable", - "printedName": "Hashable", - "usr": "s:SH", - "mangledName": "$sSH" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - } - ] - }, - { - "kind": "Import", - "name": "Foundation", - "printedName": "Foundation", - "declKind": "Import", - "moduleName": "nfclib", - "declAttributes": [ - "RawDocComment" - ] - }, - { - "kind": "TypeDecl", - "name": "CardReader", - "printedName": "CardReader", - "children": [ - { - "kind": "Function", - "name": "transmit", - "printedName": "transmit(_:)", - "children": [ + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Tuple", - "printedName": "(responseData: [Swift.UInt8], sw: Swift.UInt16)", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.UInt8]", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "usr": "s:Sa" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:6nfclib8CardInfoV12personalCodeSSvg", + "mangledName": "$s6nfclib8CardInfoV12personalCodeSSvg", + "moduleName": "nfclib", + "implicit": true, + "accessorKind": "get" + }, + { + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" }, { "kind": "TypeNominal", - "name": "UInt16", - "printedName": "Swift.UInt16", - "usr": "s:s6UInt16V" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] + ], + "declKind": "Accessor", + "usr": "s:6nfclib8CardInfoV12personalCodeSSvs", + "mangledName": "$s6nfclib8CardInfoV12personalCodeSSvs", + "moduleName": "nfclib", + "implicit": true, + "accessorKind": "set" }, { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.UInt8]", + "kind": "Accessor", + "name": "Modify", + "printedName": "Modify()", "children": [ { "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" + "name": "Void", + "printedName": "()" } ], - "usr": "s:Sa" + "declKind": "Accessor", + "usr": "s:6nfclib8CardInfoV12personalCodeSSvM", + "mangledName": "$s6nfclib8CardInfoV12personalCodeSSvM", + "moduleName": "nfclib", + "implicit": true, + "accessorKind": "_modify" } - ], - "declKind": "Func", - "usr": "s:6nfclib10CardReaderP8transmitySays5UInt8VG12responseData_s6UInt16V2swtAGYaKF", - "mangledName": "$s6nfclib10CardReaderP8transmitySays5UInt8VG12responseData_s6UInt16V2swtAGYaKF", - "moduleName": "nfclib", - "genericSig": "<τ_0_0 where τ_0_0 : nfclib.CardReader>", - "sugared_genericSig": "", - "protocolReq": true, - "declAttributes": [ - "RawDocComment" - ], - "throwing": true, - "reqNewWitnessTableEntry": true, - "funcSelfKind": "NonMutating" + ] }, { - "kind": "Function", - "name": "sendAPDU", - "printedName": "sendAPDU(cls:ins:p1Byte:p2Byte:data:leByte:)", + "kind": "Var", + "name": "citizenship", + "printedName": "citizenship", "children": [ { "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - }, - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "hasDefaultArg": true, - "usr": "s:s5UInt8V" - }, - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - }, - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "hasDefaultArg": true, - "usr": "s:s5UInt8V" - }, - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "hasDefaultArg": true, - "usr": "s:s5UInt8V" - }, + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:6nfclib8CardInfoV11citizenshipSSvp", + "mangledName": "$s6nfclib8CardInfoV11citizenshipSSvp", + "moduleName": "nfclib", + "declAttributes": [ + "HasStorage", + "AccessControl" + ], + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "(any Swift.Collection)?", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "Collection", - "printedName": "any Swift.Collection", - "usr": "s:Sl" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "Accessor", + "usr": "s:6nfclib8CardInfoV11citizenshipSSvg", + "mangledName": "$s6nfclib8CardInfoV11citizenshipSSvg", + "moduleName": "nfclib", + "implicit": true, + "accessorKind": "get" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.UInt8?", + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", "children": [ { "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "hasDefaultArg": true, - "usr": "s:Sq" - } - ], - "declKind": "Func", - "usr": "s:6nfclib10CardReaderPAAE8sendAPDU3cls3ins6p1Byte02p2I04data02leI010Foundation4DataVs5UInt8V_A3OSl_pAO7ElementRts_XPSgAOSgtYaKF", - "mangledName": "$s6nfclib10CardReaderPAAE8sendAPDU3cls3ins6p1Byte02p2I04data02leI010Foundation4DataVs5UInt8V_A3OSl_pAO7ElementRts_XPSgAOSgtYaKF", - "moduleName": "nfclib", - "genericSig": "<τ_0_0 where τ_0_0 : nfclib.CardReader>", - "sugared_genericSig": "", - "declAttributes": [ - "RawDocComment" - ], - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Protocol", - "usr": "s:6nfclib10CardReaderP", - "mangledName": "$s6nfclib10CardReaderP", - "moduleName": "nfclib", - "genericSig": "<τ_0_0 : Swift.Sendable>", - "sugared_genericSig": "", - "conformances": [ - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - }, - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - } - ] - }, - { - "kind": "Import", - "name": "Foundation", - "printedName": "Foundation", - "declKind": "Import", - "moduleName": "nfclib", - "declAttributes": [ - "RawDocComment" - ] - }, - { - "kind": "TypeDecl", - "name": "CodeType", - "printedName": "CodeType", - "children": [ - { - "kind": "Var", - "name": "puk", - "printedName": "puk", - "children": [ + "declKind": "Accessor", + "usr": "s:6nfclib8CardInfoV11citizenshipSSvs", + "mangledName": "$s6nfclib8CardInfoV11citizenshipSSvs", + "moduleName": "nfclib", + "implicit": true, + "accessorKind": "set" + }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.CodeType.Type) -> nfclib.CodeType", + "kind": "Accessor", + "name": "Modify", + "printedName": "Modify()", "children": [ { "kind": "TypeNominal", - "name": "CodeType", - "printedName": "nfclib.CodeType", - "usr": "s:6nfclib8CodeTypeO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.CodeType.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodeType", - "printedName": "nfclib.CodeType", - "usr": "s:6nfclib8CodeTypeO" - } - ] + "name": "Void", + "printedName": "()" } - ] + ], + "declKind": "Accessor", + "usr": "s:6nfclib8CardInfoV11citizenshipSSvM", + "mangledName": "$s6nfclib8CardInfoV11citizenshipSSvM", + "moduleName": "nfclib", + "implicit": true, + "accessorKind": "_modify" } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib8CodeTypeO3pukyA2CmF", - "mangledName": "$s6nfclib8CodeTypeO3pukyA2CmF", - "moduleName": "nfclib" + ] }, { "kind": "Var", - "name": "pin1", - "printedName": "pin1", + "name": "documentNumber", + "printedName": "documentNumber", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.CodeType.Type) -> nfclib.CodeType", + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:6nfclib8CardInfoV14documentNumberSSvp", + "mangledName": "$s6nfclib8CardInfoV14documentNumberSSvp", + "moduleName": "nfclib", + "declAttributes": [ + "HasStorage", + "AccessControl" + ], + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "CodeType", - "printedName": "nfclib.CodeType", - "usr": "s:6nfclib8CodeTypeO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.CodeType.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodeType", - "printedName": "nfclib.CodeType", - "usr": "s:6nfclib8CodeTypeO" - } - ] + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib8CodeTypeO4pin1yA2CmF", - "mangledName": "$s6nfclib8CodeTypeO4pin1yA2CmF", - "moduleName": "nfclib" - }, - { - "kind": "Var", - "name": "pin2", - "printedName": "pin2", - "children": [ + ], + "declKind": "Accessor", + "usr": "s:6nfclib8CardInfoV14documentNumberSSvg", + "mangledName": "$s6nfclib8CardInfoV14documentNumberSSvg", + "moduleName": "nfclib", + "implicit": true, + "accessorKind": "get" + }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.CodeType.Type) -> nfclib.CodeType", + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", "children": [ { "kind": "TypeNominal", - "name": "CodeType", - "printedName": "nfclib.CodeType", - "usr": "s:6nfclib8CodeTypeO" + "name": "Void", + "printedName": "()" }, { "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.CodeType.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodeType", - "printedName": "nfclib.CodeType", - "usr": "s:6nfclib8CodeTypeO" - } - ] + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] + ], + "declKind": "Accessor", + "usr": "s:6nfclib8CardInfoV14documentNumberSSvs", + "mangledName": "$s6nfclib8CardInfoV14documentNumberSSvs", + "moduleName": "nfclib", + "implicit": true, + "accessorKind": "set" + }, + { + "kind": "Accessor", + "name": "Modify", + "printedName": "Modify()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Accessor", + "usr": "s:6nfclib8CardInfoV14documentNumberSSvM", + "mangledName": "$s6nfclib8CardInfoV14documentNumberSSvM", + "moduleName": "nfclib", + "implicit": true, + "accessorKind": "_modify" } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib8CodeTypeO4pin2yA2CmF", - "mangledName": "$s6nfclib8CodeTypeO4pin2yA2CmF", - "moduleName": "nfclib" + ] }, { "kind": "Var", - "name": "name", - "printedName": "name", + "name": "dateOfExpiry", + "printedName": "dateOfExpiry", "children": [ { "kind": "TypeNominal", @@ -12360,12 +5668,14 @@ } ], "declKind": "Var", - "usr": "s:6nfclib8CodeTypeO4nameSSvp", - "mangledName": "$s6nfclib8CodeTypeO4nameSSvp", + "usr": "s:6nfclib8CardInfoV12dateOfExpirySSvp", + "mangledName": "$s6nfclib8CardInfoV12dateOfExpirySSvp", "moduleName": "nfclib", "declAttributes": [ + "HasStorage", "AccessControl" ], + "hasStorage": true, "accessors": [ { "kind": "Accessor", @@ -12380,63 +5690,138 @@ } ], "declKind": "Accessor", - "usr": "s:6nfclib8CodeTypeO4nameSSvg", - "mangledName": "$s6nfclib8CodeTypeO4nameSSvg", + "usr": "s:6nfclib8CardInfoV12dateOfExpirySSvg", + "mangledName": "$s6nfclib8CardInfoV12dateOfExpirySSvg", "moduleName": "nfclib", + "implicit": true, "accessorKind": "get" + }, + { + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:6nfclib8CardInfoV12dateOfExpirySSvs", + "mangledName": "$s6nfclib8CardInfoV12dateOfExpirySSvs", + "moduleName": "nfclib", + "implicit": true, + "accessorKind": "set" + }, + { + "kind": "Accessor", + "name": "Modify", + "printedName": "Modify()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Accessor", + "usr": "s:6nfclib8CardInfoV12dateOfExpirySSvM", + "mangledName": "$s6nfclib8CardInfoV12dateOfExpirySSvM", + "moduleName": "nfclib", + "implicit": true, + "accessorKind": "_modify" } ] }, { "kind": "Constructor", "name": "init", - "printedName": "init(rawValue:)", + "printedName": "init(givenName:surname:personalCode:citizenship:documentNumber:dateOfExpiry:)", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "nfclib.CodeType?", - "children": [ - { - "kind": "TypeNominal", - "name": "CodeType", - "printedName": "nfclib.CodeType", - "usr": "s:6nfclib8CodeTypeO" - } - ], - "usr": "s:Sq" + "name": "CardInfo", + "printedName": "nfclib.CardInfo", + "usr": "s:6nfclib8CardInfoV" }, { "kind": "TypeNominal", - "name": "UInt", - "printedName": "Swift.UInt", - "usr": "s:Su" + "name": "String", + "printedName": "Swift.String", + "hasDefaultArg": true, + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "hasDefaultArg": true, + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "hasDefaultArg": true, + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "hasDefaultArg": true, + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "hasDefaultArg": true, + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "hasDefaultArg": true, + "usr": "s:SS" } ], "declKind": "Constructor", - "usr": "s:6nfclib8CodeTypeO8rawValueACSgSu_tcfc", - "mangledName": "$s6nfclib8CodeTypeO8rawValueACSgSu_tcfc", + "usr": "s:6nfclib8CardInfoV9givenName7surname12personalCode11citizenship14documentNumber12dateOfExpiryACSS_S5Stcfc", + "mangledName": "$s6nfclib8CardInfoV9givenName7surname12personalCode11citizenship14documentNumber12dateOfExpiryACSS_S5Stcfc", "moduleName": "nfclib", - "implicit": true, + "declAttributes": [ + "AccessControl" + ], "init_kind": "Designated" }, { "kind": "Var", - "name": "rawValue", - "printedName": "rawValue", + "name": "formattedDescription", + "printedName": "formattedDescription", "children": [ { "kind": "TypeNominal", - "name": "UInt", - "printedName": "Swift.UInt", - "usr": "s:Su" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Var", - "usr": "s:6nfclib8CodeTypeO8rawValueSuvp", - "mangledName": "$s6nfclib8CodeTypeO8rawValueSuvp", + "usr": "s:6nfclib8CardInfoV20formattedDescriptionSSvp", + "mangledName": "$s6nfclib8CardInfoV20formattedDescriptionSSvp", "moduleName": "nfclib", - "implicit": true, + "declAttributes": [ + "AccessControl" + ], "accessors": [ { "kind": "Accessor", @@ -12445,118 +5830,36 @@ "children": [ { "kind": "TypeNominal", - "name": "UInt", - "printedName": "Swift.UInt", - "usr": "s:Su" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib8CodeTypeO8rawValueSuvg", - "mangledName": "$s6nfclib8CodeTypeO8rawValueSuvg", - "moduleName": "nfclib", - "implicit": true, - "accessorKind": "get" - } - ] - } - ], - "declKind": "Enum", - "usr": "s:6nfclib8CodeTypeO", - "mangledName": "$s6nfclib8CodeTypeO", - "moduleName": "nfclib", - "declAttributes": [ - "AccessControl" - ], - "enumRawTypeName": "UInt", - "conformances": [ - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Equatable", - "printedName": "Equatable", - "usr": "s:SQ", - "mangledName": "$sSQ" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - }, - { - "kind": "Conformance", - "name": "Hashable", - "printedName": "Hashable", - "usr": "s:SH", - "mangledName": "$sSH" - }, - { - "kind": "Conformance", - "name": "RawRepresentable", - "printedName": "RawRepresentable", - "children": [ - { - "kind": "TypeWitness", - "name": "RawValue", - "printedName": "RawValue", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt", - "printedName": "Swift.UInt", - "usr": "s:Su" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] + ], + "declKind": "Accessor", + "usr": "s:6nfclib8CardInfoV20formattedDescriptionSSvg", + "mangledName": "$s6nfclib8CardInfoV20formattedDescriptionSSvg", + "moduleName": "nfclib", + "accessorKind": "get" } - ], - "usr": "s:SY", - "mangledName": "$sSY" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" + ] }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "CardCommands", - "printedName": "CardCommands", - "children": [ { "kind": "Var", - "name": "canChangePUK", - "printedName": "canChangePUK", + "name": "hashValue", + "printedName": "hashValue", "children": [ { "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], "declKind": "Var", - "usr": "s:6nfclib12CardCommandsP12canChangePUKSbvp", - "mangledName": "$s6nfclib12CardCommandsP12canChangePUKSbvp", + "usr": "s:6nfclib8CardInfoV9hashValueSivp", + "mangledName": "$s6nfclib8CardInfoV9hashValueSivp", "moduleName": "nfclib", - "protocolReq": true, + "implicit": true, "accessors": [ { "kind": "Accessor", @@ -12565,561 +5868,514 @@ "children": [ { "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], "declKind": "Accessor", - "usr": "s:6nfclib12CardCommandsP12canChangePUKSbvg", - "mangledName": "$s6nfclib12CardCommandsP12canChangePUKSbvg", + "usr": "s:6nfclib8CardInfoV9hashValueSivg", + "mangledName": "$s6nfclib8CardInfoV9hashValueSivg", "moduleName": "nfclib", - "genericSig": "<τ_0_0 where τ_0_0 : nfclib.CardCommands>", - "sugared_genericSig": "", - "protocolReq": true, - "reqNewWitnessTableEntry": true, + "implicit": true, "accessorKind": "get" } ] }, { "kind": "Function", - "name": "readPublicData", - "printedName": "readPublicData()", + "name": "hash", + "printedName": "hash(into:)", "children": [ { "kind": "TypeNominal", - "name": "CardInfo", - "printedName": "nfclib.CardInfo", - "usr": "s:6nfclib8CardInfoV" + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Hasher", + "printedName": "Swift.Hasher", + "paramValueOwnership": "InOut", + "usr": "s:s6HasherV" } ], "declKind": "Func", - "usr": "s:6nfclib12CardCommandsP14readPublicDataAA0B4InfoVyYaKF", - "mangledName": "$s6nfclib12CardCommandsP14readPublicDataAA0B4InfoVyYaKF", + "usr": "s:6nfclib8CardInfoV4hash4intoys6HasherVz_tF", + "mangledName": "$s6nfclib8CardInfoV4hash4intoys6HasherVz_tF", "moduleName": "nfclib", - "genericSig": "<τ_0_0 where τ_0_0 : nfclib.CardCommands>", - "sugared_genericSig": "", - "protocolReq": true, - "declAttributes": [ - "RawDocComment" - ], - "throwing": true, - "reqNewWitnessTableEntry": true, + "implicit": true, "funcSelfKind": "NonMutating" }, { "kind": "Function", - "name": "readAuthenticationCertificate", - "printedName": "readAuthenticationCertificate()", + "name": "==", + "printedName": "==(_:_:)", "children": [ { "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "CardInfo", + "printedName": "nfclib.CardInfo", + "usr": "s:6nfclib8CardInfoV" + }, + { + "kind": "TypeNominal", + "name": "CardInfo", + "printedName": "nfclib.CardInfo", + "usr": "s:6nfclib8CardInfoV" } ], "declKind": "Func", - "usr": "s:6nfclib12CardCommandsP29readAuthenticationCertificate10Foundation4DataVyYaKF", - "mangledName": "$s6nfclib12CardCommandsP29readAuthenticationCertificate10Foundation4DataVyYaKF", + "usr": "s:6nfclib8CardInfoV2eeoiySbAC_ACtFZ", + "mangledName": "$s6nfclib8CardInfoV2eeoiySbAC_ACtFZ", "moduleName": "nfclib", - "genericSig": "<τ_0_0 where τ_0_0 : nfclib.CardCommands>", - "sugared_genericSig": "", - "protocolReq": true, - "declAttributes": [ - "RawDocComment" - ], - "throwing": true, - "reqNewWitnessTableEntry": true, + "static": true, + "implicit": true, "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:6nfclib8CardInfoV", + "mangledName": "$s6nfclib8CardInfoV", + "moduleName": "nfclib", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" }, { - "kind": "Function", - "name": "readSignatureCertificate", - "printedName": "readSignatureCertificate()", + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + } + ] + }, + { + "kind": "TypeDecl", + "name": "CardField", + "printedName": "CardField", + "children": [ + { + "kind": "Var", + "name": "surname", + "printedName": "surname", "children": [ { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" + "kind": "TypeFunc", + "name": "Function", + "printedName": "(nfclib.CardField.Type) -> nfclib.CardField", + "children": [ + { + "kind": "TypeNominal", + "name": "CardField", + "printedName": "nfclib.CardField", + "usr": "s:6nfclib9CardFieldO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "nfclib.CardField.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CardField", + "printedName": "nfclib.CardField", + "usr": "s:6nfclib9CardFieldO" + } + ] + } + ] } ], - "declKind": "Func", - "usr": "s:6nfclib12CardCommandsP24readSignatureCertificate10Foundation4DataVyYaKF", - "mangledName": "$s6nfclib12CardCommandsP24readSignatureCertificate10Foundation4DataVyYaKF", - "moduleName": "nfclib", - "genericSig": "<τ_0_0 where τ_0_0 : nfclib.CardCommands>", - "sugared_genericSig": "", - "protocolReq": true, - "declAttributes": [ - "RawDocComment" - ], - "throwing": true, - "reqNewWitnessTableEntry": true, - "funcSelfKind": "NonMutating" + "declKind": "EnumElement", + "usr": "s:6nfclib9CardFieldO7surnameyA2CmF", + "mangledName": "$s6nfclib9CardFieldO7surnameyA2CmF", + "moduleName": "nfclib" }, { - "kind": "Function", - "name": "readCodeTryCounterRecord", - "printedName": "readCodeTryCounterRecord(_:)", + "kind": "Var", + "name": "firstName", + "printedName": "firstName", "children": [ { - "kind": "TypeNominal", - "name": "Tuple", - "printedName": "(retryCount: Swift.UInt8, pinActive: Swift.Bool)", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(nfclib.CardField.Type) -> nfclib.CardField", "children": [ { "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" + "name": "CardField", + "printedName": "nfclib.CardField", + "usr": "s:6nfclib9CardFieldO" }, { "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" + "name": "Metatype", + "printedName": "nfclib.CardField.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CardField", + "printedName": "nfclib.CardField", + "usr": "s:6nfclib9CardFieldO" + } + ] } ] - }, - { - "kind": "TypeNominal", - "name": "CodeType", - "printedName": "nfclib.CodeType", - "usr": "s:6nfclib8CodeTypeO" - } - ], - "declKind": "Func", - "usr": "s:6nfclib12CardCommandsP24readCodeTryCounterRecordys5UInt8V10retryCount_Sb9pinActivetAA0E4TypeOYaKF", - "mangledName": "$s6nfclib12CardCommandsP24readCodeTryCounterRecordys5UInt8V10retryCount_Sb9pinActivetAA0E4TypeOYaKF", - "moduleName": "nfclib", - "genericSig": "<τ_0_0 where τ_0_0 : nfclib.CardCommands>", - "sugared_genericSig": "", - "protocolReq": true, - "declAttributes": [ - "RawDocComment" - ], - "throwing": true, - "reqNewWitnessTableEntry": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "changeCode", - "printedName": "changeCode(_:to:verifyCode:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "CodeType", - "printedName": "nfclib.CodeType", - "usr": "s:6nfclib8CodeTypeO" - }, - { - "kind": "TypeNominal", - "name": "SecureData", - "printedName": "nfclib.SecureData", - "usr": "s:6nfclib10SecureDataC" - }, - { - "kind": "TypeNominal", - "name": "SecureData", - "printedName": "nfclib.SecureData", - "usr": "s:6nfclib10SecureDataC" } ], - "declKind": "Func", - "usr": "s:6nfclib12CardCommandsP10changeCode_2to06verifyE0yAA0E4TypeO_AA10SecureDataCAJtYaKF", - "mangledName": "$s6nfclib12CardCommandsP10changeCode_2to06verifyE0yAA0E4TypeO_AA10SecureDataCAJtYaKF", - "moduleName": "nfclib", - "genericSig": "<τ_0_0 where τ_0_0 : nfclib.CardCommands>", - "sugared_genericSig": "", - "protocolReq": true, - "declAttributes": [ - "RawDocComment" - ], - "throwing": true, - "reqNewWitnessTableEntry": true, - "funcSelfKind": "NonMutating" + "declKind": "EnumElement", + "usr": "s:6nfclib9CardFieldO9firstNameyA2CmF", + "mangledName": "$s6nfclib9CardFieldO9firstNameyA2CmF", + "moduleName": "nfclib" }, { - "kind": "Function", - "name": "verifyCode", - "printedName": "verifyCode(_:code:)", + "kind": "Var", + "name": "sex", + "printedName": "sex", "children": [ { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "CodeType", - "printedName": "nfclib.CodeType", - "usr": "s:6nfclib8CodeTypeO" - }, - { - "kind": "TypeNominal", - "name": "SecureData", - "printedName": "nfclib.SecureData", - "usr": "s:6nfclib10SecureDataC" + "kind": "TypeFunc", + "name": "Function", + "printedName": "(nfclib.CardField.Type) -> nfclib.CardField", + "children": [ + { + "kind": "TypeNominal", + "name": "CardField", + "printedName": "nfclib.CardField", + "usr": "s:6nfclib9CardFieldO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "nfclib.CardField.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CardField", + "printedName": "nfclib.CardField", + "usr": "s:6nfclib9CardFieldO" + } + ] + } + ] } ], - "declKind": "Func", - "usr": "s:6nfclib12CardCommandsP10verifyCode_4codeyAA0E4TypeO_AA10SecureDataCtYaKF", - "mangledName": "$s6nfclib12CardCommandsP10verifyCode_4codeyAA0E4TypeO_AA10SecureDataCtYaKF", - "moduleName": "nfclib", - "genericSig": "<τ_0_0 where τ_0_0 : nfclib.CardCommands>", - "sugared_genericSig": "", - "protocolReq": true, - "declAttributes": [ - "RawDocComment" - ], - "throwing": true, - "reqNewWitnessTableEntry": true, - "funcSelfKind": "NonMutating" + "declKind": "EnumElement", + "usr": "s:6nfclib9CardFieldO3sexyA2CmF", + "mangledName": "$s6nfclib9CardFieldO3sexyA2CmF", + "moduleName": "nfclib" }, { - "kind": "Function", - "name": "unblockCode", - "printedName": "unblockCode(_:puk:newCode:)", + "kind": "Var", + "name": "citizenship", + "printedName": "citizenship", "children": [ { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "CodeType", - "printedName": "nfclib.CodeType", - "usr": "s:6nfclib8CodeTypeO" - }, - { - "kind": "TypeNominal", - "name": "SecureData", - "printedName": "nfclib.SecureData", - "usr": "s:6nfclib10SecureDataC" - }, - { - "kind": "TypeNominal", - "name": "SecureData", - "printedName": "nfclib.SecureData", - "usr": "s:6nfclib10SecureDataC" + "kind": "TypeFunc", + "name": "Function", + "printedName": "(nfclib.CardField.Type) -> nfclib.CardField", + "children": [ + { + "kind": "TypeNominal", + "name": "CardField", + "printedName": "nfclib.CardField", + "usr": "s:6nfclib9CardFieldO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "nfclib.CardField.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CardField", + "printedName": "nfclib.CardField", + "usr": "s:6nfclib9CardFieldO" + } + ] + } + ] } ], - "declKind": "Func", - "usr": "s:6nfclib12CardCommandsP11unblockCode_3puk03newE0yAA0E4TypeO_AA10SecureDataCAJtYaKF", - "mangledName": "$s6nfclib12CardCommandsP11unblockCode_3puk03newE0yAA0E4TypeO_AA10SecureDataCAJtYaKF", - "moduleName": "nfclib", - "genericSig": "<τ_0_0 where τ_0_0 : nfclib.CardCommands>", - "sugared_genericSig": "", - "protocolReq": true, - "declAttributes": [ - "RawDocComment" - ], - "throwing": true, - "reqNewWitnessTableEntry": true, - "funcSelfKind": "NonMutating" + "declKind": "EnumElement", + "usr": "s:6nfclib9CardFieldO11citizenshipyA2CmF", + "mangledName": "$s6nfclib9CardFieldO11citizenshipyA2CmF", + "moduleName": "nfclib" }, { - "kind": "Function", - "name": "authenticate", - "printedName": "authenticate(for:withPin1:)", + "kind": "Var", + "name": "dateAndPlaceOfBirth", + "printedName": "dateAndPlaceOfBirth", "children": [ { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - }, - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - }, - { - "kind": "TypeNominal", - "name": "SecureData", - "printedName": "nfclib.SecureData", - "usr": "s:6nfclib10SecureDataC" + "kind": "TypeFunc", + "name": "Function", + "printedName": "(nfclib.CardField.Type) -> nfclib.CardField", + "children": [ + { + "kind": "TypeNominal", + "name": "CardField", + "printedName": "nfclib.CardField", + "usr": "s:6nfclib9CardFieldO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "nfclib.CardField.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CardField", + "printedName": "nfclib.CardField", + "usr": "s:6nfclib9CardFieldO" + } + ] + } + ] } ], - "declKind": "Func", - "usr": "s:6nfclib12CardCommandsP12authenticate3for8withPin110Foundation4DataVAI_AA06SecureI0CtYaKF", - "mangledName": "$s6nfclib12CardCommandsP12authenticate3for8withPin110Foundation4DataVAI_AA06SecureI0CtYaKF", - "moduleName": "nfclib", - "genericSig": "<τ_0_0 where τ_0_0 : nfclib.CardCommands>", - "sugared_genericSig": "", - "protocolReq": true, - "declAttributes": [ - "RawDocComment" - ], - "throwing": true, - "reqNewWitnessTableEntry": true, - "funcSelfKind": "NonMutating" + "declKind": "EnumElement", + "usr": "s:6nfclib9CardFieldO19dateAndPlaceOfBirthyA2CmF", + "mangledName": "$s6nfclib9CardFieldO19dateAndPlaceOfBirthyA2CmF", + "moduleName": "nfclib" }, { - "kind": "Function", - "name": "calculateSignature", - "printedName": "calculateSignature(for:withPin2:)", + "kind": "Var", + "name": "personalCode", + "printedName": "personalCode", "children": [ { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - }, - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - }, - { - "kind": "TypeNominal", - "name": "SecureData", - "printedName": "nfclib.SecureData", - "usr": "s:6nfclib10SecureDataC" + "kind": "TypeFunc", + "name": "Function", + "printedName": "(nfclib.CardField.Type) -> nfclib.CardField", + "children": [ + { + "kind": "TypeNominal", + "name": "CardField", + "printedName": "nfclib.CardField", + "usr": "s:6nfclib9CardFieldO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "nfclib.CardField.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CardField", + "printedName": "nfclib.CardField", + "usr": "s:6nfclib9CardFieldO" + } + ] + } + ] } ], - "declKind": "Func", - "usr": "s:6nfclib12CardCommandsP18calculateSignature3for8withPin210Foundation4DataVAI_AA06SecureJ0CtYaKF", - "mangledName": "$s6nfclib12CardCommandsP18calculateSignature3for8withPin210Foundation4DataVAI_AA06SecureJ0CtYaKF", - "moduleName": "nfclib", - "genericSig": "<τ_0_0 where τ_0_0 : nfclib.CardCommands>", - "sugared_genericSig": "", - "protocolReq": true, - "declAttributes": [ - "RawDocComment" - ], - "throwing": true, - "reqNewWitnessTableEntry": true, - "funcSelfKind": "NonMutating" + "declKind": "EnumElement", + "usr": "s:6nfclib9CardFieldO12personalCodeyA2CmF", + "mangledName": "$s6nfclib9CardFieldO12personalCodeyA2CmF", + "moduleName": "nfclib" }, { - "kind": "Function", - "name": "decryptData", - "printedName": "decryptData(_:withPin1:)", + "kind": "Var", + "name": "documentNr", + "printedName": "documentNr", "children": [ { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - }, - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - }, - { - "kind": "TypeNominal", - "name": "SecureData", - "printedName": "nfclib.SecureData", - "usr": "s:6nfclib10SecureDataC" + "kind": "TypeFunc", + "name": "Function", + "printedName": "(nfclib.CardField.Type) -> nfclib.CardField", + "children": [ + { + "kind": "TypeNominal", + "name": "CardField", + "printedName": "nfclib.CardField", + "usr": "s:6nfclib9CardFieldO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "nfclib.CardField.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CardField", + "printedName": "nfclib.CardField", + "usr": "s:6nfclib9CardFieldO" + } + ] + } + ] } ], - "declKind": "Func", - "usr": "s:6nfclib12CardCommandsP11decryptData_8withPin110Foundation0E0VAH_AA06SecureE0CtYaKF", - "mangledName": "$s6nfclib12CardCommandsP11decryptData_8withPin110Foundation0E0VAH_AA06SecureE0CtYaKF", - "moduleName": "nfclib", - "genericSig": "<τ_0_0 where τ_0_0 : nfclib.CardCommands>", - "sugared_genericSig": "", - "protocolReq": true, - "declAttributes": [ - "RawDocComment" - ], - "throwing": true, - "reqNewWitnessTableEntry": true, - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Protocol", - "usr": "s:6nfclib12CardCommandsP", - "mangledName": "$s6nfclib12CardCommandsP", - "moduleName": "nfclib", - "genericSig": "<τ_0_0 : Swift.Sendable>", - "sugared_genericSig": "", - "declAttributes": [ - "AccessControl", - "RawDocComment" - ], - "conformances": [ - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - }, - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" + "declKind": "EnumElement", + "usr": "s:6nfclib9CardFieldO10documentNryA2CmF", + "mangledName": "$s6nfclib9CardFieldO10documentNryA2CmF", + "moduleName": "nfclib" }, { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" + "kind": "Var", + "name": "dateOfExpiry", + "printedName": "dateOfExpiry", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(nfclib.CardField.Type) -> nfclib.CardField", + "children": [ + { + "kind": "TypeNominal", + "name": "CardField", + "printedName": "nfclib.CardField", + "usr": "s:6nfclib9CardFieldO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "nfclib.CardField.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CardField", + "printedName": "nfclib.CardField", + "usr": "s:6nfclib9CardFieldO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:6nfclib9CardFieldO12dateOfExpiryyA2CmF", + "mangledName": "$s6nfclib9CardFieldO12dateOfExpiryyA2CmF", + "moduleName": "nfclib" }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - } - ] - }, - { - "kind": "Import", - "name": "Foundation", - "printedName": "Foundation", - "declKind": "Import", - "moduleName": "nfclib", - "declAttributes": [ - "RawDocComment" - ] - }, - { - "kind": "Import", - "name": "SwiftECC", - "printedName": "SwiftECC", - "declKind": "Import", - "moduleName": "nfclib", - "declAttributes": [ - "AccessControl" - ] - }, - { - "kind": "TypeDecl", - "name": "TKBERTLVRecord", - "printedName": "TKBERTLVRecord", - "children": [ { "kind": "Constructor", "name": "init", - "printedName": "init(tag:bytes:)", + "printedName": "init(rawValue:)", "children": [ { "kind": "TypeNominal", - "name": "TKBERTLVRecord", - "printedName": "CryptoTokenKit.TKBERTLVRecord", - "usr": "c:objc(cs)TKBERTLVRecord" - }, - { - "kind": "TypeNominal", - "name": "UInt64", - "printedName": "Swift.UInt64", - "usr": "s:s6UInt64V" + "name": "Optional", + "printedName": "nfclib.CardField?", + "children": [ + { + "kind": "TypeNominal", + "name": "CardField", + "printedName": "nfclib.CardField", + "usr": "s:6nfclib9CardFieldO" + } + ], + "usr": "s:Sq" }, { "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "τ_0_0" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], "declKind": "Constructor", - "usr": "s:So14TKBERTLVRecordC6nfclibE3tag5bytesABs6UInt64V_xtc10Foundation12DataProtocolRzlufc", - "mangledName": "$sSo14TKBERTLVRecordC6nfclibE3tag5bytesABs6UInt64V_xtc10Foundation12DataProtocolRzlufc", + "usr": "s:6nfclib9CardFieldO8rawValueACSgSi_tcfc", + "mangledName": "$s6nfclib9CardFieldO8rawValueACSgSi_tcfc", "moduleName": "nfclib", - "genericSig": "<τ_0_0 where τ_0_0 : Foundation.DataProtocol>", - "sugared_genericSig": "", - "declAttributes": [ - "Convenience" - ], - "isFromExtension": true, - "init_kind": "Convenience" + "implicit": true, + "init_kind": "Designated" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(tag:publicKey:)", + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", "children": [ { "kind": "TypeNominal", - "name": "TKBERTLVRecord", - "printedName": "CryptoTokenKit.TKBERTLVRecord", - "usr": "c:objc(cs)TKBERTLVRecord" - }, - { - "kind": "TypeNominal", - "name": "UInt64", - "printedName": "Swift.UInt64", - "usr": "s:s6UInt64V" - }, - { - "kind": "TypeNominal", - "name": "ECPublicKey", - "printedName": "SwiftECC.ECPublicKey", - "usr": "s:8SwiftECC11ECPublicKeyC" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], - "declKind": "Constructor", - "usr": "s:So14TKBERTLVRecordC6nfclibE3tag9publicKeyABs6UInt64V_8SwiftECC08ECPublicE0CtKcfc", - "mangledName": "$sSo14TKBERTLVRecordC6nfclibE3tag9publicKeyABs6UInt64V_8SwiftECC08ECPublicE0CtKcfc", + "declKind": "Var", + "usr": "s:6nfclib9CardFieldO8rawValueSivp", + "mangledName": "$s6nfclib9CardFieldO8rawValueSivp", "moduleName": "nfclib", - "declAttributes": [ - "Convenience" - ], - "isFromExtension": true, - "throwing": true, - "init_kind": "Convenience" + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:6nfclib9CardFieldO8rawValueSivg", + "mangledName": "$s6nfclib9CardFieldO8rawValueSivg", + "moduleName": "nfclib", + "implicit": true, + "accessorKind": "get" + } + ] } ], - "declKind": "Class", - "usr": "c:objc(cs)TKBERTLVRecord", - "moduleName": "CryptoTokenKit", - "isOpen": true, - "intro_iOS": "10.0", - "objc_name": "TKBERTLVRecord", + "declKind": "Enum", + "usr": "s:6nfclib9CardFieldO", + "mangledName": "$s6nfclib9CardFieldO", + "moduleName": "nfclib", "declAttributes": [ - "Available", - "ObjC", - "Dynamic" - ], - "superclassUsr": "c:objc(cs)TKTLVRecord", - "isExternal": true, - "inheritsConvenienceInitializers": true, - "superclassNames": [ - "CryptoTokenKit.TKTLVRecord", - "ObjectiveC.NSObject" + "AccessControl" ], + "enumRawTypeName": "Int", "conformances": [ - { - "kind": "Conformance", - "name": "_KeyValueCodingAndObserving", - "printedName": "_KeyValueCodingAndObserving", - "usr": "s:10Foundation27_KeyValueCodingAndObservingP", - "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP" - }, - { - "kind": "Conformance", - "name": "_KeyValueCodingAndObservingPublishing", - "printedName": "_KeyValueCodingAndObservingPublishing", - "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP", - "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP" - }, - { - "kind": "Conformance", - "name": "CVarArg", - "printedName": "CVarArg", - "usr": "s:s7CVarArgP", - "mangledName": "$ss7CVarArgP" - }, { "kind": "Conformance", "name": "Copyable", @@ -13127,20 +6383,6 @@ "usr": "s:s8CopyableP", "mangledName": "$ss8CopyableP" }, - { - "kind": "Conformance", - "name": "CustomDebugStringConvertible", - "printedName": "CustomDebugStringConvertible", - "usr": "s:s28CustomDebugStringConvertibleP", - "mangledName": "$ss28CustomDebugStringConvertibleP" - }, - { - "kind": "Conformance", - "name": "CustomStringConvertible", - "printedName": "CustomStringConvertible", - "usr": "s:s23CustomStringConvertibleP", - "mangledName": "$ss23CustomStringConvertibleP" - }, { "kind": "Conformance", "name": "Equatable", @@ -13161,289 +6403,193 @@ "printedName": "Hashable", "usr": "s:SH", "mangledName": "$sSH" - } - ] - }, - { - "kind": "TypeDecl", - "name": "DataProtocol", - "printedName": "DataProtocol", - "children": [ - { - "kind": "Var", - "name": "hex", - "printedName": "hex", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:10Foundation12DataProtocolP6nfclibE3hexSSvp", - "mangledName": "$s10Foundation12DataProtocolP6nfclibE3hexSSvp", - "moduleName": "nfclib", - "isFromExtension": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Accessor", - "usr": "s:10Foundation12DataProtocolP6nfclibE3hexSSvg", - "mangledName": "$s10Foundation12DataProtocolP6nfclibE3hexSSvg", - "moduleName": "nfclib", - "genericSig": "<τ_0_0 where τ_0_0 : Foundation.DataProtocol>", - "sugared_genericSig": "", - "isFromExtension": true, - "accessorKind": "get" - } - ] }, { - "kind": "Function", - "name": "chunked", - "printedName": "chunked(into:)", + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", "children": [ { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[τ_0_0.SubSequence]", + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", "children": [ { "kind": "TypeNominal", - "name": "DependentMember", - "printedName": "τ_0_0.SubSequence" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } - ], - "usr": "s:Sa" - }, - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + ] } ], - "declKind": "Func", - "usr": "s:10Foundation12DataProtocolP6nfclibE7chunked4intoSay11SubSequenceQzGSi_tF", - "mangledName": "$s10Foundation12DataProtocolP6nfclibE7chunked4intoSay11SubSequenceQzGSi_tF", - "moduleName": "nfclib", - "genericSig": "<τ_0_0 where τ_0_0 : Foundation.DataProtocol>", - "sugared_genericSig": "", - "isFromExtension": true, - "funcSelfKind": "NonMutating" + "usr": "s:SY", + "mangledName": "$sSY" }, { - "kind": "Function", - "name": "removePadding", - "printedName": "removePadding()", - "children": [ - { - "kind": "TypeNominal", - "name": "DependentMember", - "printedName": "τ_0_0.SubSequence" - } - ], - "declKind": "Func", - "usr": "s:10Foundation12DataProtocolP6nfclibE13removePadding11SubSequenceQzyKF", - "mangledName": "$s10Foundation12DataProtocolP6nfclibE13removePadding11SubSequenceQzyKF", - "moduleName": "nfclib", - "genericSig": "<τ_0_0 where τ_0_0 : Foundation.DataProtocol>", - "sugared_genericSig": "", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" }, { - "kind": "Var", - "name": "toHex", - "printedName": "toHex", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:10Foundation12DataProtocolP6nfclibSi5IndexRtzrlE5toHexSSvp", - "mangledName": "$s10Foundation12DataProtocolP6nfclibSi5IndexRtzrlE5toHexSSvp", - "moduleName": "nfclib", - "isFromExtension": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Accessor", - "usr": "s:10Foundation12DataProtocolP6nfclibSi5IndexRtzrlE5toHexSSvg", - "mangledName": "$s10Foundation12DataProtocolP6nfclibSi5IndexRtzrlE5toHexSSvg", - "moduleName": "nfclib", - "genericSig": "<τ_0_0 where τ_0_0 : Foundation.DataProtocol, τ_0_0.Index == Swift.Int>", - "sugared_genericSig": "", - "isFromExtension": true, - "accessorKind": "get" - } - ] - }, + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "nfclib", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "CoreNFC", + "printedName": "CoreNFC", + "declKind": "Import", + "moduleName": "nfclib" + }, + { + "kind": "Import", + "name": "CommonCrypto", + "printedName": "CommonCrypto", + "declKind": "Import", + "moduleName": "nfclib" + }, + { + "kind": "Import", + "name": "CryptoTokenKit", + "printedName": "CryptoTokenKit", + "declKind": "Import", + "moduleName": "nfclib" + }, + { + "kind": "Import", + "name": "SwiftECC", + "printedName": "SwiftECC", + "declKind": "Import", + "moduleName": "nfclib", + "declAttributes": [ + "AccessControl" + ] + }, + { + "kind": "Import", + "name": "BigInt", + "printedName": "BigInt", + "declKind": "Import", + "moduleName": "nfclib" + }, + { + "kind": "TypeDecl", + "name": "OperationReadPublicData", + "printedName": "OperationReadPublicData", + "children": [ { "kind": "Function", - "name": "chunked", - "printedName": "chunked(into:)", + "name": "startReading", + "printedName": "startReading(CAN:)", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[τ_0_0.SubSequence]", - "children": [ - { - "kind": "TypeNominal", - "name": "DependentMember", - "printedName": "τ_0_0.SubSequence" - } - ], - "usr": "s:Sa" + "name": "CardInfo", + "printedName": "nfclib.CardInfo", + "usr": "s:6nfclib8CardInfoV" }, { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Func", - "usr": "s:10Foundation12DataProtocolP6nfclibSi5IndexRtzrlE7chunked4intoSay11SubSequenceQzGSi_tF", - "mangledName": "$s10Foundation12DataProtocolP6nfclibSi5IndexRtzrlE7chunked4intoSay11SubSequenceQzGSi_tF", + "usr": "s:6nfclib23OperationReadPublicDataC12startReading3CANAA8CardInfoVSS_tYaKF", + "mangledName": "$s6nfclib23OperationReadPublicDataC12startReading3CANAA8CardInfoVSS_tYaKF", "moduleName": "nfclib", - "genericSig": "<τ_0_0 where τ_0_0 : Foundation.DataProtocol, τ_0_0.Index == Swift.Int>", - "sugared_genericSig": "", - "isFromExtension": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "removePadding", - "printedName": "removePadding()", - "children": [ - { - "kind": "TypeNominal", - "name": "DependentMember", - "printedName": "τ_0_0.SubSequence" - } + "declAttributes": [ + "Custom", + "Final", + "AccessControl" ], - "declKind": "Func", - "usr": "s:10Foundation12DataProtocolP6nfclibSi5IndexRtzrlE13removePadding11SubSequenceQzyKF", - "mangledName": "$s10Foundation12DataProtocolP6nfclibSi5IndexRtzrlE13removePadding11SubSequenceQzyKF", - "moduleName": "nfclib", - "genericSig": "<τ_0_0 where τ_0_0 : Foundation.DataProtocol, τ_0_0.Index == Swift.Int>", - "sugared_genericSig": "", - "isFromExtension": true, "throwing": true, "funcSelfKind": "NonMutating" }, { "kind": "Constructor", "name": "init", - "printedName": "init(hex:)", + "printedName": "init()", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "τ_0_0?", - "children": [ - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "τ_0_0" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "OperationReadPublicData", + "printedName": "nfclib.OperationReadPublicData", + "usr": "c:@M@nfclib@objc(cs)OperationReadPublicData" } ], "declKind": "Constructor", - "usr": "s:10Foundation12DataProtocolP6nfclibAA07MutablebC0RzSi5IndexRtzrlE3hexxSgSS_tcfc", - "mangledName": "$s10Foundation12DataProtocolP6nfclibAA07MutablebC0RzSi5IndexRtzrlE3hexxSgSS_tcfc", + "usr": "c:@M@nfclib@objc(cs)OperationReadPublicData(im)init", + "mangledName": "$s6nfclib23OperationReadPublicDataCACycfc", "moduleName": "nfclib", - "genericSig": "<τ_0_0 where τ_0_0 : Foundation.MutableDataProtocol, τ_0_0.Index == Swift.Int>", - "sugared_genericSig": "", - "isFromExtension": true, - "init_kind": "Convenience" - }, - { - "kind": "Function", - "name": "addPadding", - "printedName": "addPadding()", - "children": [ - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "τ_0_0" - } + "overriding": true, + "implicit": true, + "objc_name": "init", + "declAttributes": [ + "Dynamic", + "ObjC", + "Custom", + "Override" ], - "declKind": "Func", - "usr": "s:10Foundation12DataProtocolP6nfclibAA07MutablebC0RzSi5IndexRtzrlE10addPaddingxyF", - "mangledName": "$s10Foundation12DataProtocolP6nfclibAA07MutablebC0RzSi5IndexRtzrlE10addPaddingxyF", - "moduleName": "nfclib", - "genericSig": "<τ_0_0 where τ_0_0 : Foundation.MutableDataProtocol, τ_0_0.Index == Swift.Int>", - "sugared_genericSig": "", - "isFromExtension": true, - "funcSelfKind": "NonMutating" + "init_kind": "Designated" }, { "kind": "Function", - "name": "^", - "printedName": "^(_:_:)", + "name": "tagReaderSession", + "printedName": "tagReaderSession(_:didDetect:)", "children": [ { "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "τ_0_0" + "name": "Void", + "printedName": "()" }, { "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "τ_0_0" + "name": "NFCTagReaderSession", + "printedName": "CoreNFC.NFCTagReaderSession", + "usr": "c:objc(cs)NFCTagReaderSession" }, { "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "τ_0_0" + "name": "Array", + "printedName": "[CoreNFC.NFCTag]", + "children": [ + { + "kind": "TypeNominal", + "name": "NFCTag", + "printedName": "CoreNFC.NFCTag", + "usr": "s:7CoreNFC6NFCTagO" + } + ], + "usr": "s:Sa" } ], "declKind": "Func", - "usr": "s:10Foundation12DataProtocolP6nfclibAA07MutablebC0RzSi5IndexRtzrlE1xoiyxx_xtFZ", - "mangledName": "$s10Foundation12DataProtocolP6nfclibAA07MutablebC0RzSi5IndexRtzrlE1xoiyxx_xtFZ", + "usr": "s:6nfclib23OperationReadPublicDataC16tagReaderSession_9didDetectySo06NFCTaggH0C_Say7CoreNFC0K0OGtF", + "mangledName": "$s6nfclib23OperationReadPublicDataC16tagReaderSession_9didDetectySo06NFCTaggH0C_Say7CoreNFC0K0OGtF", "moduleName": "nfclib", - "genericSig": "<τ_0_0 where τ_0_0 : Foundation.MutableDataProtocol, τ_0_0.Index == Swift.Int>", - "sugared_genericSig": "", - "static": true, "declAttributes": [ + "Custom", + "Final", "AccessControl" ], "isFromExtension": true, @@ -13451,244 +6597,105 @@ }, { "kind": "Function", - "name": "^", - "printedName": "^(_:_:)", - "children": [ - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "τ_0_0" - }, - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "τ_0_0" - }, - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "τ_1_0" - } - ], - "declKind": "Func", - "usr": "s:10Foundation12DataProtocolP6nfclibAA07MutablebC0RzSi5IndexRtzrlE1xoiyxx_qd__tSlRd__s5UInt8V7ElementRtd__lFZ", - "mangledName": "$s10Foundation12DataProtocolP6nfclibAA07MutablebC0RzSi5IndexRtzrlE1xoiyxx_qd__tSlRd__s5UInt8V7ElementRtd__lFZ", - "moduleName": "nfclib", - "genericSig": "<τ_0_0, τ_1_0 where τ_0_0 : Foundation.MutableDataProtocol, τ_1_0 : Swift.Collection, τ_0_0.Index == Swift.Int, τ_1_0.Element == Swift.UInt8>", - "sugared_genericSig": "", - "static": true, - "isFromExtension": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "increment", - "printedName": "increment()", - "children": [ - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "τ_0_0" - } - ], - "declKind": "Func", - "usr": "s:10Foundation12DataProtocolP6nfclibAA07MutablebC0RzSi5IndexRtzrlE9incrementxyF", - "mangledName": "$s10Foundation12DataProtocolP6nfclibAA07MutablebC0RzSi5IndexRtzrlE9incrementxyF", - "moduleName": "nfclib", - "genericSig": "<τ_0_0 where τ_0_0 : Foundation.MutableDataProtocol, τ_0_0.Index == Swift.Int>", - "sugared_genericSig": "", - "declAttributes": [ - "Mutating" - ], - "isFromExtension": true, - "funcSelfKind": "Mutating" - }, - { - "kind": "Function", - "name": "leftShiftOneBit", - "printedName": "leftShiftOneBit()", + "name": "tagReaderSessionDidBecomeActive", + "printedName": "tagReaderSessionDidBecomeActive(_:)", "children": [ { "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "τ_0_0" - } - ], - "declKind": "Func", - "usr": "s:10Foundation12DataProtocolP6nfclibAA07MutablebC0RzSi5IndexRtzrlE15leftShiftOneBitxyF", - "mangledName": "$s10Foundation12DataProtocolP6nfclibAA07MutablebC0RzSi5IndexRtzrlE15leftShiftOneBitxyF", - "moduleName": "nfclib", - "genericSig": "<τ_0_0 where τ_0_0 : Foundation.MutableDataProtocol, τ_0_0.Index == Swift.Int>", - "sugared_genericSig": "", - "isFromExtension": true, - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Protocol", - "usr": "s:10Foundation12DataProtocolP", - "mangledName": "$s10Foundation12DataProtocolP", - "moduleName": "Foundation", - "genericSig": "<τ_0_0 : Swift.RandomAccessCollection, τ_0_0.Element == Swift.UInt8, τ_0_0.Regions : Swift.BidirectionalCollection, τ_0_0.SubSequence : Foundation.DataProtocol, τ_0_0.Regions.Element : Foundation.ContiguousBytes, τ_0_0.Regions.Element : Foundation.DataProtocol, τ_0_0.Regions.Element.SubSequence : Foundation.ContiguousBytes>", - "sugared_genericSig": "", - "intro_Macosx": "10.10", - "intro_iOS": "8.0", - "intro_tvOS": "9.0", - "intro_watchOS": "2.0", - "declAttributes": [ - "Available", - "Available", - "Available", - "Available" - ], - "isExternal": true, - "conformances": [ - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - }, - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "RandomAccessCollection", - "printedName": "RandomAccessCollection", - "usr": "s:Sk", - "mangledName": "$sSk" - }, - { - "kind": "Conformance", - "name": "BidirectionalCollection", - "printedName": "BidirectionalCollection", - "usr": "s:SK", - "mangledName": "$sSK" - }, - { - "kind": "Conformance", - "name": "Collection", - "printedName": "Collection", - "usr": "s:Sl", - "mangledName": "$sSl" + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "NFCTagReaderSession", + "printedName": "CoreNFC.NFCTagReaderSession", + "usr": "c:objc(cs)NFCTagReaderSession" + } + ], + "declKind": "Func", + "usr": "s:6nfclib23OperationReadPublicDataC31tagReaderSessionDidBecomeActiveyySo06NFCTaggH0CF", + "mangledName": "$s6nfclib23OperationReadPublicDataC31tagReaderSessionDidBecomeActiveyySo06NFCTaggH0CF", + "moduleName": "nfclib", + "declAttributes": [ + "Custom", + "Final", + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" }, { - "kind": "Conformance", - "name": "Sequence", - "printedName": "Sequence", - "usr": "s:ST", - "mangledName": "$sST" - } - ] - }, - { - "kind": "TypeDecl", - "name": "UInt16", - "printedName": "UInt16", - "children": [ - { - "kind": "Constructor", - "name": "init", - "printedName": "init(_:_:)", + "kind": "Function", + "name": "tagReaderSession", + "printedName": "tagReaderSession(_:didInvalidateWithError:)", "children": [ { "kind": "TypeNominal", - "name": "UInt16", - "printedName": "Swift.UInt16", - "usr": "s:s6UInt16V" + "name": "Void", + "printedName": "()" }, { "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" + "name": "NFCTagReaderSession", + "printedName": "CoreNFC.NFCTagReaderSession", + "usr": "c:objc(cs)NFCTagReaderSession" }, { "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" + "name": "Error", + "printedName": "any Swift.Error", + "usr": "s:s5ErrorP" } ], - "declKind": "Constructor", - "usr": "s:s6UInt16V6nfclibEyABs5UInt8V_AEtcfc", - "mangledName": "$ss6UInt16V6nfclibEyABs5UInt8V_AEtcfc", + "declKind": "Func", + "usr": "s:6nfclib23OperationReadPublicDataC16tagReaderSession_22didInvalidateWithErrorySo06NFCTaggH0C_s0L0_ptF", + "mangledName": "$s6nfclib23OperationReadPublicDataC16tagReaderSession_22didInvalidateWithErrorySo06NFCTaggH0C_s0L0_ptF", "moduleName": "nfclib", + "declAttributes": [ + "Custom", + "Final", + "AccessControl" + ], "isFromExtension": true, - "init_kind": "Designated" + "funcSelfKind": "NonMutating" } ], - "declKind": "Struct", - "usr": "s:s6UInt16V", - "mangledName": "$ss6UInt16V", - "moduleName": "Swift", + "declKind": "Class", + "usr": "c:@M@nfclib@objc(cs)OperationReadPublicData", + "mangledName": "$s6nfclib23OperationReadPublicDataC", + "moduleName": "nfclib", "declAttributes": [ - "Frozen" + "AccessControl", + "Final", + "Custom", + "ObjC" + ], + "superclassUsr": "c:objc(cs)NSObject", + "inheritsConvenienceInitializers": true, + "superclassNames": [ + "ObjectiveC.NSObject" ], - "isExternal": true, "conformances": [ { "kind": "Conformance", - "name": "_FormatSpecifiable", - "printedName": "_FormatSpecifiable", - "children": [ - { - "kind": "TypeWitness", - "name": "_Arg", - "printedName": "_Arg", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt32", - "printedName": "Swift.UInt32", - "usr": "s:s6UInt32V" - } - ] - } - ], - "usr": "s:10Foundation18_FormatSpecifiableP", - "mangledName": "$s10Foundation18_FormatSpecifiableP" - }, - { - "kind": "Conformance", - "name": "AdditiveArithmetic", - "printedName": "AdditiveArithmetic", - "usr": "s:s18AdditiveArithmeticP", - "mangledName": "$ss18AdditiveArithmeticP" + "name": "NFCTagReaderSessionDelegate", + "printedName": "NFCTagReaderSessionDelegate", + "usr": "s:7CoreNFC27NFCTagReaderSessionDelegateP", + "mangledName": "$s7CoreNFC27NFCTagReaderSessionDelegateP" }, { "kind": "Conformance", - "name": "BinaryInteger", - "printedName": "BinaryInteger", - "children": [ - { - "kind": "TypeWitness", - "name": "Words", - "printedName": "Words", - "children": [ - { - "kind": "TypeNominal", - "name": "Words", - "printedName": "Swift.UInt16.Words", - "usr": "s:s6UInt16V5WordsV" - } - ] - } - ], - "usr": "s:Sz", - "mangledName": "$sSz" + "name": "_KeyValueCodingAndObserving", + "printedName": "_KeyValueCodingAndObserving", + "usr": "s:10Foundation27_KeyValueCodingAndObservingP", + "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP" }, { "kind": "Conformance", - "name": "BitwiseCopyable", - "printedName": "BitwiseCopyable", - "usr": "s:s15BitwiseCopyableP", - "mangledName": "$ss15BitwiseCopyableP" + "name": "_KeyValueCodingAndObservingPublishing", + "printedName": "_KeyValueCodingAndObservingPublishing", + "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP", + "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP" }, { "kind": "Conformance", @@ -13697,13 +6704,6 @@ "usr": "s:s7CVarArgP", "mangledName": "$ss7CVarArgP" }, - { - "kind": "Conformance", - "name": "Comparable", - "printedName": "Comparable", - "usr": "s:SL", - "mangledName": "$sSL" - }, { "kind": "Conformance", "name": "Copyable", @@ -13713,10 +6713,10 @@ }, { "kind": "Conformance", - "name": "CustomReflectable", - "printedName": "CustomReflectable", - "usr": "s:s17CustomReflectableP", - "mangledName": "$ss17CustomReflectableP" + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" }, { "kind": "Conformance", @@ -13725,20 +6725,6 @@ "usr": "s:s23CustomStringConvertibleP", "mangledName": "$ss23CustomStringConvertibleP" }, - { - "kind": "Conformance", - "name": "Decodable", - "printedName": "Decodable", - "usr": "s:Se", - "mangledName": "$sSe" - }, - { - "kind": "Conformance", - "name": "Encodable", - "printedName": "Encodable", - "usr": "s:SE", - "mangledName": "$sSE" - }, { "kind": "Conformance", "name": "Equatable", @@ -13753,35 +6739,6 @@ "usr": "s:s9EscapableP", "mangledName": "$ss9EscapableP" }, - { - "kind": "Conformance", - "name": "ExpressibleByIntegerLiteral", - "printedName": "ExpressibleByIntegerLiteral", - "children": [ - { - "kind": "TypeWitness", - "name": "IntegerLiteralType", - "printedName": "IntegerLiteralType", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt16", - "printedName": "Swift.UInt16", - "usr": "s:s6UInt16V" - } - ] - } - ], - "usr": "s:s27ExpressibleByIntegerLiteralP", - "mangledName": "$ss27ExpressibleByIntegerLiteralP" - }, - { - "kind": "Conformance", - "name": "FixedWidthInteger", - "printedName": "FixedWidthInteger", - "usr": "s:s17FixedWidthIntegerP", - "mangledName": "$ss17FixedWidthIntegerP" - }, { "kind": "Conformance", "name": "Hashable", @@ -13791,364 +6748,277 @@ }, { "kind": "Conformance", - "name": "LosslessStringConvertible", - "printedName": "LosslessStringConvertible", - "usr": "s:s25LosslessStringConvertibleP", - "mangledName": "$ss25LosslessStringConvertibleP" - }, + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "nfclib", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "nfclib", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "CodeType", + "printedName": "CodeType", + "children": [ { - "kind": "Conformance", - "name": "Numeric", - "printedName": "Numeric", + "kind": "Var", + "name": "puk", + "printedName": "puk", "children": [ { - "kind": "TypeWitness", - "name": "Magnitude", - "printedName": "Magnitude", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(nfclib.CodeType.Type) -> nfclib.CodeType", "children": [ { "kind": "TypeNominal", - "name": "UInt16", - "printedName": "Swift.UInt16", - "usr": "s:s6UInt16V" + "name": "CodeType", + "printedName": "nfclib.CodeType", + "usr": "s:6nfclib8CodeTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "nfclib.CodeType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodeType", + "printedName": "nfclib.CodeType", + "usr": "s:6nfclib8CodeTypeO" + } + ] } ] } ], - "usr": "s:Sj", - "mangledName": "$sSj" + "declKind": "EnumElement", + "usr": "s:6nfclib8CodeTypeO3pukyA2CmF", + "mangledName": "$s6nfclib8CodeTypeO3pukyA2CmF", + "moduleName": "nfclib" }, { - "kind": "Conformance", - "name": "SIMDScalar", - "printedName": "SIMDScalar", + "kind": "Var", + "name": "pin1", + "printedName": "pin1", "children": [ { - "kind": "TypeWitness", - "name": "SIMDMaskScalar", - "printedName": "SIMDMaskScalar", - "children": [ - { - "kind": "TypeNominal", - "name": "Int16", - "printedName": "Swift.Int16", - "usr": "s:s5Int16V" - } - ] - }, - { - "kind": "TypeWitness", - "name": "SIMD2Storage", - "printedName": "SIMD2Storage", - "children": [ - { - "kind": "TypeNominal", - "name": "SIMD2Storage", - "printedName": "Swift.UInt16.SIMD2Storage", - "usr": "s:s6UInt16V12SIMD2StorageV" - } - ] - }, - { - "kind": "TypeWitness", - "name": "SIMD4Storage", - "printedName": "SIMD4Storage", - "children": [ - { - "kind": "TypeNominal", - "name": "SIMD4Storage", - "printedName": "Swift.UInt16.SIMD4Storage", - "usr": "s:s6UInt16V12SIMD4StorageV" - } - ] - }, - { - "kind": "TypeWitness", - "name": "SIMD8Storage", - "printedName": "SIMD8Storage", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(nfclib.CodeType.Type) -> nfclib.CodeType", "children": [ { "kind": "TypeNominal", - "name": "SIMD8Storage", - "printedName": "Swift.UInt16.SIMD8Storage", - "usr": "s:s6UInt16V12SIMD8StorageV" - } - ] - }, - { - "kind": "TypeWitness", - "name": "SIMD16Storage", - "printedName": "SIMD16Storage", - "children": [ + "name": "CodeType", + "printedName": "nfclib.CodeType", + "usr": "s:6nfclib8CodeTypeO" + }, { "kind": "TypeNominal", - "name": "SIMD16Storage", - "printedName": "Swift.UInt16.SIMD16Storage", - "usr": "s:s6UInt16V13SIMD16StorageV" + "name": "Metatype", + "printedName": "nfclib.CodeType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodeType", + "printedName": "nfclib.CodeType", + "usr": "s:6nfclib8CodeTypeO" + } + ] } ] - }, + } + ], + "declKind": "EnumElement", + "usr": "s:6nfclib8CodeTypeO4pin1yA2CmF", + "mangledName": "$s6nfclib8CodeTypeO4pin1yA2CmF", + "moduleName": "nfclib" + }, + { + "kind": "Var", + "name": "pin2", + "printedName": "pin2", + "children": [ { - "kind": "TypeWitness", - "name": "SIMD32Storage", - "printedName": "SIMD32Storage", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(nfclib.CodeType.Type) -> nfclib.CodeType", "children": [ { "kind": "TypeNominal", - "name": "SIMD32Storage", - "printedName": "Swift.UInt16.SIMD32Storage", - "usr": "s:s6UInt16V13SIMD32StorageV" - } - ] - }, - { - "kind": "TypeWitness", - "name": "SIMD64Storage", - "printedName": "SIMD64Storage", - "children": [ + "name": "CodeType", + "printedName": "nfclib.CodeType", + "usr": "s:6nfclib8CodeTypeO" + }, { "kind": "TypeNominal", - "name": "SIMD64Storage", - "printedName": "Swift.UInt16.SIMD64Storage", - "usr": "s:s6UInt16V13SIMD64StorageV" + "name": "Metatype", + "printedName": "nfclib.CodeType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodeType", + "printedName": "nfclib.CodeType", + "usr": "s:6nfclib8CodeTypeO" + } + ] } ] } ], - "usr": "s:s10SIMDScalarP", - "mangledName": "$ss10SIMDScalarP" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" + "declKind": "EnumElement", + "usr": "s:6nfclib8CodeTypeO4pin2yA2CmF", + "mangledName": "$s6nfclib8CodeTypeO4pin2yA2CmF", + "moduleName": "nfclib" }, { - "kind": "Conformance", - "name": "Strideable", - "printedName": "Strideable", + "kind": "Var", + "name": "name", + "printedName": "name", "children": [ { - "kind": "TypeWitness", - "name": "Stride", - "printedName": "Stride", + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:6nfclib8CodeTypeO4nameSSvp", + "mangledName": "$s6nfclib8CodeTypeO4nameSSvp", + "moduleName": "nfclib", + "declAttributes": [ + "AccessControl" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] + ], + "declKind": "Accessor", + "usr": "s:6nfclib8CodeTypeO4nameSSvg", + "mangledName": "$s6nfclib8CodeTypeO4nameSSvg", + "moduleName": "nfclib", + "accessorKind": "get" } - ], - "usr": "s:Sx", - "mangledName": "$sSx" - }, - { - "kind": "Conformance", - "name": "UnsignedInteger", - "printedName": "UnsignedInteger", - "usr": "s:SU", - "mangledName": "$sSU" - }, - { - "kind": "Conformance", - "name": "_CustomPlaygroundQuickLookable", - "printedName": "_CustomPlaygroundQuickLookable", - "usr": "s:s30_CustomPlaygroundQuickLookableP", - "mangledName": "$ss30_CustomPlaygroundQuickLookableP" - }, - { - "kind": "Conformance", - "name": "_ExpressibleByBuiltinIntegerLiteral", - "printedName": "_ExpressibleByBuiltinIntegerLiteral", - "usr": "s:s35_ExpressibleByBuiltinIntegerLiteralP", - "mangledName": "$ss35_ExpressibleByBuiltinIntegerLiteralP" - }, - { - "kind": "Conformance", - "name": "_HasCustomAnyHashableRepresentation", - "printedName": "_HasCustomAnyHashableRepresentation", - "usr": "s:s35_HasCustomAnyHashableRepresentationP", - "mangledName": "$ss35_HasCustomAnyHashableRepresentationP" + ] }, { - "kind": "Conformance", - "name": "_ObjectiveCBridgeable", - "printedName": "_ObjectiveCBridgeable", + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", "children": [ { - "kind": "TypeWitness", - "name": "_ObjectiveCType", - "printedName": "_ObjectiveCType", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "nfclib.CodeType?", "children": [ { "kind": "TypeNominal", - "name": "NSNumber", - "printedName": "Foundation.NSNumber", - "usr": "c:objc(cs)NSNumber" + "name": "CodeType", + "printedName": "nfclib.CodeType", + "usr": "s:6nfclib8CodeTypeO" } - ] + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "UInt", + "printedName": "Swift.UInt", + "usr": "s:Su" } ], - "usr": "s:s21_ObjectiveCBridgeableP", - "mangledName": "$ss21_ObjectiveCBridgeableP" - }, - { - "kind": "Conformance", - "name": "_StringElement", - "printedName": "_StringElement", - "usr": "s:s14_StringElementP", - "mangledName": "$ss14_StringElementP" + "declKind": "Constructor", + "usr": "s:6nfclib8CodeTypeO8rawValueACSgSu_tcfc", + "mangledName": "$s6nfclib8CodeTypeO8rawValueACSgSu_tcfc", + "moduleName": "nfclib", + "implicit": true, + "init_kind": "Designated" }, { - "kind": "Conformance", - "name": "ASN1IntegerRepresentable", - "printedName": "ASN1IntegerRepresentable", + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", "children": [ { - "kind": "TypeWitness", - "name": "IntegerBytes", - "printedName": "IntegerBytes", + "kind": "TypeNominal", + "name": "UInt", + "printedName": "Swift.UInt", + "usr": "s:Su" + } + ], + "declKind": "Var", + "usr": "s:6nfclib8CodeTypeO8rawValueSuvp", + "mangledName": "$s6nfclib8CodeTypeO8rawValueSuvp", + "moduleName": "nfclib", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "IntegerBytesCollection", - "printedName": "SwiftASN1.IntegerBytesCollection", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt16", - "printedName": "Swift.UInt16", - "usr": "s:s6UInt16V" - } - ], - "usr": "s:9SwiftASN122IntegerBytesCollectionV" + "name": "UInt", + "printedName": "Swift.UInt", + "usr": "s:Su" } - ] + ], + "declKind": "Accessor", + "usr": "s:6nfclib8CodeTypeO8rawValueSuvg", + "mangledName": "$s6nfclib8CodeTypeO8rawValueSuvg", + "moduleName": "nfclib", + "implicit": true, + "accessorKind": "get" } - ], - "usr": "s:9SwiftASN10B20IntegerRepresentableP", - "mangledName": "$s9SwiftASN10B20IntegerRepresentableP" - }, - { - "kind": "Conformance", - "name": "BERImplicitlyTaggable", - "printedName": "BERImplicitlyTaggable", - "usr": "s:9SwiftASN121BERImplicitlyTaggableP", - "mangledName": "$s9SwiftASN121BERImplicitlyTaggableP" - }, - { - "kind": "Conformance", - "name": "BERParseable", - "printedName": "BERParseable", - "usr": "s:9SwiftASN112BERParseableP", - "mangledName": "$s9SwiftASN112BERParseableP" - }, - { - "kind": "Conformance", - "name": "BERSerializable", - "printedName": "BERSerializable", - "usr": "s:9SwiftASN115BERSerializableP", - "mangledName": "$s9SwiftASN115BERSerializableP" - }, - { - "kind": "Conformance", - "name": "DERImplicitlyTaggable", - "printedName": "DERImplicitlyTaggable", - "usr": "s:9SwiftASN121DERImplicitlyTaggableP", - "mangledName": "$s9SwiftASN121DERImplicitlyTaggableP" - }, - { - "kind": "Conformance", - "name": "DERParseable", - "printedName": "DERParseable", - "usr": "s:9SwiftASN112DERParseableP", - "mangledName": "$s9SwiftASN112DERParseableP" - }, - { - "kind": "Conformance", - "name": "DERSerializable", - "printedName": "DERSerializable", - "usr": "s:9SwiftASN115DERSerializableP", - "mangledName": "$s9SwiftASN115DERSerializableP" + ] } - ] - }, - { - "kind": "TypeDecl", - "name": "NFCTagReaderSession", - "printedName": "NFCTagReaderSession", - "declKind": "Class", - "usr": "c:objc(cs)NFCTagReaderSession", - "moduleName": "CoreNFC", - "isOpen": true, - "intro_iOS": "13.0", - "objc_name": "NFCTagReaderSession", - "declAttributes": [ - "Available", - "ObjC", - "Dynamic" ], - "superclassUsr": "c:objc(cs)NFCReaderSession", - "isExternal": true, - "inheritsConvenienceInitializers": true, - "superclassNames": [ - "CoreNFC.NFCReaderSession", - "ObjectiveC.NSObject" + "declKind": "Enum", + "usr": "s:6nfclib8CodeTypeO", + "mangledName": "$s6nfclib8CodeTypeO", + "moduleName": "nfclib", + "declAttributes": [ + "AccessControl" ], + "enumRawTypeName": "UInt", "conformances": [ - { - "kind": "Conformance", - "name": "_KeyValueCodingAndObserving", - "printedName": "_KeyValueCodingAndObserving", - "usr": "s:10Foundation27_KeyValueCodingAndObservingP", - "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP" - }, - { - "kind": "Conformance", - "name": "_KeyValueCodingAndObservingPublishing", - "printedName": "_KeyValueCodingAndObservingPublishing", - "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP", - "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP" - }, - { - "kind": "Conformance", - "name": "CVarArg", - "printedName": "CVarArg", - "usr": "s:s7CVarArgP", - "mangledName": "$ss7CVarArgP" - }, - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "CustomDebugStringConvertible", - "printedName": "CustomDebugStringConvertible", - "usr": "s:s28CustomDebugStringConvertibleP", - "mangledName": "$ss28CustomDebugStringConvertibleP" - }, - { - "kind": "Conformance", - "name": "CustomStringConvertible", - "printedName": "CustomStringConvertible", - "usr": "s:s23CustomStringConvertibleP", - "mangledName": "$ss23CustomStringConvertibleP" + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" }, { "kind": "Conformance", @@ -14171,6 +7041,28 @@ "usr": "s:SH", "mangledName": "$sSH" }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", + "children": [ + { + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "UInt", + "printedName": "Swift.UInt", + "usr": "s:Su" + } + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, { "kind": "Conformance", "name": "Sendable", @@ -14189,134 +7081,430 @@ }, { "kind": "TypeDecl", - "name": "NFCTag", - "printedName": "NFCTag", - "declKind": "Enum", - "usr": "s:7CoreNFC6NFCTagO", - "mangledName": "$s7CoreNFC6NFCTagO", - "moduleName": "CoreNFC", - "intro_iOS": "13.0", - "declAttributes": [ - "Available", - "Available" - ], - "isExternal": true, - "conformances": [ + "name": "CardCommands", + "printedName": "CardCommands", + "children": [ { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" + "kind": "Var", + "name": "canChangePUK", + "printedName": "canChangePUK", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Var", + "usr": "s:6nfclib12CardCommandsP12canChangePUKSbvp", + "mangledName": "$s6nfclib12CardCommandsP12canChangePUKSbvp", + "moduleName": "nfclib", + "protocolReq": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "s:6nfclib12CardCommandsP12canChangePUKSbvg", + "mangledName": "$s6nfclib12CardCommandsP12canChangePUKSbvg", + "moduleName": "nfclib", + "genericSig": "<τ_0_0 where τ_0_0 : nfclib.CardCommands>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "accessorKind": "get" + } + ] }, { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" + "kind": "Function", + "name": "readPublicData", + "printedName": "readPublicData()", + "children": [ + { + "kind": "TypeNominal", + "name": "CardInfo", + "printedName": "nfclib.CardInfo", + "usr": "s:6nfclib8CardInfoV" + } + ], + "declKind": "Func", + "usr": "s:6nfclib12CardCommandsP14readPublicDataAA0B4InfoVyYaKF", + "mangledName": "$s6nfclib12CardCommandsP14readPublicDataAA0B4InfoVyYaKF", + "moduleName": "nfclib", + "genericSig": "<τ_0_0 where τ_0_0 : nfclib.CardCommands>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "RawDocComment" + ], + "throwing": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "readAuthenticationCertificate", + "printedName": "readAuthenticationCertificate()", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Func", + "usr": "s:6nfclib12CardCommandsP29readAuthenticationCertificate10Foundation4DataVyYaKF", + "mangledName": "$s6nfclib12CardCommandsP29readAuthenticationCertificate10Foundation4DataVyYaKF", + "moduleName": "nfclib", + "genericSig": "<τ_0_0 where τ_0_0 : nfclib.CardCommands>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "RawDocComment" + ], + "throwing": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "readSignatureCertificate", + "printedName": "readSignatureCertificate()", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Func", + "usr": "s:6nfclib12CardCommandsP24readSignatureCertificate10Foundation4DataVyYaKF", + "mangledName": "$s6nfclib12CardCommandsP24readSignatureCertificate10Foundation4DataVyYaKF", + "moduleName": "nfclib", + "genericSig": "<τ_0_0 where τ_0_0 : nfclib.CardCommands>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "RawDocComment" + ], + "throwing": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "readCodeTryCounterRecord", + "printedName": "readCodeTryCounterRecord(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(retryCount: Swift.UInt8, pinActive: Swift.Bool)", + "children": [ + { + "kind": "TypeNominal", + "name": "UInt8", + "printedName": "Swift.UInt8", + "usr": "s:s5UInt8V" + }, + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ] + }, + { + "kind": "TypeNominal", + "name": "CodeType", + "printedName": "nfclib.CodeType", + "usr": "s:6nfclib8CodeTypeO" + } + ], + "declKind": "Func", + "usr": "s:6nfclib12CardCommandsP24readCodeTryCounterRecordys5UInt8V10retryCount_Sb9pinActivetAA0E4TypeOYaKF", + "mangledName": "$s6nfclib12CardCommandsP24readCodeTryCounterRecordys5UInt8V10retryCount_Sb9pinActivetAA0E4TypeOYaKF", + "moduleName": "nfclib", + "genericSig": "<τ_0_0 where τ_0_0 : nfclib.CardCommands>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "RawDocComment" + ], + "throwing": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "changeCode", + "printedName": "changeCode(_:to:verifyCode:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "CodeType", + "printedName": "nfclib.CodeType", + "usr": "s:6nfclib8CodeTypeO" + }, + { + "kind": "TypeNominal", + "name": "SecureData", + "printedName": "nfclib.SecureData", + "usr": "s:6nfclib10SecureDataC" + }, + { + "kind": "TypeNominal", + "name": "SecureData", + "printedName": "nfclib.SecureData", + "usr": "s:6nfclib10SecureDataC" + } + ], + "declKind": "Func", + "usr": "s:6nfclib12CardCommandsP10changeCode_2to06verifyE0yAA0E4TypeO_AA10SecureDataCAJtYaKF", + "mangledName": "$s6nfclib12CardCommandsP10changeCode_2to06verifyE0yAA0E4TypeO_AA10SecureDataCAJtYaKF", + "moduleName": "nfclib", + "genericSig": "<τ_0_0 where τ_0_0 : nfclib.CardCommands>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "RawDocComment" + ], + "throwing": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" }, { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" + "kind": "Function", + "name": "verifyCode", + "printedName": "verifyCode(_:code:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "CodeType", + "printedName": "nfclib.CodeType", + "usr": "s:6nfclib8CodeTypeO" + }, + { + "kind": "TypeNominal", + "name": "SecureData", + "printedName": "nfclib.SecureData", + "usr": "s:6nfclib10SecureDataC" + } + ], + "declKind": "Func", + "usr": "s:6nfclib12CardCommandsP10verifyCode_4codeyAA0E4TypeO_AA10SecureDataCtYaKF", + "mangledName": "$s6nfclib12CardCommandsP10verifyCode_4codeyAA0E4TypeO_AA10SecureDataCtYaKF", + "moduleName": "nfclib", + "genericSig": "<τ_0_0 where τ_0_0 : nfclib.CardCommands>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "RawDocComment" + ], + "throwing": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" }, { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "ECPublicKey", - "printedName": "ECPublicKey", - "children": [ + "kind": "Function", + "name": "unblockCode", + "printedName": "unblockCode(_:puk:newCode:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "CodeType", + "printedName": "nfclib.CodeType", + "usr": "s:6nfclib8CodeTypeO" + }, + { + "kind": "TypeNominal", + "name": "SecureData", + "printedName": "nfclib.SecureData", + "usr": "s:6nfclib10SecureDataC" + }, + { + "kind": "TypeNominal", + "name": "SecureData", + "printedName": "nfclib.SecureData", + "usr": "s:6nfclib10SecureDataC" + } + ], + "declKind": "Func", + "usr": "s:6nfclib12CardCommandsP11unblockCode_3puk03newE0yAA0E4TypeO_AA10SecureDataCAJtYaKF", + "mangledName": "$s6nfclib12CardCommandsP11unblockCode_3puk03newE0yAA0E4TypeO_AA10SecureDataCAJtYaKF", + "moduleName": "nfclib", + "genericSig": "<τ_0_0 where τ_0_0 : nfclib.CardCommands>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "RawDocComment" + ], + "throwing": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(domain:point:)", + "kind": "Function", + "name": "authenticate", + "printedName": "authenticate(for:withPin1:)", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "SwiftECC.ECPublicKey?", - "children": [ - { - "kind": "TypeNominal", - "name": "ECPublicKey", - "printedName": "SwiftECC.ECPublicKey", - "usr": "s:8SwiftECC11ECPublicKeyC" - } - ], - "usr": "s:Sq" + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" }, { "kind": "TypeNominal", - "name": "Domain", - "printedName": "SwiftECC.Domain", - "usr": "s:8SwiftECC6DomainC" + "name": "SecureData", + "printedName": "nfclib.SecureData", + "usr": "s:6nfclib10SecureDataC" + } + ], + "declKind": "Func", + "usr": "s:6nfclib12CardCommandsP12authenticate3for8withPin110Foundation4DataVAI_AA06SecureI0CtYaKF", + "mangledName": "$s6nfclib12CardCommandsP12authenticate3for8withPin110Foundation4DataVAI_AA06SecureI0CtYaKF", + "moduleName": "nfclib", + "genericSig": "<τ_0_0 where τ_0_0 : nfclib.CardCommands>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "RawDocComment" + ], + "throwing": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "calculateSignature", + "printedName": "calculateSignature(for:withPin2:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" }, { "kind": "TypeNominal", "name": "Data", "printedName": "Foundation.Data", "usr": "s:10Foundation4DataV" + }, + { + "kind": "TypeNominal", + "name": "SecureData", + "printedName": "nfclib.SecureData", + "usr": "s:6nfclib10SecureDataC" } ], - "declKind": "Constructor", - "usr": "s:8SwiftECC11ECPublicKeyC6nfclibE6domain5pointACSgAA6DomainC_10Foundation4DataVtKcfc", - "mangledName": "$s8SwiftECC11ECPublicKeyC6nfclibE6domain5pointACSgAA6DomainC_10Foundation4DataVtKcfc", + "declKind": "Func", + "usr": "s:6nfclib12CardCommandsP18calculateSignature3for8withPin210Foundation4DataVAI_AA06SecureJ0CtYaKF", + "mangledName": "$s6nfclib12CardCommandsP18calculateSignature3for8withPin210Foundation4DataVAI_AA06SecureJ0CtYaKF", "moduleName": "nfclib", + "genericSig": "<τ_0_0 where τ_0_0 : nfclib.CardCommands>", + "sugared_genericSig": "", + "protocolReq": true, "declAttributes": [ - "Convenience" + "RawDocComment" ], - "isFromExtension": true, "throwing": true, - "init_kind": "Convenience" + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" }, { "kind": "Function", - "name": "x963Representation", - "printedName": "x963Representation()", + "name": "decryptData", + "printedName": "decryptData(_:withPin1:)", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.UInt8]", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "usr": "s:Sa" + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + }, + { + "kind": "TypeNominal", + "name": "SecureData", + "printedName": "nfclib.SecureData", + "usr": "s:6nfclib10SecureDataC" } ], "declKind": "Func", - "usr": "s:8SwiftECC11ECPublicKeyC6nfclibE18x963RepresentationSays5UInt8VGyKF", - "mangledName": "$s8SwiftECC11ECPublicKeyC6nfclibE18x963RepresentationSays5UInt8VGyKF", + "usr": "s:6nfclib12CardCommandsP11decryptData_8withPin110Foundation0E0VAH_AA06SecureE0CtYaKF", + "mangledName": "$s6nfclib12CardCommandsP11decryptData_8withPin110Foundation0E0VAH_AA06SecureE0CtYaKF", "moduleName": "nfclib", - "isOpen": true, - "isFromExtension": true, + "genericSig": "<τ_0_0 where τ_0_0 : nfclib.CardCommands>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "RawDocComment" + ], "throwing": true, + "reqNewWitnessTableEntry": true, "funcSelfKind": "NonMutating" } ], - "declKind": "Class", - "usr": "s:8SwiftECC11ECPublicKeyC", - "mangledName": "$s8SwiftECC11ECPublicKeyC", - "moduleName": "SwiftECC", - "isOpen": true, - "isExternal": true, + "declKind": "Protocol", + "usr": "s:6nfclib12CardCommandsP", + "mangledName": "$s6nfclib12CardCommandsP", + "moduleName": "nfclib", + "genericSig": "<τ_0_0 : Swift.Sendable>", + "sugared_genericSig": "", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], "conformances": [ + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + }, { "kind": "Conformance", "name": "Copyable", @@ -14326,351 +7514,186 @@ }, { "kind": "Conformance", - "name": "CustomStringConvertible", - "printedName": "CustomStringConvertible", - "usr": "s:s23CustomStringConvertibleP", - "mangledName": "$ss23CustomStringConvertibleP" + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" }, { "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" } ] }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "nfclib", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "SwiftECC", + "printedName": "SwiftECC", + "declKind": "Import", + "moduleName": "nfclib", + "declAttributes": [ + "AccessControl" + ] + }, { "kind": "TypeDecl", - "name": "Array", - "printedName": "Array", + "name": "DataProtocol", + "printedName": "DataProtocol", "children": [ { - "kind": "Constructor", - "name": "init", - "printedName": "init(hex:)", + "kind": "Function", + "name": "^", + "printedName": "^(_:_:)", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[τ_0_0]", - "children": [ - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "τ_0_0" - } - ], - "usr": "s:Sa" + "name": "GenericTypeParam", + "printedName": "τ_0_0" }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "GenericTypeParam", + "printedName": "τ_0_0" + }, + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "τ_0_0" } ], - "declKind": "Constructor", - "usr": "s:Sa6nfclibs5UInt8VRszlE3hexSayACGSS_tcfc", - "mangledName": "$sSa6nfclibs5UInt8VRszlE3hexSayACGSS_tcfc", + "declKind": "Func", + "usr": "s:10Foundation12DataProtocolP6nfclibAA07MutablebC0RzSi5IndexRtzrlE1xoiyxx_xtFZ", + "mangledName": "$s10Foundation12DataProtocolP6nfclibAA07MutablebC0RzSi5IndexRtzrlE1xoiyxx_xtFZ", "moduleName": "nfclib", - "genericSig": "<τ_0_0 where τ_0_0 == Swift.UInt8>", - "sugared_genericSig": "", + "genericSig": "<τ_0_0 where τ_0_0 : Foundation.MutableDataProtocol, τ_0_0.Index == Swift.Int>", + "sugared_genericSig": "", + "static": true, + "declAttributes": [ + "AccessControl" + ], "isFromExtension": true, - "init_kind": "Designated" + "funcSelfKind": "NonMutating" } ], - "declKind": "Struct", - "usr": "s:Sa", - "mangledName": "$sSa", - "moduleName": "Swift", - "genericSig": "<τ_0_0>", - "sugared_genericSig": "", + "declKind": "Protocol", + "usr": "s:10Foundation12DataProtocolP", + "mangledName": "$s10Foundation12DataProtocolP", + "moduleName": "Foundation", + "genericSig": "<τ_0_0 : Swift.RandomAccessCollection, τ_0_0.Element == Swift.UInt8, τ_0_0.Regions : Swift.BidirectionalCollection, τ_0_0.SubSequence : Foundation.DataProtocol, τ_0_0.Regions.Element : Foundation.ContiguousBytes, τ_0_0.Regions.Element : Foundation.DataProtocol, τ_0_0.Regions.Element.SubSequence : Foundation.ContiguousBytes>", + "sugared_genericSig": "", + "intro_Macosx": "10.10", + "intro_iOS": "8.0", + "intro_tvOS": "9.0", + "intro_watchOS": "2.0", "declAttributes": [ - "EagerMove", - "Frozen" + "Available", + "Available", + "Available", + "Available" ], "isExternal": true, "conformances": [ { "kind": "Conformance", - "name": "ContiguousBytes", - "printedName": "ContiguousBytes", - "usr": "s:10Foundation15ContiguousBytesP", - "mangledName": "$s10Foundation15ContiguousBytesP" - }, - { - "kind": "Conformance", - "name": "DataProtocol", - "printedName": "DataProtocol", - "children": [ - { - "kind": "TypeWitness", - "name": "Regions", - "printedName": "Regions", - "children": [ - { - "kind": "TypeNominal", - "name": "CollectionOfOne", - "printedName": "Swift.CollectionOfOne<[Swift.UInt8]>", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.UInt8]", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "usr": "s:Sa" - } - ], - "usr": "s:s15CollectionOfOneV" - } - ] - } - ], - "usr": "s:10Foundation12DataProtocolP", - "mangledName": "$s10Foundation12DataProtocolP" - }, - { - "kind": "Conformance", - "name": "DecodableWithConfiguration", - "printedName": "DecodableWithConfiguration", - "children": [ - { - "kind": "TypeWitness", - "name": "DecodingConfiguration", - "printedName": "DecodingConfiguration", - "children": [ - { - "kind": "TypeNominal", - "name": "DependentMember", - "printedName": "τ_0_0.DecodingConfiguration" - } - ] - } - ], - "usr": "s:10Foundation26DecodableWithConfigurationP", - "mangledName": "$s10Foundation26DecodableWithConfigurationP" + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" }, { "kind": "Conformance", - "name": "EncodableWithConfiguration", - "printedName": "EncodableWithConfiguration", - "children": [ - { - "kind": "TypeWitness", - "name": "EncodingConfiguration", - "printedName": "EncodingConfiguration", - "children": [ - { - "kind": "TypeNominal", - "name": "DependentMember", - "printedName": "τ_0_0.EncodingConfiguration" - } - ] - } - ], - "usr": "s:10Foundation26EncodableWithConfigurationP", - "mangledName": "$s10Foundation26EncodableWithConfigurationP" + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" }, { "kind": "Conformance", - "name": "MutableDataProtocol", - "printedName": "MutableDataProtocol", - "usr": "s:10Foundation19MutableDataProtocolP", - "mangledName": "$s10Foundation19MutableDataProtocolP" + "name": "RandomAccessCollection", + "printedName": "RandomAccessCollection", + "usr": "s:Sk", + "mangledName": "$sSk" }, { "kind": "Conformance", "name": "BidirectionalCollection", "printedName": "BidirectionalCollection", - "children": [ - { - "kind": "TypeWitness", - "name": "Element", - "printedName": "Element", - "children": [ - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "τ_0_0" - } - ] - }, - { - "kind": "TypeWitness", - "name": "Index", - "printedName": "Index", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ] - }, - { - "kind": "TypeWitness", - "name": "SubSequence", - "printedName": "SubSequence", - "children": [ - { - "kind": "TypeNominal", - "name": "ArraySlice", - "printedName": "Swift.ArraySlice<τ_0_0>", - "children": [ - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "τ_0_0" - } - ], - "usr": "s:s10ArraySliceV" - } - ] - }, - { - "kind": "TypeWitness", - "name": "Indices", - "printedName": "Indices", - "children": [ - { - "kind": "TypeNominal", - "name": "Range", - "printedName": "Swift.Range", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "usr": "s:Sn" - } - ] - } - ], "usr": "s:SK", "mangledName": "$sSK" }, - { - "kind": "Conformance", - "name": "CVarArg", - "printedName": "CVarArg", - "usr": "s:s7CVarArgP", - "mangledName": "$ss7CVarArgP" - }, { "kind": "Conformance", "name": "Collection", "printedName": "Collection", - "children": [ - { - "kind": "TypeWitness", - "name": "Element", - "printedName": "Element", - "children": [ - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "τ_0_0" - } - ] - }, - { - "kind": "TypeWitness", - "name": "Index", - "printedName": "Index", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ] - }, - { - "kind": "TypeWitness", - "name": "Iterator", - "printedName": "Iterator", - "children": [ - { - "kind": "TypeNominal", - "name": "IndexingIterator", - "printedName": "Swift.IndexingIterator<[τ_0_0]>", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[τ_0_0]", - "children": [ - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "τ_0_0" - } - ], - "usr": "s:Sa" - } - ], - "usr": "s:s16IndexingIteratorV" - } - ] - }, - { - "kind": "TypeWitness", - "name": "SubSequence", - "printedName": "SubSequence", - "children": [ - { - "kind": "TypeNominal", - "name": "ArraySlice", - "printedName": "Swift.ArraySlice<τ_0_0>", - "children": [ - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "τ_0_0" - } - ], - "usr": "s:s10ArraySliceV" - } - ] - }, - { - "kind": "TypeWitness", - "name": "Indices", - "printedName": "Indices", - "children": [ - { - "kind": "TypeNominal", - "name": "Range", - "printedName": "Swift.Range", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "usr": "s:Sn" - } - ] - } - ], "usr": "s:Sl", "mangledName": "$sSl" }, + { + "kind": "Conformance", + "name": "Sequence", + "printedName": "Sequence", + "usr": "s:ST", + "mangledName": "$sST" + } + ] + }, + { + "kind": "TypeDecl", + "name": "NFCTagReaderSession", + "printedName": "NFCTagReaderSession", + "declKind": "Class", + "usr": "c:objc(cs)NFCTagReaderSession", + "moduleName": "CoreNFC", + "isOpen": true, + "intro_iOS": "13.0", + "objc_name": "NFCTagReaderSession", + "declAttributes": [ + "Available", + "ObjC", + "Dynamic" + ], + "superclassUsr": "c:objc(cs)NFCReaderSession", + "isExternal": true, + "inheritsConvenienceInitializers": true, + "superclassNames": [ + "CoreNFC.NFCReaderSession", + "ObjectiveC.NSObject" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObserving", + "printedName": "_KeyValueCodingAndObserving", + "usr": "s:10Foundation27_KeyValueCodingAndObservingP", + "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObservingPublishing", + "printedName": "_KeyValueCodingAndObservingPublishing", + "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP", + "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + }, { "kind": "Conformance", "name": "Copyable", @@ -14685,13 +7708,6 @@ "usr": "s:s28CustomDebugStringConvertibleP", "mangledName": "$ss28CustomDebugStringConvertibleP" }, - { - "kind": "Conformance", - "name": "CustomReflectable", - "printedName": "CustomReflectable", - "usr": "s:s17CustomReflectableP", - "mangledName": "$ss17CustomReflectableP" - }, { "kind": "Conformance", "name": "CustomStringConvertible", @@ -14699,20 +7715,6 @@ "usr": "s:s23CustomStringConvertibleP", "mangledName": "$ss23CustomStringConvertibleP" }, - { - "kind": "Conformance", - "name": "Decodable", - "printedName": "Decodable", - "usr": "s:Se", - "mangledName": "$sSe" - }, - { - "kind": "Conformance", - "name": "Encodable", - "printedName": "Encodable", - "usr": "s:SE", - "mangledName": "$sSE" - }, { "kind": "Conformance", "name": "Equatable", @@ -14727,27 +7729,6 @@ "usr": "s:s9EscapableP", "mangledName": "$ss9EscapableP" }, - { - "kind": "Conformance", - "name": "ExpressibleByArrayLiteral", - "printedName": "ExpressibleByArrayLiteral", - "children": [ - { - "kind": "TypeWitness", - "name": "ArrayLiteralElement", - "printedName": "ArrayLiteralElement", - "children": [ - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "τ_0_0" - } - ] - } - ], - "usr": "s:s25ExpressibleByArrayLiteralP", - "mangledName": "$ss25ExpressibleByArrayLiteralP" - }, { "kind": "Conformance", "name": "Hashable", @@ -14755,164 +7736,6 @@ "usr": "s:SH", "mangledName": "$sSH" }, - { - "kind": "Conformance", - "name": "MutableCollection", - "printedName": "MutableCollection", - "children": [ - { - "kind": "TypeWitness", - "name": "Element", - "printedName": "Element", - "children": [ - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "τ_0_0" - } - ] - }, - { - "kind": "TypeWitness", - "name": "Index", - "printedName": "Index", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ] - }, - { - "kind": "TypeWitness", - "name": "SubSequence", - "printedName": "SubSequence", - "children": [ - { - "kind": "TypeNominal", - "name": "ArraySlice", - "printedName": "Swift.ArraySlice<τ_0_0>", - "children": [ - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "τ_0_0" - } - ], - "usr": "s:s10ArraySliceV" - } - ] - } - ], - "usr": "s:SM", - "mangledName": "$sSM" - }, - { - "kind": "Conformance", - "name": "RandomAccessCollection", - "printedName": "RandomAccessCollection", - "children": [ - { - "kind": "TypeWitness", - "name": "Element", - "printedName": "Element", - "children": [ - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "τ_0_0" - } - ] - }, - { - "kind": "TypeWitness", - "name": "Index", - "printedName": "Index", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ] - }, - { - "kind": "TypeWitness", - "name": "SubSequence", - "printedName": "SubSequence", - "children": [ - { - "kind": "TypeNominal", - "name": "ArraySlice", - "printedName": "Swift.ArraySlice<τ_0_0>", - "children": [ - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "τ_0_0" - } - ], - "usr": "s:s10ArraySliceV" - } - ] - }, - { - "kind": "TypeWitness", - "name": "Indices", - "printedName": "Indices", - "children": [ - { - "kind": "TypeNominal", - "name": "Range", - "printedName": "Swift.Range", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "usr": "s:Sn" - } - ] - } - ], - "usr": "s:Sk", - "mangledName": "$sSk" - }, - { - "kind": "Conformance", - "name": "RangeReplaceableCollection", - "printedName": "RangeReplaceableCollection", - "children": [ - { - "kind": "TypeWitness", - "name": "SubSequence", - "printedName": "SubSequence", - "children": [ - { - "kind": "TypeNominal", - "name": "ArraySlice", - "printedName": "Swift.ArraySlice<τ_0_0>", - "children": [ - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "τ_0_0" - } - ], - "usr": "s:s10ArraySliceV" - } - ] - } - ], - "usr": "s:Sm", - "mangledName": "$sSm" - }, { "kind": "Conformance", "name": "Sendable", @@ -14926,127 +7749,51 @@ "printedName": "SendableMetatype", "usr": "s:s16SendableMetatypeP", "mangledName": "$ss16SendableMetatypeP" - }, - { - "kind": "Conformance", - "name": "Sequence", - "printedName": "Sequence", - "children": [ - { - "kind": "TypeWitness", - "name": "Element", - "printedName": "Element", - "children": [ - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "τ_0_0" - } - ] - }, - { - "kind": "TypeWitness", - "name": "Iterator", - "printedName": "Iterator", - "children": [ - { - "kind": "TypeNominal", - "name": "IndexingIterator", - "printedName": "Swift.IndexingIterator<[τ_0_0]>", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[τ_0_0]", - "children": [ - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "τ_0_0" - } - ], - "usr": "s:Sa" - } - ], - "usr": "s:s16IndexingIteratorV" - } - ] - } - ], - "usr": "s:ST", - "mangledName": "$sST" - }, - { - "kind": "Conformance", - "name": "_ArrayProtocol", - "printedName": "_ArrayProtocol", - "children": [ - { - "kind": "TypeWitness", - "name": "_Buffer", - "printedName": "_Buffer", - "children": [ - { - "kind": "TypeNominal", - "name": "_ArrayBuffer", - "printedName": "Swift._ArrayBuffer<τ_0_0>", - "children": [ - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "τ_0_0" - } - ], - "usr": "s:s12_ArrayBufferV" - } - ] - } - ], - "usr": "s:s14_ArrayProtocolP", - "mangledName": "$ss14_ArrayProtocolP" - }, + } + ] + }, + { + "kind": "TypeDecl", + "name": "NFCTag", + "printedName": "NFCTag", + "declKind": "Enum", + "usr": "s:7CoreNFC6NFCTagO", + "mangledName": "$s7CoreNFC6NFCTagO", + "moduleName": "CoreNFC", + "intro_iOS": "13.0", + "declAttributes": [ + "Available", + "Available" + ], + "isExternal": true, + "conformances": [ { "kind": "Conformance", - "name": "_DestructorSafeContainer", - "printedName": "_DestructorSafeContainer", - "usr": "s:s24_DestructorSafeContainerP", - "mangledName": "$ss24_DestructorSafeContainerP" + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" }, { "kind": "Conformance", - "name": "_HasContiguousBytes", - "printedName": "_HasContiguousBytes", - "usr": "s:s19_HasContiguousBytesP", - "mangledName": "$ss19_HasContiguousBytesP" + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" }, { "kind": "Conformance", - "name": "_HasCustomAnyHashableRepresentation", - "printedName": "_HasCustomAnyHashableRepresentation", - "usr": "s:s35_HasCustomAnyHashableRepresentationP", - "mangledName": "$ss35_HasCustomAnyHashableRepresentationP" + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" }, { "kind": "Conformance", - "name": "_ObjectiveCBridgeable", - "printedName": "_ObjectiveCBridgeable", - "children": [ - { - "kind": "TypeWitness", - "name": "_ObjectiveCType", - "printedName": "_ObjectiveCType", - "children": [ - { - "kind": "TypeNominal", - "name": "NSArray", - "printedName": "Foundation.NSArray", - "usr": "c:objc(cs)NSArray" - } - ] - } - ], - "usr": "s:s21_ObjectiveCBridgeableP", - "mangledName": "$ss21_ObjectiveCBridgeableP" + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" } ] } @@ -15100,83 +7847,83 @@ "filePath": "\/Users\/martenr\/Documents\/Github\/MOPP\/Official\/nfc-iOS-lib\/nfc-lib\/nfc-lib\/nfclib\/CardActions\/CardReaderNFC.swift", "kind": "StringLiteral", "offset": 1019, - "length": 27, - "value": "\"ee.ria.digidoc.RIADigiDoc\"" + "length": 20, + "value": "\"ee.ria.nfc-iOS-lib\"" }, { "filePath": "\/Users\/martenr\/Documents\/Github\/MOPP\/Official\/nfc-iOS-lib\/nfc-lib\/nfc-lib\/nfclib\/CardActions\/CardReaderNFC.swift", "kind": "StringLiteral", - "offset": 1058, + "offset": 1051, "length": 15, "value": "\"CardReaderNFC\"" }, { "filePath": "\/Users\/martenr\/Documents\/Github\/MOPP\/Official\/nfc-iOS-lib\/nfc-lib\/nfc-lib\/nfclib\/CardActions\/CardReaderNFC.swift", "kind": "IntegerLiteral", - "offset": 1182, + "offset": 1175, "length": 1, "value": "1" }, { "filePath": "\/Users\/martenr\/Documents\/Github\/MOPP\/Official\/nfc-iOS-lib\/nfc-lib\/nfc-lib\/nfclib\/CardActions\/CardReaderNFC.swift", "kind": "IntegerLiteral", - "offset": 1245, + "offset": 1238, "length": 1, "value": "2" }, { "filePath": "\/Users\/martenr\/Documents\/Github\/MOPP\/Official\/nfc-iOS-lib\/nfc-lib\/nfc-lib\/nfclib\/CardActions\/CardReaderNFC.swift", "kind": "StringLiteral", - "offset": 1562, + "offset": 1555, "length": 22, "value": "\"04007f00070202040204\"" }, { "filePath": "\/Users\/martenr\/Documents\/Github\/MOPP\/Official\/nfc-iOS-lib\/nfc-lib\/nfc-lib\/nfclib\/CardActions\/CardReaderNFC.swift", "kind": "StringLiteral", - "offset": 1660, + "offset": 1653, "length": 22, "value": "\"04007f00070202040404\"" }, { "filePath": "\/Users\/martenr\/Documents\/Github\/MOPP\/Official\/nfc-iOS-lib\/nfc-lib\/nfc-lib\/nfclib\/CardActions\/CardReaderNFC.swift", "kind": "IntegerLiteral", - "offset": 1942, + "offset": 1935, "length": 2, "value": "12" }, { "filePath": "\/Users\/martenr\/Documents\/Github\/MOPP\/Official\/nfc-iOS-lib\/nfc-lib\/nfc-lib\/nfclib\/CardActions\/CardReaderNFC.swift", "kind": "IntegerLiteral", - "offset": 1968, + "offset": 1961, "length": 2, "value": "13" }, { "filePath": "\/Users\/martenr\/Documents\/Github\/MOPP\/Official\/nfc-iOS-lib\/nfc-lib\/nfc-lib\/nfclib\/CardActions\/CardReaderNFC.swift", "kind": "IntegerLiteral", - "offset": 1994, + "offset": 1987, "length": 2, "value": "15" }, { "filePath": "\/Users\/martenr\/Documents\/Github\/MOPP\/Official\/nfc-iOS-lib\/nfc-lib\/nfc-lib\/nfclib\/CardActions\/CardReaderNFC.swift", "kind": "IntegerLiteral", - "offset": 2020, + "offset": 2013, "length": 2, "value": "16" }, { "filePath": "\/Users\/martenr\/Documents\/Github\/MOPP\/Official\/nfc-iOS-lib\/nfc-lib\/nfc-lib\/nfclib\/CardActions\/CardReaderNFC.swift", "kind": "IntegerLiteral", - "offset": 2046, + "offset": 2039, "length": 2, "value": "17" }, { "filePath": "\/Users\/martenr\/Documents\/Github\/MOPP\/Official\/nfc-iOS-lib\/nfc-lib\/nfc-lib\/nfclib\/CardActions\/CardReaderNFC.swift", "kind": "IntegerLiteral", - "offset": 2072, + "offset": 2065, "length": 2, "value": "18" }, @@ -15397,6 +8144,13 @@ "length": 3, "value": "512" }, + { + "filePath": "\/Users\/martenr\/Documents\/Github\/MOPP\/Official\/nfc-iOS-lib\/nfc-lib\/nfc-lib\/nfclib\/Extensions\/Logger+Extensions.swift", + "kind": "BooleanLiteral", + "offset": 912, + "length": 5, + "value": "false" + }, { "filePath": "\/Users\/martenr\/Documents\/Github\/MOPP\/Official\/nfc-iOS-lib\/nfc-lib\/nfc-lib\/nfclib\/CardActions\/CardInfo.swift", "kind": "StringLiteral", diff --git a/Modules/IdCardLib/Frameworks/nfclib.xcframework/ios-arm64/nfclib.framework/Modules/nfclib.swiftmodule/arm64-apple-ios.private.swiftinterface b/Modules/IdCardLib/Frameworks/nfclib.xcframework/ios-arm64/nfclib.framework/Modules/nfclib.swiftmodule/arm64-apple-ios.private.swiftinterface index 23df92da..4319c9af 100644 --- a/Modules/IdCardLib/Frameworks/nfclib.xcframework/ios-arm64/nfclib.framework/Modules/nfclib.swiftmodule/arm64-apple-ios.private.swiftinterface +++ b/Modules/IdCardLib/Frameworks/nfclib.xcframework/ios-arm64/nfclib.framework/Modules/nfclib.swiftmodule/arm64-apple-ios.private.swiftinterface @@ -1,7 +1,7 @@ // swift-interface-format-version: 1.0 -// swift-compiler-version: Apple Swift version 6.3.2 effective-5.10 (swiftlang-6.3.2.1.108 clang-2100.1.1.101) -// swift-module-flags: -target arm64-apple-ios16.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -Onone -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name nfclib -// swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.3.2 +// swift-compiler-version: Apple Swift version 6.3.3 effective-5.10 (swiftlang-6.3.3.1.3 clang-2100.1.1.101) +// swift-module-flags: -target arm64-apple-ios16.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -O -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name nfclib +// swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.3.3 import BigInt import CommonCrypto @preconcurrency import CoreNFC @@ -16,6 +16,7 @@ import _Concurrency import _StringProcessing import _SwiftConcurrencyShims @_exported import nfclib +import os @objc @_inheritsConvenienceInitializers @_Concurrency.MainActor public class OperationSignHash : ObjectiveC.NSObject { @_Concurrency.MainActor public func startSigning(CAN: Swift.String, PIN2: nfclib.SecureData, hash: Foundation.Data) async throws -> Foundation.Data @_Concurrency.MainActor @objc override dynamic public init() @@ -143,6 +144,12 @@ public enum IdCardInternalError : Swift.Error { } public struct PinError : Swift.Error { } +public enum NFCLibLogging { + public static var isEnabled: Swift.Bool { + get + set + } +} public struct CardInfo : Swift.Sendable, Swift.Hashable { public var givenName: Swift.String public var surname: Swift.String diff --git a/Modules/IdCardLib/Frameworks/nfclib.xcframework/ios-arm64/nfclib.framework/Modules/nfclib.swiftmodule/arm64-apple-ios.swiftdoc b/Modules/IdCardLib/Frameworks/nfclib.xcframework/ios-arm64/nfclib.framework/Modules/nfclib.swiftmodule/arm64-apple-ios.swiftdoc index 90cfa130..6a4bb502 100644 Binary files a/Modules/IdCardLib/Frameworks/nfclib.xcframework/ios-arm64/nfclib.framework/Modules/nfclib.swiftmodule/arm64-apple-ios.swiftdoc and b/Modules/IdCardLib/Frameworks/nfclib.xcframework/ios-arm64/nfclib.framework/Modules/nfclib.swiftmodule/arm64-apple-ios.swiftdoc differ diff --git a/Modules/IdCardLib/Frameworks/nfclib.xcframework/ios-arm64/nfclib.framework/Modules/nfclib.swiftmodule/arm64-apple-ios.swiftinterface b/Modules/IdCardLib/Frameworks/nfclib.xcframework/ios-arm64/nfclib.framework/Modules/nfclib.swiftmodule/arm64-apple-ios.swiftinterface index 23df92da..4319c9af 100644 --- a/Modules/IdCardLib/Frameworks/nfclib.xcframework/ios-arm64/nfclib.framework/Modules/nfclib.swiftmodule/arm64-apple-ios.swiftinterface +++ b/Modules/IdCardLib/Frameworks/nfclib.xcframework/ios-arm64/nfclib.framework/Modules/nfclib.swiftmodule/arm64-apple-ios.swiftinterface @@ -1,7 +1,7 @@ // swift-interface-format-version: 1.0 -// swift-compiler-version: Apple Swift version 6.3.2 effective-5.10 (swiftlang-6.3.2.1.108 clang-2100.1.1.101) -// swift-module-flags: -target arm64-apple-ios16.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -Onone -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name nfclib -// swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.3.2 +// swift-compiler-version: Apple Swift version 6.3.3 effective-5.10 (swiftlang-6.3.3.1.3 clang-2100.1.1.101) +// swift-module-flags: -target arm64-apple-ios16.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -O -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name nfclib +// swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.3.3 import BigInt import CommonCrypto @preconcurrency import CoreNFC @@ -16,6 +16,7 @@ import _Concurrency import _StringProcessing import _SwiftConcurrencyShims @_exported import nfclib +import os @objc @_inheritsConvenienceInitializers @_Concurrency.MainActor public class OperationSignHash : ObjectiveC.NSObject { @_Concurrency.MainActor public func startSigning(CAN: Swift.String, PIN2: nfclib.SecureData, hash: Foundation.Data) async throws -> Foundation.Data @_Concurrency.MainActor @objc override dynamic public init() @@ -143,6 +144,12 @@ public enum IdCardInternalError : Swift.Error { } public struct PinError : Swift.Error { } +public enum NFCLibLogging { + public static var isEnabled: Swift.Bool { + get + set + } +} public struct CardInfo : Swift.Sendable, Swift.Hashable { public var givenName: Swift.String public var surname: Swift.String diff --git a/Modules/IdCardLib/Frameworks/nfclib.xcframework/ios-arm64/nfclib.framework/nfclib b/Modules/IdCardLib/Frameworks/nfclib.xcframework/ios-arm64/nfclib.framework/nfclib index d3713554..d1d277dd 100755 Binary files a/Modules/IdCardLib/Frameworks/nfclib.xcframework/ios-arm64/nfclib.framework/nfclib and b/Modules/IdCardLib/Frameworks/nfclib.xcframework/ios-arm64/nfclib.framework/nfclib differ diff --git a/Modules/IdCardLib/Frameworks/nfclib.xcframework/ios-arm64_x86_64-simulator/nfclib.framework/Headers/nfclib-Swift.h b/Modules/IdCardLib/Frameworks/nfclib.xcframework/ios-arm64_x86_64-simulator/nfclib.framework/Headers/nfclib-Swift.h index 0c082a71..9a4f15b8 100644 --- a/Modules/IdCardLib/Frameworks/nfclib.xcframework/ios-arm64_x86_64-simulator/nfclib.framework/Headers/nfclib-Swift.h +++ b/Modules/IdCardLib/Frameworks/nfclib.xcframework/ios-arm64_x86_64-simulator/nfclib.framework/Headers/nfclib-Swift.h @@ -1,6 +1,6 @@ #if 0 #elif defined(__arm64__) && __arm64__ -// Generated by Apple Swift version 6.3.2 effective-5.10 (swiftlang-6.3.2.1.108 clang-2100.1.1.101) +// Generated by Apple Swift version 6.3.3 effective-5.10 (swiftlang-6.3.3.1.3 clang-2100.1.1.101) #ifndef NFCLIB_SWIFT_H #define NFCLIB_SWIFT_H #pragma clang diagnostic push @@ -405,7 +405,7 @@ SWIFT_CLASS("_TtC6nfclib19OperationUnblockPin") #endif #elif defined(__x86_64__) && __x86_64__ -// Generated by Apple Swift version 6.3.2 effective-5.10 (swiftlang-6.3.2.1.108 clang-2100.1.1.101) +// Generated by Apple Swift version 6.3.3 effective-5.10 (swiftlang-6.3.3.1.3 clang-2100.1.1.101) #ifndef NFCLIB_SWIFT_H #define NFCLIB_SWIFT_H #pragma clang diagnostic push diff --git a/Modules/IdCardLib/Frameworks/nfclib.xcframework/ios-arm64_x86_64-simulator/nfclib.framework/Info.plist b/Modules/IdCardLib/Frameworks/nfclib.xcframework/ios-arm64_x86_64-simulator/nfclib.framework/Info.plist index d361f82f..5f353177 100644 Binary files a/Modules/IdCardLib/Frameworks/nfclib.xcframework/ios-arm64_x86_64-simulator/nfclib.framework/Info.plist and b/Modules/IdCardLib/Frameworks/nfclib.xcframework/ios-arm64_x86_64-simulator/nfclib.framework/Info.plist differ diff --git a/Modules/IdCardLib/Frameworks/nfclib.xcframework/ios-arm64_x86_64-simulator/nfclib.framework/Modules/nfclib.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo b/Modules/IdCardLib/Frameworks/nfclib.xcframework/ios-arm64_x86_64-simulator/nfclib.framework/Modules/nfclib.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo index 83f50e9d..9cc6b17b 100644 Binary files a/Modules/IdCardLib/Frameworks/nfclib.xcframework/ios-arm64_x86_64-simulator/nfclib.framework/Modules/nfclib.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo and b/Modules/IdCardLib/Frameworks/nfclib.xcframework/ios-arm64_x86_64-simulator/nfclib.framework/Modules/nfclib.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo differ diff --git a/Modules/IdCardLib/Frameworks/nfclib.xcframework/ios-arm64_x86_64-simulator/nfclib.framework/Modules/nfclib.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo b/Modules/IdCardLib/Frameworks/nfclib.xcframework/ios-arm64_x86_64-simulator/nfclib.framework/Modules/nfclib.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo index e01c6385..067ede58 100644 Binary files a/Modules/IdCardLib/Frameworks/nfclib.xcframework/ios-arm64_x86_64-simulator/nfclib.framework/Modules/nfclib.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo and b/Modules/IdCardLib/Frameworks/nfclib.xcframework/ios-arm64_x86_64-simulator/nfclib.framework/Modules/nfclib.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo differ diff --git a/Modules/IdCardLib/Frameworks/nfclib.xcframework/ios-arm64_x86_64-simulator/nfclib.framework/Modules/nfclib.swiftmodule/arm64-apple-ios-simulator.abi.json b/Modules/IdCardLib/Frameworks/nfclib.xcframework/ios-arm64_x86_64-simulator/nfclib.framework/Modules/nfclib.swiftmodule/arm64-apple-ios-simulator.abi.json index 08a76752..5f2505d3 100644 --- a/Modules/IdCardLib/Frameworks/nfclib.xcframework/ios-arm64_x86_64-simulator/nfclib.framework/Modules/nfclib.swiftmodule/arm64-apple-ios-simulator.abi.json +++ b/Modules/IdCardLib/Frameworks/nfclib.xcframework/ios-arm64_x86_64-simulator/nfclib.framework/Modules/nfclib.swiftmodule/arm64-apple-ios-simulator.abi.json @@ -98,7 +98,6 @@ "usr": "s:6nfclib17OperationSignHashC12startSigning3CAN4PIN24hash10Foundation4DataVSS_AA06SecureK0CAJtYaKF", "mangledName": "$s6nfclib17OperationSignHashC12startSigning3CAN4PIN24hash10Foundation4DataVSS_AA06SecureK0CAJtYaKF", "moduleName": "nfclib", - "isOpen": true, "declAttributes": [ "Custom", "AccessControl" @@ -168,7 +167,6 @@ "usr": "s:6nfclib17OperationSignHashC16tagReaderSession_9didDetectySo06NFCTagfG0C_Say7CoreNFC0J0OGtF", "mangledName": "$s6nfclib17OperationSignHashC16tagReaderSession_9didDetectySo06NFCTagfG0C_Say7CoreNFC0J0OGtF", "moduleName": "nfclib", - "isOpen": true, "declAttributes": [ "Custom", "AccessControl" @@ -197,7 +195,6 @@ "usr": "s:6nfclib17OperationSignHashC31tagReaderSessionDidBecomeActiveyySo06NFCTagfG0CF", "mangledName": "$s6nfclib17OperationSignHashC31tagReaderSessionDidBecomeActiveyySo06NFCTagfG0CF", "moduleName": "nfclib", - "isOpen": true, "declAttributes": [ "Custom", "AccessControl" @@ -232,7 +229,6 @@ "usr": "s:6nfclib17OperationSignHashC16tagReaderSession_22didInvalidateWithErrorySo06NFCTagfG0C_s0K0_ptF", "mangledName": "$s6nfclib17OperationSignHashC16tagReaderSession_22didInvalidateWithErrorySo06NFCTagfG0C_s0K0_ptF", "moduleName": "nfclib", - "isOpen": true, "declAttributes": [ "Custom", "AccessControl" @@ -245,7 +241,6 @@ "usr": "c:@M@nfclib@objc(cs)OperationSignHash", "mangledName": "$s6nfclib17OperationSignHashC", "moduleName": "nfclib", - "isOpen": true, "declAttributes": [ "AccessControl", "Custom", @@ -543,48 +538,6 @@ } ] }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(unverifiedCertificate:algorithm:signature:signingCertificate:)", - "children": [ - { - "kind": "TypeNominal", - "name": "WebEidData", - "printedName": "nfclib.WebEidData", - "usr": "s:6nfclib10WebEidDataC" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Constructor", - "usr": "s:6nfclib10WebEidDataC21unverifiedCertificate9algorithm9signature07signingF0ACSS_S3Stcfc", - "mangledName": "$s6nfclib10WebEidDataC21unverifiedCertificate9algorithm9signature07signingF0ACSS_S3Stcfc", - "moduleName": "nfclib", - "init_kind": "Designated" - }, { "kind": "Var", "name": "formattedDescription", @@ -754,98 +707,6 @@ ], "init_kind": "Designated" }, - { - "kind": "Function", - "name": "withUnsafeBytes", - "printedName": "withUnsafeBytes(_:)", - "children": [ - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "τ_0_0" - }, - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(Swift.UnsafeRawBufferPointer) throws -> τ_0_0", - "children": [ - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "τ_0_0" - }, - { - "kind": "TypeNominal", - "name": "UnsafeRawBufferPointer", - "printedName": "Swift.UnsafeRawBufferPointer", - "usr": "s:SW" - } - ], - "typeAttributes": [ - "noescape" - ] - } - ], - "declKind": "Func", - "usr": "s:6nfclib10SecureDataC15withUnsafeBytesyxxSWKXEKlF", - "mangledName": "$s6nfclib10SecureDataC15withUnsafeBytesyxxSWKXEKlF", - "moduleName": "nfclib", - "genericSig": "<τ_0_0>", - "sugared_genericSig": "", - "declAttributes": [ - "Final", - "Rethrows", - "RawDocComment" - ], - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "withUnsafeMutableBytes", - "printedName": "withUnsafeMutableBytes(_:)", - "children": [ - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "τ_0_0" - }, - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(Swift.UnsafeMutableRawBufferPointer) throws -> τ_0_0", - "children": [ - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "τ_0_0" - }, - { - "kind": "TypeNominal", - "name": "UnsafeMutableRawBufferPointer", - "printedName": "Swift.UnsafeMutableRawBufferPointer", - "usr": "s:Sw" - } - ], - "typeAttributes": [ - "noescape" - ] - } - ], - "declKind": "Func", - "usr": "s:6nfclib10SecureDataC22withUnsafeMutableBytesyxxSwKXEKlF", - "mangledName": "$s6nfclib10SecureDataC22withUnsafeMutableBytesyxxSwKXEKlF", - "moduleName": "nfclib", - "genericSig": "<τ_0_0>", - "sugared_genericSig": "", - "declAttributes": [ - "Final", - "Rethrows", - "RawDocComment" - ], - "throwing": true, - "funcSelfKind": "NonMutating" - }, { "kind": "Var", "name": "count", @@ -911,28 +772,6 @@ "RawDocComment" ], "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "asData", - "printedName": "asData()", - "children": [ - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Func", - "usr": "s:6nfclib10SecureDataC02asC010Foundation0C0VyF", - "mangledName": "$s6nfclib10SecureDataC02asC010Foundation0C0VyF", - "moduleName": "nfclib", - "declAttributes": [ - "Final", - "RawDocComment" - ], - "funcSelfKind": "NonMutating" } ], "declKind": "Class", @@ -1152,61 +991,101 @@ ] }, { - "kind": "Function", - "name": "convertBytesToX509Certificate", - "printedName": "convertBytesToX509Certificate(_:)", - "children": [ - { - "kind": "TypeNominal", - "name": "SecCertificate", - "printedName": "Security.SecCertificate", - "usr": "c:@T@SecCertificateRef" - }, - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Func", - "usr": "s:6nfclib29convertBytesToX509CertificateySo03SecF3Refa10Foundation4DataVKF", - "mangledName": "$s6nfclib29convertBytesToX509CertificateySo03SecF3Refa10Foundation4DataVKF", + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "nfclib", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "CoreNFC", + "printedName": "CoreNFC", + "declKind": "Import", + "moduleName": "nfclib" + }, + { + "kind": "Import", + "name": "CommonCrypto", + "printedName": "CommonCrypto", + "declKind": "Import", + "moduleName": "nfclib" + }, + { + "kind": "Import", + "name": "CryptoTokenKit", + "printedName": "CryptoTokenKit", + "declKind": "Import", + "moduleName": "nfclib" + }, + { + "kind": "Import", + "name": "SwiftECC", + "printedName": "SwiftECC", + "declKind": "Import", + "moduleName": "nfclib", + "declAttributes": [ + "AccessControl" + ] + }, + { + "kind": "Import", + "name": "BigInt", + "printedName": "BigInt", + "declKind": "Import", + "moduleName": "nfclib" + }, + { + "kind": "Import", + "name": "Security", + "printedName": "Security", + "declKind": "Import", + "moduleName": "nfclib" + }, + { + "kind": "Import", + "name": "X509", + "printedName": "X509", + "declKind": "Import", "moduleName": "nfclib", - "throwing": true, - "funcSelfKind": "NonMutating" + "declAttributes": [ + "AccessControl" + ] }, { "kind": "TypeDecl", - "name": "CertificateConversionError", - "printedName": "CertificateConversionError", + "name": "AuthenticateWithWebEidError", + "printedName": "AuthenticateWithWebEidError", "children": [ { "kind": "Var", - "name": "creationFailed", - "printedName": "creationFailed", + "name": "failedToReadPublicKey", + "printedName": "failedToReadPublicKey", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(nfclib.CertificateConversionError.Type) -> nfclib.CertificateConversionError", + "printedName": "(nfclib.AuthenticateWithWebEidError.Type) -> nfclib.AuthenticateWithWebEidError", "children": [ { "kind": "TypeNominal", - "name": "CertificateConversionError", - "printedName": "nfclib.CertificateConversionError", - "usr": "s:6nfclib26CertificateConversionErrorO" + "name": "AuthenticateWithWebEidError", + "printedName": "nfclib.AuthenticateWithWebEidError", + "usr": "s:6nfclib27AuthenticateWithWebEidErrorO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "nfclib.CertificateConversionError.Type", + "printedName": "nfclib.AuthenticateWithWebEidError.Type", "children": [ { "kind": "TypeNominal", - "name": "CertificateConversionError", - "printedName": "nfclib.CertificateConversionError", - "usr": "s:6nfclib26CertificateConversionErrorO" + "name": "AuthenticateWithWebEidError", + "printedName": "nfclib.AuthenticateWithWebEidError", + "usr": "s:6nfclib27AuthenticateWithWebEidErrorO" } ] } @@ -1214,246 +1093,51 @@ } ], "declKind": "EnumElement", - "usr": "s:6nfclib26CertificateConversionErrorO14creationFailedyA2CmF", - "mangledName": "$s6nfclib26CertificateConversionErrorO14creationFailedyA2CmF", - "moduleName": "nfclib", - "fixedbinaryorder": 0 + "usr": "s:6nfclib27AuthenticateWithWebEidErrorO21failedToReadPublicKeyyA2CmF", + "mangledName": "$s6nfclib27AuthenticateWithWebEidErrorO21failedToReadPublicKeyyA2CmF", + "moduleName": "nfclib" }, { - "kind": "Function", - "name": "==", - "printedName": "==(_:_:)", + "kind": "Var", + "name": "failedToDetermineAlgorithm", + "printedName": "failedToDetermineAlgorithm", "children": [ { - "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" - }, - { - "kind": "TypeNominal", - "name": "CertificateConversionError", - "printedName": "nfclib.CertificateConversionError", - "usr": "s:6nfclib26CertificateConversionErrorO" - }, - { - "kind": "TypeNominal", - "name": "CertificateConversionError", - "printedName": "nfclib.CertificateConversionError", - "usr": "s:6nfclib26CertificateConversionErrorO" + "kind": "TypeFunc", + "name": "Function", + "printedName": "(nfclib.AuthenticateWithWebEidError.Type) -> nfclib.AuthenticateWithWebEidError", + "children": [ + { + "kind": "TypeNominal", + "name": "AuthenticateWithWebEidError", + "printedName": "nfclib.AuthenticateWithWebEidError", + "usr": "s:6nfclib27AuthenticateWithWebEidErrorO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "nfclib.AuthenticateWithWebEidError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "AuthenticateWithWebEidError", + "printedName": "nfclib.AuthenticateWithWebEidError", + "usr": "s:6nfclib27AuthenticateWithWebEidErrorO" + } + ] + } + ] } ], - "declKind": "Func", - "usr": "s:6nfclib26CertificateConversionErrorO2eeoiySbAC_ACtFZ", - "mangledName": "$s6nfclib26CertificateConversionErrorO2eeoiySbAC_ACtFZ", - "moduleName": "nfclib", - "static": true, - "implicit": true, - "funcSelfKind": "NonMutating" + "declKind": "EnumElement", + "usr": "s:6nfclib27AuthenticateWithWebEidErrorO26failedToDetermineAlgorithmyA2CmF", + "mangledName": "$s6nfclib27AuthenticateWithWebEidErrorO26failedToDetermineAlgorithmyA2CmF", + "moduleName": "nfclib" }, { "kind": "Var", - "name": "hashValue", - "printedName": "hashValue", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Var", - "usr": "s:6nfclib26CertificateConversionErrorO9hashValueSivp", - "mangledName": "$s6nfclib26CertificateConversionErrorO9hashValueSivp", - "moduleName": "nfclib", - "implicit": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib26CertificateConversionErrorO9hashValueSivg", - "mangledName": "$s6nfclib26CertificateConversionErrorO9hashValueSivg", - "moduleName": "nfclib", - "implicit": true, - "accessorKind": "get" - } - ] - }, - { - "kind": "Function", - "name": "hash", - "printedName": "hash(into:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "Hasher", - "printedName": "Swift.Hasher", - "paramValueOwnership": "InOut", - "usr": "s:s6HasherV" - } - ], - "declKind": "Func", - "usr": "s:6nfclib26CertificateConversionErrorO4hash4intoys6HasherVz_tF", - "mangledName": "$s6nfclib26CertificateConversionErrorO4hash4intoys6HasherVz_tF", - "moduleName": "nfclib", - "implicit": true, - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Enum", - "usr": "s:6nfclib26CertificateConversionErrorO", - "mangledName": "$s6nfclib26CertificateConversionErrorO", - "moduleName": "nfclib", - "isEnumExhaustive": true, - "conformances": [ - { - "kind": "Conformance", - "name": "BitwiseCopyable", - "printedName": "BitwiseCopyable", - "usr": "s:s15BitwiseCopyableP", - "mangledName": "$ss15BitwiseCopyableP" - }, - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Equatable", - "printedName": "Equatable", - "usr": "s:SQ", - "mangledName": "$sSQ" - }, - { - "kind": "Conformance", - "name": "Hashable", - "printedName": "Hashable", - "usr": "s:SH", - "mangledName": "$sSH" - }, - { - "kind": "Conformance", - "name": "Error", - "printedName": "Error", - "usr": "s:s5ErrorP", - "mangledName": "$ss5ErrorP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - } - ] - }, - { - "kind": "Import", - "name": "Foundation", - "printedName": "Foundation", - "declKind": "Import", - "moduleName": "nfclib", - "declAttributes": [ - "RawDocComment" - ] - }, - { - "kind": "Import", - "name": "CoreNFC", - "printedName": "CoreNFC", - "declKind": "Import", - "moduleName": "nfclib" - }, - { - "kind": "Import", - "name": "CommonCrypto", - "printedName": "CommonCrypto", - "declKind": "Import", - "moduleName": "nfclib" - }, - { - "kind": "Import", - "name": "CryptoTokenKit", - "printedName": "CryptoTokenKit", - "declKind": "Import", - "moduleName": "nfclib" - }, - { - "kind": "Import", - "name": "SwiftECC", - "printedName": "SwiftECC", - "declKind": "Import", - "moduleName": "nfclib", - "declAttributes": [ - "AccessControl" - ] - }, - { - "kind": "Import", - "name": "BigInt", - "printedName": "BigInt", - "declKind": "Import", - "moduleName": "nfclib" - }, - { - "kind": "Import", - "name": "Security", - "printedName": "Security", - "declKind": "Import", - "moduleName": "nfclib" - }, - { - "kind": "Import", - "name": "X509", - "printedName": "X509", - "declKind": "Import", - "moduleName": "nfclib", - "declAttributes": [ - "AccessControl" - ] - }, - { - "kind": "TypeDecl", - "name": "AuthenticateWithWebEidError", - "printedName": "AuthenticateWithWebEidError", - "children": [ - { - "kind": "Var", - "name": "failedToReadPublicKey", - "printedName": "failedToReadPublicKey", + "name": "failedToHashData", + "printedName": "failedToHashData", "children": [ { "kind": "TypeFunc", @@ -1483,14 +1167,14 @@ } ], "declKind": "EnumElement", - "usr": "s:6nfclib27AuthenticateWithWebEidErrorO21failedToReadPublicKeyyA2CmF", - "mangledName": "$s6nfclib27AuthenticateWithWebEidErrorO21failedToReadPublicKeyyA2CmF", + "usr": "s:6nfclib27AuthenticateWithWebEidErrorO16failedToHashDatayA2CmF", + "mangledName": "$s6nfclib27AuthenticateWithWebEidErrorO16failedToHashDatayA2CmF", "moduleName": "nfclib" }, { "kind": "Var", - "name": "failedToDetermineAlgorithm", - "printedName": "failedToDetermineAlgorithm", + "name": "failedToMapAlgorithm", + "printedName": "failedToMapAlgorithm", "children": [ { "kind": "TypeFunc", @@ -1520,14 +1204,14 @@ } ], "declKind": "EnumElement", - "usr": "s:6nfclib27AuthenticateWithWebEidErrorO26failedToDetermineAlgorithmyA2CmF", - "mangledName": "$s6nfclib27AuthenticateWithWebEidErrorO26failedToDetermineAlgorithmyA2CmF", + "usr": "s:6nfclib27AuthenticateWithWebEidErrorO20failedToMapAlgorithmyA2CmF", + "mangledName": "$s6nfclib27AuthenticateWithWebEidErrorO20failedToMapAlgorithmyA2CmF", "moduleName": "nfclib" }, { "kind": "Var", - "name": "failedToHashData", - "printedName": "failedToHashData", + "name": "failedCertificateExpired", + "printedName": "failedCertificateExpired", "children": [ { "kind": "TypeFunc", @@ -1557,14 +1241,14 @@ } ], "declKind": "EnumElement", - "usr": "s:6nfclib27AuthenticateWithWebEidErrorO16failedToHashDatayA2CmF", - "mangledName": "$s6nfclib27AuthenticateWithWebEidErrorO16failedToHashDatayA2CmF", + "usr": "s:6nfclib27AuthenticateWithWebEidErrorO24failedCertificateExpiredyA2CmF", + "mangledName": "$s6nfclib27AuthenticateWithWebEidErrorO24failedCertificateExpiredyA2CmF", "moduleName": "nfclib" }, { "kind": "Var", - "name": "failedToMapAlgorithm", - "printedName": "failedToMapAlgorithm", + "name": "failedCertificateNotYetValid", + "printedName": "failedCertificateNotYetValid", "children": [ { "kind": "TypeFunc", @@ -1594,120 +1278,46 @@ } ], "declKind": "EnumElement", - "usr": "s:6nfclib27AuthenticateWithWebEidErrorO20failedToMapAlgorithmyA2CmF", - "mangledName": "$s6nfclib27AuthenticateWithWebEidErrorO20failedToMapAlgorithmyA2CmF", + "usr": "s:6nfclib27AuthenticateWithWebEidErrorO28failedCertificateNotYetValidyA2CmF", + "mangledName": "$s6nfclib27AuthenticateWithWebEidErrorO28failedCertificateNotYetValidyA2CmF", "moduleName": "nfclib" }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "AuthenticateWithWebEidError", + "printedName": "nfclib.AuthenticateWithWebEidError", + "usr": "s:6nfclib27AuthenticateWithWebEidErrorO" + }, + { + "kind": "TypeNominal", + "name": "AuthenticateWithWebEidError", + "printedName": "nfclib.AuthenticateWithWebEidError", + "usr": "s:6nfclib27AuthenticateWithWebEidErrorO" + } + ], + "declKind": "Func", + "usr": "s:6nfclib27AuthenticateWithWebEidErrorO2eeoiySbAC_ACtFZ", + "mangledName": "$s6nfclib27AuthenticateWithWebEidErrorO2eeoiySbAC_ACtFZ", + "moduleName": "nfclib", + "static": true, + "implicit": true, + "funcSelfKind": "NonMutating" + }, { "kind": "Var", - "name": "failedCertificateExpired", - "printedName": "failedCertificateExpired", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.AuthenticateWithWebEidError.Type) -> nfclib.AuthenticateWithWebEidError", - "children": [ - { - "kind": "TypeNominal", - "name": "AuthenticateWithWebEidError", - "printedName": "nfclib.AuthenticateWithWebEidError", - "usr": "s:6nfclib27AuthenticateWithWebEidErrorO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.AuthenticateWithWebEidError.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "AuthenticateWithWebEidError", - "printedName": "nfclib.AuthenticateWithWebEidError", - "usr": "s:6nfclib27AuthenticateWithWebEidErrorO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib27AuthenticateWithWebEidErrorO24failedCertificateExpiredyA2CmF", - "mangledName": "$s6nfclib27AuthenticateWithWebEidErrorO24failedCertificateExpiredyA2CmF", - "moduleName": "nfclib" - }, - { - "kind": "Var", - "name": "failedCertificateNotYetValid", - "printedName": "failedCertificateNotYetValid", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.AuthenticateWithWebEidError.Type) -> nfclib.AuthenticateWithWebEidError", - "children": [ - { - "kind": "TypeNominal", - "name": "AuthenticateWithWebEidError", - "printedName": "nfclib.AuthenticateWithWebEidError", - "usr": "s:6nfclib27AuthenticateWithWebEidErrorO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.AuthenticateWithWebEidError.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "AuthenticateWithWebEidError", - "printedName": "nfclib.AuthenticateWithWebEidError", - "usr": "s:6nfclib27AuthenticateWithWebEidErrorO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib27AuthenticateWithWebEidErrorO28failedCertificateNotYetValidyA2CmF", - "mangledName": "$s6nfclib27AuthenticateWithWebEidErrorO28failedCertificateNotYetValidyA2CmF", - "moduleName": "nfclib" - }, - { - "kind": "Function", - "name": "==", - "printedName": "==(_:_:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" - }, - { - "kind": "TypeNominal", - "name": "AuthenticateWithWebEidError", - "printedName": "nfclib.AuthenticateWithWebEidError", - "usr": "s:6nfclib27AuthenticateWithWebEidErrorO" - }, - { - "kind": "TypeNominal", - "name": "AuthenticateWithWebEidError", - "printedName": "nfclib.AuthenticateWithWebEidError", - "usr": "s:6nfclib27AuthenticateWithWebEidErrorO" - } - ], - "declKind": "Func", - "usr": "s:6nfclib27AuthenticateWithWebEidErrorO2eeoiySbAC_ACtFZ", - "mangledName": "$s6nfclib27AuthenticateWithWebEidErrorO2eeoiySbAC_ACtFZ", - "moduleName": "nfclib", - "static": true, - "implicit": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Var", - "name": "hashValue", - "printedName": "hashValue", + "name": "hashValue", + "printedName": "hashValue", "children": [ { "kind": "TypeNominal", @@ -1895,7 +1505,6 @@ "usr": "s:6nfclib31OperationAuthenticateWithWebEIDC12startReadingAA0E7EidDataCyYaKF", "mangledName": "$s6nfclib31OperationAuthenticateWithWebEIDC12startReadingAA0E7EidDataCyYaKF", "moduleName": "nfclib", - "isOpen": true, "declAttributes": [ "Custom", "AccessControl" @@ -1965,7 +1574,6 @@ "usr": "s:6nfclib31OperationAuthenticateWithWebEIDC16tagReaderSession_9didDetectySo06NFCTaghI0C_Say7CoreNFC0L0OGtF", "mangledName": "$s6nfclib31OperationAuthenticateWithWebEIDC16tagReaderSession_9didDetectySo06NFCTaghI0C_Say7CoreNFC0L0OGtF", "moduleName": "nfclib", - "isOpen": true, "declAttributes": [ "Custom", "AccessControl" @@ -2016,7 +1624,6 @@ "usr": "s:6nfclib31OperationAuthenticateWithWebEIDC29getAlgorithmNameTypeAndLength4fromSS9algorithm_Si03keyL0tSgSo9SecKeyRefa_tF", "mangledName": "$s6nfclib31OperationAuthenticateWithWebEIDC29getAlgorithmNameTypeAndLength4fromSS9algorithm_Si03keyL0tSgSo9SecKeyRefa_tF", "moduleName": "nfclib", - "isOpen": true, "declAttributes": [ "Custom", "AccessControl" @@ -2045,7 +1652,6 @@ "usr": "s:6nfclib31OperationAuthenticateWithWebEIDC31tagReaderSessionDidBecomeActiveyySo06NFCTaghI0CF", "mangledName": "$s6nfclib31OperationAuthenticateWithWebEIDC31tagReaderSessionDidBecomeActiveyySo06NFCTaghI0CF", "moduleName": "nfclib", - "isOpen": true, "declAttributes": [ "Custom", "AccessControl" @@ -2080,7 +1686,6 @@ "usr": "s:6nfclib31OperationAuthenticateWithWebEIDC16tagReaderSession_013didInvalidateD5ErrorySo06NFCTaghI0C_s0L0_ptF", "mangledName": "$s6nfclib31OperationAuthenticateWithWebEIDC16tagReaderSession_013didInvalidateD5ErrorySo06NFCTaghI0C_s0L0_ptF", "moduleName": "nfclib", - "isOpen": true, "declAttributes": [ "Custom", "AccessControl" @@ -2124,7 +1729,6 @@ "usr": "s:6nfclib31OperationAuthenticateWithWebEIDC14mapToAlgorithm9algorithm9bitLengthSSSgSS_SitF", "mangledName": "$s6nfclib31OperationAuthenticateWithWebEIDC14mapToAlgorithm9algorithm9bitLengthSSSgSS_SitF", "moduleName": "nfclib", - "isOpen": true, "declAttributes": [ "Custom", "AccessControl" @@ -2137,7 +1741,6 @@ "usr": "c:@M@nfclib@objc(cs)OperationAuthenticateWithWebEID", "mangledName": "$s6nfclib31OperationAuthenticateWithWebEIDC", "moduleName": "nfclib", - "isOpen": true, "declAttributes": [ "AccessControl", "Custom", @@ -2231,125 +1834,6 @@ "kind": "TypeDecl", "name": "SignatureAlgorithmInfo", "printedName": "SignatureAlgorithmInfo", - "children": [ - { - "kind": "Var", - "name": "name", - "printedName": "name", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:6nfclib22SignatureAlgorithmInfoV4nameSSvp", - "mangledName": "$s6nfclib22SignatureAlgorithmInfoV4nameSSvp", - "moduleName": "nfclib", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib22SignatureAlgorithmInfoV4nameSSvg", - "mangledName": "$s6nfclib22SignatureAlgorithmInfoV4nameSSvg", - "moduleName": "nfclib", - "implicit": true, - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "bitSize", - "printedName": "bitSize", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Var", - "usr": "s:6nfclib22SignatureAlgorithmInfoV7bitSizeSivp", - "mangledName": "$s6nfclib22SignatureAlgorithmInfoV7bitSizeSivp", - "moduleName": "nfclib", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib22SignatureAlgorithmInfoV7bitSizeSivg", - "mangledName": "$s6nfclib22SignatureAlgorithmInfoV7bitSizeSivg", - "moduleName": "nfclib", - "implicit": true, - "accessorKind": "get" - } - ] - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(name:bitSize:)", - "children": [ - { - "kind": "TypeNominal", - "name": "SignatureAlgorithmInfo", - "printedName": "nfclib.SignatureAlgorithmInfo", - "usr": "s:6nfclib22SignatureAlgorithmInfoV" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Constructor", - "usr": "s:6nfclib22SignatureAlgorithmInfoV4name7bitSizeACSS_Sitcfc", - "mangledName": "$s6nfclib22SignatureAlgorithmInfoV4name7bitSizeACSS_Sitcfc", - "moduleName": "nfclib", - "implicit": true, - "init_kind": "Designated" - } - ], "declKind": "Struct", "usr": "s:6nfclib22SignatureAlgorithmInfoV", "mangledName": "$s6nfclib22SignatureAlgorithmInfoV", @@ -2443,995 +1927,481 @@ "moduleName": "nfclib" }, { - "kind": "TypeDecl", - "name": "CardReaderNFC", - "printedName": "CardReaderNFC", - "children": [ - { - "kind": "TypeDecl", - "name": "PasswordType", - "printedName": "PasswordType", - "children": [ - { - "kind": "Var", - "name": "id_PasswordType_MRZ", - "printedName": "id_PasswordType_MRZ", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.CardReaderNFC.PasswordType.Type) -> nfclib.CardReaderNFC.PasswordType", - "children": [ - { - "kind": "TypeNominal", - "name": "PasswordType", - "printedName": "nfclib.CardReaderNFC.PasswordType", - "usr": "s:6nfclib13CardReaderNFCC12PasswordTypeO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.CardReaderNFC.PasswordType.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "PasswordType", - "printedName": "nfclib.CardReaderNFC.PasswordType", - "usr": "s:6nfclib13CardReaderNFCC12PasswordTypeO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib13CardReaderNFCC12PasswordTypeO03id_eF4_MRZyA2EmF", - "mangledName": "$s6nfclib13CardReaderNFCC12PasswordTypeO03id_eF4_MRZyA2EmF", - "moduleName": "nfclib", - "fixedbinaryorder": 0 - }, - { - "kind": "Var", - "name": "id_PasswordType_CAN", - "printedName": "id_PasswordType_CAN", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.CardReaderNFC.PasswordType.Type) -> nfclib.CardReaderNFC.PasswordType", - "children": [ - { - "kind": "TypeNominal", - "name": "PasswordType", - "printedName": "nfclib.CardReaderNFC.PasswordType", - "usr": "s:6nfclib13CardReaderNFCC12PasswordTypeO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.CardReaderNFC.PasswordType.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "PasswordType", - "printedName": "nfclib.CardReaderNFC.PasswordType", - "usr": "s:6nfclib13CardReaderNFCC12PasswordTypeO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib13CardReaderNFCC12PasswordTypeO03id_eF4_CANyA2EmF", - "mangledName": "$s6nfclib13CardReaderNFCC12PasswordTypeO03id_eF4_CANyA2EmF", - "moduleName": "nfclib", - "declAttributes": [ - "RawDocComment" - ], - "fixedbinaryorder": 1 - }, - { - "kind": "Var", - "name": "data", - "printedName": "data", + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "nfclib", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "CryptoTokenKit", + "printedName": "CryptoTokenKit", + "declKind": "Import", + "moduleName": "nfclib", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "nfclib", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "CoreNFC", + "printedName": "CoreNFC", + "declKind": "Import", + "moduleName": "nfclib" + }, + { + "kind": "Import", + "name": "CommonCrypto", + "printedName": "CommonCrypto", + "declKind": "Import", + "moduleName": "nfclib" + }, + { + "kind": "Import", + "name": "CryptoTokenKit", + "printedName": "CryptoTokenKit", + "declKind": "Import", + "moduleName": "nfclib" + }, + { + "kind": "Import", + "name": "SwiftECC", + "printedName": "SwiftECC", + "declKind": "Import", + "moduleName": "nfclib", + "declAttributes": [ + "AccessControl" + ] + }, + { + "kind": "Import", + "name": "BigInt", + "printedName": "BigInt", + "declKind": "Import", + "moduleName": "nfclib" + }, + { + "kind": "Import", + "name": "Security", + "printedName": "Security", + "declKind": "Import", + "moduleName": "nfclib" + }, + { + "kind": "TypeDecl", + "name": "ReadCertificateError", + "printedName": "ReadCertificateError", + "children": [ + { + "kind": "Var", + "name": "certificateUsageNotSpecified", + "printedName": "certificateUsageNotSpecified", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(nfclib.ReadCertificateError.Type) -> nfclib.ReadCertificateError", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:6nfclib13CardReaderNFCC12PasswordTypeO4dataSSvp", - "mangledName": "$s6nfclib13CardReaderNFCC12PasswordTypeO4dataSSvp", - "moduleName": "nfclib", - "declAttributes": [ - "RawDocComment" - ], - "accessors": [ + "name": "ReadCertificateError", + "printedName": "nfclib.ReadCertificateError", + "usr": "s:6nfclib20ReadCertificateErrorO" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "nfclib.ReadCertificateError.Type", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "ReadCertificateError", + "printedName": "nfclib.ReadCertificateError", + "usr": "s:6nfclib20ReadCertificateErrorO" } - ], - "declKind": "Accessor", - "usr": "s:6nfclib13CardReaderNFCC12PasswordTypeO4dataSSvg", - "mangledName": "$s6nfclib13CardReaderNFCC12PasswordTypeO4dataSSvg", - "moduleName": "nfclib", - "accessorKind": "get" + ] } ] - }, + } + ], + "declKind": "EnumElement", + "usr": "s:6nfclib20ReadCertificateErrorO28certificateUsageNotSpecifiedyA2CmF", + "mangledName": "$s6nfclib20ReadCertificateErrorO28certificateUsageNotSpecifiedyA2CmF", + "moduleName": "nfclib" + }, + { + "kind": "Var", + "name": "failedToReadCertificate", + "printedName": "failedToReadCertificate", + "children": [ { - "kind": "Constructor", - "name": "init", - "printedName": "init(rawValue:)", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(nfclib.ReadCertificateError.Type) -> nfclib.ReadCertificateError", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "nfclib.CardReaderNFC.PasswordType?", - "children": [ - { - "kind": "TypeNominal", - "name": "PasswordType", - "printedName": "nfclib.CardReaderNFC.PasswordType", - "usr": "s:6nfclib13CardReaderNFCC12PasswordTypeO" - } - ], - "usr": "s:Sq" + "name": "ReadCertificateError", + "printedName": "nfclib.ReadCertificateError", + "usr": "s:6nfclib20ReadCertificateErrorO" }, { "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "declKind": "Constructor", - "usr": "s:6nfclib13CardReaderNFCC12PasswordTypeO8rawValueAESgs5UInt8V_tcfc", - "mangledName": "$s6nfclib13CardReaderNFCC12PasswordTypeO8rawValueAESgs5UInt8V_tcfc", - "moduleName": "nfclib", - "implicit": true, - "init_kind": "Designated" - }, - { - "kind": "Var", - "name": "rawValue", - "printedName": "rawValue", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "declKind": "Var", - "usr": "s:6nfclib13CardReaderNFCC12PasswordTypeO8rawValues5UInt8Vvp", - "mangledName": "$s6nfclib13CardReaderNFCC12PasswordTypeO8rawValues5UInt8Vvp", - "moduleName": "nfclib", - "implicit": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "name": "Metatype", + "printedName": "nfclib.ReadCertificateError.Type", "children": [ { "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" + "name": "ReadCertificateError", + "printedName": "nfclib.ReadCertificateError", + "usr": "s:6nfclib20ReadCertificateErrorO" } - ], - "declKind": "Accessor", - "usr": "s:6nfclib13CardReaderNFCC12PasswordTypeO8rawValues5UInt8Vvg", - "mangledName": "$s6nfclib13CardReaderNFCC12PasswordTypeO8rawValues5UInt8Vvg", - "moduleName": "nfclib", - "implicit": true, - "accessorKind": "get" + ] } ] } ], - "declKind": "Enum", - "usr": "s:6nfclib13CardReaderNFCC12PasswordTypeO", - "mangledName": "$s6nfclib13CardReaderNFCC12PasswordTypeO", - "moduleName": "nfclib", - "declAttributes": [ - "RawDocComment" - ], - "enumRawTypeName": "UInt8", - "isEnumExhaustive": true, - "conformances": [ - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Equatable", - "printedName": "Equatable", - "usr": "s:SQ", - "mangledName": "$sSQ" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - }, - { - "kind": "Conformance", - "name": "Hashable", - "printedName": "Hashable", - "usr": "s:SH", - "mangledName": "$sSH" - }, + "declKind": "EnumElement", + "usr": "s:6nfclib20ReadCertificateErrorO08failedTobC0yA2CmF", + "mangledName": "$s6nfclib20ReadCertificateErrorO08failedTobC0yA2CmF", + "moduleName": "nfclib" + }, + { + "kind": "Var", + "name": "general", + "printedName": "general", + "children": [ { - "kind": "Conformance", - "name": "RawRepresentable", - "printedName": "RawRepresentable", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(nfclib.ReadCertificateError.Type) -> nfclib.ReadCertificateError", "children": [ { - "kind": "TypeWitness", - "name": "RawValue", - "printedName": "RawValue", + "kind": "TypeNominal", + "name": "ReadCertificateError", + "printedName": "nfclib.ReadCertificateError", + "usr": "s:6nfclib20ReadCertificateErrorO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "nfclib.ReadCertificateError.Type", "children": [ { "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" + "name": "ReadCertificateError", + "printedName": "nfclib.ReadCertificateError", + "usr": "s:6nfclib20ReadCertificateErrorO" } ] } - ], - "usr": "s:SY", - "mangledName": "$sSY" + ] + } + ], + "declKind": "EnumElement", + "usr": "s:6nfclib20ReadCertificateErrorO7generalyA2CmF", + "mangledName": "$s6nfclib20ReadCertificateErrorO7generalyA2CmF", + "moduleName": "nfclib" + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" }, { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" + "kind": "TypeNominal", + "name": "ReadCertificateError", + "printedName": "nfclib.ReadCertificateError", + "usr": "s:6nfclib20ReadCertificateErrorO" }, { - "kind": "Conformance", - "name": "BitwiseCopyable", - "printedName": "BitwiseCopyable", - "usr": "s:s15BitwiseCopyableP", - "mangledName": "$ss15BitwiseCopyableP" + "kind": "TypeNominal", + "name": "ReadCertificateError", + "printedName": "nfclib.ReadCertificateError", + "usr": "s:6nfclib20ReadCertificateErrorO" } - ] + ], + "declKind": "Func", + "usr": "s:6nfclib20ReadCertificateErrorO2eeoiySbAC_ACtFZ", + "mangledName": "$s6nfclib20ReadCertificateErrorO2eeoiySbAC_ACtFZ", + "moduleName": "nfclib", + "static": true, + "implicit": true, + "funcSelfKind": "NonMutating" }, { - "kind": "TypeDecl", - "name": "MappingType", - "printedName": "MappingType", + "kind": "Var", + "name": "hashValue", + "printedName": "hashValue", "children": [ { - "kind": "Var", - "name": "id_PACE_ECDH_GM_AES_CBC_CMAC_256", - "printedName": "id_PACE_ECDH_GM_AES_CBC_CMAC_256", + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:6nfclib20ReadCertificateErrorO9hashValueSivp", + "mangledName": "$s6nfclib20ReadCertificateErrorO9hashValueSivp", + "moduleName": "nfclib", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.CardReaderNFC.MappingType.Type) -> nfclib.CardReaderNFC.MappingType", - "children": [ - { - "kind": "TypeNominal", - "name": "MappingType", - "printedName": "nfclib.CardReaderNFC.MappingType", - "usr": "s:6nfclib13CardReaderNFCC11MappingTypeO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.CardReaderNFC.MappingType.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "MappingType", - "printedName": "nfclib.CardReaderNFC.MappingType", - "usr": "s:6nfclib13CardReaderNFCC11MappingTypeO" - } - ] - } - ] + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], - "declKind": "EnumElement", - "usr": "s:6nfclib13CardReaderNFCC11MappingTypeO32id_PACE_ECDH_GM_AES_CBC_CMAC_256yA2EmF", - "mangledName": "$s6nfclib13CardReaderNFCC11MappingTypeO32id_PACE_ECDH_GM_AES_CBC_CMAC_256yA2EmF", + "declKind": "Accessor", + "usr": "s:6nfclib20ReadCertificateErrorO9hashValueSivg", + "mangledName": "$s6nfclib20ReadCertificateErrorO9hashValueSivg", "moduleName": "nfclib", - "fixedbinaryorder": 0 - }, + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "hash", + "printedName": "hash(into:)", + "children": [ { - "kind": "Var", - "name": "id_PACE_ECDH_IM_AES_CBC_CMAC_256", - "printedName": "id_PACE_ECDH_IM_AES_CBC_CMAC_256", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.CardReaderNFC.MappingType.Type) -> nfclib.CardReaderNFC.MappingType", - "children": [ - { - "kind": "TypeNominal", - "name": "MappingType", - "printedName": "nfclib.CardReaderNFC.MappingType", - "usr": "s:6nfclib13CardReaderNFCC11MappingTypeO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.CardReaderNFC.MappingType.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "MappingType", - "printedName": "nfclib.CardReaderNFC.MappingType", - "usr": "s:6nfclib13CardReaderNFCC11MappingTypeO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib13CardReaderNFCC11MappingTypeO32id_PACE_ECDH_IM_AES_CBC_CMAC_256yA2EmF", - "mangledName": "$s6nfclib13CardReaderNFCC11MappingTypeO32id_PACE_ECDH_IM_AES_CBC_CMAC_256yA2EmF", - "moduleName": "nfclib", - "declAttributes": [ - "RawDocComment" - ], - "fixedbinaryorder": 1 + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" }, { - "kind": "Var", - "name": "data", - "printedName": "data", + "kind": "TypeNominal", + "name": "Hasher", + "printedName": "Swift.Hasher", + "paramValueOwnership": "InOut", + "usr": "s:s6HasherV" + } + ], + "declKind": "Func", + "usr": "s:6nfclib20ReadCertificateErrorO4hash4intoys6HasherVz_tF", + "mangledName": "$s6nfclib20ReadCertificateErrorO4hash4intoys6HasherVz_tF", + "moduleName": "nfclib", + "implicit": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Enum", + "usr": "s:6nfclib20ReadCertificateErrorO", + "mangledName": "$s6nfclib20ReadCertificateErrorO", + "moduleName": "nfclib", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "Error", + "printedName": "Error", + "usr": "s:s5ErrorP", + "mangledName": "$ss5ErrorP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "CertificateUsage", + "printedName": "CertificateUsage", + "children": [ + { + "kind": "Var", + "name": "auth", + "printedName": "auth", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(nfclib.CertificateUsage.Type) -> nfclib.CertificateUsage", "children": [ { "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Var", - "usr": "s:6nfclib13CardReaderNFCC11MappingTypeO4data10Foundation4DataVvp", - "mangledName": "$s6nfclib13CardReaderNFCC11MappingTypeO4data10Foundation4DataVvp", - "moduleName": "nfclib", - "declAttributes": [ - "RawDocComment" - ], - "accessors": [ + "name": "CertificateUsage", + "printedName": "nfclib.CertificateUsage", + "usr": "s:6nfclib16CertificateUsageO" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "nfclib.CertificateUsage.Type", "children": [ { "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" + "name": "CertificateUsage", + "printedName": "nfclib.CertificateUsage", + "usr": "s:6nfclib16CertificateUsageO" } - ], - "declKind": "Accessor", - "usr": "s:6nfclib13CardReaderNFCC11MappingTypeO4data10Foundation4DataVvg", - "mangledName": "$s6nfclib13CardReaderNFCC11MappingTypeO4data10Foundation4DataVvg", - "moduleName": "nfclib", - "accessorKind": "get" + ] } ] - }, + } + ], + "declKind": "EnumElement", + "usr": "s:6nfclib16CertificateUsageO4authyA2CmF", + "mangledName": "$s6nfclib16CertificateUsageO4authyA2CmF", + "moduleName": "nfclib" + }, + { + "kind": "Var", + "name": "sign", + "printedName": "sign", + "children": [ { - "kind": "Constructor", - "name": "init", - "printedName": "init(rawValue:)", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(nfclib.CertificateUsage.Type) -> nfclib.CertificateUsage", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "nfclib.CardReaderNFC.MappingType?", - "children": [ - { - "kind": "TypeNominal", - "name": "MappingType", - "printedName": "nfclib.CardReaderNFC.MappingType", - "usr": "s:6nfclib13CardReaderNFCC11MappingTypeO" - } - ], - "usr": "s:Sq" + "name": "CertificateUsage", + "printedName": "nfclib.CertificateUsage", + "usr": "s:6nfclib16CertificateUsageO" }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Constructor", - "usr": "s:6nfclib13CardReaderNFCC11MappingTypeO8rawValueAESgSS_tcfc", - "mangledName": "$s6nfclib13CardReaderNFCC11MappingTypeO8rawValueAESgSS_tcfc", - "moduleName": "nfclib", - "implicit": true, - "init_kind": "Designated" - }, - { - "kind": "Var", - "name": "rawValue", - "printedName": "rawValue", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:6nfclib13CardReaderNFCC11MappingTypeO8rawValueSSvp", - "mangledName": "$s6nfclib13CardReaderNFCC11MappingTypeO8rawValueSSvp", - "moduleName": "nfclib", - "implicit": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "name": "Metatype", + "printedName": "nfclib.CertificateUsage.Type", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "CertificateUsage", + "printedName": "nfclib.CertificateUsage", + "usr": "s:6nfclib16CertificateUsageO" } - ], - "declKind": "Accessor", - "usr": "s:6nfclib13CardReaderNFCC11MappingTypeO8rawValueSSvg", - "mangledName": "$s6nfclib13CardReaderNFCC11MappingTypeO8rawValueSSvg", - "moduleName": "nfclib", - "implicit": true, - "accessorKind": "get" + ] } ] } ], - "declKind": "Enum", - "usr": "s:6nfclib13CardReaderNFCC11MappingTypeO", - "mangledName": "$s6nfclib13CardReaderNFCC11MappingTypeO", - "moduleName": "nfclib", - "enumRawTypeName": "String", - "isEnumExhaustive": true, - "conformances": [ - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Equatable", - "printedName": "Equatable", - "usr": "s:SQ", - "mangledName": "$sSQ" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - }, - { - "kind": "Conformance", - "name": "Hashable", - "printedName": "Hashable", - "usr": "s:SH", - "mangledName": "$sSH" - }, + "declKind": "EnumElement", + "usr": "s:6nfclib16CertificateUsageO4signyA2CmF", + "mangledName": "$s6nfclib16CertificateUsageO4signyA2CmF", + "moduleName": "nfclib" + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ { - "kind": "Conformance", - "name": "RawRepresentable", - "printedName": "RawRepresentable", - "children": [ - { - "kind": "TypeWitness", - "name": "RawValue", - "printedName": "RawValue", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ] - } - ], - "usr": "s:SY", - "mangledName": "$sSY" + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" }, { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" + "kind": "TypeNominal", + "name": "CertificateUsage", + "printedName": "nfclib.CertificateUsage", + "usr": "s:6nfclib16CertificateUsageO" }, { - "kind": "Conformance", - "name": "BitwiseCopyable", - "printedName": "BitwiseCopyable", - "usr": "s:s15BitwiseCopyableP", - "mangledName": "$ss15BitwiseCopyableP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "ParameterId", - "printedName": "ParameterId", - "children": [ - { - "kind": "Var", - "name": "EC256r1", - "printedName": "EC256r1", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.CardReaderNFC.ParameterId.Type) -> nfclib.CardReaderNFC.ParameterId", - "children": [ - { - "kind": "TypeNominal", - "name": "ParameterId", - "printedName": "nfclib.CardReaderNFC.ParameterId", - "usr": "s:6nfclib13CardReaderNFCC11ParameterIdO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.CardReaderNFC.ParameterId.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "ParameterId", - "printedName": "nfclib.CardReaderNFC.ParameterId", - "usr": "s:6nfclib13CardReaderNFCC11ParameterIdO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib13CardReaderNFCC11ParameterIdO7EC256r1yA2EmF", - "mangledName": "$s6nfclib13CardReaderNFCC11ParameterIdO7EC256r1yA2EmF", - "moduleName": "nfclib", - "fixedbinaryorder": 0 - }, - { - "kind": "Var", - "name": "BP256r1", - "printedName": "BP256r1", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.CardReaderNFC.ParameterId.Type) -> nfclib.CardReaderNFC.ParameterId", - "children": [ - { - "kind": "TypeNominal", - "name": "ParameterId", - "printedName": "nfclib.CardReaderNFC.ParameterId", - "usr": "s:6nfclib13CardReaderNFCC11ParameterIdO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.CardReaderNFC.ParameterId.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "ParameterId", - "printedName": "nfclib.CardReaderNFC.ParameterId", - "usr": "s:6nfclib13CardReaderNFCC11ParameterIdO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib13CardReaderNFCC11ParameterIdO7BP256r1yA2EmF", - "mangledName": "$s6nfclib13CardReaderNFCC11ParameterIdO7BP256r1yA2EmF", - "moduleName": "nfclib", - "fixedbinaryorder": 1 - }, - { - "kind": "Var", - "name": "EC384r1", - "printedName": "EC384r1", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.CardReaderNFC.ParameterId.Type) -> nfclib.CardReaderNFC.ParameterId", - "children": [ - { - "kind": "TypeNominal", - "name": "ParameterId", - "printedName": "nfclib.CardReaderNFC.ParameterId", - "usr": "s:6nfclib13CardReaderNFCC11ParameterIdO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.CardReaderNFC.ParameterId.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "ParameterId", - "printedName": "nfclib.CardReaderNFC.ParameterId", - "usr": "s:6nfclib13CardReaderNFCC11ParameterIdO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib13CardReaderNFCC11ParameterIdO7EC384r1yA2EmF", - "mangledName": "$s6nfclib13CardReaderNFCC11ParameterIdO7EC384r1yA2EmF", - "moduleName": "nfclib", - "fixedbinaryorder": 2 - }, - { - "kind": "Var", - "name": "BP384r1", - "printedName": "BP384r1", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.CardReaderNFC.ParameterId.Type) -> nfclib.CardReaderNFC.ParameterId", - "children": [ - { - "kind": "TypeNominal", - "name": "ParameterId", - "printedName": "nfclib.CardReaderNFC.ParameterId", - "usr": "s:6nfclib13CardReaderNFCC11ParameterIdO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.CardReaderNFC.ParameterId.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "ParameterId", - "printedName": "nfclib.CardReaderNFC.ParameterId", - "usr": "s:6nfclib13CardReaderNFCC11ParameterIdO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib13CardReaderNFCC11ParameterIdO7BP384r1yA2EmF", - "mangledName": "$s6nfclib13CardReaderNFCC11ParameterIdO7BP384r1yA2EmF", - "moduleName": "nfclib", - "fixedbinaryorder": 3 - }, - { - "kind": "Var", - "name": "BP512r1", - "printedName": "BP512r1", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.CardReaderNFC.ParameterId.Type) -> nfclib.CardReaderNFC.ParameterId", - "children": [ - { - "kind": "TypeNominal", - "name": "ParameterId", - "printedName": "nfclib.CardReaderNFC.ParameterId", - "usr": "s:6nfclib13CardReaderNFCC11ParameterIdO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.CardReaderNFC.ParameterId.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "ParameterId", - "printedName": "nfclib.CardReaderNFC.ParameterId", - "usr": "s:6nfclib13CardReaderNFCC11ParameterIdO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib13CardReaderNFCC11ParameterIdO7BP512r1yA2EmF", - "mangledName": "$s6nfclib13CardReaderNFCC11ParameterIdO7BP512r1yA2EmF", - "moduleName": "nfclib", - "fixedbinaryorder": 4 - }, - { - "kind": "Var", - "name": "EC521r1", - "printedName": "EC521r1", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.CardReaderNFC.ParameterId.Type) -> nfclib.CardReaderNFC.ParameterId", - "children": [ - { - "kind": "TypeNominal", - "name": "ParameterId", - "printedName": "nfclib.CardReaderNFC.ParameterId", - "usr": "s:6nfclib13CardReaderNFCC11ParameterIdO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.CardReaderNFC.ParameterId.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "ParameterId", - "printedName": "nfclib.CardReaderNFC.ParameterId", - "usr": "s:6nfclib13CardReaderNFCC11ParameterIdO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib13CardReaderNFCC11ParameterIdO7EC521r1yA2EmF", - "mangledName": "$s6nfclib13CardReaderNFCC11ParameterIdO7EC521r1yA2EmF", - "moduleName": "nfclib", - "fixedbinaryorder": 5 - }, - { - "kind": "Var", - "name": "domain", - "printedName": "domain", - "children": [ - { - "kind": "TypeNominal", - "name": "Domain", - "printedName": "SwiftECC.Domain", - "usr": "s:8SwiftECC6DomainC" - } - ], - "declKind": "Var", - "usr": "s:6nfclib13CardReaderNFCC11ParameterIdO6domain8SwiftECC6DomainCvp", - "mangledName": "$s6nfclib13CardReaderNFCC11ParameterIdO6domain8SwiftECC6DomainCvp", - "moduleName": "nfclib", - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Domain", - "printedName": "SwiftECC.Domain", - "usr": "s:8SwiftECC6DomainC" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib13CardReaderNFCC11ParameterIdO6domain8SwiftECC6DomainCvg", - "mangledName": "$s6nfclib13CardReaderNFCC11ParameterIdO6domain8SwiftECC6DomainCvg", - "moduleName": "nfclib", - "accessorKind": "get" - } - ] - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(rawValue:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "nfclib.CardReaderNFC.ParameterId?", - "children": [ - { - "kind": "TypeNominal", - "name": "ParameterId", - "printedName": "nfclib.CardReaderNFC.ParameterId", - "usr": "s:6nfclib13CardReaderNFCC11ParameterIdO" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "declKind": "Constructor", - "usr": "s:6nfclib13CardReaderNFCC11ParameterIdO8rawValueAESgs5UInt8V_tcfc", - "mangledName": "$s6nfclib13CardReaderNFCC11ParameterIdO8rawValueAESgs5UInt8V_tcfc", - "moduleName": "nfclib", - "implicit": true, - "init_kind": "Designated" - }, - { - "kind": "Var", - "name": "rawValue", - "printedName": "rawValue", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "declKind": "Var", - "usr": "s:6nfclib13CardReaderNFCC11ParameterIdO8rawValues5UInt8Vvp", - "mangledName": "$s6nfclib13CardReaderNFCC11ParameterIdO8rawValues5UInt8Vvp", - "moduleName": "nfclib", - "implicit": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib13CardReaderNFCC11ParameterIdO8rawValues5UInt8Vvg", - "mangledName": "$s6nfclib13CardReaderNFCC11ParameterIdO8rawValues5UInt8Vvg", - "moduleName": "nfclib", - "implicit": true, - "accessorKind": "get" - } - ] + "kind": "TypeNominal", + "name": "CertificateUsage", + "printedName": "nfclib.CertificateUsage", + "usr": "s:6nfclib16CertificateUsageO" } ], - "declKind": "Enum", - "usr": "s:6nfclib13CardReaderNFCC11ParameterIdO", - "mangledName": "$s6nfclib13CardReaderNFCC11ParameterIdO", + "declKind": "Func", + "usr": "s:6nfclib16CertificateUsageO2eeoiySbAC_ACtFZ", + "mangledName": "$s6nfclib16CertificateUsageO2eeoiySbAC_ACtFZ", "moduleName": "nfclib", - "declAttributes": [ - "RawDocComment" - ], - "enumRawTypeName": "UInt8", - "isEnumExhaustive": true, - "conformances": [ - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Equatable", - "printedName": "Equatable", - "usr": "s:SQ", - "mangledName": "$sSQ" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - }, - { - "kind": "Conformance", - "name": "Hashable", - "printedName": "Hashable", - "usr": "s:SH", - "mangledName": "$sSH" - }, - { - "kind": "Conformance", - "name": "RawRepresentable", - "printedName": "RawRepresentable", - "children": [ - { - "kind": "TypeWitness", - "name": "RawValue", - "printedName": "RawValue", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ] - } - ], - "usr": "s:SY", - "mangledName": "$sSY" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "BitwiseCopyable", - "printedName": "BitwiseCopyable", - "usr": "s:s15BitwiseCopyableP", - "mangledName": "$ss15BitwiseCopyableP" - } - ] + "static": true, + "implicit": true, + "funcSelfKind": "NonMutating" }, { "kind": "Var", - "name": "tag", - "printedName": "tag", + "name": "hashValue", + "printedName": "hashValue", "children": [ { "kind": "TypeNominal", - "name": "SendableISO7816Tag", - "printedName": "nfclib.SendableISO7816Tag", - "usr": "s:6nfclib18SendableISO7816TagV" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], "declKind": "Var", - "usr": "s:6nfclib13CardReaderNFCC3tagAA18SendableISO7816TagVvp", - "mangledName": "$s6nfclib13CardReaderNFCC3tagAA18SendableISO7816TagVvp", + "usr": "s:6nfclib16CertificateUsageO9hashValueSivp", + "mangledName": "$s6nfclib16CertificateUsageO9hashValueSivp", "moduleName": "nfclib", - "declAttributes": [ - "Final", - "HasStorage" - ], - "fixedbinaryorder": 0, - "isLet": true, - "hasStorage": true, + "implicit": true, "accessors": [ { "kind": "Accessor", @@ -3440,486 +2410,299 @@ "children": [ { "kind": "TypeNominal", - "name": "SendableISO7816Tag", - "printedName": "nfclib.SendableISO7816Tag", - "usr": "s:6nfclib18SendableISO7816TagV" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], "declKind": "Accessor", - "usr": "s:6nfclib13CardReaderNFCC3tagAA18SendableISO7816TagVvg", - "mangledName": "$s6nfclib13CardReaderNFCC3tagAA18SendableISO7816TagVvg", + "usr": "s:6nfclib16CertificateUsageO9hashValueSivg", + "mangledName": "$s6nfclib16CertificateUsageO9hashValueSivg", "moduleName": "nfclib", "implicit": true, - "declAttributes": [ - "Transparent", - "Final" - ], "accessorKind": "get" } ] }, { - "kind": "Var", - "name": "ksEnc", - "printedName": "ksEnc", + "kind": "Function", + "name": "hash", + "printedName": "hash(into:)", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.UInt8]", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "usr": "s:Sa" - } - ], - "declKind": "Var", - "usr": "s:6nfclib13CardReaderNFCC5ksEncSays5UInt8VGvp", - "mangledName": "$s6nfclib13CardReaderNFCC5ksEncSays5UInt8VGvp", - "moduleName": "nfclib", - "isOpen": true, - "declAttributes": [ - "HasInitialValue", - "HasStorage" + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Hasher", + "printedName": "Swift.Hasher", + "paramValueOwnership": "InOut", + "usr": "s:s6HasherV" + } ], - "fixedbinaryorder": 1, - "hasStorage": true, - "accessors": [ + "declKind": "Func", + "usr": "s:6nfclib16CertificateUsageO4hash4intoys6HasherVz_tF", + "mangledName": "$s6nfclib16CertificateUsageO4hash4intoys6HasherVz_tF", + "moduleName": "nfclib", + "implicit": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Enum", + "usr": "s:6nfclib16CertificateUsageO", + "mangledName": "$s6nfclib16CertificateUsageO", + "moduleName": "nfclib", + "declAttributes": [ + "AccessControl" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + } + ] + }, + { + "kind": "TypeDecl", + "name": "OperationReadCertificate", + "printedName": "OperationReadCertificate", + "children": [ + { + "kind": "Function", + "name": "startReading", + "printedName": "startReading(CAN:certUsage:)", + "children": [ { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.UInt8]", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "usr": "s:Sa" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib13CardReaderNFCC5ksEncSays5UInt8VGvg", - "mangledName": "$s6nfclib13CardReaderNFCC5ksEncSays5UInt8VGvg", - "moduleName": "nfclib", - "implicit": true, - "isOpen": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + "kind": "TypeNominal", + "name": "SecCertificate", + "printedName": "Security.SecCertificate", + "usr": "c:@T@SecCertificateRef" }, { - "kind": "Accessor", - "name": "Set", - "printedName": "Set()", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.UInt8]", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "usr": "s:Sa" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib13CardReaderNFCC5ksEncSays5UInt8VGvs", - "mangledName": "$s6nfclib13CardReaderNFCC5ksEncSays5UInt8VGvs", - "moduleName": "nfclib", - "implicit": true, - "isOpen": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "set" + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" }, { - "kind": "Accessor", - "name": "Modify", - "printedName": "Modify()", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib13CardReaderNFCC5ksEncSays5UInt8VGvM", - "mangledName": "$s6nfclib13CardReaderNFCC5ksEncSays5UInt8VGvM", - "moduleName": "nfclib", - "implicit": true, - "isOpen": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "_modify" + "kind": "TypeNominal", + "name": "CertificateUsage", + "printedName": "nfclib.CertificateUsage", + "usr": "s:6nfclib16CertificateUsageO" } - ] + ], + "declKind": "Func", + "usr": "s:6nfclib24OperationReadCertificateC12startReading3CAN9certUsageSo03SecD3RefaSS_AA0dI0OtYaKF", + "mangledName": "$s6nfclib24OperationReadCertificateC12startReading3CAN9certUsageSo03SecD3RefaSS_AA0dI0OtYaKF", + "moduleName": "nfclib", + "declAttributes": [ + "Custom", + "AccessControl" + ], + "throwing": true, + "funcSelfKind": "NonMutating" }, { - "kind": "Var", - "name": "ksMac", - "printedName": "ksMac", + "kind": "Constructor", + "name": "init", + "printedName": "init()", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.UInt8]", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "usr": "s:Sa" + "name": "OperationReadCertificate", + "printedName": "nfclib.OperationReadCertificate", + "usr": "c:@M@nfclib@objc(cs)OperationReadCertificate" } ], - "declKind": "Var", - "usr": "s:6nfclib13CardReaderNFCC5ksMacSays5UInt8VGvp", - "mangledName": "$s6nfclib13CardReaderNFCC5ksMacSays5UInt8VGvp", + "declKind": "Constructor", + "usr": "c:@M@nfclib@objc(cs)OperationReadCertificate(im)init", + "mangledName": "$s6nfclib24OperationReadCertificateCACycfc", "moduleName": "nfclib", - "isOpen": true, + "overriding": true, + "implicit": true, + "objc_name": "init", "declAttributes": [ - "HasInitialValue", - "HasStorage" + "Dynamic", + "ObjC", + "Custom", + "Override" ], - "fixedbinaryorder": 2, - "hasStorage": true, - "accessors": [ + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "tagReaderSession", + "printedName": "tagReaderSession(_:didDetect:)", + "children": [ { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.UInt8]", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "usr": "s:Sa" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib13CardReaderNFCC5ksMacSays5UInt8VGvg", - "mangledName": "$s6nfclib13CardReaderNFCC5ksMacSays5UInt8VGvg", - "moduleName": "nfclib", - "implicit": true, - "isOpen": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" }, { - "kind": "Accessor", - "name": "Set", - "printedName": "Set()", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.UInt8]", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "usr": "s:Sa" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib13CardReaderNFCC5ksMacSays5UInt8VGvs", - "mangledName": "$s6nfclib13CardReaderNFCC5ksMacSays5UInt8VGvs", - "moduleName": "nfclib", - "implicit": true, - "isOpen": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "set" + "kind": "TypeNominal", + "name": "NFCTagReaderSession", + "printedName": "CoreNFC.NFCTagReaderSession", + "usr": "c:objc(cs)NFCTagReaderSession" }, { - "kind": "Accessor", - "name": "Modify", - "printedName": "Modify()", + "kind": "TypeNominal", + "name": "Array", + "printedName": "[CoreNFC.NFCTag]", "children": [ { "kind": "TypeNominal", - "name": "Void", - "printedName": "()" + "name": "NFCTag", + "printedName": "CoreNFC.NFCTag", + "usr": "s:7CoreNFC6NFCTagO" } ], - "declKind": "Accessor", - "usr": "s:6nfclib13CardReaderNFCC5ksMacSays5UInt8VGvM", - "mangledName": "$s6nfclib13CardReaderNFCC5ksMacSays5UInt8VGvM", - "moduleName": "nfclib", - "implicit": true, - "isOpen": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "_modify" - } - ] - }, - { - "kind": "Var", - "name": "SSC", - "printedName": "SSC", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.UInt8]", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "usr": "s:Sa" + "usr": "s:Sa" } ], - "declKind": "Var", - "usr": "s:6nfclib13CardReaderNFCC3SSCSays5UInt8VGvp", - "mangledName": "$s6nfclib13CardReaderNFCC3SSCSays5UInt8VGvp", + "declKind": "Func", + "usr": "s:6nfclib24OperationReadCertificateC16tagReaderSession_9didDetectySo06NFCTagfG0C_Say7CoreNFC0J0OGtF", + "mangledName": "$s6nfclib24OperationReadCertificateC16tagReaderSession_9didDetectySo06NFCTagfG0C_Say7CoreNFC0J0OGtF", "moduleName": "nfclib", - "isOpen": true, "declAttributes": [ - "HasInitialValue", - "HasStorage" + "Custom", + "AccessControl" ], - "fixedbinaryorder": 3, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.UInt8]", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "usr": "s:Sa" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib13CardReaderNFCC3SSCSays5UInt8VGvg", - "mangledName": "$s6nfclib13CardReaderNFCC3SSCSays5UInt8VGvg", - "moduleName": "nfclib", - "implicit": true, - "isOpen": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - }, - { - "kind": "Accessor", - "name": "Set", - "printedName": "Set()", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.UInt8]", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "usr": "s:Sa" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib13CardReaderNFCC3SSCSays5UInt8VGvs", - "mangledName": "$s6nfclib13CardReaderNFCC3SSCSays5UInt8VGvs", - "moduleName": "nfclib", - "implicit": true, - "isOpen": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "set" - }, - { - "kind": "Accessor", - "name": "Modify", - "printedName": "Modify()", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib13CardReaderNFCC3SSCSays5UInt8VGvM", - "mangledName": "$s6nfclib13CardReaderNFCC3SSCSays5UInt8VGvM", - "moduleName": "nfclib", - "implicit": true, - "isOpen": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "_modify" - } - ] + "isFromExtension": true, + "funcSelfKind": "NonMutating" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(_:CAN:)", + "kind": "Function", + "name": "tagReaderSessionDidBecomeActive", + "printedName": "tagReaderSessionDidBecomeActive(_:)", "children": [ { "kind": "TypeNominal", - "name": "CardReaderNFC", - "printedName": "nfclib.CardReaderNFC", - "usr": "s:6nfclib13CardReaderNFCC" - }, - { - "kind": "TypeNominal", - "name": "NFCISO7816Tag", - "printedName": "any CoreNFC.NFCISO7816Tag", - "usr": "c:objc(pl)NFCISO7816Tag" + "name": "Void", + "printedName": "()" }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "NFCTagReaderSession", + "printedName": "CoreNFC.NFCTagReaderSession", + "usr": "c:objc(cs)NFCTagReaderSession" } ], - "declKind": "Constructor", - "usr": "s:6nfclib13CardReaderNFCC_3CANACSo13NFCISO7816Tag_p_SStYaKcfc", - "mangledName": "$s6nfclib13CardReaderNFCC_3CANACSo13NFCISO7816Tag_p_SStYaKcfc", + "declKind": "Func", + "usr": "s:6nfclib24OperationReadCertificateC31tagReaderSessionDidBecomeActiveyySo06NFCTagfG0CF", + "mangledName": "$s6nfclib24OperationReadCertificateC31tagReaderSessionDidBecomeActiveyySo06NFCTagfG0CF", "moduleName": "nfclib", - "throwing": true, - "init_kind": "Designated" + "declAttributes": [ + "Custom", + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" }, { "kind": "Function", - "name": "transmit", - "printedName": "transmit(_:)", + "name": "tagReaderSession", + "printedName": "tagReaderSession(_:didInvalidateWithError:)", "children": [ { "kind": "TypeNominal", - "name": "Tuple", - "printedName": "(responseData: [Swift.UInt8], sw: Swift.UInt16)", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.UInt8]", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "usr": "s:Sa" - }, - { - "kind": "TypeNominal", - "name": "UInt16", - "printedName": "Swift.UInt16", - "usr": "s:s6UInt16V" - } - ] + "name": "Void", + "printedName": "()" }, { "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.UInt8]", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "usr": "s:Sa" + "name": "NFCTagReaderSession", + "printedName": "CoreNFC.NFCTagReaderSession", + "usr": "c:objc(cs)NFCTagReaderSession" + }, + { + "kind": "TypeNominal", + "name": "Error", + "printedName": "any Swift.Error", + "usr": "s:s5ErrorP" } ], "declKind": "Func", - "usr": "s:6nfclib13CardReaderNFCC8transmitySays5UInt8VG12responseData_s6UInt16V2swtAGYaKF", - "mangledName": "$s6nfclib13CardReaderNFCC8transmitySays5UInt8VG12responseData_s6UInt16V2swtAGYaKF", + "usr": "s:6nfclib24OperationReadCertificateC16tagReaderSession_22didInvalidateWithErrorySo06NFCTagfG0C_s0K0_ptF", + "mangledName": "$s6nfclib24OperationReadCertificateC16tagReaderSession_22didInvalidateWithErrorySo06NFCTagfG0C_s0K0_ptF", "moduleName": "nfclib", - "isOpen": true, - "throwing": true, + "declAttributes": [ + "Custom", + "AccessControl" + ], + "isFromExtension": true, "funcSelfKind": "NonMutating" } ], "declKind": "Class", - "usr": "s:6nfclib13CardReaderNFCC", - "mangledName": "$s6nfclib13CardReaderNFCC", + "usr": "c:@M@nfclib@objc(cs)OperationReadCertificate", + "mangledName": "$s6nfclib24OperationReadCertificateC", "moduleName": "nfclib", - "isOpen": true, + "declAttributes": [ + "AccessControl", + "Custom", + "ObjC" + ], + "superclassUsr": "c:objc(cs)NSObject", + "inheritsConvenienceInitializers": true, + "superclassNames": [ + "ObjectiveC.NSObject" + ], "conformances": [ + { + "kind": "Conformance", + "name": "NFCTagReaderSessionDelegate", + "printedName": "NFCTagReaderSessionDelegate", + "usr": "s:7CoreNFC27NFCTagReaderSessionDelegateP", + "mangledName": "$s7CoreNFC27NFCTagReaderSessionDelegateP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObserving", + "printedName": "_KeyValueCodingAndObserving", + "usr": "s:10Foundation27_KeyValueCodingAndObservingP", + "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObservingPublishing", + "printedName": "_KeyValueCodingAndObservingPublishing", + "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP", + "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + }, { "kind": "Conformance", "name": "Copyable", @@ -3927,6 +2710,27 @@ "usr": "s:s8CopyableP", "mangledName": "$ss8CopyableP" }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, { "kind": "Conformance", "name": "Escapable", @@ -3936,10 +2740,10 @@ }, { "kind": "Conformance", - "name": "CardReader", - "printedName": "CardReader", - "usr": "s:6nfclib10CardReaderP", - "mangledName": "$s6nfclib10CardReaderP" + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" }, { "kind": "Conformance", @@ -3947,20 +2751,13 @@ "printedName": "Sendable", "usr": "s:s8SendableP", "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" } ] }, { "kind": "Import", - "name": "Foundation", - "printedName": "Foundation", + "name": "CommonCrypto", + "printedName": "CommonCrypto", "declKind": "Import", "moduleName": "nfclib", "declAttributes": [ @@ -3968,411 +2765,468 @@ ] }, { - "kind": "TypeDecl", - "name": "Idemia", - "printedName": "Idemia", - "children": [ - { - "kind": "Var", - "name": "canChangePUK", - "printedName": "canChangePUK", - "children": [ - { - "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" - } - ], - "declKind": "Var", - "usr": "s:6nfclib6IdemiaC12canChangePUKSbvp", - "mangledName": "$s6nfclib6IdemiaC12canChangePUKSbvp", - "moduleName": "nfclib", - "declAttributes": [ - "HasInitialValue", - "Final", - "HasStorage" - ], - "fixedbinaryorder": 0, - "isLet": true, - "hasStorage": true, - "accessors": [ + "kind": "Import", + "name": "CryptoTokenKit", + "printedName": "CryptoTokenKit", + "declKind": "Import", + "moduleName": "nfclib" + }, + { + "kind": "Import", + "name": "SwiftECC", + "printedName": "SwiftECC", + "declKind": "Import", + "moduleName": "nfclib", + "declAttributes": [ + "AccessControl" + ] + }, + { + "kind": "Import", + "name": "CryptoTokenKit", + "printedName": "CryptoTokenKit", + "declKind": "Import", + "moduleName": "nfclib", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "OSLog", + "printedName": "OSLog", + "declKind": "Import", + "moduleName": "nfclib", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "CoreNFC", + "printedName": "CoreNFC", + "declKind": "Import", + "moduleName": "nfclib", + "declAttributes": [ + "Preconcurrency" + ] + }, + { + "kind": "Import", + "name": "CryptoTokenKit", + "printedName": "CryptoTokenKit", + "declKind": "Import", + "moduleName": "nfclib" + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "nfclib", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "CoreNFC", + "printedName": "CoreNFC", + "declKind": "Import", + "moduleName": "nfclib" + }, + { + "kind": "Import", + "name": "CommonCrypto", + "printedName": "CommonCrypto", + "declKind": "Import", + "moduleName": "nfclib" + }, + { + "kind": "Import", + "name": "CryptoTokenKit", + "printedName": "CryptoTokenKit", + "declKind": "Import", + "moduleName": "nfclib" + }, + { + "kind": "Import", + "name": "SwiftECC", + "printedName": "SwiftECC", + "declKind": "Import", + "moduleName": "nfclib", + "declAttributes": [ + "AccessControl" + ] + }, + { + "kind": "Import", + "name": "BigInt", + "printedName": "BigInt", + "declKind": "Import", + "moduleName": "nfclib" + }, + { + "kind": "Import", + "name": "Security", + "printedName": "Security", + "declKind": "Import", + "moduleName": "nfclib" + }, + { + "kind": "TypeDecl", + "name": "UnblockPINError", + "printedName": "UnblockPINError", + "children": [ + { + "kind": "Var", + "name": "missingRequiredParameter", + "printedName": "missingRequiredParameter", + "children": [ { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(nfclib.UnblockPINError.Type) -> nfclib.UnblockPINError", "children": [ { "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" + "name": "UnblockPINError", + "printedName": "nfclib.UnblockPINError", + "usr": "s:6nfclib15UnblockPINErrorO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "nfclib.UnblockPINError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "UnblockPINError", + "printedName": "nfclib.UnblockPINError", + "usr": "s:6nfclib15UnblockPINErrorO" + } + ] } - ], - "declKind": "Accessor", - "usr": "s:6nfclib6IdemiaC12canChangePUKSbvg", - "mangledName": "$s6nfclib6IdemiaC12canChangePUKSbvg", - "moduleName": "nfclib", - "implicit": true, - "declAttributes": [ - "Transparent", - "Final" - ], - "accessorKind": "get" + ] } - ] + ], + "declKind": "EnumElement", + "usr": "s:6nfclib15UnblockPINErrorO24missingRequiredParameteryA2CmF", + "mangledName": "$s6nfclib15UnblockPINErrorO24missingRequiredParameteryA2CmF", + "moduleName": "nfclib" }, { "kind": "Var", - "name": "reader", - "printedName": "reader", + "name": "failed", + "printedName": "failed", "children": [ { - "kind": "TypeNominal", - "name": "CardReader", - "printedName": "any nfclib.CardReader", - "usr": "s:6nfclib10CardReaderP" - } - ], - "declKind": "Var", - "usr": "s:6nfclib6IdemiaC6readerAA10CardReader_pvp", - "mangledName": "$s6nfclib6IdemiaC6readerAA10CardReader_pvp", - "moduleName": "nfclib", - "declAttributes": [ - "Final", - "HasStorage" - ], - "fixedbinaryorder": 1, - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(nfclib.UnblockPINError.Type) -> nfclib.UnblockPINError", "children": [ { "kind": "TypeNominal", - "name": "CardReader", - "printedName": "any nfclib.CardReader", - "usr": "s:6nfclib10CardReaderP" + "name": "UnblockPINError", + "printedName": "nfclib.UnblockPINError", + "usr": "s:6nfclib15UnblockPINErrorO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "nfclib.UnblockPINError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "UnblockPINError", + "printedName": "nfclib.UnblockPINError", + "usr": "s:6nfclib15UnblockPINErrorO" + } + ] } - ], - "declKind": "Accessor", - "usr": "s:6nfclib6IdemiaC6readerAA10CardReader_pvg", - "mangledName": "$s6nfclib6IdemiaC6readerAA10CardReader_pvg", - "moduleName": "nfclib", - "implicit": true, - "declAttributes": [ - "Transparent", - "Final" - ], - "accessorKind": "get" + ] } - ] + ], + "declKind": "EnumElement", + "usr": "s:6nfclib15UnblockPINErrorO6failedyA2CmF", + "mangledName": "$s6nfclib15UnblockPINErrorO6failedyA2CmF", + "moduleName": "nfclib" }, { "kind": "Var", - "name": "fillChar", - "printedName": "fillChar", + "name": "general", + "printedName": "general", "children": [ { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "declKind": "Var", - "usr": "s:6nfclib6IdemiaC8fillChars5UInt8Vvp", - "mangledName": "$s6nfclib6IdemiaC8fillChars5UInt8Vvp", - "moduleName": "nfclib", - "declAttributes": [ - "HasInitialValue", - "Final", - "HasStorage" - ], - "fixedbinaryorder": 2, - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(nfclib.UnblockPINError.Type) -> nfclib.UnblockPINError", "children": [ { "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib6IdemiaC8fillChars5UInt8Vvg", - "mangledName": "$s6nfclib6IdemiaC8fillChars5UInt8Vvg", - "moduleName": "nfclib", - "implicit": true, - "declAttributes": [ - "Transparent", - "Final" - ], - "accessorKind": "get" - } - ] - }, + "name": "UnblockPINError", + "printedName": "nfclib.UnblockPINError", + "usr": "s:6nfclib15UnblockPINErrorO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "nfclib.UnblockPINError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "UnblockPINError", + "printedName": "nfclib.UnblockPINError", + "usr": "s:6nfclib15UnblockPINErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:6nfclib15UnblockPINErrorO7generalyA2CmF", + "mangledName": "$s6nfclib15UnblockPINErrorO7generalyA2CmF", + "moduleName": "nfclib" + }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(reader:atr:)", + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "nfclib.Idemia?", - "children": [ - { - "kind": "TypeNominal", - "name": "Idemia", - "printedName": "nfclib.Idemia", - "usr": "s:6nfclib6IdemiaC" - } - ], - "usr": "s:Sq" + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" }, { "kind": "TypeNominal", - "name": "CardReader", - "printedName": "any nfclib.CardReader", - "usr": "s:6nfclib10CardReaderP" + "name": "UnblockPINError", + "printedName": "nfclib.UnblockPINError", + "usr": "s:6nfclib15UnblockPINErrorO" }, { "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.UInt8]", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "usr": "s:Sa" + "name": "UnblockPINError", + "printedName": "nfclib.UnblockPINError", + "usr": "s:6nfclib15UnblockPINErrorO" } ], - "declKind": "Constructor", - "usr": "s:6nfclib6IdemiaC6reader3atrACSgAA10CardReader_p_Says5UInt8VGtcfc", - "mangledName": "$s6nfclib6IdemiaC6reader3atrACSgAA10CardReader_p_Says5UInt8VGtcfc", + "declKind": "Func", + "usr": "s:6nfclib15UnblockPINErrorO2eeoiySbAC_ACtFZ", + "mangledName": "$s6nfclib15UnblockPINErrorO2eeoiySbAC_ACtFZ", "moduleName": "nfclib", - "declAttributes": [ - "Required" - ], - "init_kind": "Designated" + "static": true, + "implicit": true, + "funcSelfKind": "NonMutating" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(reader:aid:)", + "kind": "Var", + "name": "hashValue", + "printedName": "hashValue", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "nfclib.Idemia?", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:6nfclib15UnblockPINErrorO9hashValueSivp", + "mangledName": "$s6nfclib15UnblockPINErrorO9hashValueSivp", + "moduleName": "nfclib", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "Idemia", - "printedName": "nfclib.Idemia", - "usr": "s:6nfclib6IdemiaC" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], - "usr": "s:Sq" - }, + "declKind": "Accessor", + "usr": "s:6nfclib15UnblockPINErrorO9hashValueSivg", + "mangledName": "$s6nfclib15UnblockPINErrorO9hashValueSivg", + "moduleName": "nfclib", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "hash", + "printedName": "hash(into:)", + "children": [ { "kind": "TypeNominal", - "name": "CardReader", - "printedName": "any nfclib.CardReader", - "usr": "s:6nfclib10CardReaderP" + "name": "Void", + "printedName": "()" }, { "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.UInt8]", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "usr": "s:Sa" + "name": "Hasher", + "printedName": "Swift.Hasher", + "paramValueOwnership": "InOut", + "usr": "s:s6HasherV" } ], - "declKind": "Constructor", - "usr": "s:6nfclib6IdemiaC6reader3aidACSgAA10CardReader_p_Says5UInt8VGtcfc", - "mangledName": "$s6nfclib6IdemiaC6reader3aidACSgAA10CardReader_p_Says5UInt8VGtcfc", + "declKind": "Func", + "usr": "s:6nfclib15UnblockPINErrorO4hash4intoys6HasherVz_tF", + "mangledName": "$s6nfclib15UnblockPINErrorO4hash4intoys6HasherVz_tF", "moduleName": "nfclib", - "declAttributes": [ - "Required" - ], - "init_kind": "Designated" + "implicit": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Enum", + "usr": "s:6nfclib15UnblockPINErrorO", + "mangledName": "$s6nfclib15UnblockPINErrorO", + "moduleName": "nfclib", + "declAttributes": [ + "AccessControl" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(reader:selectAID:)", + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "Error", + "printedName": "Error", + "usr": "s:s5ErrorP", + "mangledName": "$ss5ErrorP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "OperationUnblockPin", + "printedName": "OperationUnblockPin", + "children": [ + { + "kind": "Function", + "name": "startReading", + "printedName": "startReading(CAN:codeType:puk:newPin:)", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "nfclib.Idemia?", - "children": [ - { - "kind": "TypeNominal", - "name": "Idemia", - "printedName": "nfclib.Idemia", - "usr": "s:6nfclib6IdemiaC" - } - ], - "usr": "s:Sq" + "name": "Void", + "printedName": "()" }, { "kind": "TypeNominal", - "name": "CardReader", - "printedName": "any nfclib.CardReader", - "usr": "s:6nfclib10CardReaderP" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" }, { "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" - } - ], - "declKind": "Constructor", - "usr": "s:6nfclib6IdemiaC6reader9selectAIDACSgAA10CardReader_p_SbtYacfc", - "mangledName": "$s6nfclib6IdemiaC6reader9selectAIDACSgAA10CardReader_p_SbtYacfc", - "moduleName": "nfclib", - "declAttributes": [ - "Required" - ], - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "readPublicData", - "printedName": "readPublicData()", - "children": [ + "name": "CodeType", + "printedName": "nfclib.CodeType", + "usr": "s:6nfclib8CodeTypeO" + }, { "kind": "TypeNominal", - "name": "CardInfo", - "printedName": "nfclib.CardInfo", - "usr": "s:6nfclib8CardInfoV" + "name": "SecureData", + "printedName": "nfclib.SecureData", + "usr": "s:6nfclib10SecureDataC" + }, + { + "kind": "TypeNominal", + "name": "SecureData", + "printedName": "nfclib.SecureData", + "usr": "s:6nfclib10SecureDataC" } ], "declKind": "Func", - "usr": "s:6nfclib6IdemiaC14readPublicDataAA8CardInfoVyYaKF", - "mangledName": "$s6nfclib6IdemiaC14readPublicDataAA8CardInfoVyYaKF", + "usr": "s:6nfclib19OperationUnblockPinC12startReading3CAN8codeType3puk03newD0ySS_AA04CodeI0OAA10SecureDataCALtYaKF", + "mangledName": "$s6nfclib19OperationUnblockPinC12startReading3CAN8codeType3puk03newD0ySS_AA04CodeI0OAA10SecureDataCALtYaKF", "moduleName": "nfclib", "declAttributes": [ - "Final", - "RawDocComment" + "Custom", + "AccessControl" ], "throwing": true, "funcSelfKind": "NonMutating" }, { - "kind": "Function", - "name": "readAuthenticationCertificate", - "printedName": "readAuthenticationCertificate()", - "children": [ - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Func", - "usr": "s:6nfclib6IdemiaC29readAuthenticationCertificate10Foundation4DataVyYaKF", - "mangledName": "$s6nfclib6IdemiaC29readAuthenticationCertificate10Foundation4DataVyYaKF", - "moduleName": "nfclib", - "declAttributes": [ - "Final" - ], - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "readSignatureCertificate", - "printedName": "readSignatureCertificate()", - "children": [ - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Func", - "usr": "s:6nfclib6IdemiaC24readSignatureCertificate10Foundation4DataVyYaKF", - "mangledName": "$s6nfclib6IdemiaC24readSignatureCertificate10Foundation4DataVyYaKF", - "moduleName": "nfclib", - "declAttributes": [ - "Final" - ], - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "readCodeTryCounterRecord", - "printedName": "readCodeTryCounterRecord(_:)", + "kind": "Constructor", + "name": "init", + "printedName": "init()", "children": [ { "kind": "TypeNominal", - "name": "Tuple", - "printedName": "(retryCount: Swift.UInt8, pinActive: Swift.Bool)", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - }, - { - "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" - } - ] - }, - { - "kind": "TypeNominal", - "name": "CodeType", - "printedName": "nfclib.CodeType", - "usr": "s:6nfclib8CodeTypeO" + "name": "OperationUnblockPin", + "printedName": "nfclib.OperationUnblockPin", + "usr": "c:@M@nfclib@objc(cs)OperationUnblockPin" } ], - "declKind": "Func", - "usr": "s:6nfclib6IdemiaC24readCodeTryCounterRecordys5UInt8V10retryCount_Sb9pinActivetAA0D4TypeOYaKF", - "mangledName": "$s6nfclib6IdemiaC24readCodeTryCounterRecordys5UInt8V10retryCount_Sb9pinActivetAA0D4TypeOYaKF", + "declKind": "Constructor", + "usr": "c:@M@nfclib@objc(cs)OperationUnblockPin(im)init", + "mangledName": "$s6nfclib19OperationUnblockPinCACycfc", "moduleName": "nfclib", + "overriding": true, + "implicit": true, + "objc_name": "init", "declAttributes": [ - "Final", - "RawDocComment" + "Dynamic", + "ObjC", + "Custom", + "Override" ], - "throwing": true, - "funcSelfKind": "NonMutating" + "init_kind": "Designated" }, { "kind": "Function", - "name": "changeCode", - "printedName": "changeCode(_:to:verifyCode:)", + "name": "tagReaderSession", + "printedName": "tagReaderSession(_:didDetect:)", "children": [ { "kind": "TypeNominal", @@ -4381,37 +3235,40 @@ }, { "kind": "TypeNominal", - "name": "CodeType", - "printedName": "nfclib.CodeType", - "usr": "s:6nfclib8CodeTypeO" - }, - { - "kind": "TypeNominal", - "name": "SecureData", - "printedName": "nfclib.SecureData", - "usr": "s:6nfclib10SecureDataC" + "name": "NFCTagReaderSession", + "printedName": "CoreNFC.NFCTagReaderSession", + "usr": "c:objc(cs)NFCTagReaderSession" }, { "kind": "TypeNominal", - "name": "SecureData", - "printedName": "nfclib.SecureData", - "usr": "s:6nfclib10SecureDataC" + "name": "Array", + "printedName": "[CoreNFC.NFCTag]", + "children": [ + { + "kind": "TypeNominal", + "name": "NFCTag", + "printedName": "CoreNFC.NFCTag", + "usr": "s:7CoreNFC6NFCTagO" + } + ], + "usr": "s:Sa" } ], "declKind": "Func", - "usr": "s:6nfclib6IdemiaC10changeCode_2to06verifyD0yAA0D4TypeO_AA10SecureDataCAJtYaKF", - "mangledName": "$s6nfclib6IdemiaC10changeCode_2to06verifyD0yAA0D4TypeO_AA10SecureDataCAJtYaKF", + "usr": "s:6nfclib19OperationUnblockPinC16tagReaderSession_9didDetectySo06NFCTagfG0C_Say7CoreNFC0J0OGtF", + "mangledName": "$s6nfclib19OperationUnblockPinC16tagReaderSession_9didDetectySo06NFCTagfG0C_Say7CoreNFC0J0OGtF", "moduleName": "nfclib", "declAttributes": [ - "Final" + "Custom", + "AccessControl" ], - "throwing": true, + "isFromExtension": true, "funcSelfKind": "NonMutating" }, { "kind": "Function", - "name": "verifyCode", - "printedName": "verifyCode(_:code:)", + "name": "tagReaderSessionDidBecomeActive", + "printedName": "tagReaderSessionDidBecomeActive(_:)", "children": [ { "kind": "TypeNominal", @@ -4420,31 +3277,26 @@ }, { "kind": "TypeNominal", - "name": "CodeType", - "printedName": "nfclib.CodeType", - "usr": "s:6nfclib8CodeTypeO" - }, - { - "kind": "TypeNominal", - "name": "SecureData", - "printedName": "nfclib.SecureData", - "usr": "s:6nfclib10SecureDataC" + "name": "NFCTagReaderSession", + "printedName": "CoreNFC.NFCTagReaderSession", + "usr": "c:objc(cs)NFCTagReaderSession" } ], "declKind": "Func", - "usr": "s:6nfclib6IdemiaC10verifyCode_4codeyAA0D4TypeO_AA10SecureDataCtYaKF", - "mangledName": "$s6nfclib6IdemiaC10verifyCode_4codeyAA0D4TypeO_AA10SecureDataCtYaKF", + "usr": "s:6nfclib19OperationUnblockPinC31tagReaderSessionDidBecomeActiveyySo06NFCTagfG0CF", + "mangledName": "$s6nfclib19OperationUnblockPinC31tagReaderSessionDidBecomeActiveyySo06NFCTagfG0CF", "moduleName": "nfclib", "declAttributes": [ - "Final" + "Custom", + "AccessControl" ], - "throwing": true, + "isFromExtension": true, "funcSelfKind": "NonMutating" }, { "kind": "Function", - "name": "unblockCode", - "printedName": "unblockCode(_:puk:newCode:)", + "name": "tagReaderSession", + "printedName": "tagReaderSession(_:didInvalidateWithError:)", "children": [ { "kind": "TypeNominal", @@ -4453,145 +3305,72 @@ }, { "kind": "TypeNominal", - "name": "CodeType", - "printedName": "nfclib.CodeType", - "usr": "s:6nfclib8CodeTypeO" - }, - { - "kind": "TypeNominal", - "name": "SecureData", - "printedName": "nfclib.SecureData", - "usr": "s:6nfclib10SecureDataC" + "name": "NFCTagReaderSession", + "printedName": "CoreNFC.NFCTagReaderSession", + "usr": "c:objc(cs)NFCTagReaderSession" }, { "kind": "TypeNominal", - "name": "SecureData", - "printedName": "nfclib.SecureData", - "usr": "s:6nfclib10SecureDataC" + "name": "Error", + "printedName": "any Swift.Error", + "usr": "s:s5ErrorP" } ], "declKind": "Func", - "usr": "s:6nfclib6IdemiaC11unblockCode_3puk03newD0yAA0D4TypeO_AA10SecureDataCAJtYaKF", - "mangledName": "$s6nfclib6IdemiaC11unblockCode_3puk03newD0yAA0D4TypeO_AA10SecureDataCAJtYaKF", + "usr": "s:6nfclib19OperationUnblockPinC16tagReaderSession_22didInvalidateWithErrorySo06NFCTagfG0C_s0K0_ptF", + "mangledName": "$s6nfclib19OperationUnblockPinC16tagReaderSession_22didInvalidateWithErrorySo06NFCTagfG0C_s0K0_ptF", "moduleName": "nfclib", "declAttributes": [ - "Final" + "Custom", + "AccessControl" ], - "throwing": true, + "isFromExtension": true, "funcSelfKind": "NonMutating" - }, + } + ], + "declKind": "Class", + "usr": "c:@M@nfclib@objc(cs)OperationUnblockPin", + "mangledName": "$s6nfclib19OperationUnblockPinC", + "moduleName": "nfclib", + "declAttributes": [ + "AccessControl", + "Custom", + "ObjC" + ], + "superclassUsr": "c:objc(cs)NSObject", + "inheritsConvenienceInitializers": true, + "superclassNames": [ + "ObjectiveC.NSObject" + ], + "conformances": [ { - "kind": "Function", - "name": "authenticate", - "printedName": "authenticate(for:withPin1:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - }, - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - }, - { - "kind": "TypeNominal", - "name": "SecureData", - "printedName": "nfclib.SecureData", - "usr": "s:6nfclib10SecureDataC" - } - ], - "declKind": "Func", - "usr": "s:6nfclib6IdemiaC12authenticate3for8withPin110Foundation4DataVAI_AA06SecureH0CtYaKF", - "mangledName": "$s6nfclib6IdemiaC12authenticate3for8withPin110Foundation4DataVAI_AA06SecureH0CtYaKF", - "moduleName": "nfclib", - "declAttributes": [ - "Final", - "RawDocComment" - ], - "throwing": true, - "funcSelfKind": "NonMutating" + "kind": "Conformance", + "name": "NFCTagReaderSessionDelegate", + "printedName": "NFCTagReaderSessionDelegate", + "usr": "s:7CoreNFC27NFCTagReaderSessionDelegateP", + "mangledName": "$s7CoreNFC27NFCTagReaderSessionDelegateP" }, { - "kind": "Function", - "name": "calculateSignature", - "printedName": "calculateSignature(for:withPin2:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - }, - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - }, - { - "kind": "TypeNominal", - "name": "SecureData", - "printedName": "nfclib.SecureData", - "usr": "s:6nfclib10SecureDataC" - } - ], - "declKind": "Func", - "usr": "s:6nfclib6IdemiaC18calculateSignature3for8withPin210Foundation4DataVAI_AA06SecureI0CtYaKF", - "mangledName": "$s6nfclib6IdemiaC18calculateSignature3for8withPin210Foundation4DataVAI_AA06SecureI0CtYaKF", - "moduleName": "nfclib", - "declAttributes": [ - "Final" - ], - "throwing": true, - "funcSelfKind": "NonMutating" + "kind": "Conformance", + "name": "_KeyValueCodingAndObserving", + "printedName": "_KeyValueCodingAndObserving", + "usr": "s:10Foundation27_KeyValueCodingAndObservingP", + "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP" }, { - "kind": "Function", - "name": "decryptData", - "printedName": "decryptData(_:withPin1:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - }, - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - }, - { - "kind": "TypeNominal", - "name": "SecureData", - "printedName": "nfclib.SecureData", - "usr": "s:6nfclib10SecureDataC" - } - ], - "declKind": "Func", - "usr": "s:6nfclib6IdemiaC11decryptData_8withPin110Foundation0D0VAH_AA06SecureD0CtYaKF", - "mangledName": "$s6nfclib6IdemiaC11decryptData_8withPin110Foundation0D0VAH_AA06SecureD0CtYaKF", - "moduleName": "nfclib", - "declAttributes": [ - "Final" - ], - "throwing": true, - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Class", - "usr": "s:6nfclib6IdemiaC", - "mangledName": "$s6nfclib6IdemiaC", - "moduleName": "nfclib", - "declAttributes": [ - "Final" - ], - "conformances": [ + "kind": "Conformance", + "name": "_KeyValueCodingAndObservingPublishing", + "printedName": "_KeyValueCodingAndObservingPublishing", + "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP", + "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + }, { "kind": "Conformance", "name": "Copyable", @@ -4599,6 +3378,27 @@ "usr": "s:s8CopyableP", "mangledName": "$ss8CopyableP" }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, { "kind": "Conformance", "name": "Escapable", @@ -4608,17 +3408,10 @@ }, { "kind": "Conformance", - "name": "CardCommandsInternal", - "printedName": "CardCommandsInternal", - "usr": "s:6nfclib20CardCommandsInternalP", - "mangledName": "$s6nfclib20CardCommandsInternalP" - }, - { - "kind": "Conformance", - "name": "CardCommands", - "printedName": "CardCommands", - "usr": "s:6nfclib12CardCommandsP", - "mangledName": "$s6nfclib12CardCommandsP" + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" }, { "kind": "Conformance", @@ -4626,400 +3419,164 @@ "printedName": "Sendable", "usr": "s:s8SendableP", "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" } ] }, { "kind": "Import", - "name": "CryptoTokenKit", - "printedName": "CryptoTokenKit", + "name": "Foundation", + "printedName": "Foundation", "declKind": "Import", "moduleName": "nfclib", "declAttributes": [ "RawDocComment" ] }, + { + "kind": "Import", + "name": "CoreNFC", + "printedName": "CoreNFC", + "declKind": "Import", + "moduleName": "nfclib", + "declAttributes": [ + "Preconcurrency" + ] + }, + { + "kind": "Import", + "name": "BigInt", + "printedName": "BigInt", + "declKind": "Import", + "moduleName": "nfclib" + }, + { + "kind": "Import", + "name": "CryptoTokenKit", + "printedName": "CryptoTokenKit", + "declKind": "Import", + "moduleName": "nfclib" + }, { "kind": "TypeDecl", - "name": "CardCommandsInternal", - "printedName": "CardCommandsInternal", + "name": "NFCConnection", + "printedName": "NFCConnection", "children": [ { - "kind": "Var", - "name": "reader", - "printedName": "reader", + "kind": "Constructor", + "name": "init", + "printedName": "init()", "children": [ { "kind": "TypeNominal", - "name": "CardReader", - "printedName": "any nfclib.CardReader", - "usr": "s:6nfclib10CardReaderP" + "name": "NFCConnection", + "printedName": "nfclib.NFCConnection", + "usr": "s:6nfclib13NFCConnectionC" } ], - "declKind": "Var", - "usr": "s:6nfclib20CardCommandsInternalP6readerAA0B6Reader_pvp", - "mangledName": "$s6nfclib20CardCommandsInternalP6readerAA0B6Reader_pvp", + "declKind": "Constructor", + "usr": "s:6nfclib13NFCConnectionCACycfc", + "mangledName": "$s6nfclib13NFCConnectionCACycfc", "moduleName": "nfclib", - "protocolReq": true, "declAttributes": [ - "RawDocComment" - ], - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "CardReader", - "printedName": "any nfclib.CardReader", - "usr": "s:6nfclib10CardReaderP" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib20CardCommandsInternalP6readerAA0B6Reader_pvg", - "mangledName": "$s6nfclib20CardCommandsInternalP6readerAA0B6Reader_pvg", - "moduleName": "nfclib", - "genericSig": "<τ_0_0 where τ_0_0 : nfclib.CardCommandsInternal>", - "sugared_genericSig": "", - "protocolReq": true, - "reqNewWitnessTableEntry": true, - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "fillChar", - "printedName": "fillChar", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } + "Custom", + "AccessControl" ], - "declKind": "Var", - "usr": "s:6nfclib20CardCommandsInternalP8fillChars5UInt8Vvp", - "mangledName": "$s6nfclib20CardCommandsInternalP8fillChars5UInt8Vvp", - "moduleName": "nfclib", - "protocolReq": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib20CardCommandsInternalP8fillChars5UInt8Vvg", - "mangledName": "$s6nfclib20CardCommandsInternalP8fillChars5UInt8Vvg", - "moduleName": "nfclib", - "genericSig": "<τ_0_0 where τ_0_0 : nfclib.CardCommandsInternal>", - "sugared_genericSig": "", - "protocolReq": true, - "reqNewWitnessTableEntry": true, - "accessorKind": "get" - } - ] + "init_kind": "Designated" }, { "kind": "Function", - "name": "select", - "printedName": "select(p1Byte:p2Byte:file:)", + "name": "setup", + "printedName": "setup(_:tags:)", "children": [ { "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - }, - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "hasDefaultArg": true, - "usr": "s:s5UInt8V" + "name": "NFCISO7816Tag", + "printedName": "any CoreNFC.NFCISO7816Tag", + "usr": "c:objc(pl)NFCISO7816Tag" }, { "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "hasDefaultArg": true, - "usr": "s:s5UInt8V" + "name": "NFCTagReaderSession", + "printedName": "CoreNFC.NFCTagReaderSession", + "usr": "c:objc(cs)NFCTagReaderSession" }, { "kind": "TypeNominal", "name": "Array", - "printedName": "[Swift.UInt8]", + "printedName": "[CoreNFC.NFCTag]", "children": [ { "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" + "name": "NFCTag", + "printedName": "CoreNFC.NFCTag", + "usr": "s:7CoreNFC6NFCTagO" } ], "usr": "s:Sa" } ], "declKind": "Func", - "usr": "s:6nfclib20CardCommandsInternalPAAE6select6p1Byte02p2G04file10Foundation4DataVs5UInt8V_ALSayALGtYaKF", - "mangledName": "$s6nfclib20CardCommandsInternalPAAE6select6p1Byte02p2G04file10Foundation4DataVs5UInt8V_ALSayALGtYaKF", + "usr": "s:6nfclib13NFCConnectionC5setup_4tagsSo13NFCISO7816Tag_pSo19NFCTagReaderSessionC_Say7CoreNFC0G0OGtYaKF", + "mangledName": "$s6nfclib13NFCConnectionC5setup_4tagsSo13NFCISO7816Tag_pSo19NFCTagReaderSessionC_Say7CoreNFC0G0OGtYaKF", "moduleName": "nfclib", - "genericSig": "<τ_0_0 where τ_0_0 : nfclib.CardCommandsInternal>", - "sugared_genericSig": "", - "isFromExtension": true, + "declAttributes": [ + "Custom", + "AccessControl" + ], "throwing": true, "funcSelfKind": "NonMutating" }, { "kind": "Function", - "name": "readFile", - "printedName": "readFile(p1Byte:file:)", + "name": "getCardCommands", + "printedName": "getCardCommands(_:tag:CAN:)", "children": [ { "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" + "name": "CardCommands", + "printedName": "any nfclib.CardCommands", + "usr": "s:6nfclib12CardCommandsP" }, { "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" + "name": "NFCTagReaderSession", + "printedName": "CoreNFC.NFCTagReaderSession", + "usr": "c:objc(cs)NFCTagReaderSession" }, { "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.UInt8]", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "usr": "s:Sa" + "name": "NFCISO7816Tag", + "printedName": "any CoreNFC.NFCISO7816Tag", + "usr": "c:objc(pl)NFCISO7816Tag" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Func", - "usr": "s:6nfclib20CardCommandsInternalPAAE8readFile6p1Byte4file10Foundation4DataVs5UInt8V_SayAKGtYaKF", - "mangledName": "$s6nfclib20CardCommandsInternalPAAE8readFile6p1Byte4file10Foundation4DataVs5UInt8V_SayAKGtYaKF", + "usr": "s:6nfclib13NFCConnectionC15getCardCommands_3tag3CANAA0dE0_pSo19NFCTagReaderSessionC_So13NFCISO7816Tag_pSStYaKF", + "mangledName": "$s6nfclib13NFCConnectionC15getCardCommands_3tag3CANAA0dE0_pSo19NFCTagReaderSessionC_So13NFCISO7816Tag_pSStYaKF", "moduleName": "nfclib", - "genericSig": "<τ_0_0 where τ_0_0 : nfclib.CardCommandsInternal>", - "sugared_genericSig": "", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "changeCode", - "printedName": "changeCode(_:to:verifyCode:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - }, - { - "kind": "TypeNominal", - "name": "SecureData", - "printedName": "nfclib.SecureData", - "usr": "s:6nfclib10SecureDataC" - }, - { - "kind": "TypeNominal", - "name": "SecureData", - "printedName": "nfclib.SecureData", - "usr": "s:6nfclib10SecureDataC" - } - ], - "declKind": "Func", - "usr": "s:6nfclib20CardCommandsInternalPAAE10changeCode_2to06verifyF0ys5UInt8V_AA10SecureDataCAJtYaKF", - "mangledName": "$s6nfclib20CardCommandsInternalPAAE10changeCode_2to06verifyF0ys5UInt8V_AA10SecureDataCAJtYaKF", - "moduleName": "nfclib", - "genericSig": "<τ_0_0 where τ_0_0 : nfclib.CardCommandsInternal>", - "sugared_genericSig": "", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "unblockCode", - "printedName": "unblockCode(_:puk:newCode:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "nfclib.SecureData?", - "children": [ - { - "kind": "TypeNominal", - "name": "SecureData", - "printedName": "nfclib.SecureData", - "usr": "s:6nfclib10SecureDataC" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "SecureData", - "printedName": "nfclib.SecureData", - "usr": "s:6nfclib10SecureDataC" - } - ], - "declKind": "Func", - "usr": "s:6nfclib20CardCommandsInternalPAAE11unblockCode_3puk03newF0ys5UInt8V_AA10SecureDataCSgAJtYaKF", - "mangledName": "$s6nfclib20CardCommandsInternalPAAE11unblockCode_3puk03newF0ys5UInt8V_AA10SecureDataCSgAJtYaKF", - "moduleName": "nfclib", - "genericSig": "<τ_0_0 where τ_0_0 : nfclib.CardCommandsInternal>", - "sugared_genericSig": "", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "verifyCode", - "printedName": "verifyCode(_:code:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - }, - { - "kind": "TypeNominal", - "name": "SecureData", - "printedName": "nfclib.SecureData", - "usr": "s:6nfclib10SecureDataC" - } - ], - "declKind": "Func", - "usr": "s:6nfclib20CardCommandsInternalPAAE10verifyCode_4codeys5UInt8V_AA10SecureDataCtYaKF", - "mangledName": "$s6nfclib20CardCommandsInternalPAAE10verifyCode_4codeys5UInt8V_AA10SecureDataCtYaKF", - "moduleName": "nfclib", - "genericSig": "<τ_0_0 where τ_0_0 : nfclib.CardCommandsInternal>", - "sugared_genericSig": "", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "setSecEnv", - "printedName": "setSecEnv(mode:algo:keyRef:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.UInt8]?", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.UInt8]", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "usr": "s:Sa" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "declKind": "Func", - "usr": "s:6nfclib20CardCommandsInternalPAAE9setSecEnv4mode4algo6keyRefys5UInt8V_SayAIGSgAItYaKF", - "mangledName": "$s6nfclib20CardCommandsInternalPAAE9setSecEnv4mode4algo6keyRefys5UInt8V_SayAIGSgAItYaKF", - "moduleName": "nfclib", - "genericSig": "<τ_0_0 where τ_0_0 : nfclib.CardCommandsInternal>", - "sugared_genericSig": "", - "isFromExtension": true, + "declAttributes": [ + "AccessControl", + "Custom" + ], "throwing": true, "funcSelfKind": "NonMutating" } ], - "declKind": "Protocol", - "usr": "s:6nfclib20CardCommandsInternalP", - "mangledName": "$s6nfclib20CardCommandsInternalP", + "declKind": "Class", + "usr": "s:6nfclib13NFCConnectionC", + "mangledName": "$s6nfclib13NFCConnectionC", "moduleName": "nfclib", - "genericSig": "<τ_0_0 : nfclib.CardCommands>", - "sugared_genericSig": "", + "declAttributes": [ + "AccessControl", + "Custom" + ], "conformances": [ - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - }, { "kind": "Conformance", "name": "Copyable", @@ -5029,10 +3586,10 @@ }, { "kind": "Conformance", - "name": "CardCommands", - "printedName": "CardCommands", - "usr": "s:6nfclib12CardCommandsP", - "mangledName": "$s6nfclib12CardCommandsP" + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" }, { "kind": "Conformance", @@ -5040,20 +3597,13 @@ "printedName": "Sendable", "usr": "s:s8SendableP", "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" } ] }, { "kind": "Import", - "name": "Foundation", - "printedName": "Foundation", + "name": "CommonCrypto", + "printedName": "CommonCrypto", "declKind": "Import", "moduleName": "nfclib", "declAttributes": [ @@ -5062,22 +3612,8 @@ }, { "kind": "Import", - "name": "CoreNFC", - "printedName": "CoreNFC", - "declKind": "Import", - "moduleName": "nfclib" - }, - { - "kind": "Import", - "name": "CommonCrypto", - "printedName": "CommonCrypto", - "declKind": "Import", - "moduleName": "nfclib" - }, - { - "kind": "Import", - "name": "CryptoTokenKit", - "printedName": "CryptoTokenKit", + "name": "Foundation", + "printedName": "Foundation", "declKind": "Import", "moduleName": "nfclib" }, @@ -5093,49 +3629,52 @@ }, { "kind": "Import", - "name": "BigInt", - "printedName": "BigInt", + "name": "Foundation", + "printedName": "Foundation", "declKind": "Import", - "moduleName": "nfclib" + "moduleName": "nfclib", + "declAttributes": [ + "RawDocComment" + ] }, { "kind": "Import", - "name": "Security", - "printedName": "Security", + "name": "CommonCrypto", + "printedName": "CommonCrypto", "declKind": "Import", "moduleName": "nfclib" }, { "kind": "TypeDecl", - "name": "ReadCertificateError", - "printedName": "ReadCertificateError", + "name": "IdCardError", + "printedName": "IdCardError", "children": [ { "kind": "Var", - "name": "certificateUsageNotSpecified", - "printedName": "certificateUsageNotSpecified", + "name": "wrongCAN", + "printedName": "wrongCAN", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(nfclib.ReadCertificateError.Type) -> nfclib.ReadCertificateError", + "printedName": "(nfclib.IdCardError.Type) -> nfclib.IdCardError", "children": [ { "kind": "TypeNominal", - "name": "ReadCertificateError", - "printedName": "nfclib.ReadCertificateError", - "usr": "s:6nfclib20ReadCertificateErrorO" + "name": "IdCardError", + "printedName": "nfclib.IdCardError", + "usr": "s:6nfclib11IdCardErrorO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "nfclib.ReadCertificateError.Type", + "printedName": "nfclib.IdCardError.Type", "children": [ { "kind": "TypeNominal", - "name": "ReadCertificateError", - "printedName": "nfclib.ReadCertificateError", - "usr": "s:6nfclib20ReadCertificateErrorO" + "name": "IdCardError", + "printedName": "nfclib.IdCardError", + "usr": "s:6nfclib11IdCardErrorO" } ] } @@ -5143,36 +3682,56 @@ } ], "declKind": "EnumElement", - "usr": "s:6nfclib20ReadCertificateErrorO28certificateUsageNotSpecifiedyA2CmF", - "mangledName": "$s6nfclib20ReadCertificateErrorO28certificateUsageNotSpecifiedyA2CmF", + "usr": "s:6nfclib11IdCardErrorO8wrongCANyA2CmF", + "mangledName": "$s6nfclib11IdCardErrorO8wrongCANyA2CmF", "moduleName": "nfclib" }, { "kind": "Var", - "name": "failedToReadCertificate", - "printedName": "failedToReadCertificate", + "name": "wrongPIN", + "printedName": "wrongPIN", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(nfclib.ReadCertificateError.Type) -> nfclib.ReadCertificateError", + "printedName": "(nfclib.IdCardError.Type) -> (Swift.Int) -> nfclib.IdCardError", "children": [ { - "kind": "TypeNominal", - "name": "ReadCertificateError", - "printedName": "nfclib.ReadCertificateError", - "usr": "s:6nfclib20ReadCertificateErrorO" + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.Int) -> nfclib.IdCardError", + "children": [ + { + "kind": "TypeNominal", + "name": "IdCardError", + "printedName": "nfclib.IdCardError", + "usr": "s:6nfclib11IdCardErrorO" + }, + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(triesLeft: Swift.Int)", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + } + ] }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "nfclib.ReadCertificateError.Type", + "printedName": "nfclib.IdCardError.Type", "children": [ { "kind": "TypeNominal", - "name": "ReadCertificateError", - "printedName": "nfclib.ReadCertificateError", - "usr": "s:6nfclib20ReadCertificateErrorO" + "name": "IdCardError", + "printedName": "nfclib.IdCardError", + "usr": "s:6nfclib11IdCardErrorO" } ] } @@ -5180,36 +3739,36 @@ } ], "declKind": "EnumElement", - "usr": "s:6nfclib20ReadCertificateErrorO08failedTobC0yA2CmF", - "mangledName": "$s6nfclib20ReadCertificateErrorO08failedTobC0yA2CmF", + "usr": "s:6nfclib11IdCardErrorO8wrongPINyACSi_tcACmF", + "mangledName": "$s6nfclib11IdCardErrorO8wrongPINyACSi_tcACmF", "moduleName": "nfclib" }, { "kind": "Var", - "name": "general", - "printedName": "general", + "name": "invalidNewPIN", + "printedName": "invalidNewPIN", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(nfclib.ReadCertificateError.Type) -> nfclib.ReadCertificateError", + "printedName": "(nfclib.IdCardError.Type) -> nfclib.IdCardError", "children": [ { "kind": "TypeNominal", - "name": "ReadCertificateError", - "printedName": "nfclib.ReadCertificateError", - "usr": "s:6nfclib20ReadCertificateErrorO" + "name": "IdCardError", + "printedName": "nfclib.IdCardError", + "usr": "s:6nfclib11IdCardErrorO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "nfclib.ReadCertificateError.Type", + "printedName": "nfclib.IdCardError.Type", "children": [ { "kind": "TypeNominal", - "name": "ReadCertificateError", - "printedName": "nfclib.ReadCertificateError", - "usr": "s:6nfclib20ReadCertificateErrorO" + "name": "IdCardError", + "printedName": "nfclib.IdCardError", + "usr": "s:6nfclib11IdCardErrorO" } ] } @@ -5217,110 +3776,51 @@ } ], "declKind": "EnumElement", - "usr": "s:6nfclib20ReadCertificateErrorO7generalyA2CmF", - "mangledName": "$s6nfclib20ReadCertificateErrorO7generalyA2CmF", + "usr": "s:6nfclib11IdCardErrorO13invalidNewPINyA2CmF", + "mangledName": "$s6nfclib11IdCardErrorO13invalidNewPINyA2CmF", "moduleName": "nfclib" }, - { - "kind": "Function", - "name": "==", - "printedName": "==(_:_:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" - }, - { - "kind": "TypeNominal", - "name": "ReadCertificateError", - "printedName": "nfclib.ReadCertificateError", - "usr": "s:6nfclib20ReadCertificateErrorO" - }, - { - "kind": "TypeNominal", - "name": "ReadCertificateError", - "printedName": "nfclib.ReadCertificateError", - "usr": "s:6nfclib20ReadCertificateErrorO" - } - ], - "declKind": "Func", - "usr": "s:6nfclib20ReadCertificateErrorO2eeoiySbAC_ACtFZ", - "mangledName": "$s6nfclib20ReadCertificateErrorO2eeoiySbAC_ACtFZ", - "moduleName": "nfclib", - "static": true, - "implicit": true, - "funcSelfKind": "NonMutating" - }, { "kind": "Var", - "name": "hashValue", - "printedName": "hashValue", + "name": "sessionError", + "printedName": "sessionError", "children": [ { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Var", - "usr": "s:6nfclib20ReadCertificateErrorO9hashValueSivp", - "mangledName": "$s6nfclib20ReadCertificateErrorO9hashValueSivp", - "moduleName": "nfclib", - "implicit": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(nfclib.IdCardError.Type) -> nfclib.IdCardError", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "IdCardError", + "printedName": "nfclib.IdCardError", + "usr": "s:6nfclib11IdCardErrorO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "nfclib.IdCardError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "IdCardError", + "printedName": "nfclib.IdCardError", + "usr": "s:6nfclib11IdCardErrorO" + } + ] } - ], - "declKind": "Accessor", - "usr": "s:6nfclib20ReadCertificateErrorO9hashValueSivg", - "mangledName": "$s6nfclib20ReadCertificateErrorO9hashValueSivg", - "moduleName": "nfclib", - "implicit": true, - "accessorKind": "get" - } - ] - }, - { - "kind": "Function", - "name": "hash", - "printedName": "hash(into:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "Hasher", - "printedName": "Swift.Hasher", - "paramValueOwnership": "InOut", - "usr": "s:s6HasherV" + ] } ], - "declKind": "Func", - "usr": "s:6nfclib20ReadCertificateErrorO4hash4intoys6HasherVz_tF", - "mangledName": "$s6nfclib20ReadCertificateErrorO4hash4intoys6HasherVz_tF", - "moduleName": "nfclib", - "implicit": true, - "funcSelfKind": "NonMutating" + "declKind": "EnumElement", + "usr": "s:6nfclib11IdCardErrorO07sessionD0yA2CmF", + "mangledName": "$s6nfclib11IdCardErrorO07sessionD0yA2CmF", + "moduleName": "nfclib" } ], "declKind": "Enum", - "usr": "s:6nfclib20ReadCertificateErrorO", - "mangledName": "$s6nfclib20ReadCertificateErrorO", + "usr": "s:6nfclib11IdCardErrorO", + "mangledName": "$s6nfclib11IdCardErrorO", "moduleName": "nfclib", "declAttributes": [ "AccessControl", @@ -5336,10 +3836,10 @@ }, { "kind": "Conformance", - "name": "Equatable", - "printedName": "Equatable", - "usr": "s:SQ", - "mangledName": "$sSQ" + "name": "Error", + "printedName": "Error", + "usr": "s:s5ErrorP", + "mangledName": "$ss5ErrorP" }, { "kind": "Conformance", @@ -5348,20 +3848,6 @@ "usr": "s:s9EscapableP", "mangledName": "$ss9EscapableP" }, - { - "kind": "Conformance", - "name": "Hashable", - "printedName": "Hashable", - "usr": "s:SH", - "mangledName": "$sSH" - }, - { - "kind": "Conformance", - "name": "Error", - "printedName": "Error", - "usr": "s:s5ErrorP", - "mangledName": "$ss5ErrorP" - }, { "kind": "Conformance", "name": "Sendable", @@ -5380,35 +3866,35 @@ }, { "kind": "TypeDecl", - "name": "CertificateUsage", - "printedName": "CertificateUsage", + "name": "IdCardInternalError", + "printedName": "IdCardInternalError", "children": [ { "kind": "Var", - "name": "auth", - "printedName": "auth", + "name": "missingRESTag", + "printedName": "missingRESTag", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(nfclib.CertificateUsage.Type) -> nfclib.CertificateUsage", + "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", "children": [ { "kind": "TypeNominal", - "name": "CertificateUsage", - "printedName": "nfclib.CertificateUsage", - "usr": "s:6nfclib16CertificateUsageO" + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "nfclib.CertificateUsage.Type", + "printedName": "nfclib.IdCardInternalError.Type", "children": [ { "kind": "TypeNominal", - "name": "CertificateUsage", - "printedName": "nfclib.CertificateUsage", - "usr": "s:6nfclib16CertificateUsageO" + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" } ] } @@ -5416,36 +3902,36 @@ } ], "declKind": "EnumElement", - "usr": "s:6nfclib16CertificateUsageO4authyA2CmF", - "mangledName": "$s6nfclib16CertificateUsageO4authyA2CmF", + "usr": "s:6nfclib19IdCardInternalErrorO13missingRESTagyA2CmF", + "mangledName": "$s6nfclib19IdCardInternalErrorO13missingRESTagyA2CmF", "moduleName": "nfclib" }, { "kind": "Var", - "name": "sign", - "printedName": "sign", + "name": "missingMACTag", + "printedName": "missingMACTag", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(nfclib.CertificateUsage.Type) -> nfclib.CertificateUsage", + "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", "children": [ { "kind": "TypeNominal", - "name": "CertificateUsage", - "printedName": "nfclib.CertificateUsage", - "usr": "s:6nfclib16CertificateUsageO" + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "nfclib.CertificateUsage.Type", + "printedName": "nfclib.IdCardInternalError.Type", "children": [ { "kind": "TypeNominal", - "name": "CertificateUsage", - "printedName": "nfclib.CertificateUsage", - "usr": "s:6nfclib16CertificateUsageO" + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" } ] } @@ -5453,5847 +3939,744 @@ } ], "declKind": "EnumElement", - "usr": "s:6nfclib16CertificateUsageO4signyA2CmF", - "mangledName": "$s6nfclib16CertificateUsageO4signyA2CmF", + "usr": "s:6nfclib19IdCardInternalErrorO13missingMACTagyA2CmF", + "mangledName": "$s6nfclib19IdCardInternalErrorO13missingMACTagyA2CmF", "moduleName": "nfclib" }, - { - "kind": "Function", - "name": "==", - "printedName": "==(_:_:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" - }, - { - "kind": "TypeNominal", - "name": "CertificateUsage", - "printedName": "nfclib.CertificateUsage", - "usr": "s:6nfclib16CertificateUsageO" - }, - { - "kind": "TypeNominal", - "name": "CertificateUsage", - "printedName": "nfclib.CertificateUsage", - "usr": "s:6nfclib16CertificateUsageO" - } - ], - "declKind": "Func", - "usr": "s:6nfclib16CertificateUsageO2eeoiySbAC_ACtFZ", - "mangledName": "$s6nfclib16CertificateUsageO2eeoiySbAC_ACtFZ", - "moduleName": "nfclib", - "static": true, - "implicit": true, - "funcSelfKind": "NonMutating" - }, { "kind": "Var", - "name": "hashValue", - "printedName": "hashValue", + "name": "invalidMACValue", + "printedName": "invalidMACValue", "children": [ { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Var", - "usr": "s:6nfclib16CertificateUsageO9hashValueSivp", - "mangledName": "$s6nfclib16CertificateUsageO9hashValueSivp", - "moduleName": "nfclib", - "implicit": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib16CertificateUsageO9hashValueSivg", - "mangledName": "$s6nfclib16CertificateUsageO9hashValueSivg", - "moduleName": "nfclib", - "implicit": true, - "accessorKind": "get" - } - ] - }, - { - "kind": "Function", - "name": "hash", - "printedName": "hash(into:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "Hasher", - "printedName": "Swift.Hasher", - "paramValueOwnership": "InOut", - "usr": "s:s6HasherV" - } - ], - "declKind": "Func", - "usr": "s:6nfclib16CertificateUsageO4hash4intoys6HasherVz_tF", - "mangledName": "$s6nfclib16CertificateUsageO4hash4intoys6HasherVz_tF", - "moduleName": "nfclib", - "implicit": true, - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Enum", - "usr": "s:6nfclib16CertificateUsageO", - "mangledName": "$s6nfclib16CertificateUsageO", - "moduleName": "nfclib", - "declAttributes": [ - "AccessControl" - ], - "conformances": [ - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Equatable", - "printedName": "Equatable", - "usr": "s:SQ", - "mangledName": "$sSQ" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - }, - { - "kind": "Conformance", - "name": "Hashable", - "printedName": "Hashable", - "usr": "s:SH", - "mangledName": "$sSH" - } - ] - }, - { - "kind": "TypeDecl", - "name": "OperationReadCertificate", - "printedName": "OperationReadCertificate", - "children": [ - { - "kind": "Function", - "name": "startReading", - "printedName": "startReading(CAN:certUsage:)", - "children": [ - { - "kind": "TypeNominal", - "name": "SecCertificate", - "printedName": "Security.SecCertificate", - "usr": "c:@T@SecCertificateRef" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "CertificateUsage", - "printedName": "nfclib.CertificateUsage", - "usr": "s:6nfclib16CertificateUsageO" - } - ], - "declKind": "Func", - "usr": "s:6nfclib24OperationReadCertificateC12startReading3CAN9certUsageSo03SecD3RefaSS_AA0dI0OtYaKF", - "mangledName": "$s6nfclib24OperationReadCertificateC12startReading3CAN9certUsageSo03SecD3RefaSS_AA0dI0OtYaKF", - "moduleName": "nfclib", - "isOpen": true, - "declAttributes": [ - "Custom", - "AccessControl" - ], - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init()", - "children": [ - { - "kind": "TypeNominal", - "name": "OperationReadCertificate", - "printedName": "nfclib.OperationReadCertificate", - "usr": "c:@M@nfclib@objc(cs)OperationReadCertificate" - } - ], - "declKind": "Constructor", - "usr": "c:@M@nfclib@objc(cs)OperationReadCertificate(im)init", - "mangledName": "$s6nfclib24OperationReadCertificateCACycfc", - "moduleName": "nfclib", - "overriding": true, - "implicit": true, - "objc_name": "init", - "declAttributes": [ - "Dynamic", - "ObjC", - "Custom", - "Override" - ], - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "tagReaderSession", - "printedName": "tagReaderSession(_:didDetect:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "NFCTagReaderSession", - "printedName": "CoreNFC.NFCTagReaderSession", - "usr": "c:objc(cs)NFCTagReaderSession" - }, - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[CoreNFC.NFCTag]", - "children": [ - { - "kind": "TypeNominal", - "name": "NFCTag", - "printedName": "CoreNFC.NFCTag", - "usr": "s:7CoreNFC6NFCTagO" - } - ], - "usr": "s:Sa" - } - ], - "declKind": "Func", - "usr": "s:6nfclib24OperationReadCertificateC16tagReaderSession_9didDetectySo06NFCTagfG0C_Say7CoreNFC0J0OGtF", - "mangledName": "$s6nfclib24OperationReadCertificateC16tagReaderSession_9didDetectySo06NFCTagfG0C_Say7CoreNFC0J0OGtF", - "moduleName": "nfclib", - "isOpen": true, - "declAttributes": [ - "Custom", - "AccessControl" - ], - "isFromExtension": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "tagReaderSessionDidBecomeActive", - "printedName": "tagReaderSessionDidBecomeActive(_:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "NFCTagReaderSession", - "printedName": "CoreNFC.NFCTagReaderSession", - "usr": "c:objc(cs)NFCTagReaderSession" - } - ], - "declKind": "Func", - "usr": "s:6nfclib24OperationReadCertificateC31tagReaderSessionDidBecomeActiveyySo06NFCTagfG0CF", - "mangledName": "$s6nfclib24OperationReadCertificateC31tagReaderSessionDidBecomeActiveyySo06NFCTagfG0CF", - "moduleName": "nfclib", - "isOpen": true, - "declAttributes": [ - "Custom", - "AccessControl" - ], - "isFromExtension": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "tagReaderSession", - "printedName": "tagReaderSession(_:didInvalidateWithError:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "NFCTagReaderSession", - "printedName": "CoreNFC.NFCTagReaderSession", - "usr": "c:objc(cs)NFCTagReaderSession" - }, - { - "kind": "TypeNominal", - "name": "Error", - "printedName": "any Swift.Error", - "usr": "s:s5ErrorP" - } - ], - "declKind": "Func", - "usr": "s:6nfclib24OperationReadCertificateC16tagReaderSession_22didInvalidateWithErrorySo06NFCTagfG0C_s0K0_ptF", - "mangledName": "$s6nfclib24OperationReadCertificateC16tagReaderSession_22didInvalidateWithErrorySo06NFCTagfG0C_s0K0_ptF", - "moduleName": "nfclib", - "isOpen": true, - "declAttributes": [ - "Custom", - "AccessControl" - ], - "isFromExtension": true, - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Class", - "usr": "c:@M@nfclib@objc(cs)OperationReadCertificate", - "mangledName": "$s6nfclib24OperationReadCertificateC", - "moduleName": "nfclib", - "isOpen": true, - "declAttributes": [ - "AccessControl", - "Custom", - "ObjC" - ], - "superclassUsr": "c:objc(cs)NSObject", - "inheritsConvenienceInitializers": true, - "superclassNames": [ - "ObjectiveC.NSObject" - ], - "conformances": [ - { - "kind": "Conformance", - "name": "NFCTagReaderSessionDelegate", - "printedName": "NFCTagReaderSessionDelegate", - "usr": "s:7CoreNFC27NFCTagReaderSessionDelegateP", - "mangledName": "$s7CoreNFC27NFCTagReaderSessionDelegateP" - }, - { - "kind": "Conformance", - "name": "_KeyValueCodingAndObserving", - "printedName": "_KeyValueCodingAndObserving", - "usr": "s:10Foundation27_KeyValueCodingAndObservingP", - "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP" - }, - { - "kind": "Conformance", - "name": "_KeyValueCodingAndObservingPublishing", - "printedName": "_KeyValueCodingAndObservingPublishing", - "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP", - "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP" - }, - { - "kind": "Conformance", - "name": "CVarArg", - "printedName": "CVarArg", - "usr": "s:s7CVarArgP", - "mangledName": "$ss7CVarArgP" - }, - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "CustomDebugStringConvertible", - "printedName": "CustomDebugStringConvertible", - "usr": "s:s28CustomDebugStringConvertibleP", - "mangledName": "$ss28CustomDebugStringConvertibleP" - }, - { - "kind": "Conformance", - "name": "CustomStringConvertible", - "printedName": "CustomStringConvertible", - "usr": "s:s23CustomStringConvertibleP", - "mangledName": "$ss23CustomStringConvertibleP" - }, - { - "kind": "Conformance", - "name": "Equatable", - "printedName": "Equatable", - "usr": "s:SQ", - "mangledName": "$sSQ" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - }, - { - "kind": "Conformance", - "name": "Hashable", - "printedName": "Hashable", - "usr": "s:SH", - "mangledName": "$sSH" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - } - ] - }, - { - "kind": "Import", - "name": "CommonCrypto", - "printedName": "CommonCrypto", - "declKind": "Import", - "moduleName": "nfclib", - "declAttributes": [ - "RawDocComment" - ] - }, - { - "kind": "Import", - "name": "CryptoTokenKit", - "printedName": "CryptoTokenKit", - "declKind": "Import", - "moduleName": "nfclib" - }, - { - "kind": "Import", - "name": "SwiftECC", - "printedName": "SwiftECC", - "declKind": "Import", - "moduleName": "nfclib", - "declAttributes": [ - "AccessControl" - ] - }, - { - "kind": "Import", - "name": "CryptoTokenKit", - "printedName": "CryptoTokenKit", - "declKind": "Import", - "moduleName": "nfclib", - "declAttributes": [ - "RawDocComment" - ] - }, - { - "kind": "TypeDecl", - "name": "Thales", - "printedName": "Thales", - "children": [ - { - "kind": "Var", - "name": "canChangePUK", - "printedName": "canChangePUK", - "children": [ - { - "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" - } - ], - "declKind": "Var", - "usr": "s:6nfclib6ThalesC12canChangePUKSbvp", - "mangledName": "$s6nfclib6ThalesC12canChangePUKSbvp", - "moduleName": "nfclib", - "declAttributes": [ - "HasInitialValue", - "Final", - "HasStorage" - ], - "fixedbinaryorder": 0, - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib6ThalesC12canChangePUKSbvg", - "mangledName": "$s6nfclib6ThalesC12canChangePUKSbvg", - "moduleName": "nfclib", - "implicit": true, - "declAttributes": [ - "Transparent", - "Final" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "reader", - "printedName": "reader", - "children": [ - { - "kind": "TypeNominal", - "name": "CardReader", - "printedName": "any nfclib.CardReader", - "usr": "s:6nfclib10CardReaderP" - } - ], - "declKind": "Var", - "usr": "s:6nfclib6ThalesC6readerAA10CardReader_pvp", - "mangledName": "$s6nfclib6ThalesC6readerAA10CardReader_pvp", - "moduleName": "nfclib", - "declAttributes": [ - "Final", - "HasStorage" - ], - "fixedbinaryorder": 1, - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "CardReader", - "printedName": "any nfclib.CardReader", - "usr": "s:6nfclib10CardReaderP" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib6ThalesC6readerAA10CardReader_pvg", - "mangledName": "$s6nfclib6ThalesC6readerAA10CardReader_pvg", - "moduleName": "nfclib", - "implicit": true, - "declAttributes": [ - "Transparent", - "Final" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "fillChar", - "printedName": "fillChar", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "declKind": "Var", - "usr": "s:6nfclib6ThalesC8fillChars5UInt8Vvp", - "mangledName": "$s6nfclib6ThalesC8fillChars5UInt8Vvp", - "moduleName": "nfclib", - "declAttributes": [ - "HasInitialValue", - "Final", - "HasStorage" - ], - "fixedbinaryorder": 2, - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib6ThalesC8fillChars5UInt8Vvg", - "mangledName": "$s6nfclib6ThalesC8fillChars5UInt8Vvg", - "moduleName": "nfclib", - "implicit": true, - "declAttributes": [ - "Transparent", - "Final" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(reader:atr:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "nfclib.Thales?", - "children": [ - { - "kind": "TypeNominal", - "name": "Thales", - "printedName": "nfclib.Thales", - "usr": "s:6nfclib6ThalesC" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "CardReader", - "printedName": "any nfclib.CardReader", - "usr": "s:6nfclib10CardReaderP" - }, - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.UInt8]", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "usr": "s:Sa" - } - ], - "declKind": "Constructor", - "usr": "s:6nfclib6ThalesC6reader3atrACSgAA10CardReader_p_Says5UInt8VGtKcfc", - "mangledName": "$s6nfclib6ThalesC6reader3atrACSgAA10CardReader_p_Says5UInt8VGtKcfc", - "moduleName": "nfclib", - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(reader:aid:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "nfclib.Thales?", - "children": [ - { - "kind": "TypeNominal", - "name": "Thales", - "printedName": "nfclib.Thales", - "usr": "s:6nfclib6ThalesC" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "CardReader", - "printedName": "any nfclib.CardReader", - "usr": "s:6nfclib10CardReaderP" - }, - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.UInt8]", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "usr": "s:Sa" - } - ], - "declKind": "Constructor", - "usr": "s:6nfclib6ThalesC6reader3aidACSgAA10CardReader_p_Says5UInt8VGtcfc", - "mangledName": "$s6nfclib6ThalesC6reader3aidACSgAA10CardReader_p_Says5UInt8VGtcfc", - "moduleName": "nfclib", - "declAttributes": [ - "Required" - ], - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(reader:selectAID:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "nfclib.Thales?", - "children": [ - { - "kind": "TypeNominal", - "name": "Thales", - "printedName": "nfclib.Thales", - "usr": "s:6nfclib6ThalesC" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "CardReader", - "printedName": "any nfclib.CardReader", - "usr": "s:6nfclib10CardReaderP" - }, - { - "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" - } - ], - "declKind": "Constructor", - "usr": "s:6nfclib6ThalesC6reader9selectAIDACSgAA10CardReader_p_SbtYacfc", - "mangledName": "$s6nfclib6ThalesC6reader9selectAIDACSgAA10CardReader_p_SbtYacfc", - "moduleName": "nfclib", - "declAttributes": [ - "Required" - ], - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "readPublicData", - "printedName": "readPublicData()", - "children": [ - { - "kind": "TypeNominal", - "name": "CardInfo", - "printedName": "nfclib.CardInfo", - "usr": "s:6nfclib8CardInfoV" - } - ], - "declKind": "Func", - "usr": "s:6nfclib6ThalesC14readPublicDataAA8CardInfoVyYaKF", - "mangledName": "$s6nfclib6ThalesC14readPublicDataAA8CardInfoVyYaKF", - "moduleName": "nfclib", - "declAttributes": [ - "Final", - "RawDocComment" - ], - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "readAuthenticationCertificate", - "printedName": "readAuthenticationCertificate()", - "children": [ - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Func", - "usr": "s:6nfclib6ThalesC29readAuthenticationCertificate10Foundation4DataVyYaKF", - "mangledName": "$s6nfclib6ThalesC29readAuthenticationCertificate10Foundation4DataVyYaKF", - "moduleName": "nfclib", - "declAttributes": [ - "Final" - ], - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "readSignatureCertificate", - "printedName": "readSignatureCertificate()", - "children": [ - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Func", - "usr": "s:6nfclib6ThalesC24readSignatureCertificate10Foundation4DataVyYaKF", - "mangledName": "$s6nfclib6ThalesC24readSignatureCertificate10Foundation4DataVyYaKF", - "moduleName": "nfclib", - "declAttributes": [ - "Final" - ], - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "readCodeTryCounterRecord", - "printedName": "readCodeTryCounterRecord(_:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Tuple", - "printedName": "(retryCount: Swift.UInt8, pinActive: Swift.Bool)", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - }, - { - "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" - } - ] - }, - { - "kind": "TypeNominal", - "name": "CodeType", - "printedName": "nfclib.CodeType", - "usr": "s:6nfclib8CodeTypeO" - } - ], - "declKind": "Func", - "usr": "s:6nfclib6ThalesC24readCodeTryCounterRecordys5UInt8V10retryCount_Sb9pinActivetAA0D4TypeOYaKF", - "mangledName": "$s6nfclib6ThalesC24readCodeTryCounterRecordys5UInt8V10retryCount_Sb9pinActivetAA0D4TypeOYaKF", - "moduleName": "nfclib", - "declAttributes": [ - "Final", - "RawDocComment" - ], - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "changeCode", - "printedName": "changeCode(_:to:verifyCode:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "CodeType", - "printedName": "nfclib.CodeType", - "usr": "s:6nfclib8CodeTypeO" - }, - { - "kind": "TypeNominal", - "name": "SecureData", - "printedName": "nfclib.SecureData", - "usr": "s:6nfclib10SecureDataC" - }, - { - "kind": "TypeNominal", - "name": "SecureData", - "printedName": "nfclib.SecureData", - "usr": "s:6nfclib10SecureDataC" - } - ], - "declKind": "Func", - "usr": "s:6nfclib6ThalesC10changeCode_2to06verifyD0yAA0D4TypeO_AA10SecureDataCAJtYaKF", - "mangledName": "$s6nfclib6ThalesC10changeCode_2to06verifyD0yAA0D4TypeO_AA10SecureDataCAJtYaKF", - "moduleName": "nfclib", - "declAttributes": [ - "Final" - ], - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "verifyCode", - "printedName": "verifyCode(_:code:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "CodeType", - "printedName": "nfclib.CodeType", - "usr": "s:6nfclib8CodeTypeO" - }, - { - "kind": "TypeNominal", - "name": "SecureData", - "printedName": "nfclib.SecureData", - "usr": "s:6nfclib10SecureDataC" - } - ], - "declKind": "Func", - "usr": "s:6nfclib6ThalesC10verifyCode_4codeyAA0D4TypeO_AA10SecureDataCtYaKF", - "mangledName": "$s6nfclib6ThalesC10verifyCode_4codeyAA0D4TypeO_AA10SecureDataCtYaKF", - "moduleName": "nfclib", - "declAttributes": [ - "Final" - ], - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "unblockCode", - "printedName": "unblockCode(_:puk:newCode:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "CodeType", - "printedName": "nfclib.CodeType", - "usr": "s:6nfclib8CodeTypeO" - }, - { - "kind": "TypeNominal", - "name": "SecureData", - "printedName": "nfclib.SecureData", - "usr": "s:6nfclib10SecureDataC" - }, - { - "kind": "TypeNominal", - "name": "SecureData", - "printedName": "nfclib.SecureData", - "usr": "s:6nfclib10SecureDataC" - } - ], - "declKind": "Func", - "usr": "s:6nfclib6ThalesC11unblockCode_3puk03newD0yAA0D4TypeO_AA10SecureDataCAJtYaKF", - "mangledName": "$s6nfclib6ThalesC11unblockCode_3puk03newD0yAA0D4TypeO_AA10SecureDataCAJtYaKF", - "moduleName": "nfclib", - "declAttributes": [ - "Final" - ], - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "authenticate", - "printedName": "authenticate(for:withPin1:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - }, - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - }, - { - "kind": "TypeNominal", - "name": "SecureData", - "printedName": "nfclib.SecureData", - "usr": "s:6nfclib10SecureDataC" - } - ], - "declKind": "Func", - "usr": "s:6nfclib6ThalesC12authenticate3for8withPin110Foundation4DataVAI_AA06SecureH0CtYaKF", - "mangledName": "$s6nfclib6ThalesC12authenticate3for8withPin110Foundation4DataVAI_AA06SecureH0CtYaKF", - "moduleName": "nfclib", - "declAttributes": [ - "Final" - ], - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "calculateSignature", - "printedName": "calculateSignature(for:withPin2:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - }, - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - }, - { - "kind": "TypeNominal", - "name": "SecureData", - "printedName": "nfclib.SecureData", - "usr": "s:6nfclib10SecureDataC" - } - ], - "declKind": "Func", - "usr": "s:6nfclib6ThalesC18calculateSignature3for8withPin210Foundation4DataVAI_AA06SecureI0CtYaKF", - "mangledName": "$s6nfclib6ThalesC18calculateSignature3for8withPin210Foundation4DataVAI_AA06SecureI0CtYaKF", - "moduleName": "nfclib", - "declAttributes": [ - "Final" - ], - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "decryptData", - "printedName": "decryptData(_:withPin1:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - }, - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - }, - { - "kind": "TypeNominal", - "name": "SecureData", - "printedName": "nfclib.SecureData", - "usr": "s:6nfclib10SecureDataC" - } - ], - "declKind": "Func", - "usr": "s:6nfclib6ThalesC11decryptData_8withPin110Foundation0D0VAH_AA06SecureD0CtYaKF", - "mangledName": "$s6nfclib6ThalesC11decryptData_8withPin110Foundation0D0VAH_AA06SecureD0CtYaKF", - "moduleName": "nfclib", - "declAttributes": [ - "Final" - ], - "throwing": true, - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Class", - "usr": "s:6nfclib6ThalesC", - "mangledName": "$s6nfclib6ThalesC", - "moduleName": "nfclib", - "declAttributes": [ - "Final" - ], - "conformances": [ - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - }, - { - "kind": "Conformance", - "name": "CardCommandsInternal", - "printedName": "CardCommandsInternal", - "usr": "s:6nfclib20CardCommandsInternalP", - "mangledName": "$s6nfclib20CardCommandsInternalP" - }, - { - "kind": "Conformance", - "name": "CardCommands", - "printedName": "CardCommands", - "usr": "s:6nfclib12CardCommandsP", - "mangledName": "$s6nfclib12CardCommandsP" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - } - ] - }, - { - "kind": "Import", - "name": "OSLog", - "printedName": "OSLog", - "declKind": "Import", - "moduleName": "nfclib", - "declAttributes": [ - "RawDocComment" - ] - }, - { - "kind": "Import", - "name": "CoreNFC", - "printedName": "CoreNFC", - "declKind": "Import", - "moduleName": "nfclib", - "declAttributes": [ - "Preconcurrency" - ] - }, - { - "kind": "Import", - "name": "CryptoTokenKit", - "printedName": "CryptoTokenKit", - "declKind": "Import", - "moduleName": "nfclib" - }, - { - "kind": "TypeDecl", - "name": "SendableISO7816Tag", - "printedName": "SendableISO7816Tag", - "children": [ - { - "kind": "Var", - "name": "tag", - "printedName": "tag", - "children": [ - { - "kind": "TypeNominal", - "name": "NFCISO7816Tag", - "printedName": "any CoreNFC.NFCISO7816Tag", - "usr": "c:objc(pl)NFCISO7816Tag" - } - ], - "declKind": "Var", - "usr": "s:6nfclib18SendableISO7816TagV3tagSo010NFCISO7816D0_pvp", - "mangledName": "$s6nfclib18SendableISO7816TagV3tagSo010NFCISO7816D0_pvp", - "moduleName": "nfclib", - "declAttributes": [ - "HasStorage" - ], - "fixedbinaryorder": 0, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "NFCISO7816Tag", - "printedName": "any CoreNFC.NFCISO7816Tag", - "usr": "c:objc(pl)NFCISO7816Tag" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib18SendableISO7816TagV3tagSo010NFCISO7816D0_pvg", - "mangledName": "$s6nfclib18SendableISO7816TagV3tagSo010NFCISO7816D0_pvg", - "moduleName": "nfclib", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - }, - { - "kind": "Accessor", - "name": "Set", - "printedName": "Set()", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "NFCISO7816Tag", - "printedName": "any CoreNFC.NFCISO7816Tag", - "usr": "c:objc(pl)NFCISO7816Tag" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib18SendableISO7816TagV3tagSo010NFCISO7816D0_pvs", - "mangledName": "$s6nfclib18SendableISO7816TagV3tagSo010NFCISO7816D0_pvs", - "moduleName": "nfclib", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "set" - }, - { - "kind": "Accessor", - "name": "Modify", - "printedName": "Modify()", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib18SendableISO7816TagV3tagSo010NFCISO7816D0_pvM", - "mangledName": "$s6nfclib18SendableISO7816TagV3tagSo010NFCISO7816D0_pvM", - "moduleName": "nfclib", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "_modify" - } - ] - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(tag:)", - "children": [ - { - "kind": "TypeNominal", - "name": "SendableISO7816Tag", - "printedName": "nfclib.SendableISO7816Tag", - "usr": "s:6nfclib18SendableISO7816TagV" - }, - { - "kind": "TypeNominal", - "name": "NFCISO7816Tag", - "printedName": "any CoreNFC.NFCISO7816Tag", - "usr": "c:objc(pl)NFCISO7816Tag" - } - ], - "declKind": "Constructor", - "usr": "s:6nfclib18SendableISO7816TagV3tagACSo010NFCISO7816D0_p_tcfc", - "mangledName": "$s6nfclib18SendableISO7816TagV3tagACSo010NFCISO7816D0_p_tcfc", - "moduleName": "nfclib", - "implicit": true, - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "sendCommand", - "printedName": "sendCommand(cls:ins:p1Byte:p2Byte:data:leByte:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - }, - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - }, - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - }, - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - }, - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - }, - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "hasDefaultArg": true, - "usr": "s:10Foundation4DataV" - }, - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "hasDefaultArg": true, - "usr": "s:Si" - } - ], - "declKind": "Func", - "usr": "s:6nfclib18SendableISO7816TagV11sendCommand3cls3ins6p1Byte02p2J04data02leJ010Foundation4DataVs5UInt8V_A3oMSitYaKF", - "mangledName": "$s6nfclib18SendableISO7816TagV11sendCommand3cls3ins6p1Byte02p2J04data02leJ010Foundation4DataVs5UInt8V_A3oMSitYaKF", - "moduleName": "nfclib", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "sendCommand", - "printedName": "sendCommand(cls:ins:p1Byte:p2Byte:records:leByte:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - }, - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - }, - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - }, - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - }, - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - }, - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[CryptoTokenKit.TKTLVRecord]", - "children": [ - { - "kind": "TypeNominal", - "name": "TKTLVRecord", - "printedName": "CryptoTokenKit.TKTLVRecord", - "usr": "c:objc(cs)TKTLVRecord" - } - ], - "usr": "s:Sa" - }, - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "hasDefaultArg": true, - "usr": "s:Si" - } - ], - "declKind": "Func", - "usr": "s:6nfclib18SendableISO7816TagV11sendCommand3cls3ins6p1Byte02p2J07records02leJ010Foundation4DataVs5UInt8V_A3OSaySo11TKTLVRecordCGSitYaKF", - "mangledName": "$s6nfclib18SendableISO7816TagV11sendCommand3cls3ins6p1Byte02p2J07records02leJ010Foundation4DataVs5UInt8V_A3OSaySo11TKTLVRecordCGSitYaKF", - "moduleName": "nfclib", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "sendPaceCommand", - "printedName": "sendPaceCommand(records:tagExpected:)", - "children": [ - { - "kind": "TypeNominal", - "name": "TKBERTLVRecord", - "printedName": "CryptoTokenKit.TKBERTLVRecord", - "usr": "c:objc(cs)TKBERTLVRecord" - }, - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[CryptoTokenKit.TKTLVRecord]", - "children": [ - { - "kind": "TypeNominal", - "name": "TKTLVRecord", - "printedName": "CryptoTokenKit.TKTLVRecord", - "usr": "c:objc(cs)TKTLVRecord" - } - ], - "usr": "s:Sa" - }, - { - "kind": "TypeNominal", - "name": "UInt64", - "printedName": "Swift.UInt64", - "usr": "s:s6UInt64V" - } - ], - "declKind": "Func", - "usr": "s:6nfclib18SendableISO7816TagV15sendPaceCommand7records11tagExpectedSo14TKBERTLVRecordCSaySo11TKTLVRecordCG_s6UInt64VtYaKF", - "mangledName": "$s6nfclib18SendableISO7816TagV15sendPaceCommand7records11tagExpectedSo14TKBERTLVRecordCSaySo11TKTLVRecordCG_s6UInt64VtYaKF", - "moduleName": "nfclib", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Struct", - "usr": "s:6nfclib18SendableISO7816TagV", - "mangledName": "$s6nfclib18SendableISO7816TagV", - "moduleName": "nfclib", - "conformances": [ - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - } - ] - }, - { - "kind": "Import", - "name": "Foundation", - "printedName": "Foundation", - "declKind": "Import", - "moduleName": "nfclib", - "declAttributes": [ - "RawDocComment" - ] - }, - { - "kind": "Import", - "name": "CoreNFC", - "printedName": "CoreNFC", - "declKind": "Import", - "moduleName": "nfclib" - }, - { - "kind": "Import", - "name": "CommonCrypto", - "printedName": "CommonCrypto", - "declKind": "Import", - "moduleName": "nfclib" - }, - { - "kind": "Import", - "name": "CryptoTokenKit", - "printedName": "CryptoTokenKit", - "declKind": "Import", - "moduleName": "nfclib" - }, - { - "kind": "Import", - "name": "SwiftECC", - "printedName": "SwiftECC", - "declKind": "Import", - "moduleName": "nfclib", - "declAttributes": [ - "AccessControl" - ] - }, - { - "kind": "Import", - "name": "BigInt", - "printedName": "BigInt", - "declKind": "Import", - "moduleName": "nfclib" - }, - { - "kind": "Import", - "name": "Security", - "printedName": "Security", - "declKind": "Import", - "moduleName": "nfclib" - }, - { - "kind": "TypeDecl", - "name": "UnblockPINError", - "printedName": "UnblockPINError", - "children": [ - { - "kind": "Var", - "name": "missingRequiredParameter", - "printedName": "missingRequiredParameter", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.UnblockPINError.Type) -> nfclib.UnblockPINError", - "children": [ - { - "kind": "TypeNominal", - "name": "UnblockPINError", - "printedName": "nfclib.UnblockPINError", - "usr": "s:6nfclib15UnblockPINErrorO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.UnblockPINError.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "UnblockPINError", - "printedName": "nfclib.UnblockPINError", - "usr": "s:6nfclib15UnblockPINErrorO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib15UnblockPINErrorO24missingRequiredParameteryA2CmF", - "mangledName": "$s6nfclib15UnblockPINErrorO24missingRequiredParameteryA2CmF", - "moduleName": "nfclib" - }, - { - "kind": "Var", - "name": "failed", - "printedName": "failed", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.UnblockPINError.Type) -> nfclib.UnblockPINError", - "children": [ - { - "kind": "TypeNominal", - "name": "UnblockPINError", - "printedName": "nfclib.UnblockPINError", - "usr": "s:6nfclib15UnblockPINErrorO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.UnblockPINError.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "UnblockPINError", - "printedName": "nfclib.UnblockPINError", - "usr": "s:6nfclib15UnblockPINErrorO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib15UnblockPINErrorO6failedyA2CmF", - "mangledName": "$s6nfclib15UnblockPINErrorO6failedyA2CmF", - "moduleName": "nfclib" - }, - { - "kind": "Var", - "name": "general", - "printedName": "general", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.UnblockPINError.Type) -> nfclib.UnblockPINError", - "children": [ - { - "kind": "TypeNominal", - "name": "UnblockPINError", - "printedName": "nfclib.UnblockPINError", - "usr": "s:6nfclib15UnblockPINErrorO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.UnblockPINError.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "UnblockPINError", - "printedName": "nfclib.UnblockPINError", - "usr": "s:6nfclib15UnblockPINErrorO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib15UnblockPINErrorO7generalyA2CmF", - "mangledName": "$s6nfclib15UnblockPINErrorO7generalyA2CmF", - "moduleName": "nfclib" - }, - { - "kind": "Function", - "name": "==", - "printedName": "==(_:_:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" - }, - { - "kind": "TypeNominal", - "name": "UnblockPINError", - "printedName": "nfclib.UnblockPINError", - "usr": "s:6nfclib15UnblockPINErrorO" - }, - { - "kind": "TypeNominal", - "name": "UnblockPINError", - "printedName": "nfclib.UnblockPINError", - "usr": "s:6nfclib15UnblockPINErrorO" - } - ], - "declKind": "Func", - "usr": "s:6nfclib15UnblockPINErrorO2eeoiySbAC_ACtFZ", - "mangledName": "$s6nfclib15UnblockPINErrorO2eeoiySbAC_ACtFZ", - "moduleName": "nfclib", - "static": true, - "implicit": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Var", - "name": "hashValue", - "printedName": "hashValue", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Var", - "usr": "s:6nfclib15UnblockPINErrorO9hashValueSivp", - "mangledName": "$s6nfclib15UnblockPINErrorO9hashValueSivp", - "moduleName": "nfclib", - "implicit": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib15UnblockPINErrorO9hashValueSivg", - "mangledName": "$s6nfclib15UnblockPINErrorO9hashValueSivg", - "moduleName": "nfclib", - "implicit": true, - "accessorKind": "get" - } - ] - }, - { - "kind": "Function", - "name": "hash", - "printedName": "hash(into:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "Hasher", - "printedName": "Swift.Hasher", - "paramValueOwnership": "InOut", - "usr": "s:s6HasherV" - } - ], - "declKind": "Func", - "usr": "s:6nfclib15UnblockPINErrorO4hash4intoys6HasherVz_tF", - "mangledName": "$s6nfclib15UnblockPINErrorO4hash4intoys6HasherVz_tF", - "moduleName": "nfclib", - "implicit": true, - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Enum", - "usr": "s:6nfclib15UnblockPINErrorO", - "mangledName": "$s6nfclib15UnblockPINErrorO", - "moduleName": "nfclib", - "declAttributes": [ - "AccessControl" - ], - "conformances": [ - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Equatable", - "printedName": "Equatable", - "usr": "s:SQ", - "mangledName": "$sSQ" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - }, - { - "kind": "Conformance", - "name": "Hashable", - "printedName": "Hashable", - "usr": "s:SH", - "mangledName": "$sSH" - }, - { - "kind": "Conformance", - "name": "Error", - "printedName": "Error", - "usr": "s:s5ErrorP", - "mangledName": "$ss5ErrorP" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "OperationUnblockPin", - "printedName": "OperationUnblockPin", - "children": [ - { - "kind": "Function", - "name": "startReading", - "printedName": "startReading(CAN:codeType:puk:newPin:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "CodeType", - "printedName": "nfclib.CodeType", - "usr": "s:6nfclib8CodeTypeO" - }, - { - "kind": "TypeNominal", - "name": "SecureData", - "printedName": "nfclib.SecureData", - "usr": "s:6nfclib10SecureDataC" - }, - { - "kind": "TypeNominal", - "name": "SecureData", - "printedName": "nfclib.SecureData", - "usr": "s:6nfclib10SecureDataC" - } - ], - "declKind": "Func", - "usr": "s:6nfclib19OperationUnblockPinC12startReading3CAN8codeType3puk03newD0ySS_AA04CodeI0OAA10SecureDataCALtYaKF", - "mangledName": "$s6nfclib19OperationUnblockPinC12startReading3CAN8codeType3puk03newD0ySS_AA04CodeI0OAA10SecureDataCALtYaKF", - "moduleName": "nfclib", - "isOpen": true, - "declAttributes": [ - "Custom", - "AccessControl" - ], - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init()", - "children": [ - { - "kind": "TypeNominal", - "name": "OperationUnblockPin", - "printedName": "nfclib.OperationUnblockPin", - "usr": "c:@M@nfclib@objc(cs)OperationUnblockPin" - } - ], - "declKind": "Constructor", - "usr": "c:@M@nfclib@objc(cs)OperationUnblockPin(im)init", - "mangledName": "$s6nfclib19OperationUnblockPinCACycfc", - "moduleName": "nfclib", - "overriding": true, - "implicit": true, - "objc_name": "init", - "declAttributes": [ - "Dynamic", - "ObjC", - "Custom", - "Override" - ], - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "tagReaderSession", - "printedName": "tagReaderSession(_:didDetect:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "NFCTagReaderSession", - "printedName": "CoreNFC.NFCTagReaderSession", - "usr": "c:objc(cs)NFCTagReaderSession" - }, - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[CoreNFC.NFCTag]", - "children": [ - { - "kind": "TypeNominal", - "name": "NFCTag", - "printedName": "CoreNFC.NFCTag", - "usr": "s:7CoreNFC6NFCTagO" - } - ], - "usr": "s:Sa" - } - ], - "declKind": "Func", - "usr": "s:6nfclib19OperationUnblockPinC16tagReaderSession_9didDetectySo06NFCTagfG0C_Say7CoreNFC0J0OGtF", - "mangledName": "$s6nfclib19OperationUnblockPinC16tagReaderSession_9didDetectySo06NFCTagfG0C_Say7CoreNFC0J0OGtF", - "moduleName": "nfclib", - "isOpen": true, - "declAttributes": [ - "Custom", - "AccessControl" - ], - "isFromExtension": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "tagReaderSessionDidBecomeActive", - "printedName": "tagReaderSessionDidBecomeActive(_:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "NFCTagReaderSession", - "printedName": "CoreNFC.NFCTagReaderSession", - "usr": "c:objc(cs)NFCTagReaderSession" - } - ], - "declKind": "Func", - "usr": "s:6nfclib19OperationUnblockPinC31tagReaderSessionDidBecomeActiveyySo06NFCTagfG0CF", - "mangledName": "$s6nfclib19OperationUnblockPinC31tagReaderSessionDidBecomeActiveyySo06NFCTagfG0CF", - "moduleName": "nfclib", - "isOpen": true, - "declAttributes": [ - "Custom", - "AccessControl" - ], - "isFromExtension": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "tagReaderSession", - "printedName": "tagReaderSession(_:didInvalidateWithError:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "NFCTagReaderSession", - "printedName": "CoreNFC.NFCTagReaderSession", - "usr": "c:objc(cs)NFCTagReaderSession" - }, - { - "kind": "TypeNominal", - "name": "Error", - "printedName": "any Swift.Error", - "usr": "s:s5ErrorP" - } - ], - "declKind": "Func", - "usr": "s:6nfclib19OperationUnblockPinC16tagReaderSession_22didInvalidateWithErrorySo06NFCTagfG0C_s0K0_ptF", - "mangledName": "$s6nfclib19OperationUnblockPinC16tagReaderSession_22didInvalidateWithErrorySo06NFCTagfG0C_s0K0_ptF", - "moduleName": "nfclib", - "isOpen": true, - "declAttributes": [ - "Custom", - "AccessControl" - ], - "isFromExtension": true, - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Class", - "usr": "c:@M@nfclib@objc(cs)OperationUnblockPin", - "mangledName": "$s6nfclib19OperationUnblockPinC", - "moduleName": "nfclib", - "isOpen": true, - "declAttributes": [ - "AccessControl", - "Custom", - "ObjC" - ], - "superclassUsr": "c:objc(cs)NSObject", - "inheritsConvenienceInitializers": true, - "superclassNames": [ - "ObjectiveC.NSObject" - ], - "conformances": [ - { - "kind": "Conformance", - "name": "NFCTagReaderSessionDelegate", - "printedName": "NFCTagReaderSessionDelegate", - "usr": "s:7CoreNFC27NFCTagReaderSessionDelegateP", - "mangledName": "$s7CoreNFC27NFCTagReaderSessionDelegateP" - }, - { - "kind": "Conformance", - "name": "_KeyValueCodingAndObserving", - "printedName": "_KeyValueCodingAndObserving", - "usr": "s:10Foundation27_KeyValueCodingAndObservingP", - "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP" - }, - { - "kind": "Conformance", - "name": "_KeyValueCodingAndObservingPublishing", - "printedName": "_KeyValueCodingAndObservingPublishing", - "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP", - "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP" - }, - { - "kind": "Conformance", - "name": "CVarArg", - "printedName": "CVarArg", - "usr": "s:s7CVarArgP", - "mangledName": "$ss7CVarArgP" - }, - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "CustomDebugStringConvertible", - "printedName": "CustomDebugStringConvertible", - "usr": "s:s28CustomDebugStringConvertibleP", - "mangledName": "$ss28CustomDebugStringConvertibleP" - }, - { - "kind": "Conformance", - "name": "CustomStringConvertible", - "printedName": "CustomStringConvertible", - "usr": "s:s23CustomStringConvertibleP", - "mangledName": "$ss23CustomStringConvertibleP" - }, - { - "kind": "Conformance", - "name": "Equatable", - "printedName": "Equatable", - "usr": "s:SQ", - "mangledName": "$sSQ" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - }, - { - "kind": "Conformance", - "name": "Hashable", - "printedName": "Hashable", - "usr": "s:SH", - "mangledName": "$sSH" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - } - ] - }, - { - "kind": "Import", - "name": "Foundation", - "printedName": "Foundation", - "declKind": "Import", - "moduleName": "nfclib", - "declAttributes": [ - "RawDocComment" - ] - }, - { - "kind": "Import", - "name": "CoreNFC", - "printedName": "CoreNFC", - "declKind": "Import", - "moduleName": "nfclib", - "declAttributes": [ - "Preconcurrency" - ] - }, - { - "kind": "Import", - "name": "BigInt", - "printedName": "BigInt", - "declKind": "Import", - "moduleName": "nfclib" - }, - { - "kind": "Import", - "name": "CryptoTokenKit", - "printedName": "CryptoTokenKit", - "declKind": "Import", - "moduleName": "nfclib" - }, - { - "kind": "TypeDecl", - "name": "NFCConnection", - "printedName": "NFCConnection", - "children": [ - { - "kind": "Constructor", - "name": "init", - "printedName": "init()", - "children": [ - { - "kind": "TypeNominal", - "name": "NFCConnection", - "printedName": "nfclib.NFCConnection", - "usr": "s:6nfclib13NFCConnectionC" - } - ], - "declKind": "Constructor", - "usr": "s:6nfclib13NFCConnectionCACycfc", - "mangledName": "$s6nfclib13NFCConnectionCACycfc", - "moduleName": "nfclib", - "declAttributes": [ - "Custom", - "AccessControl" - ], - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "setup", - "printedName": "setup(_:tags:)", - "children": [ - { - "kind": "TypeNominal", - "name": "NFCISO7816Tag", - "printedName": "any CoreNFC.NFCISO7816Tag", - "usr": "c:objc(pl)NFCISO7816Tag" - }, - { - "kind": "TypeNominal", - "name": "NFCTagReaderSession", - "printedName": "CoreNFC.NFCTagReaderSession", - "usr": "c:objc(cs)NFCTagReaderSession" - }, - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[CoreNFC.NFCTag]", - "children": [ - { - "kind": "TypeNominal", - "name": "NFCTag", - "printedName": "CoreNFC.NFCTag", - "usr": "s:7CoreNFC6NFCTagO" - } - ], - "usr": "s:Sa" - } - ], - "declKind": "Func", - "usr": "s:6nfclib13NFCConnectionC5setup_4tagsSo13NFCISO7816Tag_pSo19NFCTagReaderSessionC_Say7CoreNFC0G0OGtYaKF", - "mangledName": "$s6nfclib13NFCConnectionC5setup_4tagsSo13NFCISO7816Tag_pSo19NFCTagReaderSessionC_Say7CoreNFC0G0OGtYaKF", - "moduleName": "nfclib", - "isOpen": true, - "declAttributes": [ - "Custom", - "AccessControl" - ], - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "getCardCommands", - "printedName": "getCardCommands(_:tag:CAN:)", - "children": [ - { - "kind": "TypeNominal", - "name": "CardCommands", - "printedName": "any nfclib.CardCommands", - "usr": "s:6nfclib12CardCommandsP" - }, - { - "kind": "TypeNominal", - "name": "NFCTagReaderSession", - "printedName": "CoreNFC.NFCTagReaderSession", - "usr": "c:objc(cs)NFCTagReaderSession" - }, - { - "kind": "TypeNominal", - "name": "NFCISO7816Tag", - "printedName": "any CoreNFC.NFCISO7816Tag", - "usr": "c:objc(pl)NFCISO7816Tag" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Func", - "usr": "s:6nfclib13NFCConnectionC15getCardCommands_3tag3CANAA0dE0_pSo19NFCTagReaderSessionC_So13NFCISO7816Tag_pSStYaKF", - "mangledName": "$s6nfclib13NFCConnectionC15getCardCommands_3tag3CANAA0dE0_pSo19NFCTagReaderSessionC_So13NFCISO7816Tag_pSStYaKF", - "moduleName": "nfclib", - "isOpen": true, - "declAttributes": [ - "AccessControl", - "Custom" - ], - "throwing": true, - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Class", - "usr": "s:6nfclib13NFCConnectionC", - "mangledName": "$s6nfclib13NFCConnectionC", - "moduleName": "nfclib", - "isOpen": true, - "declAttributes": [ - "AccessControl", - "Custom" - ], - "conformances": [ - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "ProgressBar", - "printedName": "ProgressBar", - "children": [ - { - "kind": "Var", - "name": "totalSteps", - "printedName": "totalSteps", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Var", - "usr": "s:6nfclib11ProgressBarV10totalSteps33_1AA606DA0C7C84ED195AE0AE1E9AC532LLSivp", - "mangledName": "$s6nfclib11ProgressBarV10totalSteps33_1AA606DA0C7C84ED195AE0AE1E9AC532LLSivp", - "moduleName": "nfclib", - "isInternal": true, - "declAttributes": [ - "HasStorage", - "AccessControl" - ], - "fixedbinaryorder": 0, - "isLet": true, - "hasStorage": true - }, - { - "kind": "Var", - "name": "currentStep", - "printedName": "currentStep", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Var", - "usr": "s:6nfclib11ProgressBarV11currentStep33_1AA606DA0C7C84ED195AE0AE1E9AC532LLSivp", - "mangledName": "$s6nfclib11ProgressBarV11currentStep33_1AA606DA0C7C84ED195AE0AE1E9AC532LLSivp", - "moduleName": "nfclib", - "isInternal": true, - "declAttributes": [ - "HasStorage", - "AccessControl" - ], - "fixedbinaryorder": 1, - "isLet": true, - "hasStorage": true - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(currentStep:totalSteps:)", - "children": [ - { - "kind": "TypeNominal", - "name": "ProgressBar", - "printedName": "nfclib.ProgressBar", - "usr": "s:6nfclib11ProgressBarV" - }, - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - }, - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "hasDefaultArg": true, - "usr": "s:Si" - } - ], - "declKind": "Constructor", - "usr": "s:6nfclib11ProgressBarV11currentStep10totalStepsACSi_Sitcfc", - "mangledName": "$s6nfclib11ProgressBarV11currentStep10totalStepsACSi_Sitcfc", - "moduleName": "nfclib", - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "generate", - "printedName": "generate()", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Func", - "usr": "s:6nfclib11ProgressBarV8generateSSyF", - "mangledName": "$s6nfclib11ProgressBarV8generateSSyF", - "moduleName": "nfclib", - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Struct", - "usr": "s:6nfclib11ProgressBarV", - "mangledName": "$s6nfclib11ProgressBarV", - "moduleName": "nfclib", - "declAttributes": [ - "RawDocComment" - ], - "conformances": [ - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "BitwiseCopyable", - "printedName": "BitwiseCopyable", - "usr": "s:s15BitwiseCopyableP", - "mangledName": "$ss15BitwiseCopyableP" - } - ] - }, - { - "kind": "Import", - "name": "CommonCrypto", - "printedName": "CommonCrypto", - "declKind": "Import", - "moduleName": "nfclib", - "declAttributes": [ - "RawDocComment" - ] - }, - { - "kind": "Import", - "name": "Foundation", - "printedName": "Foundation", - "declKind": "Import", - "moduleName": "nfclib" - }, - { - "kind": "Import", - "name": "SwiftECC", - "printedName": "SwiftECC", - "declKind": "Import", - "moduleName": "nfclib", - "declAttributes": [ - "AccessControl" - ] - }, - { - "kind": "TypeDecl", - "name": "AES", - "printedName": "AES", - "children": [ - { - "kind": "Var", - "name": "BlockSize", - "printedName": "BlockSize", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Var", - "usr": "s:6nfclib3AESC9BlockSizeSivpZ", - "mangledName": "$s6nfclib3AESC9BlockSizeSivpZ", - "moduleName": "nfclib", - "static": true, - "declAttributes": [ - "HasInitialValue", - "Final", - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib3AESC9BlockSizeSivgZ", - "mangledName": "$s6nfclib3AESC9BlockSizeSivgZ", - "moduleName": "nfclib", - "static": true, - "implicit": true, - "declAttributes": [ - "Transparent", - "Final" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "Zero", - "printedName": "Zero", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.UInt8]", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "usr": "s:Sa" - } - ], - "declKind": "Var", - "usr": "s:6nfclib3AESC4ZeroSays5UInt8VGvpZ", - "mangledName": "$s6nfclib3AESC4ZeroSays5UInt8VGvpZ", - "moduleName": "nfclib", - "static": true, - "declAttributes": [ - "HasInitialValue", - "Final", - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.UInt8]", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "usr": "s:Sa" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib3AESC4ZeroSays5UInt8VGvgZ", - "mangledName": "$s6nfclib3AESC4ZeroSays5UInt8VGvgZ", - "moduleName": "nfclib", - "static": true, - "implicit": true, - "declAttributes": [ - "Transparent", - "Final" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "TypeDecl", - "name": "CBC", - "printedName": "CBC", - "children": [ - { - "kind": "Var", - "name": "key", - "printedName": "key", - "children": [ - { - "kind": "TypeNominal", - "name": "ProtocolComposition", - "printedName": "any Foundation.ContiguousBytes & Foundation.DataProtocol" - } - ], - "declKind": "Var", - "usr": "s:6nfclib3AESC3CBCC3key33_118F4A36F5270C36AB21110C074B0C98LL10Foundation15ContiguousBytes_AH12DataProtocolpvp", - "mangledName": "$s6nfclib3AESC3CBCC3key33_118F4A36F5270C36AB21110C074B0C98LL10Foundation15ContiguousBytes_AH12DataProtocolpvp", - "moduleName": "nfclib", - "isInternal": true, - "declAttributes": [ - "Final", - "HasStorage", - "AccessControl" - ], - "fixedbinaryorder": 0, - "isLet": true, - "hasStorage": true - }, - { - "kind": "Var", - "name": "ivVal", - "printedName": "ivVal", - "children": [ - { - "kind": "TypeNominal", - "name": "ProtocolComposition", - "printedName": "any Foundation.ContiguousBytes & Foundation.DataProtocol" - } - ], - "declKind": "Var", - "usr": "s:6nfclib3AESC3CBCC5ivVal33_118F4A36F5270C36AB21110C074B0C98LL10Foundation15ContiguousBytes_AH12DataProtocolpvp", - "mangledName": "$s6nfclib3AESC3CBCC5ivVal33_118F4A36F5270C36AB21110C074B0C98LL10Foundation15ContiguousBytes_AH12DataProtocolpvp", - "moduleName": "nfclib", - "isInternal": true, - "declAttributes": [ - "Final", - "HasStorage", - "AccessControl" - ], - "fixedbinaryorder": 1, - "isLet": true, - "hasStorage": true - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(key:ivVal:)", - "children": [ - { - "kind": "TypeNominal", - "name": "CBC", - "printedName": "nfclib.AES.CBC", - "usr": "s:6nfclib3AESC3CBCC" - }, - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "τ_0_0" - }, - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "τ_0_1", - "hasDefaultArg": true - } - ], - "declKind": "Constructor", - "usr": "s:6nfclib3AESC3CBCC3key5ivValAEx_q_tc10Foundation15ContiguousBytesRzAH12DataProtocolRzAhIR_AhJR_r0_lufc", - "mangledName": "$s6nfclib3AESC3CBCC3key5ivValAEx_q_tc10Foundation15ContiguousBytesRzAH12DataProtocolRzAhIR_AhJR_r0_lufc", - "moduleName": "nfclib", - "genericSig": "<τ_0_0, τ_0_1 where τ_0_0 : Foundation.ContiguousBytes, τ_0_0 : Foundation.DataProtocol, τ_0_1 : Foundation.ContiguousBytes, τ_0_1 : Foundation.DataProtocol>", - "sugared_genericSig": "", - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "encrypt", - "printedName": "encrypt(_:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.UInt8]", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "usr": "s:Sa" - }, - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "τ_0_0" - } - ], - "declKind": "Func", - "usr": "s:6nfclib3AESC3CBCC7encryptySays5UInt8VGxK10Foundation15ContiguousBytesRzAJ12DataProtocolRzlF", - "mangledName": "$s6nfclib3AESC3CBCC7encryptySays5UInt8VGxK10Foundation15ContiguousBytesRzAJ12DataProtocolRzlF", - "moduleName": "nfclib", - "genericSig": "<τ_0_0 where τ_0_0 : Foundation.ContiguousBytes, τ_0_0 : Foundation.DataProtocol>", - "sugared_genericSig": "", - "isOpen": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "decrypt", - "printedName": "decrypt(_:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.UInt8]", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "usr": "s:Sa" - }, - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "τ_0_0" - } - ], - "declKind": "Func", - "usr": "s:6nfclib3AESC3CBCC7decryptySays5UInt8VGxK10Foundation15ContiguousBytesRzAJ12DataProtocolRzlF", - "mangledName": "$s6nfclib3AESC3CBCC7decryptySays5UInt8VGxK10Foundation15ContiguousBytesRzAJ12DataProtocolRzlF", - "moduleName": "nfclib", - "genericSig": "<τ_0_0 where τ_0_0 : Foundation.ContiguousBytes, τ_0_0 : Foundation.DataProtocol>", - "sugared_genericSig": "", - "isOpen": true, - "throwing": true, - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Class", - "usr": "s:6nfclib3AESC3CBCC", - "mangledName": "$s6nfclib3AESC3CBCC", - "moduleName": "nfclib", - "isOpen": true, - "declAttributes": [ - "AccessControl" - ], - "conformances": [ - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "CMAC", - "printedName": "CMAC", - "children": [ - { - "kind": "Var", - "name": "RBytes", - "printedName": "RBytes", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.UInt8]", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "usr": "s:Sa" - } - ], - "declKind": "Var", - "usr": "s:6nfclib3AESC4CMACC6RBytesSays5UInt8VGvpZ", - "mangledName": "$s6nfclib3AESC4CMACC6RBytesSays5UInt8VGvpZ", - "moduleName": "nfclib", - "static": true, - "declAttributes": [ - "HasInitialValue", - "Final", - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.UInt8]", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "usr": "s:Sa" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib3AESC4CMACC6RBytesSays5UInt8VGvgZ", - "mangledName": "$s6nfclib3AESC4CMACC6RBytesSays5UInt8VGvgZ", - "moduleName": "nfclib", - "static": true, - "implicit": true, - "declAttributes": [ - "Transparent", - "Final" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "cipher", - "printedName": "cipher", - "children": [ - { - "kind": "TypeNominal", - "name": "CBC", - "printedName": "nfclib.AES.CBC", - "usr": "s:6nfclib3AESC3CBCC" - } - ], - "declKind": "Var", - "usr": "s:6nfclib3AESC4CMACC6cipherAC3CBCCvp", - "mangledName": "$s6nfclib3AESC4CMACC6cipherAC3CBCCvp", - "moduleName": "nfclib", - "declAttributes": [ - "Final", - "HasStorage" - ], - "fixedbinaryorder": 0, - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "CBC", - "printedName": "nfclib.AES.CBC", - "usr": "s:6nfclib3AESC3CBCC" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib3AESC4CMACC6cipherAC3CBCCvg", - "mangledName": "$s6nfclib3AESC4CMACC6cipherAC3CBCCvg", - "moduleName": "nfclib", - "implicit": true, - "declAttributes": [ - "Transparent", - "Final" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "k1Bytes", - "printedName": "k1Bytes", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.UInt8]", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "usr": "s:Sa" - } - ], - "declKind": "Var", - "usr": "s:6nfclib3AESC4CMACC7k1BytesSays5UInt8VGvp", - "mangledName": "$s6nfclib3AESC4CMACC7k1BytesSays5UInt8VGvp", - "moduleName": "nfclib", - "declAttributes": [ - "Final", - "HasStorage" - ], - "fixedbinaryorder": 1, - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.UInt8]", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "usr": "s:Sa" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib3AESC4CMACC7k1BytesSays5UInt8VGvg", - "mangledName": "$s6nfclib3AESC4CMACC7k1BytesSays5UInt8VGvg", - "moduleName": "nfclib", - "implicit": true, - "declAttributes": [ - "Transparent", - "Final" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "k2Bytes", - "printedName": "k2Bytes", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.UInt8]", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "usr": "s:Sa" - } - ], - "declKind": "Var", - "usr": "s:6nfclib3AESC4CMACC7k2BytesSays5UInt8VGvp", - "mangledName": "$s6nfclib3AESC4CMACC7k2BytesSays5UInt8VGvp", - "moduleName": "nfclib", - "declAttributes": [ - "Final", - "HasStorage" - ], - "fixedbinaryorder": 2, - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.UInt8]", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "usr": "s:Sa" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib3AESC4CMACC7k2BytesSays5UInt8VGvg", - "mangledName": "$s6nfclib3AESC4CMACC7k2BytesSays5UInt8VGvg", - "moduleName": "nfclib", - "implicit": true, - "declAttributes": [ - "Transparent", - "Final" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(key:)", - "children": [ - { - "kind": "TypeNominal", - "name": "CMAC", - "printedName": "nfclib.AES.CMAC", - "usr": "s:6nfclib3AESC4CMACC" - }, - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "τ_0_0" - } - ], - "declKind": "Constructor", - "usr": "s:6nfclib3AESC4CMACC3keyAEx_tKc10Foundation15ContiguousBytesRzAG12DataProtocolRzlufc", - "mangledName": "$s6nfclib3AESC4CMACC3keyAEx_tKc10Foundation15ContiguousBytesRzAG12DataProtocolRzlufc", - "moduleName": "nfclib", - "genericSig": "<τ_0_0 where τ_0_0 : Foundation.ContiguousBytes, τ_0_0 : Foundation.DataProtocol>", - "sugared_genericSig": "", - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "authenticate", - "printedName": "authenticate(bytes:count:)", - "children": [ - { - "kind": "TypeNominal", - "name": "ArraySlice", - "printedName": "Swift.ArraySlice", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "usr": "s:s10ArraySliceV" - }, - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "τ_0_0" - }, - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "hasDefaultArg": true, - "usr": "s:Si" - } - ], - "declKind": "Func", - "usr": "s:6nfclib3AESC4CMACC12authenticate5bytes5counts10ArraySliceVys5UInt8VGx_SitK10Foundation15ContiguousBytesRzAN12DataProtocolRzSi5IndexSlRtzlF", - "mangledName": "$s6nfclib3AESC4CMACC12authenticate5bytes5counts10ArraySliceVys5UInt8VGx_SitK10Foundation15ContiguousBytesRzAN12DataProtocolRzSi5IndexSlRtzlF", - "moduleName": "nfclib", - "genericSig": "<τ_0_0 where τ_0_0 : Foundation.ContiguousBytes, τ_0_0 : Foundation.DataProtocol, τ_0_0.Index == Swift.Int>", - "sugared_genericSig": "", - "isOpen": true, - "throwing": true, - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Class", - "usr": "s:6nfclib3AESC4CMACC", - "mangledName": "$s6nfclib3AESC4CMACC", - "moduleName": "nfclib", - "isOpen": true, - "declAttributes": [ - "AccessControl" - ], - "conformances": [ - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init()", - "children": [ - { - "kind": "TypeNominal", - "name": "AES", - "printedName": "nfclib.AES", - "usr": "s:6nfclib3AESC" - } - ], - "declKind": "Constructor", - "usr": "s:6nfclib3AESCACycfc", - "mangledName": "$s6nfclib3AESCACycfc", - "moduleName": "nfclib", - "implicit": true, - "init_kind": "Designated" - } - ], - "declKind": "Class", - "usr": "s:6nfclib3AESC", - "mangledName": "$s6nfclib3AESC", - "moduleName": "nfclib", - "isOpen": true, - "conformances": [ - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "Import", - "name": "Foundation", - "printedName": "Foundation", - "declKind": "Import", - "moduleName": "nfclib", - "declAttributes": [ - "RawDocComment" - ] - }, - { - "kind": "Import", - "name": "CommonCrypto", - "printedName": "CommonCrypto", - "declKind": "Import", - "moduleName": "nfclib" - }, - { - "kind": "TypeDecl", - "name": "HashLength", - "printedName": "HashLength", - "children": [ - { - "kind": "Var", - "name": "bits256", - "printedName": "bits256", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.HashLength.Type) -> nfclib.HashLength", - "children": [ - { - "kind": "TypeNominal", - "name": "HashLength", - "printedName": "nfclib.HashLength", - "usr": "s:6nfclib10HashLengthO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.HashLength.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "HashLength", - "printedName": "nfclib.HashLength", - "usr": "s:6nfclib10HashLengthO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib10HashLengthO7bits256yA2CmF", - "mangledName": "$s6nfclib10HashLengthO7bits256yA2CmF", - "moduleName": "nfclib", - "fixedbinaryorder": 0 - }, - { - "kind": "Var", - "name": "bits384", - "printedName": "bits384", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.HashLength.Type) -> nfclib.HashLength", - "children": [ - { - "kind": "TypeNominal", - "name": "HashLength", - "printedName": "nfclib.HashLength", - "usr": "s:6nfclib10HashLengthO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.HashLength.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "HashLength", - "printedName": "nfclib.HashLength", - "usr": "s:6nfclib10HashLengthO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib10HashLengthO7bits384yA2CmF", - "mangledName": "$s6nfclib10HashLengthO7bits384yA2CmF", - "moduleName": "nfclib", - "fixedbinaryorder": 1 - }, - { - "kind": "Var", - "name": "bits512", - "printedName": "bits512", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.HashLength.Type) -> nfclib.HashLength", - "children": [ - { - "kind": "TypeNominal", - "name": "HashLength", - "printedName": "nfclib.HashLength", - "usr": "s:6nfclib10HashLengthO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.HashLength.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "HashLength", - "printedName": "nfclib.HashLength", - "usr": "s:6nfclib10HashLengthO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib10HashLengthO7bits512yA2CmF", - "mangledName": "$s6nfclib10HashLengthO7bits512yA2CmF", - "moduleName": "nfclib", - "fixedbinaryorder": 2 - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(rawValue:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "nfclib.HashLength?", - "children": [ - { - "kind": "TypeNominal", - "name": "HashLength", - "printedName": "nfclib.HashLength", - "usr": "s:6nfclib10HashLengthO" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Constructor", - "usr": "s:6nfclib10HashLengthO8rawValueACSgSi_tcfc", - "mangledName": "$s6nfclib10HashLengthO8rawValueACSgSi_tcfc", - "moduleName": "nfclib", - "implicit": true, - "init_kind": "Designated" - }, - { - "kind": "Var", - "name": "rawValue", - "printedName": "rawValue", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Var", - "usr": "s:6nfclib10HashLengthO8rawValueSivp", - "mangledName": "$s6nfclib10HashLengthO8rawValueSivp", - "moduleName": "nfclib", - "implicit": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib10HashLengthO8rawValueSivg", - "mangledName": "$s6nfclib10HashLengthO8rawValueSivg", - "moduleName": "nfclib", - "implicit": true, - "accessorKind": "get" - } - ] - } - ], - "declKind": "Enum", - "usr": "s:6nfclib10HashLengthO", - "mangledName": "$s6nfclib10HashLengthO", - "moduleName": "nfclib", - "enumRawTypeName": "Int", - "isEnumExhaustive": true, - "conformances": [ - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Equatable", - "printedName": "Equatable", - "usr": "s:SQ", - "mangledName": "$sSQ" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - }, - { - "kind": "Conformance", - "name": "Hashable", - "printedName": "Hashable", - "usr": "s:SH", - "mangledName": "$sSH" - }, - { - "kind": "Conformance", - "name": "RawRepresentable", - "printedName": "RawRepresentable", - "children": [ - { - "kind": "TypeWitness", - "name": "RawValue", - "printedName": "RawValue", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ] - } - ], - "usr": "s:SY", - "mangledName": "$sSY" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "BitwiseCopyable", - "printedName": "BitwiseCopyable", - "usr": "s:s15BitwiseCopyableP", - "mangledName": "$ss15BitwiseCopyableP" - } - ] - }, - { - "kind": "Function", - "name": "hashLengthFromInt", - "printedName": "hashLengthFromInt(_:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "nfclib.HashLength?", - "children": [ - { - "kind": "TypeNominal", - "name": "HashLength", - "printedName": "nfclib.HashLength", - "usr": "s:6nfclib10HashLengthO" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Func", - "usr": "s:6nfclib17hashLengthFromIntyAA04HashC0OSgSiF", - "mangledName": "$s6nfclib17hashLengthFromIntyAA04HashC0OSgSiF", - "moduleName": "nfclib", - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "sha", - "printedName": "sha(hashLength:data:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Foundation.Data?", - "children": [ - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "HashLength", - "printedName": "nfclib.HashLength", - "usr": "s:6nfclib10HashLengthO" - }, - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Func", - "usr": "s:6nfclib3sha10hashLength4data10Foundation4DataVSgAA04HashD0O_AGtF", - "mangledName": "$s6nfclib3sha10hashLength4data10Foundation4DataVSgAA04HashD0O_AGtF", - "moduleName": "nfclib", - "funcSelfKind": "NonMutating" - }, - { - "kind": "TypeDecl", - "name": "IdCardError", - "printedName": "IdCardError", - "children": [ - { - "kind": "Var", - "name": "wrongCAN", - "printedName": "wrongCAN", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.IdCardError.Type) -> nfclib.IdCardError", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardError", - "printedName": "nfclib.IdCardError", - "usr": "s:6nfclib11IdCardErrorO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.IdCardError.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardError", - "printedName": "nfclib.IdCardError", - "usr": "s:6nfclib11IdCardErrorO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib11IdCardErrorO8wrongCANyA2CmF", - "mangledName": "$s6nfclib11IdCardErrorO8wrongCANyA2CmF", - "moduleName": "nfclib" - }, - { - "kind": "Var", - "name": "wrongPIN", - "printedName": "wrongPIN", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.IdCardError.Type) -> (Swift.Int) -> nfclib.IdCardError", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(Swift.Int) -> nfclib.IdCardError", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardError", - "printedName": "nfclib.IdCardError", - "usr": "s:6nfclib11IdCardErrorO" - }, - { - "kind": "TypeNominal", - "name": "Tuple", - "printedName": "(triesLeft: Swift.Int)", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ] - } - ] - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.IdCardError.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardError", - "printedName": "nfclib.IdCardError", - "usr": "s:6nfclib11IdCardErrorO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib11IdCardErrorO8wrongPINyACSi_tcACmF", - "mangledName": "$s6nfclib11IdCardErrorO8wrongPINyACSi_tcACmF", - "moduleName": "nfclib" - }, - { - "kind": "Var", - "name": "invalidNewPIN", - "printedName": "invalidNewPIN", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.IdCardError.Type) -> nfclib.IdCardError", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardError", - "printedName": "nfclib.IdCardError", - "usr": "s:6nfclib11IdCardErrorO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.IdCardError.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardError", - "printedName": "nfclib.IdCardError", - "usr": "s:6nfclib11IdCardErrorO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib11IdCardErrorO13invalidNewPINyA2CmF", - "mangledName": "$s6nfclib11IdCardErrorO13invalidNewPINyA2CmF", - "moduleName": "nfclib" - }, - { - "kind": "Var", - "name": "sessionError", - "printedName": "sessionError", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.IdCardError.Type) -> nfclib.IdCardError", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardError", - "printedName": "nfclib.IdCardError", - "usr": "s:6nfclib11IdCardErrorO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.IdCardError.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardError", - "printedName": "nfclib.IdCardError", - "usr": "s:6nfclib11IdCardErrorO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib11IdCardErrorO07sessionD0yA2CmF", - "mangledName": "$s6nfclib11IdCardErrorO07sessionD0yA2CmF", - "moduleName": "nfclib" - } - ], - "declKind": "Enum", - "usr": "s:6nfclib11IdCardErrorO", - "mangledName": "$s6nfclib11IdCardErrorO", - "moduleName": "nfclib", - "declAttributes": [ - "AccessControl", - "RawDocComment" - ], - "conformances": [ - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Error", - "printedName": "Error", - "usr": "s:s5ErrorP", - "mangledName": "$ss5ErrorP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "IdCardInternalError", - "printedName": "IdCardInternalError", - "children": [ - { - "kind": "Var", - "name": "missingRESTag", - "printedName": "missingRESTag", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.IdCardInternalError.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib19IdCardInternalErrorO13missingRESTagyA2CmF", - "mangledName": "$s6nfclib19IdCardInternalErrorO13missingRESTagyA2CmF", - "moduleName": "nfclib" - }, - { - "kind": "Var", - "name": "missingMACTag", - "printedName": "missingMACTag", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.IdCardInternalError.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib19IdCardInternalErrorO13missingMACTagyA2CmF", - "mangledName": "$s6nfclib19IdCardInternalErrorO13missingMACTagyA2CmF", - "moduleName": "nfclib" - }, - { - "kind": "Var", - "name": "invalidMACValue", - "printedName": "invalidMACValue", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.IdCardInternalError.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib19IdCardInternalErrorO15invalidMACValueyA2CmF", - "mangledName": "$s6nfclib19IdCardInternalErrorO15invalidMACValueyA2CmF", - "moduleName": "nfclib" - }, - { - "kind": "Var", - "name": "failedReadingField", - "printedName": "failedReadingField", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.IdCardInternalError.Type) -> (nfclib.CardField) -> nfclib.IdCardInternalError", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.CardField) -> nfclib.IdCardInternalError", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - }, - { - "kind": "TypeNominal", - "name": "CardField", - "printedName": "nfclib.CardField", - "usr": "s:6nfclib9CardFieldO" - } - ] - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.IdCardInternalError.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib19IdCardInternalErrorO18failedReadingFieldyAcA0cH0OcACmF", - "mangledName": "$s6nfclib19IdCardInternalErrorO18failedReadingFieldyAcA0cH0OcACmF", - "moduleName": "nfclib" - }, - { - "kind": "Var", - "name": "hexConversionFailed", - "printedName": "hexConversionFailed", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.IdCardInternalError.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib19IdCardInternalErrorO19hexConversionFailedyA2CmF", - "mangledName": "$s6nfclib19IdCardInternalErrorO19hexConversionFailedyA2CmF", - "moduleName": "nfclib" - }, - { - "kind": "Var", - "name": "AESCBCError", - "printedName": "AESCBCError", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.IdCardInternalError.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib19IdCardInternalErrorO11AESCBCErroryA2CmF", - "mangledName": "$s6nfclib19IdCardInternalErrorO11AESCBCErroryA2CmF", - "moduleName": "nfclib" - }, - { - "kind": "Var", - "name": "sendCommandFailed", - "printedName": "sendCommandFailed", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.IdCardInternalError.Type) -> (Swift.String) -> nfclib.IdCardInternalError", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(Swift.String) -> nfclib.IdCardInternalError", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - }, - { - "kind": "TypeNominal", - "name": "Tuple", - "printedName": "(message: Swift.String)", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ] - } - ] - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.IdCardInternalError.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib19IdCardInternalErrorO17sendCommandFailedyACSS_tcACmF", - "mangledName": "$s6nfclib19IdCardInternalErrorO17sendCommandFailedyACSS_tcACmF", - "moduleName": "nfclib" - }, - { - "kind": "Var", - "name": "invalidResponse", - "printedName": "invalidResponse", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.IdCardInternalError.Type) -> (Swift.String) -> nfclib.IdCardInternalError", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(Swift.String) -> nfclib.IdCardInternalError", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - }, - { - "kind": "TypeNominal", - "name": "Tuple", - "printedName": "(message: Swift.String)", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ] - } - ] - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.IdCardInternalError.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib19IdCardInternalErrorO15invalidResponseyACSS_tcACmF", - "mangledName": "$s6nfclib19IdCardInternalErrorO15invalidResponseyACSS_tcACmF", - "moduleName": "nfclib" - }, - { - "kind": "Var", - "name": "swError", - "printedName": "swError", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.IdCardInternalError.Type) -> (Swift.UInt16) -> nfclib.IdCardInternalError", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(Swift.UInt16) -> nfclib.IdCardInternalError", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - }, - { - "kind": "TypeNominal", - "name": "UInt16", - "printedName": "Swift.UInt16", - "usr": "s:s6UInt16V" - } - ] - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.IdCardInternalError.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib19IdCardInternalErrorO02swE0yACs6UInt16VcACmF", - "mangledName": "$s6nfclib19IdCardInternalErrorO02swE0yACs6UInt16VcACmF", - "moduleName": "nfclib" - }, - { - "kind": "Var", - "name": "pinVerificationFailed", - "printedName": "pinVerificationFailed", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.IdCardInternalError.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib19IdCardInternalErrorO21pinVerificationFailedyA2CmF", - "mangledName": "$s6nfclib19IdCardInternalErrorO21pinVerificationFailedyA2CmF", - "moduleName": "nfclib" - }, - { - "kind": "Var", - "name": "remainingPinRetryCount", - "printedName": "remainingPinRetryCount", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.IdCardInternalError.Type) -> (Swift.Int) -> nfclib.IdCardInternalError", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(Swift.Int) -> nfclib.IdCardInternalError", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - }, - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ] - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.IdCardInternalError.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib19IdCardInternalErrorO22remainingPinRetryCountyACSicACmF", - "mangledName": "$s6nfclib19IdCardInternalErrorO22remainingPinRetryCountyACSicACmF", - "moduleName": "nfclib" - }, - { - "kind": "Var", - "name": "invalidNewPin", - "printedName": "invalidNewPin", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.IdCardInternalError.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib19IdCardInternalErrorO13invalidNewPinyA2CmF", - "mangledName": "$s6nfclib19IdCardInternalErrorO13invalidNewPinyA2CmF", - "moduleName": "nfclib" - }, - { - "kind": "Var", - "name": "notSupportedCodeType", - "printedName": "notSupportedCodeType", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.IdCardInternalError.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib19IdCardInternalErrorO20notSupportedCodeTypeyA2CmF", - "mangledName": "$s6nfclib19IdCardInternalErrorO20notSupportedCodeTypeyA2CmF", - "moduleName": "nfclib" - }, - { - "kind": "Var", - "name": "dataPaddingError", - "printedName": "dataPaddingError", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.IdCardInternalError.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib19IdCardInternalErrorO011dataPaddingE0yA2CmF", - "mangledName": "$s6nfclib19IdCardInternalErrorO011dataPaddingE0yA2CmF", - "moduleName": "nfclib" - }, - { - "kind": "Var", - "name": "invalidAPDU", - "printedName": "invalidAPDU", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.IdCardInternalError.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib19IdCardInternalErrorO11invalidAPDUyA2CmF", - "mangledName": "$s6nfclib19IdCardInternalErrorO11invalidAPDUyA2CmF", - "moduleName": "nfclib" - }, - { - "kind": "Var", - "name": "authenticationFailed", - "printedName": "authenticationFailed", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.IdCardInternalError.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib19IdCardInternalErrorO20authenticationFailedyA2CmF", - "mangledName": "$s6nfclib19IdCardInternalErrorO20authenticationFailedyA2CmF", - "moduleName": "nfclib" - }, - { - "kind": "Var", - "name": "canAuthenticationFailed", - "printedName": "canAuthenticationFailed", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.IdCardInternalError.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib19IdCardInternalErrorO23canAuthenticationFailedyA2CmF", - "mangledName": "$s6nfclib19IdCardInternalErrorO23canAuthenticationFailedyA2CmF", - "moduleName": "nfclib" - }, - { - "kind": "Var", - "name": "invalidTag", - "printedName": "invalidTag", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.IdCardInternalError.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib19IdCardInternalErrorO10invalidTagyA2CmF", - "mangledName": "$s6nfclib19IdCardInternalErrorO10invalidTagyA2CmF", - "moduleName": "nfclib" - }, - { - "kind": "Var", - "name": "cardNotSupported", - "printedName": "cardNotSupported", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.IdCardInternalError.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib19IdCardInternalErrorO16cardNotSupportedyA2CmF", - "mangledName": "$s6nfclib19IdCardInternalErrorO16cardNotSupportedyA2CmF", - "moduleName": "nfclib" - }, - { - "kind": "Var", - "name": "nfcNotSupported", - "printedName": "nfcNotSupported", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.IdCardInternalError.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib19IdCardInternalErrorO15nfcNotSupportedyA2CmF", - "mangledName": "$s6nfclib19IdCardInternalErrorO15nfcNotSupportedyA2CmF", - "moduleName": "nfclib" - }, - { - "kind": "Var", - "name": "connectionFailed", - "printedName": "connectionFailed", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.IdCardInternalError.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib19IdCardInternalErrorO16connectionFailedyA2CmF", - "mangledName": "$s6nfclib19IdCardInternalErrorO16connectionFailedyA2CmF", - "moduleName": "nfclib" - }, - { - "kind": "Var", - "name": "multipleTagsDetected", - "printedName": "multipleTagsDetected", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.IdCardInternalError.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib19IdCardInternalErrorO20multipleTagsDetectedyA2CmF", - "mangledName": "$s6nfclib19IdCardInternalErrorO20multipleTagsDetectedyA2CmF", - "moduleName": "nfclib" - }, - { - "kind": "Var", - "name": "couldNotVerifyChipsMAC", - "printedName": "couldNotVerifyChipsMAC", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.IdCardInternalError.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib19IdCardInternalErrorO22couldNotVerifyChipsMACyA2CmF", - "mangledName": "$s6nfclib19IdCardInternalErrorO22couldNotVerifyChipsMACyA2CmF", - "moduleName": "nfclib" - }, - { - "kind": "Var", - "name": "cancelledByUser", - "printedName": "cancelledByUser", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.IdCardInternalError.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib19IdCardInternalErrorO15cancelledByUseryA2CmF", - "mangledName": "$s6nfclib19IdCardInternalErrorO15cancelledByUseryA2CmF", - "moduleName": "nfclib" - }, - { - "kind": "Var", - "name": "sessionInvalidated", - "printedName": "sessionInvalidated", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.IdCardInternalError.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib19IdCardInternalErrorO18sessionInvalidatedyA2CmF", - "mangledName": "$s6nfclib19IdCardInternalErrorO18sessionInvalidatedyA2CmF", - "moduleName": "nfclib" - }, - { - "kind": "Var", - "name": "readerProcessFailed", - "printedName": "readerProcessFailed", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.IdCardInternalError.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib19IdCardInternalErrorO19readerProcessFailedyA2CmF", - "mangledName": "$s6nfclib19IdCardInternalErrorO19readerProcessFailedyA2CmF", - "moduleName": "nfclib" - }, - { - "kind": "Var", - "name": "failedToRemovePadding", - "printedName": "failedToRemovePadding", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.IdCardInternalError.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib19IdCardInternalErrorO21failedToRemovePaddingyA2CmF", - "mangledName": "$s6nfclib19IdCardInternalErrorO21failedToRemovePaddingyA2CmF", - "moduleName": "nfclib" - }, - { - "kind": "Var", - "name": "notSupportedAlgorithm", - "printedName": "notSupportedAlgorithm", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.IdCardInternalError.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib19IdCardInternalErrorO21notSupportedAlgorithmyA2CmF", - "mangledName": "$s6nfclib19IdCardInternalErrorO21notSupportedAlgorithmyA2CmF", - "moduleName": "nfclib" - }, - { - "kind": "Function", - "name": "getIdCardError", - "printedName": "getIdCardError()", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardError", - "printedName": "nfclib.IdCardError", - "usr": "s:6nfclib11IdCardErrorO" - } - ], - "declKind": "Func", - "usr": "s:6nfclib19IdCardInternalErrorO03getbcE0AA0bcE0OyF", - "mangledName": "$s6nfclib19IdCardInternalErrorO03getbcE0AA0bcE0OyF", - "moduleName": "nfclib", - "declAttributes": [ - "AccessControl" - ], - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Enum", - "usr": "s:6nfclib19IdCardInternalErrorO", - "mangledName": "$s6nfclib19IdCardInternalErrorO", - "moduleName": "nfclib", - "declAttributes": [ - "AccessControl" - ], - "conformances": [ - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Error", - "printedName": "Error", - "usr": "s:s5ErrorP", - "mangledName": "$ss5ErrorP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "PinError", - "printedName": "PinError", - "children": [ - { - "kind": "Var", - "name": "msg", - "printedName": "msg", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:6nfclib8PinErrorV3msgSSvp", - "mangledName": "$s6nfclib8PinErrorV3msgSSvp", - "moduleName": "nfclib", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib8PinErrorV3msgSSvg", - "mangledName": "$s6nfclib8PinErrorV3msgSSvg", - "moduleName": "nfclib", - "implicit": true, - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "remainingCount", - "printedName": "remainingCount", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Var", - "usr": "s:6nfclib8PinErrorV14remainingCountSivp", - "mangledName": "$s6nfclib8PinErrorV14remainingCountSivp", - "moduleName": "nfclib", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib8PinErrorV14remainingCountSivg", - "mangledName": "$s6nfclib8PinErrorV14remainingCountSivg", - "moduleName": "nfclib", - "implicit": true, - "accessorKind": "get" - } - ] - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(msg:remainingCount:)", - "children": [ - { - "kind": "TypeNominal", - "name": "PinError", - "printedName": "nfclib.PinError", - "usr": "s:6nfclib8PinErrorV" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Constructor", - "usr": "s:6nfclib8PinErrorV3msg14remainingCountACSS_Sitcfc", - "mangledName": "$s6nfclib8PinErrorV3msg14remainingCountACSS_Sitcfc", - "moduleName": "nfclib", - "implicit": true, - "init_kind": "Designated" - } - ], - "declKind": "Struct", - "usr": "s:6nfclib8PinErrorV", - "mangledName": "$s6nfclib8PinErrorV", - "moduleName": "nfclib", - "declAttributes": [ - "AccessControl" - ], - "conformances": [ - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Error", - "printedName": "Error", - "usr": "s:s5ErrorP", - "mangledName": "$ss5ErrorP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "CardInfo", - "printedName": "CardInfo", - "children": [ - { - "kind": "Var", - "name": "givenName", - "printedName": "givenName", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:6nfclib8CardInfoV9givenNameSSvp", - "mangledName": "$s6nfclib8CardInfoV9givenNameSSvp", - "moduleName": "nfclib", - "declAttributes": [ - "HasStorage", - "AccessControl" - ], - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib8CardInfoV9givenNameSSvg", - "mangledName": "$s6nfclib8CardInfoV9givenNameSSvg", - "moduleName": "nfclib", - "implicit": true, - "accessorKind": "get" - }, - { - "kind": "Accessor", - "name": "Set", - "printedName": "Set()", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib8CardInfoV9givenNameSSvs", - "mangledName": "$s6nfclib8CardInfoV9givenNameSSvs", - "moduleName": "nfclib", - "implicit": true, - "accessorKind": "set" - }, - { - "kind": "Accessor", - "name": "Modify", - "printedName": "Modify()", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib8CardInfoV9givenNameSSvM", - "mangledName": "$s6nfclib8CardInfoV9givenNameSSvM", - "moduleName": "nfclib", - "implicit": true, - "accessorKind": "_modify" - } - ] - }, - { - "kind": "Var", - "name": "surname", - "printedName": "surname", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:6nfclib8CardInfoV7surnameSSvp", - "mangledName": "$s6nfclib8CardInfoV7surnameSSvp", - "moduleName": "nfclib", - "declAttributes": [ - "HasStorage", - "AccessControl" - ], - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib8CardInfoV7surnameSSvg", - "mangledName": "$s6nfclib8CardInfoV7surnameSSvg", - "moduleName": "nfclib", - "implicit": true, - "accessorKind": "get" - }, - { - "kind": "Accessor", - "name": "Set", - "printedName": "Set()", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib8CardInfoV7surnameSSvs", - "mangledName": "$s6nfclib8CardInfoV7surnameSSvs", - "moduleName": "nfclib", - "implicit": true, - "accessorKind": "set" - }, - { - "kind": "Accessor", - "name": "Modify", - "printedName": "Modify()", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", "children": [ { "kind": "TypeNominal", - "name": "Void", - "printedName": "()" + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "nfclib.IdCardInternalError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" + } + ] } - ], - "declKind": "Accessor", - "usr": "s:6nfclib8CardInfoV7surnameSSvM", - "mangledName": "$s6nfclib8CardInfoV7surnameSSvM", - "moduleName": "nfclib", - "implicit": true, - "accessorKind": "_modify" + ] } - ] + ], + "declKind": "EnumElement", + "usr": "s:6nfclib19IdCardInternalErrorO15invalidMACValueyA2CmF", + "mangledName": "$s6nfclib19IdCardInternalErrorO15invalidMACValueyA2CmF", + "moduleName": "nfclib" }, { "kind": "Var", - "name": "personalCode", - "printedName": "personalCode", + "name": "failedReadingField", + "printedName": "failedReadingField", "children": [ { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:6nfclib8CardInfoV12personalCodeSSvp", - "mangledName": "$s6nfclib8CardInfoV12personalCodeSSvp", - "moduleName": "nfclib", - "declAttributes": [ - "HasStorage", - "AccessControl" - ], - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(nfclib.IdCardInternalError.Type) -> (nfclib.CardField) -> nfclib.IdCardInternalError", "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(nfclib.CardField) -> nfclib.IdCardInternalError", + "children": [ + { + "kind": "TypeNominal", + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" + }, + { + "kind": "TypeNominal", + "name": "CardField", + "printedName": "nfclib.CardField", + "usr": "s:6nfclib9CardFieldO" + } + ] + }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Metatype", + "printedName": "nfclib.IdCardInternalError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" + } + ] } - ], - "declKind": "Accessor", - "usr": "s:6nfclib8CardInfoV12personalCodeSSvg", - "mangledName": "$s6nfclib8CardInfoV12personalCodeSSvg", - "moduleName": "nfclib", - "implicit": true, - "accessorKind": "get" - }, + ] + } + ], + "declKind": "EnumElement", + "usr": "s:6nfclib19IdCardInternalErrorO18failedReadingFieldyAcA0cH0OcACmF", + "mangledName": "$s6nfclib19IdCardInternalErrorO18failedReadingFieldyAcA0cH0OcACmF", + "moduleName": "nfclib" + }, + { + "kind": "Var", + "name": "hexConversionFailed", + "printedName": "hexConversionFailed", + "children": [ { - "kind": "Accessor", - "name": "Set", - "printedName": "Set()", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", "children": [ { "kind": "TypeNominal", - "name": "Void", - "printedName": "()" + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Metatype", + "printedName": "nfclib.IdCardInternalError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" + } + ] } - ], - "declKind": "Accessor", - "usr": "s:6nfclib8CardInfoV12personalCodeSSvs", - "mangledName": "$s6nfclib8CardInfoV12personalCodeSSvs", - "moduleName": "nfclib", - "implicit": true, - "accessorKind": "set" - }, + ] + } + ], + "declKind": "EnumElement", + "usr": "s:6nfclib19IdCardInternalErrorO19hexConversionFailedyA2CmF", + "mangledName": "$s6nfclib19IdCardInternalErrorO19hexConversionFailedyA2CmF", + "moduleName": "nfclib" + }, + { + "kind": "Var", + "name": "AESCBCError", + "printedName": "AESCBCError", + "children": [ { - "kind": "Accessor", - "name": "Modify", - "printedName": "Modify()", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", "children": [ { "kind": "TypeNominal", - "name": "Void", - "printedName": "()" + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "nfclib.IdCardInternalError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" + } + ] } - ], - "declKind": "Accessor", - "usr": "s:6nfclib8CardInfoV12personalCodeSSvM", - "mangledName": "$s6nfclib8CardInfoV12personalCodeSSvM", - "moduleName": "nfclib", - "implicit": true, - "accessorKind": "_modify" + ] } - ] + ], + "declKind": "EnumElement", + "usr": "s:6nfclib19IdCardInternalErrorO11AESCBCErroryA2CmF", + "mangledName": "$s6nfclib19IdCardInternalErrorO11AESCBCErroryA2CmF", + "moduleName": "nfclib" }, { "kind": "Var", - "name": "citizenship", - "printedName": "citizenship", + "name": "sendCommandFailed", + "printedName": "sendCommandFailed", "children": [ { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:6nfclib8CardInfoV11citizenshipSSvp", - "mangledName": "$s6nfclib8CardInfoV11citizenshipSSvp", - "moduleName": "nfclib", - "declAttributes": [ - "HasStorage", - "AccessControl" - ], - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(nfclib.IdCardInternalError.Type) -> (Swift.String) -> nfclib.IdCardInternalError", "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.String) -> nfclib.IdCardInternalError", + "children": [ + { + "kind": "TypeNominal", + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" + }, + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(message: Swift.String)", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ] + }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Metatype", + "printedName": "nfclib.IdCardInternalError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" + } + ] } - ], - "declKind": "Accessor", - "usr": "s:6nfclib8CardInfoV11citizenshipSSvg", - "mangledName": "$s6nfclib8CardInfoV11citizenshipSSvg", - "moduleName": "nfclib", - "implicit": true, - "accessorKind": "get" - }, + ] + } + ], + "declKind": "EnumElement", + "usr": "s:6nfclib19IdCardInternalErrorO17sendCommandFailedyACSS_tcACmF", + "mangledName": "$s6nfclib19IdCardInternalErrorO17sendCommandFailedyACSS_tcACmF", + "moduleName": "nfclib" + }, + { + "kind": "Var", + "name": "invalidResponse", + "printedName": "invalidResponse", + "children": [ { - "kind": "Accessor", - "name": "Set", - "printedName": "Set()", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(nfclib.IdCardInternalError.Type) -> (Swift.String) -> nfclib.IdCardInternalError", "children": [ { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.String) -> nfclib.IdCardInternalError", + "children": [ + { + "kind": "TypeNominal", + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" + }, + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(message: Swift.String)", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ] }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib8CardInfoV11citizenshipSSvs", - "mangledName": "$s6nfclib8CardInfoV11citizenshipSSvs", - "moduleName": "nfclib", - "implicit": true, - "accessorKind": "set" - }, - { - "kind": "Accessor", - "name": "Modify", - "printedName": "Modify()", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" + "name": "Metatype", + "printedName": "nfclib.IdCardInternalError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" + } + ] } - ], - "declKind": "Accessor", - "usr": "s:6nfclib8CardInfoV11citizenshipSSvM", - "mangledName": "$s6nfclib8CardInfoV11citizenshipSSvM", - "moduleName": "nfclib", - "implicit": true, - "accessorKind": "_modify" + ] } - ] + ], + "declKind": "EnumElement", + "usr": "s:6nfclib19IdCardInternalErrorO15invalidResponseyACSS_tcACmF", + "mangledName": "$s6nfclib19IdCardInternalErrorO15invalidResponseyACSS_tcACmF", + "moduleName": "nfclib" }, { "kind": "Var", - "name": "documentNumber", - "printedName": "documentNumber", + "name": "swError", + "printedName": "swError", "children": [ { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:6nfclib8CardInfoV14documentNumberSSvp", - "mangledName": "$s6nfclib8CardInfoV14documentNumberSSvp", - "moduleName": "nfclib", - "declAttributes": [ - "HasStorage", - "AccessControl" - ], - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(nfclib.IdCardInternalError.Type) -> (Swift.UInt16) -> nfclib.IdCardInternalError", "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.UInt16) -> nfclib.IdCardInternalError", + "children": [ + { + "kind": "TypeNominal", + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" + }, + { + "kind": "TypeNominal", + "name": "UInt16", + "printedName": "Swift.UInt16", + "usr": "s:s6UInt16V" + } + ] + }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Metatype", + "printedName": "nfclib.IdCardInternalError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" + } + ] } - ], - "declKind": "Accessor", - "usr": "s:6nfclib8CardInfoV14documentNumberSSvg", - "mangledName": "$s6nfclib8CardInfoV14documentNumberSSvg", - "moduleName": "nfclib", - "implicit": true, - "accessorKind": "get" - }, + ] + } + ], + "declKind": "EnumElement", + "usr": "s:6nfclib19IdCardInternalErrorO02swE0yACs6UInt16VcACmF", + "mangledName": "$s6nfclib19IdCardInternalErrorO02swE0yACs6UInt16VcACmF", + "moduleName": "nfclib" + }, + { + "kind": "Var", + "name": "pinVerificationFailed", + "printedName": "pinVerificationFailed", + "children": [ { - "kind": "Accessor", - "name": "Set", - "printedName": "Set()", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", "children": [ { "kind": "TypeNominal", - "name": "Void", - "printedName": "()" + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Metatype", + "printedName": "nfclib.IdCardInternalError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" + } + ] } - ], - "declKind": "Accessor", - "usr": "s:6nfclib8CardInfoV14documentNumberSSvs", - "mangledName": "$s6nfclib8CardInfoV14documentNumberSSvs", - "moduleName": "nfclib", - "implicit": true, - "accessorKind": "set" - }, + ] + } + ], + "declKind": "EnumElement", + "usr": "s:6nfclib19IdCardInternalErrorO21pinVerificationFailedyA2CmF", + "mangledName": "$s6nfclib19IdCardInternalErrorO21pinVerificationFailedyA2CmF", + "moduleName": "nfclib" + }, + { + "kind": "Var", + "name": "remainingPinRetryCount", + "printedName": "remainingPinRetryCount", + "children": [ { - "kind": "Accessor", - "name": "Modify", - "printedName": "Modify()", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(nfclib.IdCardInternalError.Type) -> (Swift.Int) -> nfclib.IdCardInternalError", "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.Int) -> nfclib.IdCardInternalError", + "children": [ + { + "kind": "TypeNominal", + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" + }, + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + }, { "kind": "TypeNominal", - "name": "Void", - "printedName": "()" + "name": "Metatype", + "printedName": "nfclib.IdCardInternalError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" + } + ] } - ], - "declKind": "Accessor", - "usr": "s:6nfclib8CardInfoV14documentNumberSSvM", - "mangledName": "$s6nfclib8CardInfoV14documentNumberSSvM", - "moduleName": "nfclib", - "implicit": true, - "accessorKind": "_modify" + ] } - ] + ], + "declKind": "EnumElement", + "usr": "s:6nfclib19IdCardInternalErrorO22remainingPinRetryCountyACSicACmF", + "mangledName": "$s6nfclib19IdCardInternalErrorO22remainingPinRetryCountyACSicACmF", + "moduleName": "nfclib" }, { "kind": "Var", - "name": "dateOfExpiry", - "printedName": "dateOfExpiry", + "name": "invalidNewPin", + "printedName": "invalidNewPin", "children": [ { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:6nfclib8CardInfoV12dateOfExpirySSvp", - "mangledName": "$s6nfclib8CardInfoV12dateOfExpirySSvp", - "moduleName": "nfclib", - "declAttributes": [ - "HasStorage", - "AccessControl" - ], - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "nfclib.IdCardInternalError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" + } + ] } - ], - "declKind": "Accessor", - "usr": "s:6nfclib8CardInfoV12dateOfExpirySSvg", - "mangledName": "$s6nfclib8CardInfoV12dateOfExpirySSvg", - "moduleName": "nfclib", - "implicit": true, - "accessorKind": "get" - }, + ] + } + ], + "declKind": "EnumElement", + "usr": "s:6nfclib19IdCardInternalErrorO13invalidNewPinyA2CmF", + "mangledName": "$s6nfclib19IdCardInternalErrorO13invalidNewPinyA2CmF", + "moduleName": "nfclib" + }, + { + "kind": "Var", + "name": "notSupportedCodeType", + "printedName": "notSupportedCodeType", + "children": [ { - "kind": "Accessor", - "name": "Set", - "printedName": "Set()", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", "children": [ { "kind": "TypeNominal", - "name": "Void", - "printedName": "()" + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Metatype", + "printedName": "nfclib.IdCardInternalError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" + } + ] } - ], - "declKind": "Accessor", - "usr": "s:6nfclib8CardInfoV12dateOfExpirySSvs", - "mangledName": "$s6nfclib8CardInfoV12dateOfExpirySSvs", - "moduleName": "nfclib", - "implicit": true, - "accessorKind": "set" - }, + ] + } + ], + "declKind": "EnumElement", + "usr": "s:6nfclib19IdCardInternalErrorO20notSupportedCodeTypeyA2CmF", + "mangledName": "$s6nfclib19IdCardInternalErrorO20notSupportedCodeTypeyA2CmF", + "moduleName": "nfclib" + }, + { + "kind": "Var", + "name": "dataPaddingError", + "printedName": "dataPaddingError", + "children": [ { - "kind": "Accessor", - "name": "Modify", - "printedName": "Modify()", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", "children": [ { "kind": "TypeNominal", - "name": "Void", - "printedName": "()" + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "nfclib.IdCardInternalError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" + } + ] } - ], - "declKind": "Accessor", - "usr": "s:6nfclib8CardInfoV12dateOfExpirySSvM", - "mangledName": "$s6nfclib8CardInfoV12dateOfExpirySSvM", - "moduleName": "nfclib", - "implicit": true, - "accessorKind": "_modify" + ] } - ] + ], + "declKind": "EnumElement", + "usr": "s:6nfclib19IdCardInternalErrorO011dataPaddingE0yA2CmF", + "mangledName": "$s6nfclib19IdCardInternalErrorO011dataPaddingE0yA2CmF", + "moduleName": "nfclib" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(givenName:surname:personalCode:citizenship:documentNumber:dateOfExpiry:)", + "kind": "Var", + "name": "invalidAPDU", + "printedName": "invalidAPDU", "children": [ { - "kind": "TypeNominal", - "name": "CardInfo", - "printedName": "nfclib.CardInfo", - "usr": "s:6nfclib8CardInfoV" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "hasDefaultArg": true, - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "hasDefaultArg": true, - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "hasDefaultArg": true, - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "hasDefaultArg": true, - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "hasDefaultArg": true, - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "hasDefaultArg": true, - "usr": "s:SS" + "kind": "TypeFunc", + "name": "Function", + "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", + "children": [ + { + "kind": "TypeNominal", + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "nfclib.IdCardInternalError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" + } + ] + } + ] } ], - "declKind": "Constructor", - "usr": "s:6nfclib8CardInfoV9givenName7surname12personalCode11citizenship14documentNumber12dateOfExpiryACSS_S5Stcfc", - "mangledName": "$s6nfclib8CardInfoV9givenName7surname12personalCode11citizenship14documentNumber12dateOfExpiryACSS_S5Stcfc", - "moduleName": "nfclib", - "declAttributes": [ - "AccessControl" - ], - "init_kind": "Designated" + "declKind": "EnumElement", + "usr": "s:6nfclib19IdCardInternalErrorO11invalidAPDUyA2CmF", + "mangledName": "$s6nfclib19IdCardInternalErrorO11invalidAPDUyA2CmF", + "moduleName": "nfclib" }, { "kind": "Var", - "name": "formattedDescription", - "printedName": "formattedDescription", + "name": "authenticationFailed", + "printedName": "authenticationFailed", "children": [ { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:6nfclib8CardInfoV20formattedDescriptionSSvp", - "mangledName": "$s6nfclib8CardInfoV20formattedDescriptionSSvp", - "moduleName": "nfclib", - "declAttributes": [ - "AccessControl" - ], - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "nfclib.IdCardInternalError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" + } + ] } - ], - "declKind": "Accessor", - "usr": "s:6nfclib8CardInfoV20formattedDescriptionSSvg", - "mangledName": "$s6nfclib8CardInfoV20formattedDescriptionSSvg", - "moduleName": "nfclib", - "accessorKind": "get" + ] } - ] + ], + "declKind": "EnumElement", + "usr": "s:6nfclib19IdCardInternalErrorO20authenticationFailedyA2CmF", + "mangledName": "$s6nfclib19IdCardInternalErrorO20authenticationFailedyA2CmF", + "moduleName": "nfclib" }, { "kind": "Var", - "name": "hashValue", - "printedName": "hashValue", + "name": "canAuthenticationFailed", + "printedName": "canAuthenticationFailed", "children": [ { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Var", - "usr": "s:6nfclib8CardInfoV9hashValueSivp", - "mangledName": "$s6nfclib8CardInfoV9hashValueSivp", - "moduleName": "nfclib", - "implicit": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "nfclib.IdCardInternalError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" + } + ] } - ], - "declKind": "Accessor", - "usr": "s:6nfclib8CardInfoV9hashValueSivg", - "mangledName": "$s6nfclib8CardInfoV9hashValueSivg", - "moduleName": "nfclib", - "implicit": true, - "accessorKind": "get" - } - ] - }, - { - "kind": "Function", - "name": "hash", - "printedName": "hash(into:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "Hasher", - "printedName": "Swift.Hasher", - "paramValueOwnership": "InOut", - "usr": "s:s6HasherV" + ] } ], - "declKind": "Func", - "usr": "s:6nfclib8CardInfoV4hash4intoys6HasherVz_tF", - "mangledName": "$s6nfclib8CardInfoV4hash4intoys6HasherVz_tF", - "moduleName": "nfclib", - "implicit": true, - "funcSelfKind": "NonMutating" + "declKind": "EnumElement", + "usr": "s:6nfclib19IdCardInternalErrorO23canAuthenticationFailedyA2CmF", + "mangledName": "$s6nfclib19IdCardInternalErrorO23canAuthenticationFailedyA2CmF", + "moduleName": "nfclib" }, { - "kind": "Function", - "name": "==", - "printedName": "==(_:_:)", + "kind": "Var", + "name": "invalidTag", + "printedName": "invalidTag", "children": [ { - "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" - }, - { - "kind": "TypeNominal", - "name": "CardInfo", - "printedName": "nfclib.CardInfo", - "usr": "s:6nfclib8CardInfoV" - }, - { - "kind": "TypeNominal", - "name": "CardInfo", - "printedName": "nfclib.CardInfo", - "usr": "s:6nfclib8CardInfoV" + "kind": "TypeFunc", + "name": "Function", + "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", + "children": [ + { + "kind": "TypeNominal", + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "nfclib.IdCardInternalError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" + } + ] + } + ] } ], - "declKind": "Func", - "usr": "s:6nfclib8CardInfoV2eeoiySbAC_ACtFZ", - "mangledName": "$s6nfclib8CardInfoV2eeoiySbAC_ACtFZ", - "moduleName": "nfclib", - "static": true, - "implicit": true, - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Struct", - "usr": "s:6nfclib8CardInfoV", - "mangledName": "$s6nfclib8CardInfoV", - "moduleName": "nfclib", - "declAttributes": [ - "AccessControl", - "RawDocComment" - ], - "conformances": [ - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "Hashable", - "printedName": "Hashable", - "usr": "s:SH", - "mangledName": "$sSH" + "declKind": "EnumElement", + "usr": "s:6nfclib19IdCardInternalErrorO10invalidTagyA2CmF", + "mangledName": "$s6nfclib19IdCardInternalErrorO10invalidTagyA2CmF", + "moduleName": "nfclib" }, { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" + "kind": "Var", + "name": "cardNotSupported", + "printedName": "cardNotSupported", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", + "children": [ + { + "kind": "TypeNominal", + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "nfclib.IdCardInternalError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:6nfclib19IdCardInternalErrorO16cardNotSupportedyA2CmF", + "mangledName": "$s6nfclib19IdCardInternalErrorO16cardNotSupportedyA2CmF", + "moduleName": "nfclib" }, - { - "kind": "Conformance", - "name": "Equatable", - "printedName": "Equatable", - "usr": "s:SQ", - "mangledName": "$sSQ" - } - ] - }, - { - "kind": "TypeDecl", - "name": "CardField", - "printedName": "CardField", - "children": [ { "kind": "Var", - "name": "surname", - "printedName": "surname", + "name": "nfcNotSupported", + "printedName": "nfcNotSupported", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(nfclib.CardField.Type) -> nfclib.CardField", + "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", "children": [ { "kind": "TypeNominal", - "name": "CardField", - "printedName": "nfclib.CardField", - "usr": "s:6nfclib9CardFieldO" + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "nfclib.CardField.Type", + "printedName": "nfclib.IdCardInternalError.Type", "children": [ { "kind": "TypeNominal", - "name": "CardField", - "printedName": "nfclib.CardField", - "usr": "s:6nfclib9CardFieldO" + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" } ] } @@ -11301,36 +4684,36 @@ } ], "declKind": "EnumElement", - "usr": "s:6nfclib9CardFieldO7surnameyA2CmF", - "mangledName": "$s6nfclib9CardFieldO7surnameyA2CmF", + "usr": "s:6nfclib19IdCardInternalErrorO15nfcNotSupportedyA2CmF", + "mangledName": "$s6nfclib19IdCardInternalErrorO15nfcNotSupportedyA2CmF", "moduleName": "nfclib" }, { "kind": "Var", - "name": "firstName", - "printedName": "firstName", + "name": "connectionFailed", + "printedName": "connectionFailed", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(nfclib.CardField.Type) -> nfclib.CardField", + "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", "children": [ { "kind": "TypeNominal", - "name": "CardField", - "printedName": "nfclib.CardField", - "usr": "s:6nfclib9CardFieldO" + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "nfclib.CardField.Type", + "printedName": "nfclib.IdCardInternalError.Type", "children": [ { "kind": "TypeNominal", - "name": "CardField", - "printedName": "nfclib.CardField", - "usr": "s:6nfclib9CardFieldO" + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" } ] } @@ -11338,36 +4721,36 @@ } ], "declKind": "EnumElement", - "usr": "s:6nfclib9CardFieldO9firstNameyA2CmF", - "mangledName": "$s6nfclib9CardFieldO9firstNameyA2CmF", + "usr": "s:6nfclib19IdCardInternalErrorO16connectionFailedyA2CmF", + "mangledName": "$s6nfclib19IdCardInternalErrorO16connectionFailedyA2CmF", "moduleName": "nfclib" }, { "kind": "Var", - "name": "sex", - "printedName": "sex", + "name": "multipleTagsDetected", + "printedName": "multipleTagsDetected", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(nfclib.CardField.Type) -> nfclib.CardField", + "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", "children": [ { "kind": "TypeNominal", - "name": "CardField", - "printedName": "nfclib.CardField", - "usr": "s:6nfclib9CardFieldO" + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "nfclib.CardField.Type", + "printedName": "nfclib.IdCardInternalError.Type", "children": [ { "kind": "TypeNominal", - "name": "CardField", - "printedName": "nfclib.CardField", - "usr": "s:6nfclib9CardFieldO" + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" } ] } @@ -11375,36 +4758,36 @@ } ], "declKind": "EnumElement", - "usr": "s:6nfclib9CardFieldO3sexyA2CmF", - "mangledName": "$s6nfclib9CardFieldO3sexyA2CmF", + "usr": "s:6nfclib19IdCardInternalErrorO20multipleTagsDetectedyA2CmF", + "mangledName": "$s6nfclib19IdCardInternalErrorO20multipleTagsDetectedyA2CmF", "moduleName": "nfclib" }, { "kind": "Var", - "name": "citizenship", - "printedName": "citizenship", + "name": "couldNotVerifyChipsMAC", + "printedName": "couldNotVerifyChipsMAC", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(nfclib.CardField.Type) -> nfclib.CardField", + "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", "children": [ { "kind": "TypeNominal", - "name": "CardField", - "printedName": "nfclib.CardField", - "usr": "s:6nfclib9CardFieldO" + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "nfclib.CardField.Type", + "printedName": "nfclib.IdCardInternalError.Type", "children": [ { "kind": "TypeNominal", - "name": "CardField", - "printedName": "nfclib.CardField", - "usr": "s:6nfclib9CardFieldO" + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" } ] } @@ -11412,36 +4795,36 @@ } ], "declKind": "EnumElement", - "usr": "s:6nfclib9CardFieldO11citizenshipyA2CmF", - "mangledName": "$s6nfclib9CardFieldO11citizenshipyA2CmF", + "usr": "s:6nfclib19IdCardInternalErrorO22couldNotVerifyChipsMACyA2CmF", + "mangledName": "$s6nfclib19IdCardInternalErrorO22couldNotVerifyChipsMACyA2CmF", "moduleName": "nfclib" }, { "kind": "Var", - "name": "dateAndPlaceOfBirth", - "printedName": "dateAndPlaceOfBirth", + "name": "cancelledByUser", + "printedName": "cancelledByUser", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(nfclib.CardField.Type) -> nfclib.CardField", + "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", "children": [ { "kind": "TypeNominal", - "name": "CardField", - "printedName": "nfclib.CardField", - "usr": "s:6nfclib9CardFieldO" + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "nfclib.CardField.Type", + "printedName": "nfclib.IdCardInternalError.Type", "children": [ { "kind": "TypeNominal", - "name": "CardField", - "printedName": "nfclib.CardField", - "usr": "s:6nfclib9CardFieldO" + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" } ] } @@ -11449,36 +4832,36 @@ } ], "declKind": "EnumElement", - "usr": "s:6nfclib9CardFieldO19dateAndPlaceOfBirthyA2CmF", - "mangledName": "$s6nfclib9CardFieldO19dateAndPlaceOfBirthyA2CmF", + "usr": "s:6nfclib19IdCardInternalErrorO15cancelledByUseryA2CmF", + "mangledName": "$s6nfclib19IdCardInternalErrorO15cancelledByUseryA2CmF", "moduleName": "nfclib" }, { "kind": "Var", - "name": "personalCode", - "printedName": "personalCode", + "name": "sessionInvalidated", + "printedName": "sessionInvalidated", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(nfclib.CardField.Type) -> nfclib.CardField", + "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", "children": [ { "kind": "TypeNominal", - "name": "CardField", - "printedName": "nfclib.CardField", - "usr": "s:6nfclib9CardFieldO" + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "nfclib.CardField.Type", + "printedName": "nfclib.IdCardInternalError.Type", "children": [ { "kind": "TypeNominal", - "name": "CardField", - "printedName": "nfclib.CardField", - "usr": "s:6nfclib9CardFieldO" + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" } ] } @@ -11486,36 +4869,36 @@ } ], "declKind": "EnumElement", - "usr": "s:6nfclib9CardFieldO12personalCodeyA2CmF", - "mangledName": "$s6nfclib9CardFieldO12personalCodeyA2CmF", + "usr": "s:6nfclib19IdCardInternalErrorO18sessionInvalidatedyA2CmF", + "mangledName": "$s6nfclib19IdCardInternalErrorO18sessionInvalidatedyA2CmF", "moduleName": "nfclib" }, { "kind": "Var", - "name": "documentNr", - "printedName": "documentNr", + "name": "readerProcessFailed", + "printedName": "readerProcessFailed", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(nfclib.CardField.Type) -> nfclib.CardField", + "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", "children": [ { "kind": "TypeNominal", - "name": "CardField", - "printedName": "nfclib.CardField", - "usr": "s:6nfclib9CardFieldO" + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "nfclib.CardField.Type", + "printedName": "nfclib.IdCardInternalError.Type", "children": [ { "kind": "TypeNominal", - "name": "CardField", - "printedName": "nfclib.CardField", - "usr": "s:6nfclib9CardFieldO" + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" } ] } @@ -11523,36 +4906,36 @@ } ], "declKind": "EnumElement", - "usr": "s:6nfclib9CardFieldO10documentNryA2CmF", - "mangledName": "$s6nfclib9CardFieldO10documentNryA2CmF", + "usr": "s:6nfclib19IdCardInternalErrorO19readerProcessFailedyA2CmF", + "mangledName": "$s6nfclib19IdCardInternalErrorO19readerProcessFailedyA2CmF", "moduleName": "nfclib" }, { "kind": "Var", - "name": "dateOfExpiry", - "printedName": "dateOfExpiry", + "name": "failedToRemovePadding", + "printedName": "failedToRemovePadding", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(nfclib.CardField.Type) -> nfclib.CardField", + "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", "children": [ { "kind": "TypeNominal", - "name": "CardField", - "printedName": "nfclib.CardField", - "usr": "s:6nfclib9CardFieldO" + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "nfclib.CardField.Type", + "printedName": "nfclib.IdCardInternalError.Type", "children": [ { "kind": "TypeNominal", - "name": "CardField", - "printedName": "nfclib.CardField", - "usr": "s:6nfclib9CardFieldO" + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" } ] } @@ -11560,91 +4943,76 @@ } ], "declKind": "EnumElement", - "usr": "s:6nfclib9CardFieldO12dateOfExpiryyA2CmF", - "mangledName": "$s6nfclib9CardFieldO12dateOfExpiryyA2CmF", + "usr": "s:6nfclib19IdCardInternalErrorO21failedToRemovePaddingyA2CmF", + "mangledName": "$s6nfclib19IdCardInternalErrorO21failedToRemovePaddingyA2CmF", "moduleName": "nfclib" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(rawValue:)", + "kind": "Var", + "name": "notSupportedAlgorithm", + "printedName": "notSupportedAlgorithm", "children": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "nfclib.CardField?", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", "children": [ { "kind": "TypeNominal", - "name": "CardField", - "printedName": "nfclib.CardField", - "usr": "s:6nfclib9CardFieldO" + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "nfclib.IdCardInternalError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" + } + ] } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + ] } ], - "declKind": "Constructor", - "usr": "s:6nfclib9CardFieldO8rawValueACSgSi_tcfc", - "mangledName": "$s6nfclib9CardFieldO8rawValueACSgSi_tcfc", - "moduleName": "nfclib", - "implicit": true, - "init_kind": "Designated" + "declKind": "EnumElement", + "usr": "s:6nfclib19IdCardInternalErrorO21notSupportedAlgorithmyA2CmF", + "mangledName": "$s6nfclib19IdCardInternalErrorO21notSupportedAlgorithmyA2CmF", + "moduleName": "nfclib" }, { - "kind": "Var", - "name": "rawValue", - "printedName": "rawValue", + "kind": "Function", + "name": "getIdCardError", + "printedName": "getIdCardError()", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "IdCardError", + "printedName": "nfclib.IdCardError", + "usr": "s:6nfclib11IdCardErrorO" } ], - "declKind": "Var", - "usr": "s:6nfclib9CardFieldO8rawValueSivp", - "mangledName": "$s6nfclib9CardFieldO8rawValueSivp", + "declKind": "Func", + "usr": "s:6nfclib19IdCardInternalErrorO03getbcE0AA0bcE0OyF", + "mangledName": "$s6nfclib19IdCardInternalErrorO03getbcE0AA0bcE0OyF", "moduleName": "nfclib", - "implicit": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib9CardFieldO8rawValueSivg", - "mangledName": "$s6nfclib9CardFieldO8rawValueSivg", - "moduleName": "nfclib", - "implicit": true, - "accessorKind": "get" - } - ] + "declAttributes": [ + "AccessControl" + ], + "funcSelfKind": "NonMutating" } ], "declKind": "Enum", - "usr": "s:6nfclib9CardFieldO", - "mangledName": "$s6nfclib9CardFieldO", + "usr": "s:6nfclib19IdCardInternalErrorO", + "mangledName": "$s6nfclib19IdCardInternalErrorO", "moduleName": "nfclib", "declAttributes": [ "AccessControl" ], - "enumRawTypeName": "Int", "conformances": [ { "kind": "Conformance", @@ -11655,10 +5023,10 @@ }, { "kind": "Conformance", - "name": "Equatable", - "printedName": "Equatable", - "usr": "s:SQ", - "mangledName": "$sSQ" + "name": "Error", + "printedName": "Error", + "usr": "s:s5ErrorP", + "mangledName": "$ss5ErrorP" }, { "kind": "Conformance", @@ -11669,113 +5037,204 @@ }, { "kind": "Conformance", - "name": "Hashable", - "printedName": "Hashable", - "usr": "s:SH", - "mangledName": "$sSH" + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" }, { "kind": "Conformance", - "name": "RawRepresentable", - "printedName": "RawRepresentable", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "PinError", + "printedName": "PinError", + "declKind": "Struct", + "usr": "s:6nfclib8PinErrorV", + "mangledName": "$s6nfclib8PinErrorV", + "moduleName": "nfclib", + "declAttributes": [ + "AccessControl" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Error", + "printedName": "Error", + "usr": "s:s5ErrorP", + "mangledName": "$ss5ErrorP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + } + ] + }, + { + "kind": "Import", + "name": "os", + "printedName": "os", + "declKind": "Import", + "moduleName": "nfclib", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "NFCLibLogging", + "printedName": "NFCLibLogging", + "children": [ + { + "kind": "Var", + "name": "isEnabled", + "printedName": "isEnabled", "children": [ { - "kind": "TypeWitness", - "name": "RawValue", - "printedName": "RawValue", + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Var", + "usr": "s:6nfclib13NFCLibLoggingO9isEnabledSbvpZ", + "mangledName": "$s6nfclib13NFCLibLoggingO9isEnabledSbvpZ", + "moduleName": "nfclib", + "static": true, + "declAttributes": [ + "AccessControl" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" } - ] + ], + "declKind": "Accessor", + "usr": "s:6nfclib13NFCLibLoggingO9isEnabledSbvgZ", + "mangledName": "$s6nfclib13NFCLibLoggingO9isEnabledSbvgZ", + "moduleName": "nfclib", + "static": true, + "accessorKind": "get" + }, + { + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "s:6nfclib13NFCLibLoggingO9isEnabledSbvsZ", + "mangledName": "$s6nfclib13NFCLibLoggingO9isEnabledSbvsZ", + "moduleName": "nfclib", + "static": true, + "accessorKind": "set" + }, + { + "kind": "Accessor", + "name": "Modify", + "printedName": "Modify()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Accessor", + "usr": "s:6nfclib13NFCLibLoggingO9isEnabledSbvMZ", + "mangledName": "$s6nfclib13NFCLibLoggingO9isEnabledSbvMZ", + "moduleName": "nfclib", + "static": true, + "implicit": true, + "accessorKind": "_modify" } - ], - "usr": "s:SY", - "mangledName": "$sSY" - }, + ] + } + ], + "declKind": "Enum", + "usr": "s:6nfclib13NFCLibLoggingO", + "mangledName": "$s6nfclib13NFCLibLoggingO", + "moduleName": "nfclib", + "declAttributes": [ + "AccessControl" + ], + "conformances": [ { "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" }, { "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" } ] }, - { - "kind": "Import", - "name": "Foundation", - "printedName": "Foundation", - "declKind": "Import", - "moduleName": "nfclib", - "declAttributes": [ - "RawDocComment" - ] - }, - { - "kind": "Import", - "name": "CoreNFC", - "printedName": "CoreNFC", - "declKind": "Import", - "moduleName": "nfclib" - }, - { - "kind": "Import", - "name": "CommonCrypto", - "printedName": "CommonCrypto", - "declKind": "Import", - "moduleName": "nfclib" - }, - { - "kind": "Import", - "name": "CryptoTokenKit", - "printedName": "CryptoTokenKit", - "declKind": "Import", - "moduleName": "nfclib" - }, - { - "kind": "Import", - "name": "SwiftECC", - "printedName": "SwiftECC", - "declKind": "Import", - "moduleName": "nfclib", - "declAttributes": [ - "AccessControl" - ] - }, - { - "kind": "Import", - "name": "BigInt", - "printedName": "BigInt", - "declKind": "Import", - "moduleName": "nfclib" - }, { "kind": "TypeDecl", - "name": "OperationReadPublicData", - "printedName": "OperationReadPublicData", + "name": "CardInfo", + "printedName": "CardInfo", "children": [ { - "kind": "Function", - "name": "startReading", - "printedName": "startReading(CAN:)", + "kind": "Var", + "name": "givenName", + "printedName": "givenName", "children": [ - { - "kind": "TypeNominal", - "name": "CardInfo", - "printedName": "nfclib.CardInfo", - "usr": "s:6nfclib8CardInfoV" - }, { "kind": "TypeNominal", "name": "String", @@ -11783,574 +5242,423 @@ "usr": "s:SS" } ], - "declKind": "Func", - "usr": "s:6nfclib23OperationReadPublicDataC12startReading3CANAA8CardInfoVSS_tYaKF", - "mangledName": "$s6nfclib23OperationReadPublicDataC12startReading3CANAA8CardInfoVSS_tYaKF", + "declKind": "Var", + "usr": "s:6nfclib8CardInfoV9givenNameSSvp", + "mangledName": "$s6nfclib8CardInfoV9givenNameSSvp", "moduleName": "nfclib", "declAttributes": [ - "Custom", - "Final", + "HasStorage", "AccessControl" ], - "throwing": true, - "funcSelfKind": "NonMutating" + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:6nfclib8CardInfoV9givenNameSSvg", + "mangledName": "$s6nfclib8CardInfoV9givenNameSSvg", + "moduleName": "nfclib", + "implicit": true, + "accessorKind": "get" + }, + { + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:6nfclib8CardInfoV9givenNameSSvs", + "mangledName": "$s6nfclib8CardInfoV9givenNameSSvs", + "moduleName": "nfclib", + "implicit": true, + "accessorKind": "set" + }, + { + "kind": "Accessor", + "name": "Modify", + "printedName": "Modify()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Accessor", + "usr": "s:6nfclib8CardInfoV9givenNameSSvM", + "mangledName": "$s6nfclib8CardInfoV9givenNameSSvM", + "moduleName": "nfclib", + "implicit": true, + "accessorKind": "_modify" + } + ] }, { - "kind": "Constructor", - "name": "init", - "printedName": "init()", + "kind": "Var", + "name": "surname", + "printedName": "surname", "children": [ { "kind": "TypeNominal", - "name": "OperationReadPublicData", - "printedName": "nfclib.OperationReadPublicData", - "usr": "c:@M@nfclib@objc(cs)OperationReadPublicData" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "Constructor", - "usr": "c:@M@nfclib@objc(cs)OperationReadPublicData(im)init", - "mangledName": "$s6nfclib23OperationReadPublicDataCACycfc", + "declKind": "Var", + "usr": "s:6nfclib8CardInfoV7surnameSSvp", + "mangledName": "$s6nfclib8CardInfoV7surnameSSvp", "moduleName": "nfclib", - "overriding": true, - "implicit": true, - "objc_name": "init", "declAttributes": [ - "Dynamic", - "ObjC", - "Custom", - "Override" + "HasStorage", + "AccessControl" ], - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "tagReaderSession", - "printedName": "tagReaderSession(_:didDetect:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "NFCTagReaderSession", - "printedName": "CoreNFC.NFCTagReaderSession", - "usr": "c:objc(cs)NFCTagReaderSession" + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:6nfclib8CardInfoV7surnameSSvg", + "mangledName": "$s6nfclib8CardInfoV7surnameSSvg", + "moduleName": "nfclib", + "implicit": true, + "accessorKind": "get" }, { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[CoreNFC.NFCTag]", + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", "children": [ { "kind": "TypeNominal", - "name": "NFCTag", - "printedName": "CoreNFC.NFCTag", - "usr": "s:7CoreNFC6NFCTagO" + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "usr": "s:Sa" - } - ], - "declKind": "Func", - "usr": "s:6nfclib23OperationReadPublicDataC16tagReaderSession_9didDetectySo06NFCTaggH0C_Say7CoreNFC0K0OGtF", - "mangledName": "$s6nfclib23OperationReadPublicDataC16tagReaderSession_9didDetectySo06NFCTaggH0C_Say7CoreNFC0K0OGtF", - "moduleName": "nfclib", - "declAttributes": [ - "Custom", - "Final", - "AccessControl" - ], - "isFromExtension": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "tagReaderSessionDidBecomeActive", - "printedName": "tagReaderSessionDidBecomeActive(_:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" + "declKind": "Accessor", + "usr": "s:6nfclib8CardInfoV7surnameSSvs", + "mangledName": "$s6nfclib8CardInfoV7surnameSSvs", + "moduleName": "nfclib", + "implicit": true, + "accessorKind": "set" }, { - "kind": "TypeNominal", - "name": "NFCTagReaderSession", - "printedName": "CoreNFC.NFCTagReaderSession", - "usr": "c:objc(cs)NFCTagReaderSession" + "kind": "Accessor", + "name": "Modify", + "printedName": "Modify()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Accessor", + "usr": "s:6nfclib8CardInfoV7surnameSSvM", + "mangledName": "$s6nfclib8CardInfoV7surnameSSvM", + "moduleName": "nfclib", + "implicit": true, + "accessorKind": "_modify" } - ], - "declKind": "Func", - "usr": "s:6nfclib23OperationReadPublicDataC31tagReaderSessionDidBecomeActiveyySo06NFCTaggH0CF", - "mangledName": "$s6nfclib23OperationReadPublicDataC31tagReaderSessionDidBecomeActiveyySo06NFCTaggH0CF", - "moduleName": "nfclib", - "declAttributes": [ - "Custom", - "Final", - "AccessControl" - ], - "isFromExtension": true, - "funcSelfKind": "NonMutating" + ] }, { - "kind": "Function", - "name": "tagReaderSession", - "printedName": "tagReaderSession(_:didInvalidateWithError:)", + "kind": "Var", + "name": "personalCode", + "printedName": "personalCode", "children": [ { "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "NFCTagReaderSession", - "printedName": "CoreNFC.NFCTagReaderSession", - "usr": "c:objc(cs)NFCTagReaderSession" - }, - { - "kind": "TypeNominal", - "name": "Error", - "printedName": "any Swift.Error", - "usr": "s:s5ErrorP" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "Func", - "usr": "s:6nfclib23OperationReadPublicDataC16tagReaderSession_22didInvalidateWithErrorySo06NFCTaggH0C_s0L0_ptF", - "mangledName": "$s6nfclib23OperationReadPublicDataC16tagReaderSession_22didInvalidateWithErrorySo06NFCTaggH0C_s0L0_ptF", + "declKind": "Var", + "usr": "s:6nfclib8CardInfoV12personalCodeSSvp", + "mangledName": "$s6nfclib8CardInfoV12personalCodeSSvp", "moduleName": "nfclib", "declAttributes": [ - "Custom", - "Final", + "HasStorage", "AccessControl" ], - "isFromExtension": true, - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Class", - "usr": "c:@M@nfclib@objc(cs)OperationReadPublicData", - "mangledName": "$s6nfclib23OperationReadPublicDataC", - "moduleName": "nfclib", - "declAttributes": [ - "AccessControl", - "Final", - "Custom", - "ObjC" - ], - "superclassUsr": "c:objc(cs)NSObject", - "inheritsConvenienceInitializers": true, - "superclassNames": [ - "ObjectiveC.NSObject" - ], - "conformances": [ - { - "kind": "Conformance", - "name": "NFCTagReaderSessionDelegate", - "printedName": "NFCTagReaderSessionDelegate", - "usr": "s:7CoreNFC27NFCTagReaderSessionDelegateP", - "mangledName": "$s7CoreNFC27NFCTagReaderSessionDelegateP" - }, - { - "kind": "Conformance", - "name": "_KeyValueCodingAndObserving", - "printedName": "_KeyValueCodingAndObserving", - "usr": "s:10Foundation27_KeyValueCodingAndObservingP", - "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP" - }, - { - "kind": "Conformance", - "name": "_KeyValueCodingAndObservingPublishing", - "printedName": "_KeyValueCodingAndObservingPublishing", - "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP", - "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP" - }, - { - "kind": "Conformance", - "name": "CVarArg", - "printedName": "CVarArg", - "usr": "s:s7CVarArgP", - "mangledName": "$ss7CVarArgP" - }, - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "CustomDebugStringConvertible", - "printedName": "CustomDebugStringConvertible", - "usr": "s:s28CustomDebugStringConvertibleP", - "mangledName": "$ss28CustomDebugStringConvertibleP" - }, - { - "kind": "Conformance", - "name": "CustomStringConvertible", - "printedName": "CustomStringConvertible", - "usr": "s:s23CustomStringConvertibleP", - "mangledName": "$ss23CustomStringConvertibleP" - }, - { - "kind": "Conformance", - "name": "Equatable", - "printedName": "Equatable", - "usr": "s:SQ", - "mangledName": "$sSQ" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - }, - { - "kind": "Conformance", - "name": "Hashable", - "printedName": "Hashable", - "usr": "s:SH", - "mangledName": "$sSH" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - } - ] - }, - { - "kind": "Import", - "name": "Foundation", - "printedName": "Foundation", - "declKind": "Import", - "moduleName": "nfclib", - "declAttributes": [ - "RawDocComment" - ] - }, - { - "kind": "TypeDecl", - "name": "CardReader", - "printedName": "CardReader", - "children": [ - { - "kind": "Function", - "name": "transmit", - "printedName": "transmit(_:)", - "children": [ + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Tuple", - "printedName": "(responseData: [Swift.UInt8], sw: Swift.UInt16)", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.UInt8]", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "usr": "s:Sa" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:6nfclib8CardInfoV12personalCodeSSvg", + "mangledName": "$s6nfclib8CardInfoV12personalCodeSSvg", + "moduleName": "nfclib", + "implicit": true, + "accessorKind": "get" + }, + { + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" }, { "kind": "TypeNominal", - "name": "UInt16", - "printedName": "Swift.UInt16", - "usr": "s:s6UInt16V" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] + ], + "declKind": "Accessor", + "usr": "s:6nfclib8CardInfoV12personalCodeSSvs", + "mangledName": "$s6nfclib8CardInfoV12personalCodeSSvs", + "moduleName": "nfclib", + "implicit": true, + "accessorKind": "set" }, { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.UInt8]", + "kind": "Accessor", + "name": "Modify", + "printedName": "Modify()", "children": [ { "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" + "name": "Void", + "printedName": "()" } ], - "usr": "s:Sa" + "declKind": "Accessor", + "usr": "s:6nfclib8CardInfoV12personalCodeSSvM", + "mangledName": "$s6nfclib8CardInfoV12personalCodeSSvM", + "moduleName": "nfclib", + "implicit": true, + "accessorKind": "_modify" } - ], - "declKind": "Func", - "usr": "s:6nfclib10CardReaderP8transmitySays5UInt8VG12responseData_s6UInt16V2swtAGYaKF", - "mangledName": "$s6nfclib10CardReaderP8transmitySays5UInt8VG12responseData_s6UInt16V2swtAGYaKF", - "moduleName": "nfclib", - "genericSig": "<τ_0_0 where τ_0_0 : nfclib.CardReader>", - "sugared_genericSig": "", - "protocolReq": true, - "declAttributes": [ - "RawDocComment" - ], - "throwing": true, - "reqNewWitnessTableEntry": true, - "funcSelfKind": "NonMutating" + ] }, { - "kind": "Function", - "name": "sendAPDU", - "printedName": "sendAPDU(cls:ins:p1Byte:p2Byte:data:leByte:)", + "kind": "Var", + "name": "citizenship", + "printedName": "citizenship", "children": [ { "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - }, - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "hasDefaultArg": true, - "usr": "s:s5UInt8V" - }, - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - }, - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "hasDefaultArg": true, - "usr": "s:s5UInt8V" - }, - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "hasDefaultArg": true, - "usr": "s:s5UInt8V" - }, + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:6nfclib8CardInfoV11citizenshipSSvp", + "mangledName": "$s6nfclib8CardInfoV11citizenshipSSvp", + "moduleName": "nfclib", + "declAttributes": [ + "HasStorage", + "AccessControl" + ], + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "(any Swift.Collection)?", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "Collection", - "printedName": "any Swift.Collection", - "usr": "s:Sl" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "Accessor", + "usr": "s:6nfclib8CardInfoV11citizenshipSSvg", + "mangledName": "$s6nfclib8CardInfoV11citizenshipSSvg", + "moduleName": "nfclib", + "implicit": true, + "accessorKind": "get" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.UInt8?", + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", "children": [ { "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "hasDefaultArg": true, - "usr": "s:Sq" - } - ], - "declKind": "Func", - "usr": "s:6nfclib10CardReaderPAAE8sendAPDU3cls3ins6p1Byte02p2I04data02leI010Foundation4DataVs5UInt8V_A3OSl_pAO7ElementRts_XPSgAOSgtYaKF", - "mangledName": "$s6nfclib10CardReaderPAAE8sendAPDU3cls3ins6p1Byte02p2I04data02leI010Foundation4DataVs5UInt8V_A3OSl_pAO7ElementRts_XPSgAOSgtYaKF", - "moduleName": "nfclib", - "genericSig": "<τ_0_0 where τ_0_0 : nfclib.CardReader>", - "sugared_genericSig": "", - "declAttributes": [ - "RawDocComment" - ], - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Protocol", - "usr": "s:6nfclib10CardReaderP", - "mangledName": "$s6nfclib10CardReaderP", - "moduleName": "nfclib", - "genericSig": "<τ_0_0 : Swift.Sendable>", - "sugared_genericSig": "", - "conformances": [ - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - }, - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - } - ] - }, - { - "kind": "Import", - "name": "Foundation", - "printedName": "Foundation", - "declKind": "Import", - "moduleName": "nfclib", - "declAttributes": [ - "RawDocComment" - ] - }, - { - "kind": "TypeDecl", - "name": "CodeType", - "printedName": "CodeType", - "children": [ - { - "kind": "Var", - "name": "puk", - "printedName": "puk", - "children": [ + "declKind": "Accessor", + "usr": "s:6nfclib8CardInfoV11citizenshipSSvs", + "mangledName": "$s6nfclib8CardInfoV11citizenshipSSvs", + "moduleName": "nfclib", + "implicit": true, + "accessorKind": "set" + }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.CodeType.Type) -> nfclib.CodeType", + "kind": "Accessor", + "name": "Modify", + "printedName": "Modify()", "children": [ { "kind": "TypeNominal", - "name": "CodeType", - "printedName": "nfclib.CodeType", - "usr": "s:6nfclib8CodeTypeO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.CodeType.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodeType", - "printedName": "nfclib.CodeType", - "usr": "s:6nfclib8CodeTypeO" - } - ] + "name": "Void", + "printedName": "()" } - ] + ], + "declKind": "Accessor", + "usr": "s:6nfclib8CardInfoV11citizenshipSSvM", + "mangledName": "$s6nfclib8CardInfoV11citizenshipSSvM", + "moduleName": "nfclib", + "implicit": true, + "accessorKind": "_modify" } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib8CodeTypeO3pukyA2CmF", - "mangledName": "$s6nfclib8CodeTypeO3pukyA2CmF", - "moduleName": "nfclib" + ] }, { "kind": "Var", - "name": "pin1", - "printedName": "pin1", + "name": "documentNumber", + "printedName": "documentNumber", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.CodeType.Type) -> nfclib.CodeType", + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:6nfclib8CardInfoV14documentNumberSSvp", + "mangledName": "$s6nfclib8CardInfoV14documentNumberSSvp", + "moduleName": "nfclib", + "declAttributes": [ + "HasStorage", + "AccessControl" + ], + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "CodeType", - "printedName": "nfclib.CodeType", - "usr": "s:6nfclib8CodeTypeO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.CodeType.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodeType", - "printedName": "nfclib.CodeType", - "usr": "s:6nfclib8CodeTypeO" - } - ] + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib8CodeTypeO4pin1yA2CmF", - "mangledName": "$s6nfclib8CodeTypeO4pin1yA2CmF", - "moduleName": "nfclib" - }, - { - "kind": "Var", - "name": "pin2", - "printedName": "pin2", - "children": [ + ], + "declKind": "Accessor", + "usr": "s:6nfclib8CardInfoV14documentNumberSSvg", + "mangledName": "$s6nfclib8CardInfoV14documentNumberSSvg", + "moduleName": "nfclib", + "implicit": true, + "accessorKind": "get" + }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.CodeType.Type) -> nfclib.CodeType", + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", "children": [ { "kind": "TypeNominal", - "name": "CodeType", - "printedName": "nfclib.CodeType", - "usr": "s:6nfclib8CodeTypeO" + "name": "Void", + "printedName": "()" }, { "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.CodeType.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodeType", - "printedName": "nfclib.CodeType", - "usr": "s:6nfclib8CodeTypeO" - } - ] + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] + ], + "declKind": "Accessor", + "usr": "s:6nfclib8CardInfoV14documentNumberSSvs", + "mangledName": "$s6nfclib8CardInfoV14documentNumberSSvs", + "moduleName": "nfclib", + "implicit": true, + "accessorKind": "set" + }, + { + "kind": "Accessor", + "name": "Modify", + "printedName": "Modify()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Accessor", + "usr": "s:6nfclib8CardInfoV14documentNumberSSvM", + "mangledName": "$s6nfclib8CardInfoV14documentNumberSSvM", + "moduleName": "nfclib", + "implicit": true, + "accessorKind": "_modify" } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib8CodeTypeO4pin2yA2CmF", - "mangledName": "$s6nfclib8CodeTypeO4pin2yA2CmF", - "moduleName": "nfclib" + ] }, { "kind": "Var", - "name": "name", - "printedName": "name", + "name": "dateOfExpiry", + "printedName": "dateOfExpiry", "children": [ { "kind": "TypeNominal", @@ -12360,12 +5668,14 @@ } ], "declKind": "Var", - "usr": "s:6nfclib8CodeTypeO4nameSSvp", - "mangledName": "$s6nfclib8CodeTypeO4nameSSvp", + "usr": "s:6nfclib8CardInfoV12dateOfExpirySSvp", + "mangledName": "$s6nfclib8CardInfoV12dateOfExpirySSvp", "moduleName": "nfclib", "declAttributes": [ + "HasStorage", "AccessControl" ], + "hasStorage": true, "accessors": [ { "kind": "Accessor", @@ -12380,63 +5690,138 @@ } ], "declKind": "Accessor", - "usr": "s:6nfclib8CodeTypeO4nameSSvg", - "mangledName": "$s6nfclib8CodeTypeO4nameSSvg", + "usr": "s:6nfclib8CardInfoV12dateOfExpirySSvg", + "mangledName": "$s6nfclib8CardInfoV12dateOfExpirySSvg", "moduleName": "nfclib", + "implicit": true, "accessorKind": "get" + }, + { + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:6nfclib8CardInfoV12dateOfExpirySSvs", + "mangledName": "$s6nfclib8CardInfoV12dateOfExpirySSvs", + "moduleName": "nfclib", + "implicit": true, + "accessorKind": "set" + }, + { + "kind": "Accessor", + "name": "Modify", + "printedName": "Modify()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Accessor", + "usr": "s:6nfclib8CardInfoV12dateOfExpirySSvM", + "mangledName": "$s6nfclib8CardInfoV12dateOfExpirySSvM", + "moduleName": "nfclib", + "implicit": true, + "accessorKind": "_modify" } ] }, { "kind": "Constructor", "name": "init", - "printedName": "init(rawValue:)", + "printedName": "init(givenName:surname:personalCode:citizenship:documentNumber:dateOfExpiry:)", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "nfclib.CodeType?", - "children": [ - { - "kind": "TypeNominal", - "name": "CodeType", - "printedName": "nfclib.CodeType", - "usr": "s:6nfclib8CodeTypeO" - } - ], - "usr": "s:Sq" + "name": "CardInfo", + "printedName": "nfclib.CardInfo", + "usr": "s:6nfclib8CardInfoV" }, { "kind": "TypeNominal", - "name": "UInt", - "printedName": "Swift.UInt", - "usr": "s:Su" + "name": "String", + "printedName": "Swift.String", + "hasDefaultArg": true, + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "hasDefaultArg": true, + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "hasDefaultArg": true, + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "hasDefaultArg": true, + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "hasDefaultArg": true, + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "hasDefaultArg": true, + "usr": "s:SS" } ], "declKind": "Constructor", - "usr": "s:6nfclib8CodeTypeO8rawValueACSgSu_tcfc", - "mangledName": "$s6nfclib8CodeTypeO8rawValueACSgSu_tcfc", + "usr": "s:6nfclib8CardInfoV9givenName7surname12personalCode11citizenship14documentNumber12dateOfExpiryACSS_S5Stcfc", + "mangledName": "$s6nfclib8CardInfoV9givenName7surname12personalCode11citizenship14documentNumber12dateOfExpiryACSS_S5Stcfc", "moduleName": "nfclib", - "implicit": true, + "declAttributes": [ + "AccessControl" + ], "init_kind": "Designated" }, { "kind": "Var", - "name": "rawValue", - "printedName": "rawValue", + "name": "formattedDescription", + "printedName": "formattedDescription", "children": [ { "kind": "TypeNominal", - "name": "UInt", - "printedName": "Swift.UInt", - "usr": "s:Su" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Var", - "usr": "s:6nfclib8CodeTypeO8rawValueSuvp", - "mangledName": "$s6nfclib8CodeTypeO8rawValueSuvp", + "usr": "s:6nfclib8CardInfoV20formattedDescriptionSSvp", + "mangledName": "$s6nfclib8CardInfoV20formattedDescriptionSSvp", "moduleName": "nfclib", - "implicit": true, + "declAttributes": [ + "AccessControl" + ], "accessors": [ { "kind": "Accessor", @@ -12445,118 +5830,36 @@ "children": [ { "kind": "TypeNominal", - "name": "UInt", - "printedName": "Swift.UInt", - "usr": "s:Su" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib8CodeTypeO8rawValueSuvg", - "mangledName": "$s6nfclib8CodeTypeO8rawValueSuvg", - "moduleName": "nfclib", - "implicit": true, - "accessorKind": "get" - } - ] - } - ], - "declKind": "Enum", - "usr": "s:6nfclib8CodeTypeO", - "mangledName": "$s6nfclib8CodeTypeO", - "moduleName": "nfclib", - "declAttributes": [ - "AccessControl" - ], - "enumRawTypeName": "UInt", - "conformances": [ - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Equatable", - "printedName": "Equatable", - "usr": "s:SQ", - "mangledName": "$sSQ" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - }, - { - "kind": "Conformance", - "name": "Hashable", - "printedName": "Hashable", - "usr": "s:SH", - "mangledName": "$sSH" - }, - { - "kind": "Conformance", - "name": "RawRepresentable", - "printedName": "RawRepresentable", - "children": [ - { - "kind": "TypeWitness", - "name": "RawValue", - "printedName": "RawValue", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt", - "printedName": "Swift.UInt", - "usr": "s:Su" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] + ], + "declKind": "Accessor", + "usr": "s:6nfclib8CardInfoV20formattedDescriptionSSvg", + "mangledName": "$s6nfclib8CardInfoV20formattedDescriptionSSvg", + "moduleName": "nfclib", + "accessorKind": "get" } - ], - "usr": "s:SY", - "mangledName": "$sSY" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" + ] }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "CardCommands", - "printedName": "CardCommands", - "children": [ { "kind": "Var", - "name": "canChangePUK", - "printedName": "canChangePUK", + "name": "hashValue", + "printedName": "hashValue", "children": [ { "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], "declKind": "Var", - "usr": "s:6nfclib12CardCommandsP12canChangePUKSbvp", - "mangledName": "$s6nfclib12CardCommandsP12canChangePUKSbvp", + "usr": "s:6nfclib8CardInfoV9hashValueSivp", + "mangledName": "$s6nfclib8CardInfoV9hashValueSivp", "moduleName": "nfclib", - "protocolReq": true, + "implicit": true, "accessors": [ { "kind": "Accessor", @@ -12565,561 +5868,514 @@ "children": [ { "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], "declKind": "Accessor", - "usr": "s:6nfclib12CardCommandsP12canChangePUKSbvg", - "mangledName": "$s6nfclib12CardCommandsP12canChangePUKSbvg", + "usr": "s:6nfclib8CardInfoV9hashValueSivg", + "mangledName": "$s6nfclib8CardInfoV9hashValueSivg", "moduleName": "nfclib", - "genericSig": "<τ_0_0 where τ_0_0 : nfclib.CardCommands>", - "sugared_genericSig": "", - "protocolReq": true, - "reqNewWitnessTableEntry": true, + "implicit": true, "accessorKind": "get" } ] }, { "kind": "Function", - "name": "readPublicData", - "printedName": "readPublicData()", + "name": "hash", + "printedName": "hash(into:)", "children": [ { "kind": "TypeNominal", - "name": "CardInfo", - "printedName": "nfclib.CardInfo", - "usr": "s:6nfclib8CardInfoV" + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Hasher", + "printedName": "Swift.Hasher", + "paramValueOwnership": "InOut", + "usr": "s:s6HasherV" } ], "declKind": "Func", - "usr": "s:6nfclib12CardCommandsP14readPublicDataAA0B4InfoVyYaKF", - "mangledName": "$s6nfclib12CardCommandsP14readPublicDataAA0B4InfoVyYaKF", + "usr": "s:6nfclib8CardInfoV4hash4intoys6HasherVz_tF", + "mangledName": "$s6nfclib8CardInfoV4hash4intoys6HasherVz_tF", "moduleName": "nfclib", - "genericSig": "<τ_0_0 where τ_0_0 : nfclib.CardCommands>", - "sugared_genericSig": "", - "protocolReq": true, - "declAttributes": [ - "RawDocComment" - ], - "throwing": true, - "reqNewWitnessTableEntry": true, + "implicit": true, "funcSelfKind": "NonMutating" }, { "kind": "Function", - "name": "readAuthenticationCertificate", - "printedName": "readAuthenticationCertificate()", + "name": "==", + "printedName": "==(_:_:)", "children": [ { "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "CardInfo", + "printedName": "nfclib.CardInfo", + "usr": "s:6nfclib8CardInfoV" + }, + { + "kind": "TypeNominal", + "name": "CardInfo", + "printedName": "nfclib.CardInfo", + "usr": "s:6nfclib8CardInfoV" } ], "declKind": "Func", - "usr": "s:6nfclib12CardCommandsP29readAuthenticationCertificate10Foundation4DataVyYaKF", - "mangledName": "$s6nfclib12CardCommandsP29readAuthenticationCertificate10Foundation4DataVyYaKF", + "usr": "s:6nfclib8CardInfoV2eeoiySbAC_ACtFZ", + "mangledName": "$s6nfclib8CardInfoV2eeoiySbAC_ACtFZ", "moduleName": "nfclib", - "genericSig": "<τ_0_0 where τ_0_0 : nfclib.CardCommands>", - "sugared_genericSig": "", - "protocolReq": true, - "declAttributes": [ - "RawDocComment" - ], - "throwing": true, - "reqNewWitnessTableEntry": true, + "static": true, + "implicit": true, "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:6nfclib8CardInfoV", + "mangledName": "$s6nfclib8CardInfoV", + "moduleName": "nfclib", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" }, { - "kind": "Function", - "name": "readSignatureCertificate", - "printedName": "readSignatureCertificate()", + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + } + ] + }, + { + "kind": "TypeDecl", + "name": "CardField", + "printedName": "CardField", + "children": [ + { + "kind": "Var", + "name": "surname", + "printedName": "surname", "children": [ { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" + "kind": "TypeFunc", + "name": "Function", + "printedName": "(nfclib.CardField.Type) -> nfclib.CardField", + "children": [ + { + "kind": "TypeNominal", + "name": "CardField", + "printedName": "nfclib.CardField", + "usr": "s:6nfclib9CardFieldO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "nfclib.CardField.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CardField", + "printedName": "nfclib.CardField", + "usr": "s:6nfclib9CardFieldO" + } + ] + } + ] } ], - "declKind": "Func", - "usr": "s:6nfclib12CardCommandsP24readSignatureCertificate10Foundation4DataVyYaKF", - "mangledName": "$s6nfclib12CardCommandsP24readSignatureCertificate10Foundation4DataVyYaKF", - "moduleName": "nfclib", - "genericSig": "<τ_0_0 where τ_0_0 : nfclib.CardCommands>", - "sugared_genericSig": "", - "protocolReq": true, - "declAttributes": [ - "RawDocComment" - ], - "throwing": true, - "reqNewWitnessTableEntry": true, - "funcSelfKind": "NonMutating" + "declKind": "EnumElement", + "usr": "s:6nfclib9CardFieldO7surnameyA2CmF", + "mangledName": "$s6nfclib9CardFieldO7surnameyA2CmF", + "moduleName": "nfclib" }, { - "kind": "Function", - "name": "readCodeTryCounterRecord", - "printedName": "readCodeTryCounterRecord(_:)", + "kind": "Var", + "name": "firstName", + "printedName": "firstName", "children": [ { - "kind": "TypeNominal", - "name": "Tuple", - "printedName": "(retryCount: Swift.UInt8, pinActive: Swift.Bool)", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(nfclib.CardField.Type) -> nfclib.CardField", "children": [ { "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" + "name": "CardField", + "printedName": "nfclib.CardField", + "usr": "s:6nfclib9CardFieldO" }, { "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" + "name": "Metatype", + "printedName": "nfclib.CardField.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CardField", + "printedName": "nfclib.CardField", + "usr": "s:6nfclib9CardFieldO" + } + ] } ] - }, - { - "kind": "TypeNominal", - "name": "CodeType", - "printedName": "nfclib.CodeType", - "usr": "s:6nfclib8CodeTypeO" - } - ], - "declKind": "Func", - "usr": "s:6nfclib12CardCommandsP24readCodeTryCounterRecordys5UInt8V10retryCount_Sb9pinActivetAA0E4TypeOYaKF", - "mangledName": "$s6nfclib12CardCommandsP24readCodeTryCounterRecordys5UInt8V10retryCount_Sb9pinActivetAA0E4TypeOYaKF", - "moduleName": "nfclib", - "genericSig": "<τ_0_0 where τ_0_0 : nfclib.CardCommands>", - "sugared_genericSig": "", - "protocolReq": true, - "declAttributes": [ - "RawDocComment" - ], - "throwing": true, - "reqNewWitnessTableEntry": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "changeCode", - "printedName": "changeCode(_:to:verifyCode:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "CodeType", - "printedName": "nfclib.CodeType", - "usr": "s:6nfclib8CodeTypeO" - }, - { - "kind": "TypeNominal", - "name": "SecureData", - "printedName": "nfclib.SecureData", - "usr": "s:6nfclib10SecureDataC" - }, - { - "kind": "TypeNominal", - "name": "SecureData", - "printedName": "nfclib.SecureData", - "usr": "s:6nfclib10SecureDataC" } ], - "declKind": "Func", - "usr": "s:6nfclib12CardCommandsP10changeCode_2to06verifyE0yAA0E4TypeO_AA10SecureDataCAJtYaKF", - "mangledName": "$s6nfclib12CardCommandsP10changeCode_2to06verifyE0yAA0E4TypeO_AA10SecureDataCAJtYaKF", - "moduleName": "nfclib", - "genericSig": "<τ_0_0 where τ_0_0 : nfclib.CardCommands>", - "sugared_genericSig": "", - "protocolReq": true, - "declAttributes": [ - "RawDocComment" - ], - "throwing": true, - "reqNewWitnessTableEntry": true, - "funcSelfKind": "NonMutating" + "declKind": "EnumElement", + "usr": "s:6nfclib9CardFieldO9firstNameyA2CmF", + "mangledName": "$s6nfclib9CardFieldO9firstNameyA2CmF", + "moduleName": "nfclib" }, { - "kind": "Function", - "name": "verifyCode", - "printedName": "verifyCode(_:code:)", + "kind": "Var", + "name": "sex", + "printedName": "sex", "children": [ { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "CodeType", - "printedName": "nfclib.CodeType", - "usr": "s:6nfclib8CodeTypeO" - }, - { - "kind": "TypeNominal", - "name": "SecureData", - "printedName": "nfclib.SecureData", - "usr": "s:6nfclib10SecureDataC" + "kind": "TypeFunc", + "name": "Function", + "printedName": "(nfclib.CardField.Type) -> nfclib.CardField", + "children": [ + { + "kind": "TypeNominal", + "name": "CardField", + "printedName": "nfclib.CardField", + "usr": "s:6nfclib9CardFieldO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "nfclib.CardField.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CardField", + "printedName": "nfclib.CardField", + "usr": "s:6nfclib9CardFieldO" + } + ] + } + ] } ], - "declKind": "Func", - "usr": "s:6nfclib12CardCommandsP10verifyCode_4codeyAA0E4TypeO_AA10SecureDataCtYaKF", - "mangledName": "$s6nfclib12CardCommandsP10verifyCode_4codeyAA0E4TypeO_AA10SecureDataCtYaKF", - "moduleName": "nfclib", - "genericSig": "<τ_0_0 where τ_0_0 : nfclib.CardCommands>", - "sugared_genericSig": "", - "protocolReq": true, - "declAttributes": [ - "RawDocComment" - ], - "throwing": true, - "reqNewWitnessTableEntry": true, - "funcSelfKind": "NonMutating" + "declKind": "EnumElement", + "usr": "s:6nfclib9CardFieldO3sexyA2CmF", + "mangledName": "$s6nfclib9CardFieldO3sexyA2CmF", + "moduleName": "nfclib" }, { - "kind": "Function", - "name": "unblockCode", - "printedName": "unblockCode(_:puk:newCode:)", + "kind": "Var", + "name": "citizenship", + "printedName": "citizenship", "children": [ { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "CodeType", - "printedName": "nfclib.CodeType", - "usr": "s:6nfclib8CodeTypeO" - }, - { - "kind": "TypeNominal", - "name": "SecureData", - "printedName": "nfclib.SecureData", - "usr": "s:6nfclib10SecureDataC" - }, - { - "kind": "TypeNominal", - "name": "SecureData", - "printedName": "nfclib.SecureData", - "usr": "s:6nfclib10SecureDataC" + "kind": "TypeFunc", + "name": "Function", + "printedName": "(nfclib.CardField.Type) -> nfclib.CardField", + "children": [ + { + "kind": "TypeNominal", + "name": "CardField", + "printedName": "nfclib.CardField", + "usr": "s:6nfclib9CardFieldO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "nfclib.CardField.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CardField", + "printedName": "nfclib.CardField", + "usr": "s:6nfclib9CardFieldO" + } + ] + } + ] } ], - "declKind": "Func", - "usr": "s:6nfclib12CardCommandsP11unblockCode_3puk03newE0yAA0E4TypeO_AA10SecureDataCAJtYaKF", - "mangledName": "$s6nfclib12CardCommandsP11unblockCode_3puk03newE0yAA0E4TypeO_AA10SecureDataCAJtYaKF", - "moduleName": "nfclib", - "genericSig": "<τ_0_0 where τ_0_0 : nfclib.CardCommands>", - "sugared_genericSig": "", - "protocolReq": true, - "declAttributes": [ - "RawDocComment" - ], - "throwing": true, - "reqNewWitnessTableEntry": true, - "funcSelfKind": "NonMutating" + "declKind": "EnumElement", + "usr": "s:6nfclib9CardFieldO11citizenshipyA2CmF", + "mangledName": "$s6nfclib9CardFieldO11citizenshipyA2CmF", + "moduleName": "nfclib" }, { - "kind": "Function", - "name": "authenticate", - "printedName": "authenticate(for:withPin1:)", + "kind": "Var", + "name": "dateAndPlaceOfBirth", + "printedName": "dateAndPlaceOfBirth", "children": [ { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - }, - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - }, - { - "kind": "TypeNominal", - "name": "SecureData", - "printedName": "nfclib.SecureData", - "usr": "s:6nfclib10SecureDataC" + "kind": "TypeFunc", + "name": "Function", + "printedName": "(nfclib.CardField.Type) -> nfclib.CardField", + "children": [ + { + "kind": "TypeNominal", + "name": "CardField", + "printedName": "nfclib.CardField", + "usr": "s:6nfclib9CardFieldO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "nfclib.CardField.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CardField", + "printedName": "nfclib.CardField", + "usr": "s:6nfclib9CardFieldO" + } + ] + } + ] } ], - "declKind": "Func", - "usr": "s:6nfclib12CardCommandsP12authenticate3for8withPin110Foundation4DataVAI_AA06SecureI0CtYaKF", - "mangledName": "$s6nfclib12CardCommandsP12authenticate3for8withPin110Foundation4DataVAI_AA06SecureI0CtYaKF", - "moduleName": "nfclib", - "genericSig": "<τ_0_0 where τ_0_0 : nfclib.CardCommands>", - "sugared_genericSig": "", - "protocolReq": true, - "declAttributes": [ - "RawDocComment" - ], - "throwing": true, - "reqNewWitnessTableEntry": true, - "funcSelfKind": "NonMutating" + "declKind": "EnumElement", + "usr": "s:6nfclib9CardFieldO19dateAndPlaceOfBirthyA2CmF", + "mangledName": "$s6nfclib9CardFieldO19dateAndPlaceOfBirthyA2CmF", + "moduleName": "nfclib" }, { - "kind": "Function", - "name": "calculateSignature", - "printedName": "calculateSignature(for:withPin2:)", + "kind": "Var", + "name": "personalCode", + "printedName": "personalCode", "children": [ { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - }, - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - }, - { - "kind": "TypeNominal", - "name": "SecureData", - "printedName": "nfclib.SecureData", - "usr": "s:6nfclib10SecureDataC" + "kind": "TypeFunc", + "name": "Function", + "printedName": "(nfclib.CardField.Type) -> nfclib.CardField", + "children": [ + { + "kind": "TypeNominal", + "name": "CardField", + "printedName": "nfclib.CardField", + "usr": "s:6nfclib9CardFieldO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "nfclib.CardField.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CardField", + "printedName": "nfclib.CardField", + "usr": "s:6nfclib9CardFieldO" + } + ] + } + ] } ], - "declKind": "Func", - "usr": "s:6nfclib12CardCommandsP18calculateSignature3for8withPin210Foundation4DataVAI_AA06SecureJ0CtYaKF", - "mangledName": "$s6nfclib12CardCommandsP18calculateSignature3for8withPin210Foundation4DataVAI_AA06SecureJ0CtYaKF", - "moduleName": "nfclib", - "genericSig": "<τ_0_0 where τ_0_0 : nfclib.CardCommands>", - "sugared_genericSig": "", - "protocolReq": true, - "declAttributes": [ - "RawDocComment" - ], - "throwing": true, - "reqNewWitnessTableEntry": true, - "funcSelfKind": "NonMutating" + "declKind": "EnumElement", + "usr": "s:6nfclib9CardFieldO12personalCodeyA2CmF", + "mangledName": "$s6nfclib9CardFieldO12personalCodeyA2CmF", + "moduleName": "nfclib" }, { - "kind": "Function", - "name": "decryptData", - "printedName": "decryptData(_:withPin1:)", + "kind": "Var", + "name": "documentNr", + "printedName": "documentNr", "children": [ { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - }, - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - }, - { - "kind": "TypeNominal", - "name": "SecureData", - "printedName": "nfclib.SecureData", - "usr": "s:6nfclib10SecureDataC" + "kind": "TypeFunc", + "name": "Function", + "printedName": "(nfclib.CardField.Type) -> nfclib.CardField", + "children": [ + { + "kind": "TypeNominal", + "name": "CardField", + "printedName": "nfclib.CardField", + "usr": "s:6nfclib9CardFieldO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "nfclib.CardField.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CardField", + "printedName": "nfclib.CardField", + "usr": "s:6nfclib9CardFieldO" + } + ] + } + ] } ], - "declKind": "Func", - "usr": "s:6nfclib12CardCommandsP11decryptData_8withPin110Foundation0E0VAH_AA06SecureE0CtYaKF", - "mangledName": "$s6nfclib12CardCommandsP11decryptData_8withPin110Foundation0E0VAH_AA06SecureE0CtYaKF", - "moduleName": "nfclib", - "genericSig": "<τ_0_0 where τ_0_0 : nfclib.CardCommands>", - "sugared_genericSig": "", - "protocolReq": true, - "declAttributes": [ - "RawDocComment" - ], - "throwing": true, - "reqNewWitnessTableEntry": true, - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Protocol", - "usr": "s:6nfclib12CardCommandsP", - "mangledName": "$s6nfclib12CardCommandsP", - "moduleName": "nfclib", - "genericSig": "<τ_0_0 : Swift.Sendable>", - "sugared_genericSig": "", - "declAttributes": [ - "AccessControl", - "RawDocComment" - ], - "conformances": [ - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - }, - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" + "declKind": "EnumElement", + "usr": "s:6nfclib9CardFieldO10documentNryA2CmF", + "mangledName": "$s6nfclib9CardFieldO10documentNryA2CmF", + "moduleName": "nfclib" }, { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" + "kind": "Var", + "name": "dateOfExpiry", + "printedName": "dateOfExpiry", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(nfclib.CardField.Type) -> nfclib.CardField", + "children": [ + { + "kind": "TypeNominal", + "name": "CardField", + "printedName": "nfclib.CardField", + "usr": "s:6nfclib9CardFieldO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "nfclib.CardField.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CardField", + "printedName": "nfclib.CardField", + "usr": "s:6nfclib9CardFieldO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:6nfclib9CardFieldO12dateOfExpiryyA2CmF", + "mangledName": "$s6nfclib9CardFieldO12dateOfExpiryyA2CmF", + "moduleName": "nfclib" }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - } - ] - }, - { - "kind": "Import", - "name": "Foundation", - "printedName": "Foundation", - "declKind": "Import", - "moduleName": "nfclib", - "declAttributes": [ - "RawDocComment" - ] - }, - { - "kind": "Import", - "name": "SwiftECC", - "printedName": "SwiftECC", - "declKind": "Import", - "moduleName": "nfclib", - "declAttributes": [ - "AccessControl" - ] - }, - { - "kind": "TypeDecl", - "name": "TKBERTLVRecord", - "printedName": "TKBERTLVRecord", - "children": [ { "kind": "Constructor", "name": "init", - "printedName": "init(tag:bytes:)", + "printedName": "init(rawValue:)", "children": [ { "kind": "TypeNominal", - "name": "TKBERTLVRecord", - "printedName": "CryptoTokenKit.TKBERTLVRecord", - "usr": "c:objc(cs)TKBERTLVRecord" - }, - { - "kind": "TypeNominal", - "name": "UInt64", - "printedName": "Swift.UInt64", - "usr": "s:s6UInt64V" + "name": "Optional", + "printedName": "nfclib.CardField?", + "children": [ + { + "kind": "TypeNominal", + "name": "CardField", + "printedName": "nfclib.CardField", + "usr": "s:6nfclib9CardFieldO" + } + ], + "usr": "s:Sq" }, { "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "τ_0_0" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], "declKind": "Constructor", - "usr": "s:So14TKBERTLVRecordC6nfclibE3tag5bytesABs6UInt64V_xtc10Foundation12DataProtocolRzlufc", - "mangledName": "$sSo14TKBERTLVRecordC6nfclibE3tag5bytesABs6UInt64V_xtc10Foundation12DataProtocolRzlufc", + "usr": "s:6nfclib9CardFieldO8rawValueACSgSi_tcfc", + "mangledName": "$s6nfclib9CardFieldO8rawValueACSgSi_tcfc", "moduleName": "nfclib", - "genericSig": "<τ_0_0 where τ_0_0 : Foundation.DataProtocol>", - "sugared_genericSig": "", - "declAttributes": [ - "Convenience" - ], - "isFromExtension": true, - "init_kind": "Convenience" + "implicit": true, + "init_kind": "Designated" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(tag:publicKey:)", + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", "children": [ { "kind": "TypeNominal", - "name": "TKBERTLVRecord", - "printedName": "CryptoTokenKit.TKBERTLVRecord", - "usr": "c:objc(cs)TKBERTLVRecord" - }, - { - "kind": "TypeNominal", - "name": "UInt64", - "printedName": "Swift.UInt64", - "usr": "s:s6UInt64V" - }, - { - "kind": "TypeNominal", - "name": "ECPublicKey", - "printedName": "SwiftECC.ECPublicKey", - "usr": "s:8SwiftECC11ECPublicKeyC" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], - "declKind": "Constructor", - "usr": "s:So14TKBERTLVRecordC6nfclibE3tag9publicKeyABs6UInt64V_8SwiftECC08ECPublicE0CtKcfc", - "mangledName": "$sSo14TKBERTLVRecordC6nfclibE3tag9publicKeyABs6UInt64V_8SwiftECC08ECPublicE0CtKcfc", + "declKind": "Var", + "usr": "s:6nfclib9CardFieldO8rawValueSivp", + "mangledName": "$s6nfclib9CardFieldO8rawValueSivp", "moduleName": "nfclib", - "declAttributes": [ - "Convenience" - ], - "isFromExtension": true, - "throwing": true, - "init_kind": "Convenience" + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:6nfclib9CardFieldO8rawValueSivg", + "mangledName": "$s6nfclib9CardFieldO8rawValueSivg", + "moduleName": "nfclib", + "implicit": true, + "accessorKind": "get" + } + ] } ], - "declKind": "Class", - "usr": "c:objc(cs)TKBERTLVRecord", - "moduleName": "CryptoTokenKit", - "isOpen": true, - "intro_iOS": "10.0", - "objc_name": "TKBERTLVRecord", + "declKind": "Enum", + "usr": "s:6nfclib9CardFieldO", + "mangledName": "$s6nfclib9CardFieldO", + "moduleName": "nfclib", "declAttributes": [ - "Available", - "ObjC", - "Dynamic" - ], - "superclassUsr": "c:objc(cs)TKTLVRecord", - "isExternal": true, - "inheritsConvenienceInitializers": true, - "superclassNames": [ - "CryptoTokenKit.TKTLVRecord", - "ObjectiveC.NSObject" + "AccessControl" ], + "enumRawTypeName": "Int", "conformances": [ - { - "kind": "Conformance", - "name": "_KeyValueCodingAndObserving", - "printedName": "_KeyValueCodingAndObserving", - "usr": "s:10Foundation27_KeyValueCodingAndObservingP", - "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP" - }, - { - "kind": "Conformance", - "name": "_KeyValueCodingAndObservingPublishing", - "printedName": "_KeyValueCodingAndObservingPublishing", - "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP", - "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP" - }, - { - "kind": "Conformance", - "name": "CVarArg", - "printedName": "CVarArg", - "usr": "s:s7CVarArgP", - "mangledName": "$ss7CVarArgP" - }, { "kind": "Conformance", "name": "Copyable", @@ -13127,20 +6383,6 @@ "usr": "s:s8CopyableP", "mangledName": "$ss8CopyableP" }, - { - "kind": "Conformance", - "name": "CustomDebugStringConvertible", - "printedName": "CustomDebugStringConvertible", - "usr": "s:s28CustomDebugStringConvertibleP", - "mangledName": "$ss28CustomDebugStringConvertibleP" - }, - { - "kind": "Conformance", - "name": "CustomStringConvertible", - "printedName": "CustomStringConvertible", - "usr": "s:s23CustomStringConvertibleP", - "mangledName": "$ss23CustomStringConvertibleP" - }, { "kind": "Conformance", "name": "Equatable", @@ -13161,289 +6403,193 @@ "printedName": "Hashable", "usr": "s:SH", "mangledName": "$sSH" - } - ] - }, - { - "kind": "TypeDecl", - "name": "DataProtocol", - "printedName": "DataProtocol", - "children": [ - { - "kind": "Var", - "name": "hex", - "printedName": "hex", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:10Foundation12DataProtocolP6nfclibE3hexSSvp", - "mangledName": "$s10Foundation12DataProtocolP6nfclibE3hexSSvp", - "moduleName": "nfclib", - "isFromExtension": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Accessor", - "usr": "s:10Foundation12DataProtocolP6nfclibE3hexSSvg", - "mangledName": "$s10Foundation12DataProtocolP6nfclibE3hexSSvg", - "moduleName": "nfclib", - "genericSig": "<τ_0_0 where τ_0_0 : Foundation.DataProtocol>", - "sugared_genericSig": "", - "isFromExtension": true, - "accessorKind": "get" - } - ] }, { - "kind": "Function", - "name": "chunked", - "printedName": "chunked(into:)", + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", "children": [ { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[τ_0_0.SubSequence]", + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", "children": [ { "kind": "TypeNominal", - "name": "DependentMember", - "printedName": "τ_0_0.SubSequence" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } - ], - "usr": "s:Sa" - }, - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + ] } ], - "declKind": "Func", - "usr": "s:10Foundation12DataProtocolP6nfclibE7chunked4intoSay11SubSequenceQzGSi_tF", - "mangledName": "$s10Foundation12DataProtocolP6nfclibE7chunked4intoSay11SubSequenceQzGSi_tF", - "moduleName": "nfclib", - "genericSig": "<τ_0_0 where τ_0_0 : Foundation.DataProtocol>", - "sugared_genericSig": "", - "isFromExtension": true, - "funcSelfKind": "NonMutating" + "usr": "s:SY", + "mangledName": "$sSY" }, { - "kind": "Function", - "name": "removePadding", - "printedName": "removePadding()", - "children": [ - { - "kind": "TypeNominal", - "name": "DependentMember", - "printedName": "τ_0_0.SubSequence" - } - ], - "declKind": "Func", - "usr": "s:10Foundation12DataProtocolP6nfclibE13removePadding11SubSequenceQzyKF", - "mangledName": "$s10Foundation12DataProtocolP6nfclibE13removePadding11SubSequenceQzyKF", - "moduleName": "nfclib", - "genericSig": "<τ_0_0 where τ_0_0 : Foundation.DataProtocol>", - "sugared_genericSig": "", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" }, { - "kind": "Var", - "name": "toHex", - "printedName": "toHex", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:10Foundation12DataProtocolP6nfclibSi5IndexRtzrlE5toHexSSvp", - "mangledName": "$s10Foundation12DataProtocolP6nfclibSi5IndexRtzrlE5toHexSSvp", - "moduleName": "nfclib", - "isFromExtension": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Accessor", - "usr": "s:10Foundation12DataProtocolP6nfclibSi5IndexRtzrlE5toHexSSvg", - "mangledName": "$s10Foundation12DataProtocolP6nfclibSi5IndexRtzrlE5toHexSSvg", - "moduleName": "nfclib", - "genericSig": "<τ_0_0 where τ_0_0 : Foundation.DataProtocol, τ_0_0.Index == Swift.Int>", - "sugared_genericSig": "", - "isFromExtension": true, - "accessorKind": "get" - } - ] - }, + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "nfclib", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "CoreNFC", + "printedName": "CoreNFC", + "declKind": "Import", + "moduleName": "nfclib" + }, + { + "kind": "Import", + "name": "CommonCrypto", + "printedName": "CommonCrypto", + "declKind": "Import", + "moduleName": "nfclib" + }, + { + "kind": "Import", + "name": "CryptoTokenKit", + "printedName": "CryptoTokenKit", + "declKind": "Import", + "moduleName": "nfclib" + }, + { + "kind": "Import", + "name": "SwiftECC", + "printedName": "SwiftECC", + "declKind": "Import", + "moduleName": "nfclib", + "declAttributes": [ + "AccessControl" + ] + }, + { + "kind": "Import", + "name": "BigInt", + "printedName": "BigInt", + "declKind": "Import", + "moduleName": "nfclib" + }, + { + "kind": "TypeDecl", + "name": "OperationReadPublicData", + "printedName": "OperationReadPublicData", + "children": [ { "kind": "Function", - "name": "chunked", - "printedName": "chunked(into:)", + "name": "startReading", + "printedName": "startReading(CAN:)", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[τ_0_0.SubSequence]", - "children": [ - { - "kind": "TypeNominal", - "name": "DependentMember", - "printedName": "τ_0_0.SubSequence" - } - ], - "usr": "s:Sa" + "name": "CardInfo", + "printedName": "nfclib.CardInfo", + "usr": "s:6nfclib8CardInfoV" }, { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Func", - "usr": "s:10Foundation12DataProtocolP6nfclibSi5IndexRtzrlE7chunked4intoSay11SubSequenceQzGSi_tF", - "mangledName": "$s10Foundation12DataProtocolP6nfclibSi5IndexRtzrlE7chunked4intoSay11SubSequenceQzGSi_tF", + "usr": "s:6nfclib23OperationReadPublicDataC12startReading3CANAA8CardInfoVSS_tYaKF", + "mangledName": "$s6nfclib23OperationReadPublicDataC12startReading3CANAA8CardInfoVSS_tYaKF", "moduleName": "nfclib", - "genericSig": "<τ_0_0 where τ_0_0 : Foundation.DataProtocol, τ_0_0.Index == Swift.Int>", - "sugared_genericSig": "", - "isFromExtension": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "removePadding", - "printedName": "removePadding()", - "children": [ - { - "kind": "TypeNominal", - "name": "DependentMember", - "printedName": "τ_0_0.SubSequence" - } + "declAttributes": [ + "Custom", + "Final", + "AccessControl" ], - "declKind": "Func", - "usr": "s:10Foundation12DataProtocolP6nfclibSi5IndexRtzrlE13removePadding11SubSequenceQzyKF", - "mangledName": "$s10Foundation12DataProtocolP6nfclibSi5IndexRtzrlE13removePadding11SubSequenceQzyKF", - "moduleName": "nfclib", - "genericSig": "<τ_0_0 where τ_0_0 : Foundation.DataProtocol, τ_0_0.Index == Swift.Int>", - "sugared_genericSig": "", - "isFromExtension": true, "throwing": true, "funcSelfKind": "NonMutating" }, { "kind": "Constructor", "name": "init", - "printedName": "init(hex:)", + "printedName": "init()", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "τ_0_0?", - "children": [ - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "τ_0_0" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "OperationReadPublicData", + "printedName": "nfclib.OperationReadPublicData", + "usr": "c:@M@nfclib@objc(cs)OperationReadPublicData" } ], "declKind": "Constructor", - "usr": "s:10Foundation12DataProtocolP6nfclibAA07MutablebC0RzSi5IndexRtzrlE3hexxSgSS_tcfc", - "mangledName": "$s10Foundation12DataProtocolP6nfclibAA07MutablebC0RzSi5IndexRtzrlE3hexxSgSS_tcfc", + "usr": "c:@M@nfclib@objc(cs)OperationReadPublicData(im)init", + "mangledName": "$s6nfclib23OperationReadPublicDataCACycfc", "moduleName": "nfclib", - "genericSig": "<τ_0_0 where τ_0_0 : Foundation.MutableDataProtocol, τ_0_0.Index == Swift.Int>", - "sugared_genericSig": "", - "isFromExtension": true, - "init_kind": "Convenience" - }, - { - "kind": "Function", - "name": "addPadding", - "printedName": "addPadding()", - "children": [ - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "τ_0_0" - } + "overriding": true, + "implicit": true, + "objc_name": "init", + "declAttributes": [ + "Dynamic", + "ObjC", + "Custom", + "Override" ], - "declKind": "Func", - "usr": "s:10Foundation12DataProtocolP6nfclibAA07MutablebC0RzSi5IndexRtzrlE10addPaddingxyF", - "mangledName": "$s10Foundation12DataProtocolP6nfclibAA07MutablebC0RzSi5IndexRtzrlE10addPaddingxyF", - "moduleName": "nfclib", - "genericSig": "<τ_0_0 where τ_0_0 : Foundation.MutableDataProtocol, τ_0_0.Index == Swift.Int>", - "sugared_genericSig": "", - "isFromExtension": true, - "funcSelfKind": "NonMutating" + "init_kind": "Designated" }, { "kind": "Function", - "name": "^", - "printedName": "^(_:_:)", + "name": "tagReaderSession", + "printedName": "tagReaderSession(_:didDetect:)", "children": [ { "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "τ_0_0" + "name": "Void", + "printedName": "()" }, { "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "τ_0_0" + "name": "NFCTagReaderSession", + "printedName": "CoreNFC.NFCTagReaderSession", + "usr": "c:objc(cs)NFCTagReaderSession" }, { "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "τ_0_0" + "name": "Array", + "printedName": "[CoreNFC.NFCTag]", + "children": [ + { + "kind": "TypeNominal", + "name": "NFCTag", + "printedName": "CoreNFC.NFCTag", + "usr": "s:7CoreNFC6NFCTagO" + } + ], + "usr": "s:Sa" } ], "declKind": "Func", - "usr": "s:10Foundation12DataProtocolP6nfclibAA07MutablebC0RzSi5IndexRtzrlE1xoiyxx_xtFZ", - "mangledName": "$s10Foundation12DataProtocolP6nfclibAA07MutablebC0RzSi5IndexRtzrlE1xoiyxx_xtFZ", + "usr": "s:6nfclib23OperationReadPublicDataC16tagReaderSession_9didDetectySo06NFCTaggH0C_Say7CoreNFC0K0OGtF", + "mangledName": "$s6nfclib23OperationReadPublicDataC16tagReaderSession_9didDetectySo06NFCTaggH0C_Say7CoreNFC0K0OGtF", "moduleName": "nfclib", - "genericSig": "<τ_0_0 where τ_0_0 : Foundation.MutableDataProtocol, τ_0_0.Index == Swift.Int>", - "sugared_genericSig": "", - "static": true, "declAttributes": [ + "Custom", + "Final", "AccessControl" ], "isFromExtension": true, @@ -13451,244 +6597,105 @@ }, { "kind": "Function", - "name": "^", - "printedName": "^(_:_:)", - "children": [ - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "τ_0_0" - }, - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "τ_0_0" - }, - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "τ_1_0" - } - ], - "declKind": "Func", - "usr": "s:10Foundation12DataProtocolP6nfclibAA07MutablebC0RzSi5IndexRtzrlE1xoiyxx_qd__tSlRd__s5UInt8V7ElementRtd__lFZ", - "mangledName": "$s10Foundation12DataProtocolP6nfclibAA07MutablebC0RzSi5IndexRtzrlE1xoiyxx_qd__tSlRd__s5UInt8V7ElementRtd__lFZ", - "moduleName": "nfclib", - "genericSig": "<τ_0_0, τ_1_0 where τ_0_0 : Foundation.MutableDataProtocol, τ_1_0 : Swift.Collection, τ_0_0.Index == Swift.Int, τ_1_0.Element == Swift.UInt8>", - "sugared_genericSig": "", - "static": true, - "isFromExtension": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "increment", - "printedName": "increment()", - "children": [ - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "τ_0_0" - } - ], - "declKind": "Func", - "usr": "s:10Foundation12DataProtocolP6nfclibAA07MutablebC0RzSi5IndexRtzrlE9incrementxyF", - "mangledName": "$s10Foundation12DataProtocolP6nfclibAA07MutablebC0RzSi5IndexRtzrlE9incrementxyF", - "moduleName": "nfclib", - "genericSig": "<τ_0_0 where τ_0_0 : Foundation.MutableDataProtocol, τ_0_0.Index == Swift.Int>", - "sugared_genericSig": "", - "declAttributes": [ - "Mutating" - ], - "isFromExtension": true, - "funcSelfKind": "Mutating" - }, - { - "kind": "Function", - "name": "leftShiftOneBit", - "printedName": "leftShiftOneBit()", + "name": "tagReaderSessionDidBecomeActive", + "printedName": "tagReaderSessionDidBecomeActive(_:)", "children": [ { "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "τ_0_0" - } - ], - "declKind": "Func", - "usr": "s:10Foundation12DataProtocolP6nfclibAA07MutablebC0RzSi5IndexRtzrlE15leftShiftOneBitxyF", - "mangledName": "$s10Foundation12DataProtocolP6nfclibAA07MutablebC0RzSi5IndexRtzrlE15leftShiftOneBitxyF", - "moduleName": "nfclib", - "genericSig": "<τ_0_0 where τ_0_0 : Foundation.MutableDataProtocol, τ_0_0.Index == Swift.Int>", - "sugared_genericSig": "", - "isFromExtension": true, - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Protocol", - "usr": "s:10Foundation12DataProtocolP", - "mangledName": "$s10Foundation12DataProtocolP", - "moduleName": "Foundation", - "genericSig": "<τ_0_0 : Swift.RandomAccessCollection, τ_0_0.Element == Swift.UInt8, τ_0_0.Regions : Swift.BidirectionalCollection, τ_0_0.SubSequence : Foundation.DataProtocol, τ_0_0.Regions.Element : Foundation.ContiguousBytes, τ_0_0.Regions.Element : Foundation.DataProtocol, τ_0_0.Regions.Element.SubSequence : Foundation.ContiguousBytes>", - "sugared_genericSig": "", - "intro_Macosx": "10.10", - "intro_iOS": "8.0", - "intro_tvOS": "9.0", - "intro_watchOS": "2.0", - "declAttributes": [ - "Available", - "Available", - "Available", - "Available" - ], - "isExternal": true, - "conformances": [ - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - }, - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "RandomAccessCollection", - "printedName": "RandomAccessCollection", - "usr": "s:Sk", - "mangledName": "$sSk" - }, - { - "kind": "Conformance", - "name": "BidirectionalCollection", - "printedName": "BidirectionalCollection", - "usr": "s:SK", - "mangledName": "$sSK" - }, - { - "kind": "Conformance", - "name": "Collection", - "printedName": "Collection", - "usr": "s:Sl", - "mangledName": "$sSl" + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "NFCTagReaderSession", + "printedName": "CoreNFC.NFCTagReaderSession", + "usr": "c:objc(cs)NFCTagReaderSession" + } + ], + "declKind": "Func", + "usr": "s:6nfclib23OperationReadPublicDataC31tagReaderSessionDidBecomeActiveyySo06NFCTaggH0CF", + "mangledName": "$s6nfclib23OperationReadPublicDataC31tagReaderSessionDidBecomeActiveyySo06NFCTaggH0CF", + "moduleName": "nfclib", + "declAttributes": [ + "Custom", + "Final", + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" }, { - "kind": "Conformance", - "name": "Sequence", - "printedName": "Sequence", - "usr": "s:ST", - "mangledName": "$sST" - } - ] - }, - { - "kind": "TypeDecl", - "name": "UInt16", - "printedName": "UInt16", - "children": [ - { - "kind": "Constructor", - "name": "init", - "printedName": "init(_:_:)", + "kind": "Function", + "name": "tagReaderSession", + "printedName": "tagReaderSession(_:didInvalidateWithError:)", "children": [ { "kind": "TypeNominal", - "name": "UInt16", - "printedName": "Swift.UInt16", - "usr": "s:s6UInt16V" + "name": "Void", + "printedName": "()" }, { "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" + "name": "NFCTagReaderSession", + "printedName": "CoreNFC.NFCTagReaderSession", + "usr": "c:objc(cs)NFCTagReaderSession" }, { "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" + "name": "Error", + "printedName": "any Swift.Error", + "usr": "s:s5ErrorP" } ], - "declKind": "Constructor", - "usr": "s:s6UInt16V6nfclibEyABs5UInt8V_AEtcfc", - "mangledName": "$ss6UInt16V6nfclibEyABs5UInt8V_AEtcfc", + "declKind": "Func", + "usr": "s:6nfclib23OperationReadPublicDataC16tagReaderSession_22didInvalidateWithErrorySo06NFCTaggH0C_s0L0_ptF", + "mangledName": "$s6nfclib23OperationReadPublicDataC16tagReaderSession_22didInvalidateWithErrorySo06NFCTaggH0C_s0L0_ptF", "moduleName": "nfclib", + "declAttributes": [ + "Custom", + "Final", + "AccessControl" + ], "isFromExtension": true, - "init_kind": "Designated" + "funcSelfKind": "NonMutating" } ], - "declKind": "Struct", - "usr": "s:s6UInt16V", - "mangledName": "$ss6UInt16V", - "moduleName": "Swift", + "declKind": "Class", + "usr": "c:@M@nfclib@objc(cs)OperationReadPublicData", + "mangledName": "$s6nfclib23OperationReadPublicDataC", + "moduleName": "nfclib", "declAttributes": [ - "Frozen" + "AccessControl", + "Final", + "Custom", + "ObjC" + ], + "superclassUsr": "c:objc(cs)NSObject", + "inheritsConvenienceInitializers": true, + "superclassNames": [ + "ObjectiveC.NSObject" ], - "isExternal": true, "conformances": [ { "kind": "Conformance", - "name": "_FormatSpecifiable", - "printedName": "_FormatSpecifiable", - "children": [ - { - "kind": "TypeWitness", - "name": "_Arg", - "printedName": "_Arg", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt32", - "printedName": "Swift.UInt32", - "usr": "s:s6UInt32V" - } - ] - } - ], - "usr": "s:10Foundation18_FormatSpecifiableP", - "mangledName": "$s10Foundation18_FormatSpecifiableP" - }, - { - "kind": "Conformance", - "name": "AdditiveArithmetic", - "printedName": "AdditiveArithmetic", - "usr": "s:s18AdditiveArithmeticP", - "mangledName": "$ss18AdditiveArithmeticP" + "name": "NFCTagReaderSessionDelegate", + "printedName": "NFCTagReaderSessionDelegate", + "usr": "s:7CoreNFC27NFCTagReaderSessionDelegateP", + "mangledName": "$s7CoreNFC27NFCTagReaderSessionDelegateP" }, { "kind": "Conformance", - "name": "BinaryInteger", - "printedName": "BinaryInteger", - "children": [ - { - "kind": "TypeWitness", - "name": "Words", - "printedName": "Words", - "children": [ - { - "kind": "TypeNominal", - "name": "Words", - "printedName": "Swift.UInt16.Words", - "usr": "s:s6UInt16V5WordsV" - } - ] - } - ], - "usr": "s:Sz", - "mangledName": "$sSz" + "name": "_KeyValueCodingAndObserving", + "printedName": "_KeyValueCodingAndObserving", + "usr": "s:10Foundation27_KeyValueCodingAndObservingP", + "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP" }, { "kind": "Conformance", - "name": "BitwiseCopyable", - "printedName": "BitwiseCopyable", - "usr": "s:s15BitwiseCopyableP", - "mangledName": "$ss15BitwiseCopyableP" + "name": "_KeyValueCodingAndObservingPublishing", + "printedName": "_KeyValueCodingAndObservingPublishing", + "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP", + "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP" }, { "kind": "Conformance", @@ -13697,13 +6704,6 @@ "usr": "s:s7CVarArgP", "mangledName": "$ss7CVarArgP" }, - { - "kind": "Conformance", - "name": "Comparable", - "printedName": "Comparable", - "usr": "s:SL", - "mangledName": "$sSL" - }, { "kind": "Conformance", "name": "Copyable", @@ -13713,10 +6713,10 @@ }, { "kind": "Conformance", - "name": "CustomReflectable", - "printedName": "CustomReflectable", - "usr": "s:s17CustomReflectableP", - "mangledName": "$ss17CustomReflectableP" + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" }, { "kind": "Conformance", @@ -13725,20 +6725,6 @@ "usr": "s:s23CustomStringConvertibleP", "mangledName": "$ss23CustomStringConvertibleP" }, - { - "kind": "Conformance", - "name": "Decodable", - "printedName": "Decodable", - "usr": "s:Se", - "mangledName": "$sSe" - }, - { - "kind": "Conformance", - "name": "Encodable", - "printedName": "Encodable", - "usr": "s:SE", - "mangledName": "$sSE" - }, { "kind": "Conformance", "name": "Equatable", @@ -13753,35 +6739,6 @@ "usr": "s:s9EscapableP", "mangledName": "$ss9EscapableP" }, - { - "kind": "Conformance", - "name": "ExpressibleByIntegerLiteral", - "printedName": "ExpressibleByIntegerLiteral", - "children": [ - { - "kind": "TypeWitness", - "name": "IntegerLiteralType", - "printedName": "IntegerLiteralType", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt16", - "printedName": "Swift.UInt16", - "usr": "s:s6UInt16V" - } - ] - } - ], - "usr": "s:s27ExpressibleByIntegerLiteralP", - "mangledName": "$ss27ExpressibleByIntegerLiteralP" - }, - { - "kind": "Conformance", - "name": "FixedWidthInteger", - "printedName": "FixedWidthInteger", - "usr": "s:s17FixedWidthIntegerP", - "mangledName": "$ss17FixedWidthIntegerP" - }, { "kind": "Conformance", "name": "Hashable", @@ -13791,364 +6748,277 @@ }, { "kind": "Conformance", - "name": "LosslessStringConvertible", - "printedName": "LosslessStringConvertible", - "usr": "s:s25LosslessStringConvertibleP", - "mangledName": "$ss25LosslessStringConvertibleP" - }, + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "nfclib", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "nfclib", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "CodeType", + "printedName": "CodeType", + "children": [ { - "kind": "Conformance", - "name": "Numeric", - "printedName": "Numeric", + "kind": "Var", + "name": "puk", + "printedName": "puk", "children": [ { - "kind": "TypeWitness", - "name": "Magnitude", - "printedName": "Magnitude", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(nfclib.CodeType.Type) -> nfclib.CodeType", "children": [ { "kind": "TypeNominal", - "name": "UInt16", - "printedName": "Swift.UInt16", - "usr": "s:s6UInt16V" + "name": "CodeType", + "printedName": "nfclib.CodeType", + "usr": "s:6nfclib8CodeTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "nfclib.CodeType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodeType", + "printedName": "nfclib.CodeType", + "usr": "s:6nfclib8CodeTypeO" + } + ] } ] } ], - "usr": "s:Sj", - "mangledName": "$sSj" + "declKind": "EnumElement", + "usr": "s:6nfclib8CodeTypeO3pukyA2CmF", + "mangledName": "$s6nfclib8CodeTypeO3pukyA2CmF", + "moduleName": "nfclib" }, { - "kind": "Conformance", - "name": "SIMDScalar", - "printedName": "SIMDScalar", + "kind": "Var", + "name": "pin1", + "printedName": "pin1", "children": [ { - "kind": "TypeWitness", - "name": "SIMDMaskScalar", - "printedName": "SIMDMaskScalar", - "children": [ - { - "kind": "TypeNominal", - "name": "Int16", - "printedName": "Swift.Int16", - "usr": "s:s5Int16V" - } - ] - }, - { - "kind": "TypeWitness", - "name": "SIMD2Storage", - "printedName": "SIMD2Storage", - "children": [ - { - "kind": "TypeNominal", - "name": "SIMD2Storage", - "printedName": "Swift.UInt16.SIMD2Storage", - "usr": "s:s6UInt16V12SIMD2StorageV" - } - ] - }, - { - "kind": "TypeWitness", - "name": "SIMD4Storage", - "printedName": "SIMD4Storage", - "children": [ - { - "kind": "TypeNominal", - "name": "SIMD4Storage", - "printedName": "Swift.UInt16.SIMD4Storage", - "usr": "s:s6UInt16V12SIMD4StorageV" - } - ] - }, - { - "kind": "TypeWitness", - "name": "SIMD8Storage", - "printedName": "SIMD8Storage", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(nfclib.CodeType.Type) -> nfclib.CodeType", "children": [ { "kind": "TypeNominal", - "name": "SIMD8Storage", - "printedName": "Swift.UInt16.SIMD8Storage", - "usr": "s:s6UInt16V12SIMD8StorageV" - } - ] - }, - { - "kind": "TypeWitness", - "name": "SIMD16Storage", - "printedName": "SIMD16Storage", - "children": [ + "name": "CodeType", + "printedName": "nfclib.CodeType", + "usr": "s:6nfclib8CodeTypeO" + }, { "kind": "TypeNominal", - "name": "SIMD16Storage", - "printedName": "Swift.UInt16.SIMD16Storage", - "usr": "s:s6UInt16V13SIMD16StorageV" + "name": "Metatype", + "printedName": "nfclib.CodeType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodeType", + "printedName": "nfclib.CodeType", + "usr": "s:6nfclib8CodeTypeO" + } + ] } ] - }, + } + ], + "declKind": "EnumElement", + "usr": "s:6nfclib8CodeTypeO4pin1yA2CmF", + "mangledName": "$s6nfclib8CodeTypeO4pin1yA2CmF", + "moduleName": "nfclib" + }, + { + "kind": "Var", + "name": "pin2", + "printedName": "pin2", + "children": [ { - "kind": "TypeWitness", - "name": "SIMD32Storage", - "printedName": "SIMD32Storage", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(nfclib.CodeType.Type) -> nfclib.CodeType", "children": [ { "kind": "TypeNominal", - "name": "SIMD32Storage", - "printedName": "Swift.UInt16.SIMD32Storage", - "usr": "s:s6UInt16V13SIMD32StorageV" - } - ] - }, - { - "kind": "TypeWitness", - "name": "SIMD64Storage", - "printedName": "SIMD64Storage", - "children": [ + "name": "CodeType", + "printedName": "nfclib.CodeType", + "usr": "s:6nfclib8CodeTypeO" + }, { "kind": "TypeNominal", - "name": "SIMD64Storage", - "printedName": "Swift.UInt16.SIMD64Storage", - "usr": "s:s6UInt16V13SIMD64StorageV" + "name": "Metatype", + "printedName": "nfclib.CodeType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodeType", + "printedName": "nfclib.CodeType", + "usr": "s:6nfclib8CodeTypeO" + } + ] } ] } ], - "usr": "s:s10SIMDScalarP", - "mangledName": "$ss10SIMDScalarP" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" + "declKind": "EnumElement", + "usr": "s:6nfclib8CodeTypeO4pin2yA2CmF", + "mangledName": "$s6nfclib8CodeTypeO4pin2yA2CmF", + "moduleName": "nfclib" }, { - "kind": "Conformance", - "name": "Strideable", - "printedName": "Strideable", + "kind": "Var", + "name": "name", + "printedName": "name", "children": [ { - "kind": "TypeWitness", - "name": "Stride", - "printedName": "Stride", + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:6nfclib8CodeTypeO4nameSSvp", + "mangledName": "$s6nfclib8CodeTypeO4nameSSvp", + "moduleName": "nfclib", + "declAttributes": [ + "AccessControl" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] + ], + "declKind": "Accessor", + "usr": "s:6nfclib8CodeTypeO4nameSSvg", + "mangledName": "$s6nfclib8CodeTypeO4nameSSvg", + "moduleName": "nfclib", + "accessorKind": "get" } - ], - "usr": "s:Sx", - "mangledName": "$sSx" - }, - { - "kind": "Conformance", - "name": "UnsignedInteger", - "printedName": "UnsignedInteger", - "usr": "s:SU", - "mangledName": "$sSU" - }, - { - "kind": "Conformance", - "name": "_CustomPlaygroundQuickLookable", - "printedName": "_CustomPlaygroundQuickLookable", - "usr": "s:s30_CustomPlaygroundQuickLookableP", - "mangledName": "$ss30_CustomPlaygroundQuickLookableP" - }, - { - "kind": "Conformance", - "name": "_ExpressibleByBuiltinIntegerLiteral", - "printedName": "_ExpressibleByBuiltinIntegerLiteral", - "usr": "s:s35_ExpressibleByBuiltinIntegerLiteralP", - "mangledName": "$ss35_ExpressibleByBuiltinIntegerLiteralP" - }, - { - "kind": "Conformance", - "name": "_HasCustomAnyHashableRepresentation", - "printedName": "_HasCustomAnyHashableRepresentation", - "usr": "s:s35_HasCustomAnyHashableRepresentationP", - "mangledName": "$ss35_HasCustomAnyHashableRepresentationP" + ] }, { - "kind": "Conformance", - "name": "_ObjectiveCBridgeable", - "printedName": "_ObjectiveCBridgeable", + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", "children": [ { - "kind": "TypeWitness", - "name": "_ObjectiveCType", - "printedName": "_ObjectiveCType", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "nfclib.CodeType?", "children": [ { "kind": "TypeNominal", - "name": "NSNumber", - "printedName": "Foundation.NSNumber", - "usr": "c:objc(cs)NSNumber" + "name": "CodeType", + "printedName": "nfclib.CodeType", + "usr": "s:6nfclib8CodeTypeO" } - ] + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "UInt", + "printedName": "Swift.UInt", + "usr": "s:Su" } ], - "usr": "s:s21_ObjectiveCBridgeableP", - "mangledName": "$ss21_ObjectiveCBridgeableP" - }, - { - "kind": "Conformance", - "name": "_StringElement", - "printedName": "_StringElement", - "usr": "s:s14_StringElementP", - "mangledName": "$ss14_StringElementP" + "declKind": "Constructor", + "usr": "s:6nfclib8CodeTypeO8rawValueACSgSu_tcfc", + "mangledName": "$s6nfclib8CodeTypeO8rawValueACSgSu_tcfc", + "moduleName": "nfclib", + "implicit": true, + "init_kind": "Designated" }, { - "kind": "Conformance", - "name": "ASN1IntegerRepresentable", - "printedName": "ASN1IntegerRepresentable", + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", "children": [ { - "kind": "TypeWitness", - "name": "IntegerBytes", - "printedName": "IntegerBytes", + "kind": "TypeNominal", + "name": "UInt", + "printedName": "Swift.UInt", + "usr": "s:Su" + } + ], + "declKind": "Var", + "usr": "s:6nfclib8CodeTypeO8rawValueSuvp", + "mangledName": "$s6nfclib8CodeTypeO8rawValueSuvp", + "moduleName": "nfclib", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "IntegerBytesCollection", - "printedName": "SwiftASN1.IntegerBytesCollection", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt16", - "printedName": "Swift.UInt16", - "usr": "s:s6UInt16V" - } - ], - "usr": "s:9SwiftASN122IntegerBytesCollectionV" + "name": "UInt", + "printedName": "Swift.UInt", + "usr": "s:Su" } - ] + ], + "declKind": "Accessor", + "usr": "s:6nfclib8CodeTypeO8rawValueSuvg", + "mangledName": "$s6nfclib8CodeTypeO8rawValueSuvg", + "moduleName": "nfclib", + "implicit": true, + "accessorKind": "get" } - ], - "usr": "s:9SwiftASN10B20IntegerRepresentableP", - "mangledName": "$s9SwiftASN10B20IntegerRepresentableP" - }, - { - "kind": "Conformance", - "name": "BERImplicitlyTaggable", - "printedName": "BERImplicitlyTaggable", - "usr": "s:9SwiftASN121BERImplicitlyTaggableP", - "mangledName": "$s9SwiftASN121BERImplicitlyTaggableP" - }, - { - "kind": "Conformance", - "name": "BERParseable", - "printedName": "BERParseable", - "usr": "s:9SwiftASN112BERParseableP", - "mangledName": "$s9SwiftASN112BERParseableP" - }, - { - "kind": "Conformance", - "name": "BERSerializable", - "printedName": "BERSerializable", - "usr": "s:9SwiftASN115BERSerializableP", - "mangledName": "$s9SwiftASN115BERSerializableP" - }, - { - "kind": "Conformance", - "name": "DERImplicitlyTaggable", - "printedName": "DERImplicitlyTaggable", - "usr": "s:9SwiftASN121DERImplicitlyTaggableP", - "mangledName": "$s9SwiftASN121DERImplicitlyTaggableP" - }, - { - "kind": "Conformance", - "name": "DERParseable", - "printedName": "DERParseable", - "usr": "s:9SwiftASN112DERParseableP", - "mangledName": "$s9SwiftASN112DERParseableP" - }, - { - "kind": "Conformance", - "name": "DERSerializable", - "printedName": "DERSerializable", - "usr": "s:9SwiftASN115DERSerializableP", - "mangledName": "$s9SwiftASN115DERSerializableP" + ] } - ] - }, - { - "kind": "TypeDecl", - "name": "NFCTagReaderSession", - "printedName": "NFCTagReaderSession", - "declKind": "Class", - "usr": "c:objc(cs)NFCTagReaderSession", - "moduleName": "CoreNFC", - "isOpen": true, - "intro_iOS": "13.0", - "objc_name": "NFCTagReaderSession", - "declAttributes": [ - "Available", - "ObjC", - "Dynamic" ], - "superclassUsr": "c:objc(cs)NFCReaderSession", - "isExternal": true, - "inheritsConvenienceInitializers": true, - "superclassNames": [ - "CoreNFC.NFCReaderSession", - "ObjectiveC.NSObject" + "declKind": "Enum", + "usr": "s:6nfclib8CodeTypeO", + "mangledName": "$s6nfclib8CodeTypeO", + "moduleName": "nfclib", + "declAttributes": [ + "AccessControl" ], + "enumRawTypeName": "UInt", "conformances": [ - { - "kind": "Conformance", - "name": "_KeyValueCodingAndObserving", - "printedName": "_KeyValueCodingAndObserving", - "usr": "s:10Foundation27_KeyValueCodingAndObservingP", - "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP" - }, - { - "kind": "Conformance", - "name": "_KeyValueCodingAndObservingPublishing", - "printedName": "_KeyValueCodingAndObservingPublishing", - "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP", - "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP" - }, - { - "kind": "Conformance", - "name": "CVarArg", - "printedName": "CVarArg", - "usr": "s:s7CVarArgP", - "mangledName": "$ss7CVarArgP" - }, - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "CustomDebugStringConvertible", - "printedName": "CustomDebugStringConvertible", - "usr": "s:s28CustomDebugStringConvertibleP", - "mangledName": "$ss28CustomDebugStringConvertibleP" - }, - { - "kind": "Conformance", - "name": "CustomStringConvertible", - "printedName": "CustomStringConvertible", - "usr": "s:s23CustomStringConvertibleP", - "mangledName": "$ss23CustomStringConvertibleP" + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" }, { "kind": "Conformance", @@ -14171,6 +7041,28 @@ "usr": "s:SH", "mangledName": "$sSH" }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", + "children": [ + { + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "UInt", + "printedName": "Swift.UInt", + "usr": "s:Su" + } + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, { "kind": "Conformance", "name": "Sendable", @@ -14189,134 +7081,430 @@ }, { "kind": "TypeDecl", - "name": "NFCTag", - "printedName": "NFCTag", - "declKind": "Enum", - "usr": "s:7CoreNFC6NFCTagO", - "mangledName": "$s7CoreNFC6NFCTagO", - "moduleName": "CoreNFC", - "intro_iOS": "13.0", - "declAttributes": [ - "Available", - "Available" - ], - "isExternal": true, - "conformances": [ + "name": "CardCommands", + "printedName": "CardCommands", + "children": [ { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" + "kind": "Var", + "name": "canChangePUK", + "printedName": "canChangePUK", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Var", + "usr": "s:6nfclib12CardCommandsP12canChangePUKSbvp", + "mangledName": "$s6nfclib12CardCommandsP12canChangePUKSbvp", + "moduleName": "nfclib", + "protocolReq": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "s:6nfclib12CardCommandsP12canChangePUKSbvg", + "mangledName": "$s6nfclib12CardCommandsP12canChangePUKSbvg", + "moduleName": "nfclib", + "genericSig": "<τ_0_0 where τ_0_0 : nfclib.CardCommands>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "accessorKind": "get" + } + ] }, { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" + "kind": "Function", + "name": "readPublicData", + "printedName": "readPublicData()", + "children": [ + { + "kind": "TypeNominal", + "name": "CardInfo", + "printedName": "nfclib.CardInfo", + "usr": "s:6nfclib8CardInfoV" + } + ], + "declKind": "Func", + "usr": "s:6nfclib12CardCommandsP14readPublicDataAA0B4InfoVyYaKF", + "mangledName": "$s6nfclib12CardCommandsP14readPublicDataAA0B4InfoVyYaKF", + "moduleName": "nfclib", + "genericSig": "<τ_0_0 where τ_0_0 : nfclib.CardCommands>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "RawDocComment" + ], + "throwing": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "readAuthenticationCertificate", + "printedName": "readAuthenticationCertificate()", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Func", + "usr": "s:6nfclib12CardCommandsP29readAuthenticationCertificate10Foundation4DataVyYaKF", + "mangledName": "$s6nfclib12CardCommandsP29readAuthenticationCertificate10Foundation4DataVyYaKF", + "moduleName": "nfclib", + "genericSig": "<τ_0_0 where τ_0_0 : nfclib.CardCommands>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "RawDocComment" + ], + "throwing": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "readSignatureCertificate", + "printedName": "readSignatureCertificate()", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Func", + "usr": "s:6nfclib12CardCommandsP24readSignatureCertificate10Foundation4DataVyYaKF", + "mangledName": "$s6nfclib12CardCommandsP24readSignatureCertificate10Foundation4DataVyYaKF", + "moduleName": "nfclib", + "genericSig": "<τ_0_0 where τ_0_0 : nfclib.CardCommands>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "RawDocComment" + ], + "throwing": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "readCodeTryCounterRecord", + "printedName": "readCodeTryCounterRecord(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(retryCount: Swift.UInt8, pinActive: Swift.Bool)", + "children": [ + { + "kind": "TypeNominal", + "name": "UInt8", + "printedName": "Swift.UInt8", + "usr": "s:s5UInt8V" + }, + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ] + }, + { + "kind": "TypeNominal", + "name": "CodeType", + "printedName": "nfclib.CodeType", + "usr": "s:6nfclib8CodeTypeO" + } + ], + "declKind": "Func", + "usr": "s:6nfclib12CardCommandsP24readCodeTryCounterRecordys5UInt8V10retryCount_Sb9pinActivetAA0E4TypeOYaKF", + "mangledName": "$s6nfclib12CardCommandsP24readCodeTryCounterRecordys5UInt8V10retryCount_Sb9pinActivetAA0E4TypeOYaKF", + "moduleName": "nfclib", + "genericSig": "<τ_0_0 where τ_0_0 : nfclib.CardCommands>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "RawDocComment" + ], + "throwing": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "changeCode", + "printedName": "changeCode(_:to:verifyCode:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "CodeType", + "printedName": "nfclib.CodeType", + "usr": "s:6nfclib8CodeTypeO" + }, + { + "kind": "TypeNominal", + "name": "SecureData", + "printedName": "nfclib.SecureData", + "usr": "s:6nfclib10SecureDataC" + }, + { + "kind": "TypeNominal", + "name": "SecureData", + "printedName": "nfclib.SecureData", + "usr": "s:6nfclib10SecureDataC" + } + ], + "declKind": "Func", + "usr": "s:6nfclib12CardCommandsP10changeCode_2to06verifyE0yAA0E4TypeO_AA10SecureDataCAJtYaKF", + "mangledName": "$s6nfclib12CardCommandsP10changeCode_2to06verifyE0yAA0E4TypeO_AA10SecureDataCAJtYaKF", + "moduleName": "nfclib", + "genericSig": "<τ_0_0 where τ_0_0 : nfclib.CardCommands>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "RawDocComment" + ], + "throwing": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" }, { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" + "kind": "Function", + "name": "verifyCode", + "printedName": "verifyCode(_:code:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "CodeType", + "printedName": "nfclib.CodeType", + "usr": "s:6nfclib8CodeTypeO" + }, + { + "kind": "TypeNominal", + "name": "SecureData", + "printedName": "nfclib.SecureData", + "usr": "s:6nfclib10SecureDataC" + } + ], + "declKind": "Func", + "usr": "s:6nfclib12CardCommandsP10verifyCode_4codeyAA0E4TypeO_AA10SecureDataCtYaKF", + "mangledName": "$s6nfclib12CardCommandsP10verifyCode_4codeyAA0E4TypeO_AA10SecureDataCtYaKF", + "moduleName": "nfclib", + "genericSig": "<τ_0_0 where τ_0_0 : nfclib.CardCommands>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "RawDocComment" + ], + "throwing": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" }, { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "ECPublicKey", - "printedName": "ECPublicKey", - "children": [ + "kind": "Function", + "name": "unblockCode", + "printedName": "unblockCode(_:puk:newCode:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "CodeType", + "printedName": "nfclib.CodeType", + "usr": "s:6nfclib8CodeTypeO" + }, + { + "kind": "TypeNominal", + "name": "SecureData", + "printedName": "nfclib.SecureData", + "usr": "s:6nfclib10SecureDataC" + }, + { + "kind": "TypeNominal", + "name": "SecureData", + "printedName": "nfclib.SecureData", + "usr": "s:6nfclib10SecureDataC" + } + ], + "declKind": "Func", + "usr": "s:6nfclib12CardCommandsP11unblockCode_3puk03newE0yAA0E4TypeO_AA10SecureDataCAJtYaKF", + "mangledName": "$s6nfclib12CardCommandsP11unblockCode_3puk03newE0yAA0E4TypeO_AA10SecureDataCAJtYaKF", + "moduleName": "nfclib", + "genericSig": "<τ_0_0 where τ_0_0 : nfclib.CardCommands>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "RawDocComment" + ], + "throwing": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(domain:point:)", + "kind": "Function", + "name": "authenticate", + "printedName": "authenticate(for:withPin1:)", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "SwiftECC.ECPublicKey?", - "children": [ - { - "kind": "TypeNominal", - "name": "ECPublicKey", - "printedName": "SwiftECC.ECPublicKey", - "usr": "s:8SwiftECC11ECPublicKeyC" - } - ], - "usr": "s:Sq" + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" }, { "kind": "TypeNominal", - "name": "Domain", - "printedName": "SwiftECC.Domain", - "usr": "s:8SwiftECC6DomainC" + "name": "SecureData", + "printedName": "nfclib.SecureData", + "usr": "s:6nfclib10SecureDataC" + } + ], + "declKind": "Func", + "usr": "s:6nfclib12CardCommandsP12authenticate3for8withPin110Foundation4DataVAI_AA06SecureI0CtYaKF", + "mangledName": "$s6nfclib12CardCommandsP12authenticate3for8withPin110Foundation4DataVAI_AA06SecureI0CtYaKF", + "moduleName": "nfclib", + "genericSig": "<τ_0_0 where τ_0_0 : nfclib.CardCommands>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "RawDocComment" + ], + "throwing": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "calculateSignature", + "printedName": "calculateSignature(for:withPin2:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" }, { "kind": "TypeNominal", "name": "Data", "printedName": "Foundation.Data", "usr": "s:10Foundation4DataV" + }, + { + "kind": "TypeNominal", + "name": "SecureData", + "printedName": "nfclib.SecureData", + "usr": "s:6nfclib10SecureDataC" } ], - "declKind": "Constructor", - "usr": "s:8SwiftECC11ECPublicKeyC6nfclibE6domain5pointACSgAA6DomainC_10Foundation4DataVtKcfc", - "mangledName": "$s8SwiftECC11ECPublicKeyC6nfclibE6domain5pointACSgAA6DomainC_10Foundation4DataVtKcfc", + "declKind": "Func", + "usr": "s:6nfclib12CardCommandsP18calculateSignature3for8withPin210Foundation4DataVAI_AA06SecureJ0CtYaKF", + "mangledName": "$s6nfclib12CardCommandsP18calculateSignature3for8withPin210Foundation4DataVAI_AA06SecureJ0CtYaKF", "moduleName": "nfclib", + "genericSig": "<τ_0_0 where τ_0_0 : nfclib.CardCommands>", + "sugared_genericSig": "", + "protocolReq": true, "declAttributes": [ - "Convenience" + "RawDocComment" ], - "isFromExtension": true, "throwing": true, - "init_kind": "Convenience" + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" }, { "kind": "Function", - "name": "x963Representation", - "printedName": "x963Representation()", + "name": "decryptData", + "printedName": "decryptData(_:withPin1:)", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.UInt8]", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "usr": "s:Sa" + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + }, + { + "kind": "TypeNominal", + "name": "SecureData", + "printedName": "nfclib.SecureData", + "usr": "s:6nfclib10SecureDataC" } ], "declKind": "Func", - "usr": "s:8SwiftECC11ECPublicKeyC6nfclibE18x963RepresentationSays5UInt8VGyKF", - "mangledName": "$s8SwiftECC11ECPublicKeyC6nfclibE18x963RepresentationSays5UInt8VGyKF", + "usr": "s:6nfclib12CardCommandsP11decryptData_8withPin110Foundation0E0VAH_AA06SecureE0CtYaKF", + "mangledName": "$s6nfclib12CardCommandsP11decryptData_8withPin110Foundation0E0VAH_AA06SecureE0CtYaKF", "moduleName": "nfclib", - "isOpen": true, - "isFromExtension": true, + "genericSig": "<τ_0_0 where τ_0_0 : nfclib.CardCommands>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "RawDocComment" + ], "throwing": true, + "reqNewWitnessTableEntry": true, "funcSelfKind": "NonMutating" } ], - "declKind": "Class", - "usr": "s:8SwiftECC11ECPublicKeyC", - "mangledName": "$s8SwiftECC11ECPublicKeyC", - "moduleName": "SwiftECC", - "isOpen": true, - "isExternal": true, + "declKind": "Protocol", + "usr": "s:6nfclib12CardCommandsP", + "mangledName": "$s6nfclib12CardCommandsP", + "moduleName": "nfclib", + "genericSig": "<τ_0_0 : Swift.Sendable>", + "sugared_genericSig": "", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], "conformances": [ + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + }, { "kind": "Conformance", "name": "Copyable", @@ -14326,351 +7514,186 @@ }, { "kind": "Conformance", - "name": "CustomStringConvertible", - "printedName": "CustomStringConvertible", - "usr": "s:s23CustomStringConvertibleP", - "mangledName": "$ss23CustomStringConvertibleP" + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" }, { "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" } ] }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "nfclib", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "SwiftECC", + "printedName": "SwiftECC", + "declKind": "Import", + "moduleName": "nfclib", + "declAttributes": [ + "AccessControl" + ] + }, { "kind": "TypeDecl", - "name": "Array", - "printedName": "Array", + "name": "DataProtocol", + "printedName": "DataProtocol", "children": [ { - "kind": "Constructor", - "name": "init", - "printedName": "init(hex:)", + "kind": "Function", + "name": "^", + "printedName": "^(_:_:)", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[τ_0_0]", - "children": [ - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "τ_0_0" - } - ], - "usr": "s:Sa" + "name": "GenericTypeParam", + "printedName": "τ_0_0" }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "GenericTypeParam", + "printedName": "τ_0_0" + }, + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "τ_0_0" } ], - "declKind": "Constructor", - "usr": "s:Sa6nfclibs5UInt8VRszlE3hexSayACGSS_tcfc", - "mangledName": "$sSa6nfclibs5UInt8VRszlE3hexSayACGSS_tcfc", + "declKind": "Func", + "usr": "s:10Foundation12DataProtocolP6nfclibAA07MutablebC0RzSi5IndexRtzrlE1xoiyxx_xtFZ", + "mangledName": "$s10Foundation12DataProtocolP6nfclibAA07MutablebC0RzSi5IndexRtzrlE1xoiyxx_xtFZ", "moduleName": "nfclib", - "genericSig": "<τ_0_0 where τ_0_0 == Swift.UInt8>", - "sugared_genericSig": "", + "genericSig": "<τ_0_0 where τ_0_0 : Foundation.MutableDataProtocol, τ_0_0.Index == Swift.Int>", + "sugared_genericSig": "", + "static": true, + "declAttributes": [ + "AccessControl" + ], "isFromExtension": true, - "init_kind": "Designated" + "funcSelfKind": "NonMutating" } ], - "declKind": "Struct", - "usr": "s:Sa", - "mangledName": "$sSa", - "moduleName": "Swift", - "genericSig": "<τ_0_0>", - "sugared_genericSig": "", + "declKind": "Protocol", + "usr": "s:10Foundation12DataProtocolP", + "mangledName": "$s10Foundation12DataProtocolP", + "moduleName": "Foundation", + "genericSig": "<τ_0_0 : Swift.RandomAccessCollection, τ_0_0.Element == Swift.UInt8, τ_0_0.Regions : Swift.BidirectionalCollection, τ_0_0.SubSequence : Foundation.DataProtocol, τ_0_0.Regions.Element : Foundation.ContiguousBytes, τ_0_0.Regions.Element : Foundation.DataProtocol, τ_0_0.Regions.Element.SubSequence : Foundation.ContiguousBytes>", + "sugared_genericSig": "", + "intro_Macosx": "10.10", + "intro_iOS": "8.0", + "intro_tvOS": "9.0", + "intro_watchOS": "2.0", "declAttributes": [ - "EagerMove", - "Frozen" + "Available", + "Available", + "Available", + "Available" ], "isExternal": true, "conformances": [ { "kind": "Conformance", - "name": "ContiguousBytes", - "printedName": "ContiguousBytes", - "usr": "s:10Foundation15ContiguousBytesP", - "mangledName": "$s10Foundation15ContiguousBytesP" - }, - { - "kind": "Conformance", - "name": "DataProtocol", - "printedName": "DataProtocol", - "children": [ - { - "kind": "TypeWitness", - "name": "Regions", - "printedName": "Regions", - "children": [ - { - "kind": "TypeNominal", - "name": "CollectionOfOne", - "printedName": "Swift.CollectionOfOne<[Swift.UInt8]>", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.UInt8]", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "usr": "s:Sa" - } - ], - "usr": "s:s15CollectionOfOneV" - } - ] - } - ], - "usr": "s:10Foundation12DataProtocolP", - "mangledName": "$s10Foundation12DataProtocolP" - }, - { - "kind": "Conformance", - "name": "DecodableWithConfiguration", - "printedName": "DecodableWithConfiguration", - "children": [ - { - "kind": "TypeWitness", - "name": "DecodingConfiguration", - "printedName": "DecodingConfiguration", - "children": [ - { - "kind": "TypeNominal", - "name": "DependentMember", - "printedName": "τ_0_0.DecodingConfiguration" - } - ] - } - ], - "usr": "s:10Foundation26DecodableWithConfigurationP", - "mangledName": "$s10Foundation26DecodableWithConfigurationP" + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" }, { "kind": "Conformance", - "name": "EncodableWithConfiguration", - "printedName": "EncodableWithConfiguration", - "children": [ - { - "kind": "TypeWitness", - "name": "EncodingConfiguration", - "printedName": "EncodingConfiguration", - "children": [ - { - "kind": "TypeNominal", - "name": "DependentMember", - "printedName": "τ_0_0.EncodingConfiguration" - } - ] - } - ], - "usr": "s:10Foundation26EncodableWithConfigurationP", - "mangledName": "$s10Foundation26EncodableWithConfigurationP" + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" }, { "kind": "Conformance", - "name": "MutableDataProtocol", - "printedName": "MutableDataProtocol", - "usr": "s:10Foundation19MutableDataProtocolP", - "mangledName": "$s10Foundation19MutableDataProtocolP" + "name": "RandomAccessCollection", + "printedName": "RandomAccessCollection", + "usr": "s:Sk", + "mangledName": "$sSk" }, { "kind": "Conformance", "name": "BidirectionalCollection", "printedName": "BidirectionalCollection", - "children": [ - { - "kind": "TypeWitness", - "name": "Element", - "printedName": "Element", - "children": [ - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "τ_0_0" - } - ] - }, - { - "kind": "TypeWitness", - "name": "Index", - "printedName": "Index", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ] - }, - { - "kind": "TypeWitness", - "name": "SubSequence", - "printedName": "SubSequence", - "children": [ - { - "kind": "TypeNominal", - "name": "ArraySlice", - "printedName": "Swift.ArraySlice<τ_0_0>", - "children": [ - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "τ_0_0" - } - ], - "usr": "s:s10ArraySliceV" - } - ] - }, - { - "kind": "TypeWitness", - "name": "Indices", - "printedName": "Indices", - "children": [ - { - "kind": "TypeNominal", - "name": "Range", - "printedName": "Swift.Range", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "usr": "s:Sn" - } - ] - } - ], "usr": "s:SK", "mangledName": "$sSK" }, - { - "kind": "Conformance", - "name": "CVarArg", - "printedName": "CVarArg", - "usr": "s:s7CVarArgP", - "mangledName": "$ss7CVarArgP" - }, { "kind": "Conformance", "name": "Collection", "printedName": "Collection", - "children": [ - { - "kind": "TypeWitness", - "name": "Element", - "printedName": "Element", - "children": [ - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "τ_0_0" - } - ] - }, - { - "kind": "TypeWitness", - "name": "Index", - "printedName": "Index", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ] - }, - { - "kind": "TypeWitness", - "name": "Iterator", - "printedName": "Iterator", - "children": [ - { - "kind": "TypeNominal", - "name": "IndexingIterator", - "printedName": "Swift.IndexingIterator<[τ_0_0]>", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[τ_0_0]", - "children": [ - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "τ_0_0" - } - ], - "usr": "s:Sa" - } - ], - "usr": "s:s16IndexingIteratorV" - } - ] - }, - { - "kind": "TypeWitness", - "name": "SubSequence", - "printedName": "SubSequence", - "children": [ - { - "kind": "TypeNominal", - "name": "ArraySlice", - "printedName": "Swift.ArraySlice<τ_0_0>", - "children": [ - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "τ_0_0" - } - ], - "usr": "s:s10ArraySliceV" - } - ] - }, - { - "kind": "TypeWitness", - "name": "Indices", - "printedName": "Indices", - "children": [ - { - "kind": "TypeNominal", - "name": "Range", - "printedName": "Swift.Range", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "usr": "s:Sn" - } - ] - } - ], "usr": "s:Sl", "mangledName": "$sSl" }, + { + "kind": "Conformance", + "name": "Sequence", + "printedName": "Sequence", + "usr": "s:ST", + "mangledName": "$sST" + } + ] + }, + { + "kind": "TypeDecl", + "name": "NFCTagReaderSession", + "printedName": "NFCTagReaderSession", + "declKind": "Class", + "usr": "c:objc(cs)NFCTagReaderSession", + "moduleName": "CoreNFC", + "isOpen": true, + "intro_iOS": "13.0", + "objc_name": "NFCTagReaderSession", + "declAttributes": [ + "Available", + "ObjC", + "Dynamic" + ], + "superclassUsr": "c:objc(cs)NFCReaderSession", + "isExternal": true, + "inheritsConvenienceInitializers": true, + "superclassNames": [ + "CoreNFC.NFCReaderSession", + "ObjectiveC.NSObject" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObserving", + "printedName": "_KeyValueCodingAndObserving", + "usr": "s:10Foundation27_KeyValueCodingAndObservingP", + "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObservingPublishing", + "printedName": "_KeyValueCodingAndObservingPublishing", + "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP", + "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + }, { "kind": "Conformance", "name": "Copyable", @@ -14685,13 +7708,6 @@ "usr": "s:s28CustomDebugStringConvertibleP", "mangledName": "$ss28CustomDebugStringConvertibleP" }, - { - "kind": "Conformance", - "name": "CustomReflectable", - "printedName": "CustomReflectable", - "usr": "s:s17CustomReflectableP", - "mangledName": "$ss17CustomReflectableP" - }, { "kind": "Conformance", "name": "CustomStringConvertible", @@ -14699,20 +7715,6 @@ "usr": "s:s23CustomStringConvertibleP", "mangledName": "$ss23CustomStringConvertibleP" }, - { - "kind": "Conformance", - "name": "Decodable", - "printedName": "Decodable", - "usr": "s:Se", - "mangledName": "$sSe" - }, - { - "kind": "Conformance", - "name": "Encodable", - "printedName": "Encodable", - "usr": "s:SE", - "mangledName": "$sSE" - }, { "kind": "Conformance", "name": "Equatable", @@ -14727,27 +7729,6 @@ "usr": "s:s9EscapableP", "mangledName": "$ss9EscapableP" }, - { - "kind": "Conformance", - "name": "ExpressibleByArrayLiteral", - "printedName": "ExpressibleByArrayLiteral", - "children": [ - { - "kind": "TypeWitness", - "name": "ArrayLiteralElement", - "printedName": "ArrayLiteralElement", - "children": [ - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "τ_0_0" - } - ] - } - ], - "usr": "s:s25ExpressibleByArrayLiteralP", - "mangledName": "$ss25ExpressibleByArrayLiteralP" - }, { "kind": "Conformance", "name": "Hashable", @@ -14755,164 +7736,6 @@ "usr": "s:SH", "mangledName": "$sSH" }, - { - "kind": "Conformance", - "name": "MutableCollection", - "printedName": "MutableCollection", - "children": [ - { - "kind": "TypeWitness", - "name": "Element", - "printedName": "Element", - "children": [ - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "τ_0_0" - } - ] - }, - { - "kind": "TypeWitness", - "name": "Index", - "printedName": "Index", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ] - }, - { - "kind": "TypeWitness", - "name": "SubSequence", - "printedName": "SubSequence", - "children": [ - { - "kind": "TypeNominal", - "name": "ArraySlice", - "printedName": "Swift.ArraySlice<τ_0_0>", - "children": [ - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "τ_0_0" - } - ], - "usr": "s:s10ArraySliceV" - } - ] - } - ], - "usr": "s:SM", - "mangledName": "$sSM" - }, - { - "kind": "Conformance", - "name": "RandomAccessCollection", - "printedName": "RandomAccessCollection", - "children": [ - { - "kind": "TypeWitness", - "name": "Element", - "printedName": "Element", - "children": [ - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "τ_0_0" - } - ] - }, - { - "kind": "TypeWitness", - "name": "Index", - "printedName": "Index", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ] - }, - { - "kind": "TypeWitness", - "name": "SubSequence", - "printedName": "SubSequence", - "children": [ - { - "kind": "TypeNominal", - "name": "ArraySlice", - "printedName": "Swift.ArraySlice<τ_0_0>", - "children": [ - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "τ_0_0" - } - ], - "usr": "s:s10ArraySliceV" - } - ] - }, - { - "kind": "TypeWitness", - "name": "Indices", - "printedName": "Indices", - "children": [ - { - "kind": "TypeNominal", - "name": "Range", - "printedName": "Swift.Range", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "usr": "s:Sn" - } - ] - } - ], - "usr": "s:Sk", - "mangledName": "$sSk" - }, - { - "kind": "Conformance", - "name": "RangeReplaceableCollection", - "printedName": "RangeReplaceableCollection", - "children": [ - { - "kind": "TypeWitness", - "name": "SubSequence", - "printedName": "SubSequence", - "children": [ - { - "kind": "TypeNominal", - "name": "ArraySlice", - "printedName": "Swift.ArraySlice<τ_0_0>", - "children": [ - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "τ_0_0" - } - ], - "usr": "s:s10ArraySliceV" - } - ] - } - ], - "usr": "s:Sm", - "mangledName": "$sSm" - }, { "kind": "Conformance", "name": "Sendable", @@ -14926,127 +7749,51 @@ "printedName": "SendableMetatype", "usr": "s:s16SendableMetatypeP", "mangledName": "$ss16SendableMetatypeP" - }, - { - "kind": "Conformance", - "name": "Sequence", - "printedName": "Sequence", - "children": [ - { - "kind": "TypeWitness", - "name": "Element", - "printedName": "Element", - "children": [ - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "τ_0_0" - } - ] - }, - { - "kind": "TypeWitness", - "name": "Iterator", - "printedName": "Iterator", - "children": [ - { - "kind": "TypeNominal", - "name": "IndexingIterator", - "printedName": "Swift.IndexingIterator<[τ_0_0]>", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[τ_0_0]", - "children": [ - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "τ_0_0" - } - ], - "usr": "s:Sa" - } - ], - "usr": "s:s16IndexingIteratorV" - } - ] - } - ], - "usr": "s:ST", - "mangledName": "$sST" - }, - { - "kind": "Conformance", - "name": "_ArrayProtocol", - "printedName": "_ArrayProtocol", - "children": [ - { - "kind": "TypeWitness", - "name": "_Buffer", - "printedName": "_Buffer", - "children": [ - { - "kind": "TypeNominal", - "name": "_ArrayBuffer", - "printedName": "Swift._ArrayBuffer<τ_0_0>", - "children": [ - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "τ_0_0" - } - ], - "usr": "s:s12_ArrayBufferV" - } - ] - } - ], - "usr": "s:s14_ArrayProtocolP", - "mangledName": "$ss14_ArrayProtocolP" - }, + } + ] + }, + { + "kind": "TypeDecl", + "name": "NFCTag", + "printedName": "NFCTag", + "declKind": "Enum", + "usr": "s:7CoreNFC6NFCTagO", + "mangledName": "$s7CoreNFC6NFCTagO", + "moduleName": "CoreNFC", + "intro_iOS": "13.0", + "declAttributes": [ + "Available", + "Available" + ], + "isExternal": true, + "conformances": [ { "kind": "Conformance", - "name": "_DestructorSafeContainer", - "printedName": "_DestructorSafeContainer", - "usr": "s:s24_DestructorSafeContainerP", - "mangledName": "$ss24_DestructorSafeContainerP" + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" }, { "kind": "Conformance", - "name": "_HasContiguousBytes", - "printedName": "_HasContiguousBytes", - "usr": "s:s19_HasContiguousBytesP", - "mangledName": "$ss19_HasContiguousBytesP" + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" }, { "kind": "Conformance", - "name": "_HasCustomAnyHashableRepresentation", - "printedName": "_HasCustomAnyHashableRepresentation", - "usr": "s:s35_HasCustomAnyHashableRepresentationP", - "mangledName": "$ss35_HasCustomAnyHashableRepresentationP" + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" }, { "kind": "Conformance", - "name": "_ObjectiveCBridgeable", - "printedName": "_ObjectiveCBridgeable", - "children": [ - { - "kind": "TypeWitness", - "name": "_ObjectiveCType", - "printedName": "_ObjectiveCType", - "children": [ - { - "kind": "TypeNominal", - "name": "NSArray", - "printedName": "Foundation.NSArray", - "usr": "c:objc(cs)NSArray" - } - ] - } - ], - "usr": "s:s21_ObjectiveCBridgeableP", - "mangledName": "$ss21_ObjectiveCBridgeableP" + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" } ] } @@ -15100,83 +7847,83 @@ "filePath": "\/Users\/martenr\/Documents\/Github\/MOPP\/Official\/nfc-iOS-lib\/nfc-lib\/nfc-lib\/nfclib\/CardActions\/CardReaderNFC.swift", "kind": "StringLiteral", "offset": 1019, - "length": 27, - "value": "\"ee.ria.digidoc.RIADigiDoc\"" + "length": 20, + "value": "\"ee.ria.nfc-iOS-lib\"" }, { "filePath": "\/Users\/martenr\/Documents\/Github\/MOPP\/Official\/nfc-iOS-lib\/nfc-lib\/nfc-lib\/nfclib\/CardActions\/CardReaderNFC.swift", "kind": "StringLiteral", - "offset": 1058, + "offset": 1051, "length": 15, "value": "\"CardReaderNFC\"" }, { "filePath": "\/Users\/martenr\/Documents\/Github\/MOPP\/Official\/nfc-iOS-lib\/nfc-lib\/nfc-lib\/nfclib\/CardActions\/CardReaderNFC.swift", "kind": "IntegerLiteral", - "offset": 1182, + "offset": 1175, "length": 1, "value": "1" }, { "filePath": "\/Users\/martenr\/Documents\/Github\/MOPP\/Official\/nfc-iOS-lib\/nfc-lib\/nfc-lib\/nfclib\/CardActions\/CardReaderNFC.swift", "kind": "IntegerLiteral", - "offset": 1245, + "offset": 1238, "length": 1, "value": "2" }, { "filePath": "\/Users\/martenr\/Documents\/Github\/MOPP\/Official\/nfc-iOS-lib\/nfc-lib\/nfc-lib\/nfclib\/CardActions\/CardReaderNFC.swift", "kind": "StringLiteral", - "offset": 1562, + "offset": 1555, "length": 22, "value": "\"04007f00070202040204\"" }, { "filePath": "\/Users\/martenr\/Documents\/Github\/MOPP\/Official\/nfc-iOS-lib\/nfc-lib\/nfc-lib\/nfclib\/CardActions\/CardReaderNFC.swift", "kind": "StringLiteral", - "offset": 1660, + "offset": 1653, "length": 22, "value": "\"04007f00070202040404\"" }, { "filePath": "\/Users\/martenr\/Documents\/Github\/MOPP\/Official\/nfc-iOS-lib\/nfc-lib\/nfc-lib\/nfclib\/CardActions\/CardReaderNFC.swift", "kind": "IntegerLiteral", - "offset": 1942, + "offset": 1935, "length": 2, "value": "12" }, { "filePath": "\/Users\/martenr\/Documents\/Github\/MOPP\/Official\/nfc-iOS-lib\/nfc-lib\/nfc-lib\/nfclib\/CardActions\/CardReaderNFC.swift", "kind": "IntegerLiteral", - "offset": 1968, + "offset": 1961, "length": 2, "value": "13" }, { "filePath": "\/Users\/martenr\/Documents\/Github\/MOPP\/Official\/nfc-iOS-lib\/nfc-lib\/nfc-lib\/nfclib\/CardActions\/CardReaderNFC.swift", "kind": "IntegerLiteral", - "offset": 1994, + "offset": 1987, "length": 2, "value": "15" }, { "filePath": "\/Users\/martenr\/Documents\/Github\/MOPP\/Official\/nfc-iOS-lib\/nfc-lib\/nfc-lib\/nfclib\/CardActions\/CardReaderNFC.swift", "kind": "IntegerLiteral", - "offset": 2020, + "offset": 2013, "length": 2, "value": "16" }, { "filePath": "\/Users\/martenr\/Documents\/Github\/MOPP\/Official\/nfc-iOS-lib\/nfc-lib\/nfc-lib\/nfclib\/CardActions\/CardReaderNFC.swift", "kind": "IntegerLiteral", - "offset": 2046, + "offset": 2039, "length": 2, "value": "17" }, { "filePath": "\/Users\/martenr\/Documents\/Github\/MOPP\/Official\/nfc-iOS-lib\/nfc-lib\/nfc-lib\/nfclib\/CardActions\/CardReaderNFC.swift", "kind": "IntegerLiteral", - "offset": 2072, + "offset": 2065, "length": 2, "value": "18" }, @@ -15397,6 +8144,13 @@ "length": 3, "value": "512" }, + { + "filePath": "\/Users\/martenr\/Documents\/Github\/MOPP\/Official\/nfc-iOS-lib\/nfc-lib\/nfc-lib\/nfclib\/Extensions\/Logger+Extensions.swift", + "kind": "BooleanLiteral", + "offset": 912, + "length": 5, + "value": "false" + }, { "filePath": "\/Users\/martenr\/Documents\/Github\/MOPP\/Official\/nfc-iOS-lib\/nfc-lib\/nfc-lib\/nfclib\/CardActions\/CardInfo.swift", "kind": "StringLiteral", diff --git a/Modules/IdCardLib/Frameworks/nfclib.xcframework/ios-arm64_x86_64-simulator/nfclib.framework/Modules/nfclib.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface b/Modules/IdCardLib/Frameworks/nfclib.xcframework/ios-arm64_x86_64-simulator/nfclib.framework/Modules/nfclib.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface index e402adf7..ec299122 100644 --- a/Modules/IdCardLib/Frameworks/nfclib.xcframework/ios-arm64_x86_64-simulator/nfclib.framework/Modules/nfclib.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +++ b/Modules/IdCardLib/Frameworks/nfclib.xcframework/ios-arm64_x86_64-simulator/nfclib.framework/Modules/nfclib.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface @@ -1,7 +1,7 @@ // swift-interface-format-version: 1.0 -// swift-compiler-version: Apple Swift version 6.3.2 effective-5.10 (swiftlang-6.3.2.1.108 clang-2100.1.1.101) -// swift-module-flags: -target arm64-apple-ios16.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -Onone -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name nfclib -// swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.3.2 +// swift-compiler-version: Apple Swift version 6.3.3 effective-5.10 (swiftlang-6.3.3.1.3 clang-2100.1.1.101) +// swift-module-flags: -target arm64-apple-ios16.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -O -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name nfclib +// swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.3.3 import BigInt import CommonCrypto @preconcurrency import CoreNFC @@ -16,6 +16,7 @@ import _Concurrency import _StringProcessing import _SwiftConcurrencyShims @_exported import nfclib +import os @objc @_inheritsConvenienceInitializers @_Concurrency.MainActor public class OperationSignHash : ObjectiveC.NSObject { @_Concurrency.MainActor public func startSigning(CAN: Swift.String, PIN2: nfclib.SecureData, hash: Foundation.Data) async throws -> Foundation.Data @_Concurrency.MainActor @objc override dynamic public init() @@ -143,6 +144,12 @@ public enum IdCardInternalError : Swift.Error { } public struct PinError : Swift.Error { } +public enum NFCLibLogging { + public static var isEnabled: Swift.Bool { + get + set + } +} public struct CardInfo : Swift.Sendable, Swift.Hashable { public var givenName: Swift.String public var surname: Swift.String diff --git a/Modules/IdCardLib/Frameworks/nfclib.xcframework/ios-arm64_x86_64-simulator/nfclib.framework/Modules/nfclib.swiftmodule/arm64-apple-ios-simulator.swiftdoc b/Modules/IdCardLib/Frameworks/nfclib.xcframework/ios-arm64_x86_64-simulator/nfclib.framework/Modules/nfclib.swiftmodule/arm64-apple-ios-simulator.swiftdoc index 6205db08..df54c5ed 100644 Binary files a/Modules/IdCardLib/Frameworks/nfclib.xcframework/ios-arm64_x86_64-simulator/nfclib.framework/Modules/nfclib.swiftmodule/arm64-apple-ios-simulator.swiftdoc and b/Modules/IdCardLib/Frameworks/nfclib.xcframework/ios-arm64_x86_64-simulator/nfclib.framework/Modules/nfclib.swiftmodule/arm64-apple-ios-simulator.swiftdoc differ diff --git a/Modules/IdCardLib/Frameworks/nfclib.xcframework/ios-arm64_x86_64-simulator/nfclib.framework/Modules/nfclib.swiftmodule/arm64-apple-ios-simulator.swiftinterface b/Modules/IdCardLib/Frameworks/nfclib.xcframework/ios-arm64_x86_64-simulator/nfclib.framework/Modules/nfclib.swiftmodule/arm64-apple-ios-simulator.swiftinterface index e402adf7..ec299122 100644 --- a/Modules/IdCardLib/Frameworks/nfclib.xcframework/ios-arm64_x86_64-simulator/nfclib.framework/Modules/nfclib.swiftmodule/arm64-apple-ios-simulator.swiftinterface +++ b/Modules/IdCardLib/Frameworks/nfclib.xcframework/ios-arm64_x86_64-simulator/nfclib.framework/Modules/nfclib.swiftmodule/arm64-apple-ios-simulator.swiftinterface @@ -1,7 +1,7 @@ // swift-interface-format-version: 1.0 -// swift-compiler-version: Apple Swift version 6.3.2 effective-5.10 (swiftlang-6.3.2.1.108 clang-2100.1.1.101) -// swift-module-flags: -target arm64-apple-ios16.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -Onone -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name nfclib -// swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.3.2 +// swift-compiler-version: Apple Swift version 6.3.3 effective-5.10 (swiftlang-6.3.3.1.3 clang-2100.1.1.101) +// swift-module-flags: -target arm64-apple-ios16.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -O -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name nfclib +// swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.3.3 import BigInt import CommonCrypto @preconcurrency import CoreNFC @@ -16,6 +16,7 @@ import _Concurrency import _StringProcessing import _SwiftConcurrencyShims @_exported import nfclib +import os @objc @_inheritsConvenienceInitializers @_Concurrency.MainActor public class OperationSignHash : ObjectiveC.NSObject { @_Concurrency.MainActor public func startSigning(CAN: Swift.String, PIN2: nfclib.SecureData, hash: Foundation.Data) async throws -> Foundation.Data @_Concurrency.MainActor @objc override dynamic public init() @@ -143,6 +144,12 @@ public enum IdCardInternalError : Swift.Error { } public struct PinError : Swift.Error { } +public enum NFCLibLogging { + public static var isEnabled: Swift.Bool { + get + set + } +} public struct CardInfo : Swift.Sendable, Swift.Hashable { public var givenName: Swift.String public var surname: Swift.String diff --git a/Modules/IdCardLib/Frameworks/nfclib.xcframework/ios-arm64_x86_64-simulator/nfclib.framework/Modules/nfclib.swiftmodule/x86_64-apple-ios-simulator.abi.json b/Modules/IdCardLib/Frameworks/nfclib.xcframework/ios-arm64_x86_64-simulator/nfclib.framework/Modules/nfclib.swiftmodule/x86_64-apple-ios-simulator.abi.json index 08a76752..5f2505d3 100644 --- a/Modules/IdCardLib/Frameworks/nfclib.xcframework/ios-arm64_x86_64-simulator/nfclib.framework/Modules/nfclib.swiftmodule/x86_64-apple-ios-simulator.abi.json +++ b/Modules/IdCardLib/Frameworks/nfclib.xcframework/ios-arm64_x86_64-simulator/nfclib.framework/Modules/nfclib.swiftmodule/x86_64-apple-ios-simulator.abi.json @@ -98,7 +98,6 @@ "usr": "s:6nfclib17OperationSignHashC12startSigning3CAN4PIN24hash10Foundation4DataVSS_AA06SecureK0CAJtYaKF", "mangledName": "$s6nfclib17OperationSignHashC12startSigning3CAN4PIN24hash10Foundation4DataVSS_AA06SecureK0CAJtYaKF", "moduleName": "nfclib", - "isOpen": true, "declAttributes": [ "Custom", "AccessControl" @@ -168,7 +167,6 @@ "usr": "s:6nfclib17OperationSignHashC16tagReaderSession_9didDetectySo06NFCTagfG0C_Say7CoreNFC0J0OGtF", "mangledName": "$s6nfclib17OperationSignHashC16tagReaderSession_9didDetectySo06NFCTagfG0C_Say7CoreNFC0J0OGtF", "moduleName": "nfclib", - "isOpen": true, "declAttributes": [ "Custom", "AccessControl" @@ -197,7 +195,6 @@ "usr": "s:6nfclib17OperationSignHashC31tagReaderSessionDidBecomeActiveyySo06NFCTagfG0CF", "mangledName": "$s6nfclib17OperationSignHashC31tagReaderSessionDidBecomeActiveyySo06NFCTagfG0CF", "moduleName": "nfclib", - "isOpen": true, "declAttributes": [ "Custom", "AccessControl" @@ -232,7 +229,6 @@ "usr": "s:6nfclib17OperationSignHashC16tagReaderSession_22didInvalidateWithErrorySo06NFCTagfG0C_s0K0_ptF", "mangledName": "$s6nfclib17OperationSignHashC16tagReaderSession_22didInvalidateWithErrorySo06NFCTagfG0C_s0K0_ptF", "moduleName": "nfclib", - "isOpen": true, "declAttributes": [ "Custom", "AccessControl" @@ -245,7 +241,6 @@ "usr": "c:@M@nfclib@objc(cs)OperationSignHash", "mangledName": "$s6nfclib17OperationSignHashC", "moduleName": "nfclib", - "isOpen": true, "declAttributes": [ "AccessControl", "Custom", @@ -543,48 +538,6 @@ } ] }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(unverifiedCertificate:algorithm:signature:signingCertificate:)", - "children": [ - { - "kind": "TypeNominal", - "name": "WebEidData", - "printedName": "nfclib.WebEidData", - "usr": "s:6nfclib10WebEidDataC" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Constructor", - "usr": "s:6nfclib10WebEidDataC21unverifiedCertificate9algorithm9signature07signingF0ACSS_S3Stcfc", - "mangledName": "$s6nfclib10WebEidDataC21unverifiedCertificate9algorithm9signature07signingF0ACSS_S3Stcfc", - "moduleName": "nfclib", - "init_kind": "Designated" - }, { "kind": "Var", "name": "formattedDescription", @@ -754,98 +707,6 @@ ], "init_kind": "Designated" }, - { - "kind": "Function", - "name": "withUnsafeBytes", - "printedName": "withUnsafeBytes(_:)", - "children": [ - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "τ_0_0" - }, - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(Swift.UnsafeRawBufferPointer) throws -> τ_0_0", - "children": [ - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "τ_0_0" - }, - { - "kind": "TypeNominal", - "name": "UnsafeRawBufferPointer", - "printedName": "Swift.UnsafeRawBufferPointer", - "usr": "s:SW" - } - ], - "typeAttributes": [ - "noescape" - ] - } - ], - "declKind": "Func", - "usr": "s:6nfclib10SecureDataC15withUnsafeBytesyxxSWKXEKlF", - "mangledName": "$s6nfclib10SecureDataC15withUnsafeBytesyxxSWKXEKlF", - "moduleName": "nfclib", - "genericSig": "<τ_0_0>", - "sugared_genericSig": "", - "declAttributes": [ - "Final", - "Rethrows", - "RawDocComment" - ], - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "withUnsafeMutableBytes", - "printedName": "withUnsafeMutableBytes(_:)", - "children": [ - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "τ_0_0" - }, - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(Swift.UnsafeMutableRawBufferPointer) throws -> τ_0_0", - "children": [ - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "τ_0_0" - }, - { - "kind": "TypeNominal", - "name": "UnsafeMutableRawBufferPointer", - "printedName": "Swift.UnsafeMutableRawBufferPointer", - "usr": "s:Sw" - } - ], - "typeAttributes": [ - "noescape" - ] - } - ], - "declKind": "Func", - "usr": "s:6nfclib10SecureDataC22withUnsafeMutableBytesyxxSwKXEKlF", - "mangledName": "$s6nfclib10SecureDataC22withUnsafeMutableBytesyxxSwKXEKlF", - "moduleName": "nfclib", - "genericSig": "<τ_0_0>", - "sugared_genericSig": "", - "declAttributes": [ - "Final", - "Rethrows", - "RawDocComment" - ], - "throwing": true, - "funcSelfKind": "NonMutating" - }, { "kind": "Var", "name": "count", @@ -911,28 +772,6 @@ "RawDocComment" ], "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "asData", - "printedName": "asData()", - "children": [ - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Func", - "usr": "s:6nfclib10SecureDataC02asC010Foundation0C0VyF", - "mangledName": "$s6nfclib10SecureDataC02asC010Foundation0C0VyF", - "moduleName": "nfclib", - "declAttributes": [ - "Final", - "RawDocComment" - ], - "funcSelfKind": "NonMutating" } ], "declKind": "Class", @@ -1152,61 +991,101 @@ ] }, { - "kind": "Function", - "name": "convertBytesToX509Certificate", - "printedName": "convertBytesToX509Certificate(_:)", - "children": [ - { - "kind": "TypeNominal", - "name": "SecCertificate", - "printedName": "Security.SecCertificate", - "usr": "c:@T@SecCertificateRef" - }, - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Func", - "usr": "s:6nfclib29convertBytesToX509CertificateySo03SecF3Refa10Foundation4DataVKF", - "mangledName": "$s6nfclib29convertBytesToX509CertificateySo03SecF3Refa10Foundation4DataVKF", + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "nfclib", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "CoreNFC", + "printedName": "CoreNFC", + "declKind": "Import", + "moduleName": "nfclib" + }, + { + "kind": "Import", + "name": "CommonCrypto", + "printedName": "CommonCrypto", + "declKind": "Import", + "moduleName": "nfclib" + }, + { + "kind": "Import", + "name": "CryptoTokenKit", + "printedName": "CryptoTokenKit", + "declKind": "Import", + "moduleName": "nfclib" + }, + { + "kind": "Import", + "name": "SwiftECC", + "printedName": "SwiftECC", + "declKind": "Import", + "moduleName": "nfclib", + "declAttributes": [ + "AccessControl" + ] + }, + { + "kind": "Import", + "name": "BigInt", + "printedName": "BigInt", + "declKind": "Import", + "moduleName": "nfclib" + }, + { + "kind": "Import", + "name": "Security", + "printedName": "Security", + "declKind": "Import", + "moduleName": "nfclib" + }, + { + "kind": "Import", + "name": "X509", + "printedName": "X509", + "declKind": "Import", "moduleName": "nfclib", - "throwing": true, - "funcSelfKind": "NonMutating" + "declAttributes": [ + "AccessControl" + ] }, { "kind": "TypeDecl", - "name": "CertificateConversionError", - "printedName": "CertificateConversionError", + "name": "AuthenticateWithWebEidError", + "printedName": "AuthenticateWithWebEidError", "children": [ { "kind": "Var", - "name": "creationFailed", - "printedName": "creationFailed", + "name": "failedToReadPublicKey", + "printedName": "failedToReadPublicKey", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(nfclib.CertificateConversionError.Type) -> nfclib.CertificateConversionError", + "printedName": "(nfclib.AuthenticateWithWebEidError.Type) -> nfclib.AuthenticateWithWebEidError", "children": [ { "kind": "TypeNominal", - "name": "CertificateConversionError", - "printedName": "nfclib.CertificateConversionError", - "usr": "s:6nfclib26CertificateConversionErrorO" + "name": "AuthenticateWithWebEidError", + "printedName": "nfclib.AuthenticateWithWebEidError", + "usr": "s:6nfclib27AuthenticateWithWebEidErrorO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "nfclib.CertificateConversionError.Type", + "printedName": "nfclib.AuthenticateWithWebEidError.Type", "children": [ { "kind": "TypeNominal", - "name": "CertificateConversionError", - "printedName": "nfclib.CertificateConversionError", - "usr": "s:6nfclib26CertificateConversionErrorO" + "name": "AuthenticateWithWebEidError", + "printedName": "nfclib.AuthenticateWithWebEidError", + "usr": "s:6nfclib27AuthenticateWithWebEidErrorO" } ] } @@ -1214,246 +1093,51 @@ } ], "declKind": "EnumElement", - "usr": "s:6nfclib26CertificateConversionErrorO14creationFailedyA2CmF", - "mangledName": "$s6nfclib26CertificateConversionErrorO14creationFailedyA2CmF", - "moduleName": "nfclib", - "fixedbinaryorder": 0 + "usr": "s:6nfclib27AuthenticateWithWebEidErrorO21failedToReadPublicKeyyA2CmF", + "mangledName": "$s6nfclib27AuthenticateWithWebEidErrorO21failedToReadPublicKeyyA2CmF", + "moduleName": "nfclib" }, { - "kind": "Function", - "name": "==", - "printedName": "==(_:_:)", + "kind": "Var", + "name": "failedToDetermineAlgorithm", + "printedName": "failedToDetermineAlgorithm", "children": [ { - "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" - }, - { - "kind": "TypeNominal", - "name": "CertificateConversionError", - "printedName": "nfclib.CertificateConversionError", - "usr": "s:6nfclib26CertificateConversionErrorO" - }, - { - "kind": "TypeNominal", - "name": "CertificateConversionError", - "printedName": "nfclib.CertificateConversionError", - "usr": "s:6nfclib26CertificateConversionErrorO" + "kind": "TypeFunc", + "name": "Function", + "printedName": "(nfclib.AuthenticateWithWebEidError.Type) -> nfclib.AuthenticateWithWebEidError", + "children": [ + { + "kind": "TypeNominal", + "name": "AuthenticateWithWebEidError", + "printedName": "nfclib.AuthenticateWithWebEidError", + "usr": "s:6nfclib27AuthenticateWithWebEidErrorO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "nfclib.AuthenticateWithWebEidError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "AuthenticateWithWebEidError", + "printedName": "nfclib.AuthenticateWithWebEidError", + "usr": "s:6nfclib27AuthenticateWithWebEidErrorO" + } + ] + } + ] } ], - "declKind": "Func", - "usr": "s:6nfclib26CertificateConversionErrorO2eeoiySbAC_ACtFZ", - "mangledName": "$s6nfclib26CertificateConversionErrorO2eeoiySbAC_ACtFZ", - "moduleName": "nfclib", - "static": true, - "implicit": true, - "funcSelfKind": "NonMutating" + "declKind": "EnumElement", + "usr": "s:6nfclib27AuthenticateWithWebEidErrorO26failedToDetermineAlgorithmyA2CmF", + "mangledName": "$s6nfclib27AuthenticateWithWebEidErrorO26failedToDetermineAlgorithmyA2CmF", + "moduleName": "nfclib" }, { "kind": "Var", - "name": "hashValue", - "printedName": "hashValue", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Var", - "usr": "s:6nfclib26CertificateConversionErrorO9hashValueSivp", - "mangledName": "$s6nfclib26CertificateConversionErrorO9hashValueSivp", - "moduleName": "nfclib", - "implicit": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib26CertificateConversionErrorO9hashValueSivg", - "mangledName": "$s6nfclib26CertificateConversionErrorO9hashValueSivg", - "moduleName": "nfclib", - "implicit": true, - "accessorKind": "get" - } - ] - }, - { - "kind": "Function", - "name": "hash", - "printedName": "hash(into:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "Hasher", - "printedName": "Swift.Hasher", - "paramValueOwnership": "InOut", - "usr": "s:s6HasherV" - } - ], - "declKind": "Func", - "usr": "s:6nfclib26CertificateConversionErrorO4hash4intoys6HasherVz_tF", - "mangledName": "$s6nfclib26CertificateConversionErrorO4hash4intoys6HasherVz_tF", - "moduleName": "nfclib", - "implicit": true, - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Enum", - "usr": "s:6nfclib26CertificateConversionErrorO", - "mangledName": "$s6nfclib26CertificateConversionErrorO", - "moduleName": "nfclib", - "isEnumExhaustive": true, - "conformances": [ - { - "kind": "Conformance", - "name": "BitwiseCopyable", - "printedName": "BitwiseCopyable", - "usr": "s:s15BitwiseCopyableP", - "mangledName": "$ss15BitwiseCopyableP" - }, - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Equatable", - "printedName": "Equatable", - "usr": "s:SQ", - "mangledName": "$sSQ" - }, - { - "kind": "Conformance", - "name": "Hashable", - "printedName": "Hashable", - "usr": "s:SH", - "mangledName": "$sSH" - }, - { - "kind": "Conformance", - "name": "Error", - "printedName": "Error", - "usr": "s:s5ErrorP", - "mangledName": "$ss5ErrorP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - } - ] - }, - { - "kind": "Import", - "name": "Foundation", - "printedName": "Foundation", - "declKind": "Import", - "moduleName": "nfclib", - "declAttributes": [ - "RawDocComment" - ] - }, - { - "kind": "Import", - "name": "CoreNFC", - "printedName": "CoreNFC", - "declKind": "Import", - "moduleName": "nfclib" - }, - { - "kind": "Import", - "name": "CommonCrypto", - "printedName": "CommonCrypto", - "declKind": "Import", - "moduleName": "nfclib" - }, - { - "kind": "Import", - "name": "CryptoTokenKit", - "printedName": "CryptoTokenKit", - "declKind": "Import", - "moduleName": "nfclib" - }, - { - "kind": "Import", - "name": "SwiftECC", - "printedName": "SwiftECC", - "declKind": "Import", - "moduleName": "nfclib", - "declAttributes": [ - "AccessControl" - ] - }, - { - "kind": "Import", - "name": "BigInt", - "printedName": "BigInt", - "declKind": "Import", - "moduleName": "nfclib" - }, - { - "kind": "Import", - "name": "Security", - "printedName": "Security", - "declKind": "Import", - "moduleName": "nfclib" - }, - { - "kind": "Import", - "name": "X509", - "printedName": "X509", - "declKind": "Import", - "moduleName": "nfclib", - "declAttributes": [ - "AccessControl" - ] - }, - { - "kind": "TypeDecl", - "name": "AuthenticateWithWebEidError", - "printedName": "AuthenticateWithWebEidError", - "children": [ - { - "kind": "Var", - "name": "failedToReadPublicKey", - "printedName": "failedToReadPublicKey", + "name": "failedToHashData", + "printedName": "failedToHashData", "children": [ { "kind": "TypeFunc", @@ -1483,14 +1167,14 @@ } ], "declKind": "EnumElement", - "usr": "s:6nfclib27AuthenticateWithWebEidErrorO21failedToReadPublicKeyyA2CmF", - "mangledName": "$s6nfclib27AuthenticateWithWebEidErrorO21failedToReadPublicKeyyA2CmF", + "usr": "s:6nfclib27AuthenticateWithWebEidErrorO16failedToHashDatayA2CmF", + "mangledName": "$s6nfclib27AuthenticateWithWebEidErrorO16failedToHashDatayA2CmF", "moduleName": "nfclib" }, { "kind": "Var", - "name": "failedToDetermineAlgorithm", - "printedName": "failedToDetermineAlgorithm", + "name": "failedToMapAlgorithm", + "printedName": "failedToMapAlgorithm", "children": [ { "kind": "TypeFunc", @@ -1520,14 +1204,14 @@ } ], "declKind": "EnumElement", - "usr": "s:6nfclib27AuthenticateWithWebEidErrorO26failedToDetermineAlgorithmyA2CmF", - "mangledName": "$s6nfclib27AuthenticateWithWebEidErrorO26failedToDetermineAlgorithmyA2CmF", + "usr": "s:6nfclib27AuthenticateWithWebEidErrorO20failedToMapAlgorithmyA2CmF", + "mangledName": "$s6nfclib27AuthenticateWithWebEidErrorO20failedToMapAlgorithmyA2CmF", "moduleName": "nfclib" }, { "kind": "Var", - "name": "failedToHashData", - "printedName": "failedToHashData", + "name": "failedCertificateExpired", + "printedName": "failedCertificateExpired", "children": [ { "kind": "TypeFunc", @@ -1557,14 +1241,14 @@ } ], "declKind": "EnumElement", - "usr": "s:6nfclib27AuthenticateWithWebEidErrorO16failedToHashDatayA2CmF", - "mangledName": "$s6nfclib27AuthenticateWithWebEidErrorO16failedToHashDatayA2CmF", + "usr": "s:6nfclib27AuthenticateWithWebEidErrorO24failedCertificateExpiredyA2CmF", + "mangledName": "$s6nfclib27AuthenticateWithWebEidErrorO24failedCertificateExpiredyA2CmF", "moduleName": "nfclib" }, { "kind": "Var", - "name": "failedToMapAlgorithm", - "printedName": "failedToMapAlgorithm", + "name": "failedCertificateNotYetValid", + "printedName": "failedCertificateNotYetValid", "children": [ { "kind": "TypeFunc", @@ -1594,120 +1278,46 @@ } ], "declKind": "EnumElement", - "usr": "s:6nfclib27AuthenticateWithWebEidErrorO20failedToMapAlgorithmyA2CmF", - "mangledName": "$s6nfclib27AuthenticateWithWebEidErrorO20failedToMapAlgorithmyA2CmF", + "usr": "s:6nfclib27AuthenticateWithWebEidErrorO28failedCertificateNotYetValidyA2CmF", + "mangledName": "$s6nfclib27AuthenticateWithWebEidErrorO28failedCertificateNotYetValidyA2CmF", "moduleName": "nfclib" }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "AuthenticateWithWebEidError", + "printedName": "nfclib.AuthenticateWithWebEidError", + "usr": "s:6nfclib27AuthenticateWithWebEidErrorO" + }, + { + "kind": "TypeNominal", + "name": "AuthenticateWithWebEidError", + "printedName": "nfclib.AuthenticateWithWebEidError", + "usr": "s:6nfclib27AuthenticateWithWebEidErrorO" + } + ], + "declKind": "Func", + "usr": "s:6nfclib27AuthenticateWithWebEidErrorO2eeoiySbAC_ACtFZ", + "mangledName": "$s6nfclib27AuthenticateWithWebEidErrorO2eeoiySbAC_ACtFZ", + "moduleName": "nfclib", + "static": true, + "implicit": true, + "funcSelfKind": "NonMutating" + }, { "kind": "Var", - "name": "failedCertificateExpired", - "printedName": "failedCertificateExpired", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.AuthenticateWithWebEidError.Type) -> nfclib.AuthenticateWithWebEidError", - "children": [ - { - "kind": "TypeNominal", - "name": "AuthenticateWithWebEidError", - "printedName": "nfclib.AuthenticateWithWebEidError", - "usr": "s:6nfclib27AuthenticateWithWebEidErrorO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.AuthenticateWithWebEidError.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "AuthenticateWithWebEidError", - "printedName": "nfclib.AuthenticateWithWebEidError", - "usr": "s:6nfclib27AuthenticateWithWebEidErrorO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib27AuthenticateWithWebEidErrorO24failedCertificateExpiredyA2CmF", - "mangledName": "$s6nfclib27AuthenticateWithWebEidErrorO24failedCertificateExpiredyA2CmF", - "moduleName": "nfclib" - }, - { - "kind": "Var", - "name": "failedCertificateNotYetValid", - "printedName": "failedCertificateNotYetValid", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.AuthenticateWithWebEidError.Type) -> nfclib.AuthenticateWithWebEidError", - "children": [ - { - "kind": "TypeNominal", - "name": "AuthenticateWithWebEidError", - "printedName": "nfclib.AuthenticateWithWebEidError", - "usr": "s:6nfclib27AuthenticateWithWebEidErrorO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.AuthenticateWithWebEidError.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "AuthenticateWithWebEidError", - "printedName": "nfclib.AuthenticateWithWebEidError", - "usr": "s:6nfclib27AuthenticateWithWebEidErrorO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib27AuthenticateWithWebEidErrorO28failedCertificateNotYetValidyA2CmF", - "mangledName": "$s6nfclib27AuthenticateWithWebEidErrorO28failedCertificateNotYetValidyA2CmF", - "moduleName": "nfclib" - }, - { - "kind": "Function", - "name": "==", - "printedName": "==(_:_:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" - }, - { - "kind": "TypeNominal", - "name": "AuthenticateWithWebEidError", - "printedName": "nfclib.AuthenticateWithWebEidError", - "usr": "s:6nfclib27AuthenticateWithWebEidErrorO" - }, - { - "kind": "TypeNominal", - "name": "AuthenticateWithWebEidError", - "printedName": "nfclib.AuthenticateWithWebEidError", - "usr": "s:6nfclib27AuthenticateWithWebEidErrorO" - } - ], - "declKind": "Func", - "usr": "s:6nfclib27AuthenticateWithWebEidErrorO2eeoiySbAC_ACtFZ", - "mangledName": "$s6nfclib27AuthenticateWithWebEidErrorO2eeoiySbAC_ACtFZ", - "moduleName": "nfclib", - "static": true, - "implicit": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Var", - "name": "hashValue", - "printedName": "hashValue", + "name": "hashValue", + "printedName": "hashValue", "children": [ { "kind": "TypeNominal", @@ -1895,7 +1505,6 @@ "usr": "s:6nfclib31OperationAuthenticateWithWebEIDC12startReadingAA0E7EidDataCyYaKF", "mangledName": "$s6nfclib31OperationAuthenticateWithWebEIDC12startReadingAA0E7EidDataCyYaKF", "moduleName": "nfclib", - "isOpen": true, "declAttributes": [ "Custom", "AccessControl" @@ -1965,7 +1574,6 @@ "usr": "s:6nfclib31OperationAuthenticateWithWebEIDC16tagReaderSession_9didDetectySo06NFCTaghI0C_Say7CoreNFC0L0OGtF", "mangledName": "$s6nfclib31OperationAuthenticateWithWebEIDC16tagReaderSession_9didDetectySo06NFCTaghI0C_Say7CoreNFC0L0OGtF", "moduleName": "nfclib", - "isOpen": true, "declAttributes": [ "Custom", "AccessControl" @@ -2016,7 +1624,6 @@ "usr": "s:6nfclib31OperationAuthenticateWithWebEIDC29getAlgorithmNameTypeAndLength4fromSS9algorithm_Si03keyL0tSgSo9SecKeyRefa_tF", "mangledName": "$s6nfclib31OperationAuthenticateWithWebEIDC29getAlgorithmNameTypeAndLength4fromSS9algorithm_Si03keyL0tSgSo9SecKeyRefa_tF", "moduleName": "nfclib", - "isOpen": true, "declAttributes": [ "Custom", "AccessControl" @@ -2045,7 +1652,6 @@ "usr": "s:6nfclib31OperationAuthenticateWithWebEIDC31tagReaderSessionDidBecomeActiveyySo06NFCTaghI0CF", "mangledName": "$s6nfclib31OperationAuthenticateWithWebEIDC31tagReaderSessionDidBecomeActiveyySo06NFCTaghI0CF", "moduleName": "nfclib", - "isOpen": true, "declAttributes": [ "Custom", "AccessControl" @@ -2080,7 +1686,6 @@ "usr": "s:6nfclib31OperationAuthenticateWithWebEIDC16tagReaderSession_013didInvalidateD5ErrorySo06NFCTaghI0C_s0L0_ptF", "mangledName": "$s6nfclib31OperationAuthenticateWithWebEIDC16tagReaderSession_013didInvalidateD5ErrorySo06NFCTaghI0C_s0L0_ptF", "moduleName": "nfclib", - "isOpen": true, "declAttributes": [ "Custom", "AccessControl" @@ -2124,7 +1729,6 @@ "usr": "s:6nfclib31OperationAuthenticateWithWebEIDC14mapToAlgorithm9algorithm9bitLengthSSSgSS_SitF", "mangledName": "$s6nfclib31OperationAuthenticateWithWebEIDC14mapToAlgorithm9algorithm9bitLengthSSSgSS_SitF", "moduleName": "nfclib", - "isOpen": true, "declAttributes": [ "Custom", "AccessControl" @@ -2137,7 +1741,6 @@ "usr": "c:@M@nfclib@objc(cs)OperationAuthenticateWithWebEID", "mangledName": "$s6nfclib31OperationAuthenticateWithWebEIDC", "moduleName": "nfclib", - "isOpen": true, "declAttributes": [ "AccessControl", "Custom", @@ -2231,125 +1834,6 @@ "kind": "TypeDecl", "name": "SignatureAlgorithmInfo", "printedName": "SignatureAlgorithmInfo", - "children": [ - { - "kind": "Var", - "name": "name", - "printedName": "name", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:6nfclib22SignatureAlgorithmInfoV4nameSSvp", - "mangledName": "$s6nfclib22SignatureAlgorithmInfoV4nameSSvp", - "moduleName": "nfclib", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib22SignatureAlgorithmInfoV4nameSSvg", - "mangledName": "$s6nfclib22SignatureAlgorithmInfoV4nameSSvg", - "moduleName": "nfclib", - "implicit": true, - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "bitSize", - "printedName": "bitSize", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Var", - "usr": "s:6nfclib22SignatureAlgorithmInfoV7bitSizeSivp", - "mangledName": "$s6nfclib22SignatureAlgorithmInfoV7bitSizeSivp", - "moduleName": "nfclib", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib22SignatureAlgorithmInfoV7bitSizeSivg", - "mangledName": "$s6nfclib22SignatureAlgorithmInfoV7bitSizeSivg", - "moduleName": "nfclib", - "implicit": true, - "accessorKind": "get" - } - ] - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(name:bitSize:)", - "children": [ - { - "kind": "TypeNominal", - "name": "SignatureAlgorithmInfo", - "printedName": "nfclib.SignatureAlgorithmInfo", - "usr": "s:6nfclib22SignatureAlgorithmInfoV" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Constructor", - "usr": "s:6nfclib22SignatureAlgorithmInfoV4name7bitSizeACSS_Sitcfc", - "mangledName": "$s6nfclib22SignatureAlgorithmInfoV4name7bitSizeACSS_Sitcfc", - "moduleName": "nfclib", - "implicit": true, - "init_kind": "Designated" - } - ], "declKind": "Struct", "usr": "s:6nfclib22SignatureAlgorithmInfoV", "mangledName": "$s6nfclib22SignatureAlgorithmInfoV", @@ -2443,995 +1927,481 @@ "moduleName": "nfclib" }, { - "kind": "TypeDecl", - "name": "CardReaderNFC", - "printedName": "CardReaderNFC", - "children": [ - { - "kind": "TypeDecl", - "name": "PasswordType", - "printedName": "PasswordType", - "children": [ - { - "kind": "Var", - "name": "id_PasswordType_MRZ", - "printedName": "id_PasswordType_MRZ", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.CardReaderNFC.PasswordType.Type) -> nfclib.CardReaderNFC.PasswordType", - "children": [ - { - "kind": "TypeNominal", - "name": "PasswordType", - "printedName": "nfclib.CardReaderNFC.PasswordType", - "usr": "s:6nfclib13CardReaderNFCC12PasswordTypeO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.CardReaderNFC.PasswordType.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "PasswordType", - "printedName": "nfclib.CardReaderNFC.PasswordType", - "usr": "s:6nfclib13CardReaderNFCC12PasswordTypeO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib13CardReaderNFCC12PasswordTypeO03id_eF4_MRZyA2EmF", - "mangledName": "$s6nfclib13CardReaderNFCC12PasswordTypeO03id_eF4_MRZyA2EmF", - "moduleName": "nfclib", - "fixedbinaryorder": 0 - }, - { - "kind": "Var", - "name": "id_PasswordType_CAN", - "printedName": "id_PasswordType_CAN", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.CardReaderNFC.PasswordType.Type) -> nfclib.CardReaderNFC.PasswordType", - "children": [ - { - "kind": "TypeNominal", - "name": "PasswordType", - "printedName": "nfclib.CardReaderNFC.PasswordType", - "usr": "s:6nfclib13CardReaderNFCC12PasswordTypeO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.CardReaderNFC.PasswordType.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "PasswordType", - "printedName": "nfclib.CardReaderNFC.PasswordType", - "usr": "s:6nfclib13CardReaderNFCC12PasswordTypeO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib13CardReaderNFCC12PasswordTypeO03id_eF4_CANyA2EmF", - "mangledName": "$s6nfclib13CardReaderNFCC12PasswordTypeO03id_eF4_CANyA2EmF", - "moduleName": "nfclib", - "declAttributes": [ - "RawDocComment" - ], - "fixedbinaryorder": 1 - }, - { - "kind": "Var", - "name": "data", - "printedName": "data", + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "nfclib", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "CryptoTokenKit", + "printedName": "CryptoTokenKit", + "declKind": "Import", + "moduleName": "nfclib", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "nfclib", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "CoreNFC", + "printedName": "CoreNFC", + "declKind": "Import", + "moduleName": "nfclib" + }, + { + "kind": "Import", + "name": "CommonCrypto", + "printedName": "CommonCrypto", + "declKind": "Import", + "moduleName": "nfclib" + }, + { + "kind": "Import", + "name": "CryptoTokenKit", + "printedName": "CryptoTokenKit", + "declKind": "Import", + "moduleName": "nfclib" + }, + { + "kind": "Import", + "name": "SwiftECC", + "printedName": "SwiftECC", + "declKind": "Import", + "moduleName": "nfclib", + "declAttributes": [ + "AccessControl" + ] + }, + { + "kind": "Import", + "name": "BigInt", + "printedName": "BigInt", + "declKind": "Import", + "moduleName": "nfclib" + }, + { + "kind": "Import", + "name": "Security", + "printedName": "Security", + "declKind": "Import", + "moduleName": "nfclib" + }, + { + "kind": "TypeDecl", + "name": "ReadCertificateError", + "printedName": "ReadCertificateError", + "children": [ + { + "kind": "Var", + "name": "certificateUsageNotSpecified", + "printedName": "certificateUsageNotSpecified", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(nfclib.ReadCertificateError.Type) -> nfclib.ReadCertificateError", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:6nfclib13CardReaderNFCC12PasswordTypeO4dataSSvp", - "mangledName": "$s6nfclib13CardReaderNFCC12PasswordTypeO4dataSSvp", - "moduleName": "nfclib", - "declAttributes": [ - "RawDocComment" - ], - "accessors": [ + "name": "ReadCertificateError", + "printedName": "nfclib.ReadCertificateError", + "usr": "s:6nfclib20ReadCertificateErrorO" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "nfclib.ReadCertificateError.Type", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "ReadCertificateError", + "printedName": "nfclib.ReadCertificateError", + "usr": "s:6nfclib20ReadCertificateErrorO" } - ], - "declKind": "Accessor", - "usr": "s:6nfclib13CardReaderNFCC12PasswordTypeO4dataSSvg", - "mangledName": "$s6nfclib13CardReaderNFCC12PasswordTypeO4dataSSvg", - "moduleName": "nfclib", - "accessorKind": "get" + ] } ] - }, + } + ], + "declKind": "EnumElement", + "usr": "s:6nfclib20ReadCertificateErrorO28certificateUsageNotSpecifiedyA2CmF", + "mangledName": "$s6nfclib20ReadCertificateErrorO28certificateUsageNotSpecifiedyA2CmF", + "moduleName": "nfclib" + }, + { + "kind": "Var", + "name": "failedToReadCertificate", + "printedName": "failedToReadCertificate", + "children": [ { - "kind": "Constructor", - "name": "init", - "printedName": "init(rawValue:)", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(nfclib.ReadCertificateError.Type) -> nfclib.ReadCertificateError", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "nfclib.CardReaderNFC.PasswordType?", - "children": [ - { - "kind": "TypeNominal", - "name": "PasswordType", - "printedName": "nfclib.CardReaderNFC.PasswordType", - "usr": "s:6nfclib13CardReaderNFCC12PasswordTypeO" - } - ], - "usr": "s:Sq" + "name": "ReadCertificateError", + "printedName": "nfclib.ReadCertificateError", + "usr": "s:6nfclib20ReadCertificateErrorO" }, { "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "declKind": "Constructor", - "usr": "s:6nfclib13CardReaderNFCC12PasswordTypeO8rawValueAESgs5UInt8V_tcfc", - "mangledName": "$s6nfclib13CardReaderNFCC12PasswordTypeO8rawValueAESgs5UInt8V_tcfc", - "moduleName": "nfclib", - "implicit": true, - "init_kind": "Designated" - }, - { - "kind": "Var", - "name": "rawValue", - "printedName": "rawValue", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "declKind": "Var", - "usr": "s:6nfclib13CardReaderNFCC12PasswordTypeO8rawValues5UInt8Vvp", - "mangledName": "$s6nfclib13CardReaderNFCC12PasswordTypeO8rawValues5UInt8Vvp", - "moduleName": "nfclib", - "implicit": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "name": "Metatype", + "printedName": "nfclib.ReadCertificateError.Type", "children": [ { "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" + "name": "ReadCertificateError", + "printedName": "nfclib.ReadCertificateError", + "usr": "s:6nfclib20ReadCertificateErrorO" } - ], - "declKind": "Accessor", - "usr": "s:6nfclib13CardReaderNFCC12PasswordTypeO8rawValues5UInt8Vvg", - "mangledName": "$s6nfclib13CardReaderNFCC12PasswordTypeO8rawValues5UInt8Vvg", - "moduleName": "nfclib", - "implicit": true, - "accessorKind": "get" + ] } ] } ], - "declKind": "Enum", - "usr": "s:6nfclib13CardReaderNFCC12PasswordTypeO", - "mangledName": "$s6nfclib13CardReaderNFCC12PasswordTypeO", - "moduleName": "nfclib", - "declAttributes": [ - "RawDocComment" - ], - "enumRawTypeName": "UInt8", - "isEnumExhaustive": true, - "conformances": [ - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Equatable", - "printedName": "Equatable", - "usr": "s:SQ", - "mangledName": "$sSQ" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - }, - { - "kind": "Conformance", - "name": "Hashable", - "printedName": "Hashable", - "usr": "s:SH", - "mangledName": "$sSH" - }, + "declKind": "EnumElement", + "usr": "s:6nfclib20ReadCertificateErrorO08failedTobC0yA2CmF", + "mangledName": "$s6nfclib20ReadCertificateErrorO08failedTobC0yA2CmF", + "moduleName": "nfclib" + }, + { + "kind": "Var", + "name": "general", + "printedName": "general", + "children": [ { - "kind": "Conformance", - "name": "RawRepresentable", - "printedName": "RawRepresentable", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(nfclib.ReadCertificateError.Type) -> nfclib.ReadCertificateError", "children": [ { - "kind": "TypeWitness", - "name": "RawValue", - "printedName": "RawValue", + "kind": "TypeNominal", + "name": "ReadCertificateError", + "printedName": "nfclib.ReadCertificateError", + "usr": "s:6nfclib20ReadCertificateErrorO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "nfclib.ReadCertificateError.Type", "children": [ { "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" + "name": "ReadCertificateError", + "printedName": "nfclib.ReadCertificateError", + "usr": "s:6nfclib20ReadCertificateErrorO" } ] } - ], - "usr": "s:SY", - "mangledName": "$sSY" + ] + } + ], + "declKind": "EnumElement", + "usr": "s:6nfclib20ReadCertificateErrorO7generalyA2CmF", + "mangledName": "$s6nfclib20ReadCertificateErrorO7generalyA2CmF", + "moduleName": "nfclib" + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" }, { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" + "kind": "TypeNominal", + "name": "ReadCertificateError", + "printedName": "nfclib.ReadCertificateError", + "usr": "s:6nfclib20ReadCertificateErrorO" }, { - "kind": "Conformance", - "name": "BitwiseCopyable", - "printedName": "BitwiseCopyable", - "usr": "s:s15BitwiseCopyableP", - "mangledName": "$ss15BitwiseCopyableP" + "kind": "TypeNominal", + "name": "ReadCertificateError", + "printedName": "nfclib.ReadCertificateError", + "usr": "s:6nfclib20ReadCertificateErrorO" } - ] + ], + "declKind": "Func", + "usr": "s:6nfclib20ReadCertificateErrorO2eeoiySbAC_ACtFZ", + "mangledName": "$s6nfclib20ReadCertificateErrorO2eeoiySbAC_ACtFZ", + "moduleName": "nfclib", + "static": true, + "implicit": true, + "funcSelfKind": "NonMutating" }, { - "kind": "TypeDecl", - "name": "MappingType", - "printedName": "MappingType", + "kind": "Var", + "name": "hashValue", + "printedName": "hashValue", "children": [ { - "kind": "Var", - "name": "id_PACE_ECDH_GM_AES_CBC_CMAC_256", - "printedName": "id_PACE_ECDH_GM_AES_CBC_CMAC_256", + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:6nfclib20ReadCertificateErrorO9hashValueSivp", + "mangledName": "$s6nfclib20ReadCertificateErrorO9hashValueSivp", + "moduleName": "nfclib", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.CardReaderNFC.MappingType.Type) -> nfclib.CardReaderNFC.MappingType", - "children": [ - { - "kind": "TypeNominal", - "name": "MappingType", - "printedName": "nfclib.CardReaderNFC.MappingType", - "usr": "s:6nfclib13CardReaderNFCC11MappingTypeO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.CardReaderNFC.MappingType.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "MappingType", - "printedName": "nfclib.CardReaderNFC.MappingType", - "usr": "s:6nfclib13CardReaderNFCC11MappingTypeO" - } - ] - } - ] + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], - "declKind": "EnumElement", - "usr": "s:6nfclib13CardReaderNFCC11MappingTypeO32id_PACE_ECDH_GM_AES_CBC_CMAC_256yA2EmF", - "mangledName": "$s6nfclib13CardReaderNFCC11MappingTypeO32id_PACE_ECDH_GM_AES_CBC_CMAC_256yA2EmF", + "declKind": "Accessor", + "usr": "s:6nfclib20ReadCertificateErrorO9hashValueSivg", + "mangledName": "$s6nfclib20ReadCertificateErrorO9hashValueSivg", "moduleName": "nfclib", - "fixedbinaryorder": 0 - }, + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "hash", + "printedName": "hash(into:)", + "children": [ { - "kind": "Var", - "name": "id_PACE_ECDH_IM_AES_CBC_CMAC_256", - "printedName": "id_PACE_ECDH_IM_AES_CBC_CMAC_256", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.CardReaderNFC.MappingType.Type) -> nfclib.CardReaderNFC.MappingType", - "children": [ - { - "kind": "TypeNominal", - "name": "MappingType", - "printedName": "nfclib.CardReaderNFC.MappingType", - "usr": "s:6nfclib13CardReaderNFCC11MappingTypeO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.CardReaderNFC.MappingType.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "MappingType", - "printedName": "nfclib.CardReaderNFC.MappingType", - "usr": "s:6nfclib13CardReaderNFCC11MappingTypeO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib13CardReaderNFCC11MappingTypeO32id_PACE_ECDH_IM_AES_CBC_CMAC_256yA2EmF", - "mangledName": "$s6nfclib13CardReaderNFCC11MappingTypeO32id_PACE_ECDH_IM_AES_CBC_CMAC_256yA2EmF", - "moduleName": "nfclib", - "declAttributes": [ - "RawDocComment" - ], - "fixedbinaryorder": 1 + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" }, { - "kind": "Var", - "name": "data", - "printedName": "data", + "kind": "TypeNominal", + "name": "Hasher", + "printedName": "Swift.Hasher", + "paramValueOwnership": "InOut", + "usr": "s:s6HasherV" + } + ], + "declKind": "Func", + "usr": "s:6nfclib20ReadCertificateErrorO4hash4intoys6HasherVz_tF", + "mangledName": "$s6nfclib20ReadCertificateErrorO4hash4intoys6HasherVz_tF", + "moduleName": "nfclib", + "implicit": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Enum", + "usr": "s:6nfclib20ReadCertificateErrorO", + "mangledName": "$s6nfclib20ReadCertificateErrorO", + "moduleName": "nfclib", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "Error", + "printedName": "Error", + "usr": "s:s5ErrorP", + "mangledName": "$ss5ErrorP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "CertificateUsage", + "printedName": "CertificateUsage", + "children": [ + { + "kind": "Var", + "name": "auth", + "printedName": "auth", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(nfclib.CertificateUsage.Type) -> nfclib.CertificateUsage", "children": [ { "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Var", - "usr": "s:6nfclib13CardReaderNFCC11MappingTypeO4data10Foundation4DataVvp", - "mangledName": "$s6nfclib13CardReaderNFCC11MappingTypeO4data10Foundation4DataVvp", - "moduleName": "nfclib", - "declAttributes": [ - "RawDocComment" - ], - "accessors": [ + "name": "CertificateUsage", + "printedName": "nfclib.CertificateUsage", + "usr": "s:6nfclib16CertificateUsageO" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "nfclib.CertificateUsage.Type", "children": [ { "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" + "name": "CertificateUsage", + "printedName": "nfclib.CertificateUsage", + "usr": "s:6nfclib16CertificateUsageO" } - ], - "declKind": "Accessor", - "usr": "s:6nfclib13CardReaderNFCC11MappingTypeO4data10Foundation4DataVvg", - "mangledName": "$s6nfclib13CardReaderNFCC11MappingTypeO4data10Foundation4DataVvg", - "moduleName": "nfclib", - "accessorKind": "get" + ] } ] - }, + } + ], + "declKind": "EnumElement", + "usr": "s:6nfclib16CertificateUsageO4authyA2CmF", + "mangledName": "$s6nfclib16CertificateUsageO4authyA2CmF", + "moduleName": "nfclib" + }, + { + "kind": "Var", + "name": "sign", + "printedName": "sign", + "children": [ { - "kind": "Constructor", - "name": "init", - "printedName": "init(rawValue:)", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(nfclib.CertificateUsage.Type) -> nfclib.CertificateUsage", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "nfclib.CardReaderNFC.MappingType?", - "children": [ - { - "kind": "TypeNominal", - "name": "MappingType", - "printedName": "nfclib.CardReaderNFC.MappingType", - "usr": "s:6nfclib13CardReaderNFCC11MappingTypeO" - } - ], - "usr": "s:Sq" + "name": "CertificateUsage", + "printedName": "nfclib.CertificateUsage", + "usr": "s:6nfclib16CertificateUsageO" }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Constructor", - "usr": "s:6nfclib13CardReaderNFCC11MappingTypeO8rawValueAESgSS_tcfc", - "mangledName": "$s6nfclib13CardReaderNFCC11MappingTypeO8rawValueAESgSS_tcfc", - "moduleName": "nfclib", - "implicit": true, - "init_kind": "Designated" - }, - { - "kind": "Var", - "name": "rawValue", - "printedName": "rawValue", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:6nfclib13CardReaderNFCC11MappingTypeO8rawValueSSvp", - "mangledName": "$s6nfclib13CardReaderNFCC11MappingTypeO8rawValueSSvp", - "moduleName": "nfclib", - "implicit": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "name": "Metatype", + "printedName": "nfclib.CertificateUsage.Type", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "CertificateUsage", + "printedName": "nfclib.CertificateUsage", + "usr": "s:6nfclib16CertificateUsageO" } - ], - "declKind": "Accessor", - "usr": "s:6nfclib13CardReaderNFCC11MappingTypeO8rawValueSSvg", - "mangledName": "$s6nfclib13CardReaderNFCC11MappingTypeO8rawValueSSvg", - "moduleName": "nfclib", - "implicit": true, - "accessorKind": "get" + ] } ] } ], - "declKind": "Enum", - "usr": "s:6nfclib13CardReaderNFCC11MappingTypeO", - "mangledName": "$s6nfclib13CardReaderNFCC11MappingTypeO", - "moduleName": "nfclib", - "enumRawTypeName": "String", - "isEnumExhaustive": true, - "conformances": [ - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Equatable", - "printedName": "Equatable", - "usr": "s:SQ", - "mangledName": "$sSQ" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - }, - { - "kind": "Conformance", - "name": "Hashable", - "printedName": "Hashable", - "usr": "s:SH", - "mangledName": "$sSH" - }, + "declKind": "EnumElement", + "usr": "s:6nfclib16CertificateUsageO4signyA2CmF", + "mangledName": "$s6nfclib16CertificateUsageO4signyA2CmF", + "moduleName": "nfclib" + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ { - "kind": "Conformance", - "name": "RawRepresentable", - "printedName": "RawRepresentable", - "children": [ - { - "kind": "TypeWitness", - "name": "RawValue", - "printedName": "RawValue", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ] - } - ], - "usr": "s:SY", - "mangledName": "$sSY" + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" }, { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" + "kind": "TypeNominal", + "name": "CertificateUsage", + "printedName": "nfclib.CertificateUsage", + "usr": "s:6nfclib16CertificateUsageO" }, { - "kind": "Conformance", - "name": "BitwiseCopyable", - "printedName": "BitwiseCopyable", - "usr": "s:s15BitwiseCopyableP", - "mangledName": "$ss15BitwiseCopyableP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "ParameterId", - "printedName": "ParameterId", - "children": [ - { - "kind": "Var", - "name": "EC256r1", - "printedName": "EC256r1", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.CardReaderNFC.ParameterId.Type) -> nfclib.CardReaderNFC.ParameterId", - "children": [ - { - "kind": "TypeNominal", - "name": "ParameterId", - "printedName": "nfclib.CardReaderNFC.ParameterId", - "usr": "s:6nfclib13CardReaderNFCC11ParameterIdO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.CardReaderNFC.ParameterId.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "ParameterId", - "printedName": "nfclib.CardReaderNFC.ParameterId", - "usr": "s:6nfclib13CardReaderNFCC11ParameterIdO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib13CardReaderNFCC11ParameterIdO7EC256r1yA2EmF", - "mangledName": "$s6nfclib13CardReaderNFCC11ParameterIdO7EC256r1yA2EmF", - "moduleName": "nfclib", - "fixedbinaryorder": 0 - }, - { - "kind": "Var", - "name": "BP256r1", - "printedName": "BP256r1", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.CardReaderNFC.ParameterId.Type) -> nfclib.CardReaderNFC.ParameterId", - "children": [ - { - "kind": "TypeNominal", - "name": "ParameterId", - "printedName": "nfclib.CardReaderNFC.ParameterId", - "usr": "s:6nfclib13CardReaderNFCC11ParameterIdO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.CardReaderNFC.ParameterId.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "ParameterId", - "printedName": "nfclib.CardReaderNFC.ParameterId", - "usr": "s:6nfclib13CardReaderNFCC11ParameterIdO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib13CardReaderNFCC11ParameterIdO7BP256r1yA2EmF", - "mangledName": "$s6nfclib13CardReaderNFCC11ParameterIdO7BP256r1yA2EmF", - "moduleName": "nfclib", - "fixedbinaryorder": 1 - }, - { - "kind": "Var", - "name": "EC384r1", - "printedName": "EC384r1", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.CardReaderNFC.ParameterId.Type) -> nfclib.CardReaderNFC.ParameterId", - "children": [ - { - "kind": "TypeNominal", - "name": "ParameterId", - "printedName": "nfclib.CardReaderNFC.ParameterId", - "usr": "s:6nfclib13CardReaderNFCC11ParameterIdO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.CardReaderNFC.ParameterId.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "ParameterId", - "printedName": "nfclib.CardReaderNFC.ParameterId", - "usr": "s:6nfclib13CardReaderNFCC11ParameterIdO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib13CardReaderNFCC11ParameterIdO7EC384r1yA2EmF", - "mangledName": "$s6nfclib13CardReaderNFCC11ParameterIdO7EC384r1yA2EmF", - "moduleName": "nfclib", - "fixedbinaryorder": 2 - }, - { - "kind": "Var", - "name": "BP384r1", - "printedName": "BP384r1", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.CardReaderNFC.ParameterId.Type) -> nfclib.CardReaderNFC.ParameterId", - "children": [ - { - "kind": "TypeNominal", - "name": "ParameterId", - "printedName": "nfclib.CardReaderNFC.ParameterId", - "usr": "s:6nfclib13CardReaderNFCC11ParameterIdO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.CardReaderNFC.ParameterId.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "ParameterId", - "printedName": "nfclib.CardReaderNFC.ParameterId", - "usr": "s:6nfclib13CardReaderNFCC11ParameterIdO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib13CardReaderNFCC11ParameterIdO7BP384r1yA2EmF", - "mangledName": "$s6nfclib13CardReaderNFCC11ParameterIdO7BP384r1yA2EmF", - "moduleName": "nfclib", - "fixedbinaryorder": 3 - }, - { - "kind": "Var", - "name": "BP512r1", - "printedName": "BP512r1", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.CardReaderNFC.ParameterId.Type) -> nfclib.CardReaderNFC.ParameterId", - "children": [ - { - "kind": "TypeNominal", - "name": "ParameterId", - "printedName": "nfclib.CardReaderNFC.ParameterId", - "usr": "s:6nfclib13CardReaderNFCC11ParameterIdO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.CardReaderNFC.ParameterId.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "ParameterId", - "printedName": "nfclib.CardReaderNFC.ParameterId", - "usr": "s:6nfclib13CardReaderNFCC11ParameterIdO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib13CardReaderNFCC11ParameterIdO7BP512r1yA2EmF", - "mangledName": "$s6nfclib13CardReaderNFCC11ParameterIdO7BP512r1yA2EmF", - "moduleName": "nfclib", - "fixedbinaryorder": 4 - }, - { - "kind": "Var", - "name": "EC521r1", - "printedName": "EC521r1", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.CardReaderNFC.ParameterId.Type) -> nfclib.CardReaderNFC.ParameterId", - "children": [ - { - "kind": "TypeNominal", - "name": "ParameterId", - "printedName": "nfclib.CardReaderNFC.ParameterId", - "usr": "s:6nfclib13CardReaderNFCC11ParameterIdO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.CardReaderNFC.ParameterId.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "ParameterId", - "printedName": "nfclib.CardReaderNFC.ParameterId", - "usr": "s:6nfclib13CardReaderNFCC11ParameterIdO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib13CardReaderNFCC11ParameterIdO7EC521r1yA2EmF", - "mangledName": "$s6nfclib13CardReaderNFCC11ParameterIdO7EC521r1yA2EmF", - "moduleName": "nfclib", - "fixedbinaryorder": 5 - }, - { - "kind": "Var", - "name": "domain", - "printedName": "domain", - "children": [ - { - "kind": "TypeNominal", - "name": "Domain", - "printedName": "SwiftECC.Domain", - "usr": "s:8SwiftECC6DomainC" - } - ], - "declKind": "Var", - "usr": "s:6nfclib13CardReaderNFCC11ParameterIdO6domain8SwiftECC6DomainCvp", - "mangledName": "$s6nfclib13CardReaderNFCC11ParameterIdO6domain8SwiftECC6DomainCvp", - "moduleName": "nfclib", - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Domain", - "printedName": "SwiftECC.Domain", - "usr": "s:8SwiftECC6DomainC" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib13CardReaderNFCC11ParameterIdO6domain8SwiftECC6DomainCvg", - "mangledName": "$s6nfclib13CardReaderNFCC11ParameterIdO6domain8SwiftECC6DomainCvg", - "moduleName": "nfclib", - "accessorKind": "get" - } - ] - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(rawValue:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "nfclib.CardReaderNFC.ParameterId?", - "children": [ - { - "kind": "TypeNominal", - "name": "ParameterId", - "printedName": "nfclib.CardReaderNFC.ParameterId", - "usr": "s:6nfclib13CardReaderNFCC11ParameterIdO" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "declKind": "Constructor", - "usr": "s:6nfclib13CardReaderNFCC11ParameterIdO8rawValueAESgs5UInt8V_tcfc", - "mangledName": "$s6nfclib13CardReaderNFCC11ParameterIdO8rawValueAESgs5UInt8V_tcfc", - "moduleName": "nfclib", - "implicit": true, - "init_kind": "Designated" - }, - { - "kind": "Var", - "name": "rawValue", - "printedName": "rawValue", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "declKind": "Var", - "usr": "s:6nfclib13CardReaderNFCC11ParameterIdO8rawValues5UInt8Vvp", - "mangledName": "$s6nfclib13CardReaderNFCC11ParameterIdO8rawValues5UInt8Vvp", - "moduleName": "nfclib", - "implicit": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib13CardReaderNFCC11ParameterIdO8rawValues5UInt8Vvg", - "mangledName": "$s6nfclib13CardReaderNFCC11ParameterIdO8rawValues5UInt8Vvg", - "moduleName": "nfclib", - "implicit": true, - "accessorKind": "get" - } - ] + "kind": "TypeNominal", + "name": "CertificateUsage", + "printedName": "nfclib.CertificateUsage", + "usr": "s:6nfclib16CertificateUsageO" } ], - "declKind": "Enum", - "usr": "s:6nfclib13CardReaderNFCC11ParameterIdO", - "mangledName": "$s6nfclib13CardReaderNFCC11ParameterIdO", + "declKind": "Func", + "usr": "s:6nfclib16CertificateUsageO2eeoiySbAC_ACtFZ", + "mangledName": "$s6nfclib16CertificateUsageO2eeoiySbAC_ACtFZ", "moduleName": "nfclib", - "declAttributes": [ - "RawDocComment" - ], - "enumRawTypeName": "UInt8", - "isEnumExhaustive": true, - "conformances": [ - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Equatable", - "printedName": "Equatable", - "usr": "s:SQ", - "mangledName": "$sSQ" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - }, - { - "kind": "Conformance", - "name": "Hashable", - "printedName": "Hashable", - "usr": "s:SH", - "mangledName": "$sSH" - }, - { - "kind": "Conformance", - "name": "RawRepresentable", - "printedName": "RawRepresentable", - "children": [ - { - "kind": "TypeWitness", - "name": "RawValue", - "printedName": "RawValue", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ] - } - ], - "usr": "s:SY", - "mangledName": "$sSY" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "BitwiseCopyable", - "printedName": "BitwiseCopyable", - "usr": "s:s15BitwiseCopyableP", - "mangledName": "$ss15BitwiseCopyableP" - } - ] + "static": true, + "implicit": true, + "funcSelfKind": "NonMutating" }, { "kind": "Var", - "name": "tag", - "printedName": "tag", + "name": "hashValue", + "printedName": "hashValue", "children": [ { "kind": "TypeNominal", - "name": "SendableISO7816Tag", - "printedName": "nfclib.SendableISO7816Tag", - "usr": "s:6nfclib18SendableISO7816TagV" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], "declKind": "Var", - "usr": "s:6nfclib13CardReaderNFCC3tagAA18SendableISO7816TagVvp", - "mangledName": "$s6nfclib13CardReaderNFCC3tagAA18SendableISO7816TagVvp", + "usr": "s:6nfclib16CertificateUsageO9hashValueSivp", + "mangledName": "$s6nfclib16CertificateUsageO9hashValueSivp", "moduleName": "nfclib", - "declAttributes": [ - "Final", - "HasStorage" - ], - "fixedbinaryorder": 0, - "isLet": true, - "hasStorage": true, + "implicit": true, "accessors": [ { "kind": "Accessor", @@ -3440,486 +2410,299 @@ "children": [ { "kind": "TypeNominal", - "name": "SendableISO7816Tag", - "printedName": "nfclib.SendableISO7816Tag", - "usr": "s:6nfclib18SendableISO7816TagV" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], "declKind": "Accessor", - "usr": "s:6nfclib13CardReaderNFCC3tagAA18SendableISO7816TagVvg", - "mangledName": "$s6nfclib13CardReaderNFCC3tagAA18SendableISO7816TagVvg", + "usr": "s:6nfclib16CertificateUsageO9hashValueSivg", + "mangledName": "$s6nfclib16CertificateUsageO9hashValueSivg", "moduleName": "nfclib", "implicit": true, - "declAttributes": [ - "Transparent", - "Final" - ], "accessorKind": "get" } ] }, { - "kind": "Var", - "name": "ksEnc", - "printedName": "ksEnc", + "kind": "Function", + "name": "hash", + "printedName": "hash(into:)", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.UInt8]", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "usr": "s:Sa" - } - ], - "declKind": "Var", - "usr": "s:6nfclib13CardReaderNFCC5ksEncSays5UInt8VGvp", - "mangledName": "$s6nfclib13CardReaderNFCC5ksEncSays5UInt8VGvp", - "moduleName": "nfclib", - "isOpen": true, - "declAttributes": [ - "HasInitialValue", - "HasStorage" + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Hasher", + "printedName": "Swift.Hasher", + "paramValueOwnership": "InOut", + "usr": "s:s6HasherV" + } ], - "fixedbinaryorder": 1, - "hasStorage": true, - "accessors": [ + "declKind": "Func", + "usr": "s:6nfclib16CertificateUsageO4hash4intoys6HasherVz_tF", + "mangledName": "$s6nfclib16CertificateUsageO4hash4intoys6HasherVz_tF", + "moduleName": "nfclib", + "implicit": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Enum", + "usr": "s:6nfclib16CertificateUsageO", + "mangledName": "$s6nfclib16CertificateUsageO", + "moduleName": "nfclib", + "declAttributes": [ + "AccessControl" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + } + ] + }, + { + "kind": "TypeDecl", + "name": "OperationReadCertificate", + "printedName": "OperationReadCertificate", + "children": [ + { + "kind": "Function", + "name": "startReading", + "printedName": "startReading(CAN:certUsage:)", + "children": [ { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.UInt8]", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "usr": "s:Sa" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib13CardReaderNFCC5ksEncSays5UInt8VGvg", - "mangledName": "$s6nfclib13CardReaderNFCC5ksEncSays5UInt8VGvg", - "moduleName": "nfclib", - "implicit": true, - "isOpen": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + "kind": "TypeNominal", + "name": "SecCertificate", + "printedName": "Security.SecCertificate", + "usr": "c:@T@SecCertificateRef" }, { - "kind": "Accessor", - "name": "Set", - "printedName": "Set()", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.UInt8]", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "usr": "s:Sa" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib13CardReaderNFCC5ksEncSays5UInt8VGvs", - "mangledName": "$s6nfclib13CardReaderNFCC5ksEncSays5UInt8VGvs", - "moduleName": "nfclib", - "implicit": true, - "isOpen": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "set" + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" }, { - "kind": "Accessor", - "name": "Modify", - "printedName": "Modify()", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib13CardReaderNFCC5ksEncSays5UInt8VGvM", - "mangledName": "$s6nfclib13CardReaderNFCC5ksEncSays5UInt8VGvM", - "moduleName": "nfclib", - "implicit": true, - "isOpen": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "_modify" + "kind": "TypeNominal", + "name": "CertificateUsage", + "printedName": "nfclib.CertificateUsage", + "usr": "s:6nfclib16CertificateUsageO" } - ] + ], + "declKind": "Func", + "usr": "s:6nfclib24OperationReadCertificateC12startReading3CAN9certUsageSo03SecD3RefaSS_AA0dI0OtYaKF", + "mangledName": "$s6nfclib24OperationReadCertificateC12startReading3CAN9certUsageSo03SecD3RefaSS_AA0dI0OtYaKF", + "moduleName": "nfclib", + "declAttributes": [ + "Custom", + "AccessControl" + ], + "throwing": true, + "funcSelfKind": "NonMutating" }, { - "kind": "Var", - "name": "ksMac", - "printedName": "ksMac", + "kind": "Constructor", + "name": "init", + "printedName": "init()", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.UInt8]", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "usr": "s:Sa" + "name": "OperationReadCertificate", + "printedName": "nfclib.OperationReadCertificate", + "usr": "c:@M@nfclib@objc(cs)OperationReadCertificate" } ], - "declKind": "Var", - "usr": "s:6nfclib13CardReaderNFCC5ksMacSays5UInt8VGvp", - "mangledName": "$s6nfclib13CardReaderNFCC5ksMacSays5UInt8VGvp", + "declKind": "Constructor", + "usr": "c:@M@nfclib@objc(cs)OperationReadCertificate(im)init", + "mangledName": "$s6nfclib24OperationReadCertificateCACycfc", "moduleName": "nfclib", - "isOpen": true, + "overriding": true, + "implicit": true, + "objc_name": "init", "declAttributes": [ - "HasInitialValue", - "HasStorage" + "Dynamic", + "ObjC", + "Custom", + "Override" ], - "fixedbinaryorder": 2, - "hasStorage": true, - "accessors": [ + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "tagReaderSession", + "printedName": "tagReaderSession(_:didDetect:)", + "children": [ { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.UInt8]", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "usr": "s:Sa" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib13CardReaderNFCC5ksMacSays5UInt8VGvg", - "mangledName": "$s6nfclib13CardReaderNFCC5ksMacSays5UInt8VGvg", - "moduleName": "nfclib", - "implicit": true, - "isOpen": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" }, { - "kind": "Accessor", - "name": "Set", - "printedName": "Set()", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.UInt8]", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "usr": "s:Sa" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib13CardReaderNFCC5ksMacSays5UInt8VGvs", - "mangledName": "$s6nfclib13CardReaderNFCC5ksMacSays5UInt8VGvs", - "moduleName": "nfclib", - "implicit": true, - "isOpen": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "set" + "kind": "TypeNominal", + "name": "NFCTagReaderSession", + "printedName": "CoreNFC.NFCTagReaderSession", + "usr": "c:objc(cs)NFCTagReaderSession" }, { - "kind": "Accessor", - "name": "Modify", - "printedName": "Modify()", + "kind": "TypeNominal", + "name": "Array", + "printedName": "[CoreNFC.NFCTag]", "children": [ { "kind": "TypeNominal", - "name": "Void", - "printedName": "()" + "name": "NFCTag", + "printedName": "CoreNFC.NFCTag", + "usr": "s:7CoreNFC6NFCTagO" } ], - "declKind": "Accessor", - "usr": "s:6nfclib13CardReaderNFCC5ksMacSays5UInt8VGvM", - "mangledName": "$s6nfclib13CardReaderNFCC5ksMacSays5UInt8VGvM", - "moduleName": "nfclib", - "implicit": true, - "isOpen": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "_modify" - } - ] - }, - { - "kind": "Var", - "name": "SSC", - "printedName": "SSC", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.UInt8]", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "usr": "s:Sa" + "usr": "s:Sa" } ], - "declKind": "Var", - "usr": "s:6nfclib13CardReaderNFCC3SSCSays5UInt8VGvp", - "mangledName": "$s6nfclib13CardReaderNFCC3SSCSays5UInt8VGvp", + "declKind": "Func", + "usr": "s:6nfclib24OperationReadCertificateC16tagReaderSession_9didDetectySo06NFCTagfG0C_Say7CoreNFC0J0OGtF", + "mangledName": "$s6nfclib24OperationReadCertificateC16tagReaderSession_9didDetectySo06NFCTagfG0C_Say7CoreNFC0J0OGtF", "moduleName": "nfclib", - "isOpen": true, "declAttributes": [ - "HasInitialValue", - "HasStorage" + "Custom", + "AccessControl" ], - "fixedbinaryorder": 3, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.UInt8]", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "usr": "s:Sa" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib13CardReaderNFCC3SSCSays5UInt8VGvg", - "mangledName": "$s6nfclib13CardReaderNFCC3SSCSays5UInt8VGvg", - "moduleName": "nfclib", - "implicit": true, - "isOpen": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - }, - { - "kind": "Accessor", - "name": "Set", - "printedName": "Set()", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.UInt8]", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "usr": "s:Sa" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib13CardReaderNFCC3SSCSays5UInt8VGvs", - "mangledName": "$s6nfclib13CardReaderNFCC3SSCSays5UInt8VGvs", - "moduleName": "nfclib", - "implicit": true, - "isOpen": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "set" - }, - { - "kind": "Accessor", - "name": "Modify", - "printedName": "Modify()", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib13CardReaderNFCC3SSCSays5UInt8VGvM", - "mangledName": "$s6nfclib13CardReaderNFCC3SSCSays5UInt8VGvM", - "moduleName": "nfclib", - "implicit": true, - "isOpen": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "_modify" - } - ] + "isFromExtension": true, + "funcSelfKind": "NonMutating" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(_:CAN:)", + "kind": "Function", + "name": "tagReaderSessionDidBecomeActive", + "printedName": "tagReaderSessionDidBecomeActive(_:)", "children": [ { "kind": "TypeNominal", - "name": "CardReaderNFC", - "printedName": "nfclib.CardReaderNFC", - "usr": "s:6nfclib13CardReaderNFCC" - }, - { - "kind": "TypeNominal", - "name": "NFCISO7816Tag", - "printedName": "any CoreNFC.NFCISO7816Tag", - "usr": "c:objc(pl)NFCISO7816Tag" + "name": "Void", + "printedName": "()" }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "NFCTagReaderSession", + "printedName": "CoreNFC.NFCTagReaderSession", + "usr": "c:objc(cs)NFCTagReaderSession" } ], - "declKind": "Constructor", - "usr": "s:6nfclib13CardReaderNFCC_3CANACSo13NFCISO7816Tag_p_SStYaKcfc", - "mangledName": "$s6nfclib13CardReaderNFCC_3CANACSo13NFCISO7816Tag_p_SStYaKcfc", + "declKind": "Func", + "usr": "s:6nfclib24OperationReadCertificateC31tagReaderSessionDidBecomeActiveyySo06NFCTagfG0CF", + "mangledName": "$s6nfclib24OperationReadCertificateC31tagReaderSessionDidBecomeActiveyySo06NFCTagfG0CF", "moduleName": "nfclib", - "throwing": true, - "init_kind": "Designated" + "declAttributes": [ + "Custom", + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" }, { "kind": "Function", - "name": "transmit", - "printedName": "transmit(_:)", + "name": "tagReaderSession", + "printedName": "tagReaderSession(_:didInvalidateWithError:)", "children": [ { "kind": "TypeNominal", - "name": "Tuple", - "printedName": "(responseData: [Swift.UInt8], sw: Swift.UInt16)", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.UInt8]", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "usr": "s:Sa" - }, - { - "kind": "TypeNominal", - "name": "UInt16", - "printedName": "Swift.UInt16", - "usr": "s:s6UInt16V" - } - ] + "name": "Void", + "printedName": "()" }, { "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.UInt8]", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "usr": "s:Sa" + "name": "NFCTagReaderSession", + "printedName": "CoreNFC.NFCTagReaderSession", + "usr": "c:objc(cs)NFCTagReaderSession" + }, + { + "kind": "TypeNominal", + "name": "Error", + "printedName": "any Swift.Error", + "usr": "s:s5ErrorP" } ], "declKind": "Func", - "usr": "s:6nfclib13CardReaderNFCC8transmitySays5UInt8VG12responseData_s6UInt16V2swtAGYaKF", - "mangledName": "$s6nfclib13CardReaderNFCC8transmitySays5UInt8VG12responseData_s6UInt16V2swtAGYaKF", + "usr": "s:6nfclib24OperationReadCertificateC16tagReaderSession_22didInvalidateWithErrorySo06NFCTagfG0C_s0K0_ptF", + "mangledName": "$s6nfclib24OperationReadCertificateC16tagReaderSession_22didInvalidateWithErrorySo06NFCTagfG0C_s0K0_ptF", "moduleName": "nfclib", - "isOpen": true, - "throwing": true, + "declAttributes": [ + "Custom", + "AccessControl" + ], + "isFromExtension": true, "funcSelfKind": "NonMutating" } ], "declKind": "Class", - "usr": "s:6nfclib13CardReaderNFCC", - "mangledName": "$s6nfclib13CardReaderNFCC", + "usr": "c:@M@nfclib@objc(cs)OperationReadCertificate", + "mangledName": "$s6nfclib24OperationReadCertificateC", "moduleName": "nfclib", - "isOpen": true, + "declAttributes": [ + "AccessControl", + "Custom", + "ObjC" + ], + "superclassUsr": "c:objc(cs)NSObject", + "inheritsConvenienceInitializers": true, + "superclassNames": [ + "ObjectiveC.NSObject" + ], "conformances": [ + { + "kind": "Conformance", + "name": "NFCTagReaderSessionDelegate", + "printedName": "NFCTagReaderSessionDelegate", + "usr": "s:7CoreNFC27NFCTagReaderSessionDelegateP", + "mangledName": "$s7CoreNFC27NFCTagReaderSessionDelegateP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObserving", + "printedName": "_KeyValueCodingAndObserving", + "usr": "s:10Foundation27_KeyValueCodingAndObservingP", + "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObservingPublishing", + "printedName": "_KeyValueCodingAndObservingPublishing", + "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP", + "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + }, { "kind": "Conformance", "name": "Copyable", @@ -3927,6 +2710,27 @@ "usr": "s:s8CopyableP", "mangledName": "$ss8CopyableP" }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, { "kind": "Conformance", "name": "Escapable", @@ -3936,10 +2740,10 @@ }, { "kind": "Conformance", - "name": "CardReader", - "printedName": "CardReader", - "usr": "s:6nfclib10CardReaderP", - "mangledName": "$s6nfclib10CardReaderP" + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" }, { "kind": "Conformance", @@ -3947,20 +2751,13 @@ "printedName": "Sendable", "usr": "s:s8SendableP", "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" } ] }, { "kind": "Import", - "name": "Foundation", - "printedName": "Foundation", + "name": "CommonCrypto", + "printedName": "CommonCrypto", "declKind": "Import", "moduleName": "nfclib", "declAttributes": [ @@ -3968,411 +2765,468 @@ ] }, { - "kind": "TypeDecl", - "name": "Idemia", - "printedName": "Idemia", - "children": [ - { - "kind": "Var", - "name": "canChangePUK", - "printedName": "canChangePUK", - "children": [ - { - "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" - } - ], - "declKind": "Var", - "usr": "s:6nfclib6IdemiaC12canChangePUKSbvp", - "mangledName": "$s6nfclib6IdemiaC12canChangePUKSbvp", - "moduleName": "nfclib", - "declAttributes": [ - "HasInitialValue", - "Final", - "HasStorage" - ], - "fixedbinaryorder": 0, - "isLet": true, - "hasStorage": true, - "accessors": [ + "kind": "Import", + "name": "CryptoTokenKit", + "printedName": "CryptoTokenKit", + "declKind": "Import", + "moduleName": "nfclib" + }, + { + "kind": "Import", + "name": "SwiftECC", + "printedName": "SwiftECC", + "declKind": "Import", + "moduleName": "nfclib", + "declAttributes": [ + "AccessControl" + ] + }, + { + "kind": "Import", + "name": "CryptoTokenKit", + "printedName": "CryptoTokenKit", + "declKind": "Import", + "moduleName": "nfclib", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "OSLog", + "printedName": "OSLog", + "declKind": "Import", + "moduleName": "nfclib", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "CoreNFC", + "printedName": "CoreNFC", + "declKind": "Import", + "moduleName": "nfclib", + "declAttributes": [ + "Preconcurrency" + ] + }, + { + "kind": "Import", + "name": "CryptoTokenKit", + "printedName": "CryptoTokenKit", + "declKind": "Import", + "moduleName": "nfclib" + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "nfclib", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "CoreNFC", + "printedName": "CoreNFC", + "declKind": "Import", + "moduleName": "nfclib" + }, + { + "kind": "Import", + "name": "CommonCrypto", + "printedName": "CommonCrypto", + "declKind": "Import", + "moduleName": "nfclib" + }, + { + "kind": "Import", + "name": "CryptoTokenKit", + "printedName": "CryptoTokenKit", + "declKind": "Import", + "moduleName": "nfclib" + }, + { + "kind": "Import", + "name": "SwiftECC", + "printedName": "SwiftECC", + "declKind": "Import", + "moduleName": "nfclib", + "declAttributes": [ + "AccessControl" + ] + }, + { + "kind": "Import", + "name": "BigInt", + "printedName": "BigInt", + "declKind": "Import", + "moduleName": "nfclib" + }, + { + "kind": "Import", + "name": "Security", + "printedName": "Security", + "declKind": "Import", + "moduleName": "nfclib" + }, + { + "kind": "TypeDecl", + "name": "UnblockPINError", + "printedName": "UnblockPINError", + "children": [ + { + "kind": "Var", + "name": "missingRequiredParameter", + "printedName": "missingRequiredParameter", + "children": [ { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(nfclib.UnblockPINError.Type) -> nfclib.UnblockPINError", "children": [ { "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" + "name": "UnblockPINError", + "printedName": "nfclib.UnblockPINError", + "usr": "s:6nfclib15UnblockPINErrorO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "nfclib.UnblockPINError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "UnblockPINError", + "printedName": "nfclib.UnblockPINError", + "usr": "s:6nfclib15UnblockPINErrorO" + } + ] } - ], - "declKind": "Accessor", - "usr": "s:6nfclib6IdemiaC12canChangePUKSbvg", - "mangledName": "$s6nfclib6IdemiaC12canChangePUKSbvg", - "moduleName": "nfclib", - "implicit": true, - "declAttributes": [ - "Transparent", - "Final" - ], - "accessorKind": "get" + ] } - ] + ], + "declKind": "EnumElement", + "usr": "s:6nfclib15UnblockPINErrorO24missingRequiredParameteryA2CmF", + "mangledName": "$s6nfclib15UnblockPINErrorO24missingRequiredParameteryA2CmF", + "moduleName": "nfclib" }, { "kind": "Var", - "name": "reader", - "printedName": "reader", + "name": "failed", + "printedName": "failed", "children": [ { - "kind": "TypeNominal", - "name": "CardReader", - "printedName": "any nfclib.CardReader", - "usr": "s:6nfclib10CardReaderP" - } - ], - "declKind": "Var", - "usr": "s:6nfclib6IdemiaC6readerAA10CardReader_pvp", - "mangledName": "$s6nfclib6IdemiaC6readerAA10CardReader_pvp", - "moduleName": "nfclib", - "declAttributes": [ - "Final", - "HasStorage" - ], - "fixedbinaryorder": 1, - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(nfclib.UnblockPINError.Type) -> nfclib.UnblockPINError", "children": [ { "kind": "TypeNominal", - "name": "CardReader", - "printedName": "any nfclib.CardReader", - "usr": "s:6nfclib10CardReaderP" + "name": "UnblockPINError", + "printedName": "nfclib.UnblockPINError", + "usr": "s:6nfclib15UnblockPINErrorO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "nfclib.UnblockPINError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "UnblockPINError", + "printedName": "nfclib.UnblockPINError", + "usr": "s:6nfclib15UnblockPINErrorO" + } + ] } - ], - "declKind": "Accessor", - "usr": "s:6nfclib6IdemiaC6readerAA10CardReader_pvg", - "mangledName": "$s6nfclib6IdemiaC6readerAA10CardReader_pvg", - "moduleName": "nfclib", - "implicit": true, - "declAttributes": [ - "Transparent", - "Final" - ], - "accessorKind": "get" + ] } - ] + ], + "declKind": "EnumElement", + "usr": "s:6nfclib15UnblockPINErrorO6failedyA2CmF", + "mangledName": "$s6nfclib15UnblockPINErrorO6failedyA2CmF", + "moduleName": "nfclib" }, { "kind": "Var", - "name": "fillChar", - "printedName": "fillChar", + "name": "general", + "printedName": "general", "children": [ { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "declKind": "Var", - "usr": "s:6nfclib6IdemiaC8fillChars5UInt8Vvp", - "mangledName": "$s6nfclib6IdemiaC8fillChars5UInt8Vvp", - "moduleName": "nfclib", - "declAttributes": [ - "HasInitialValue", - "Final", - "HasStorage" - ], - "fixedbinaryorder": 2, - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(nfclib.UnblockPINError.Type) -> nfclib.UnblockPINError", "children": [ { "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib6IdemiaC8fillChars5UInt8Vvg", - "mangledName": "$s6nfclib6IdemiaC8fillChars5UInt8Vvg", - "moduleName": "nfclib", - "implicit": true, - "declAttributes": [ - "Transparent", - "Final" - ], - "accessorKind": "get" - } - ] - }, + "name": "UnblockPINError", + "printedName": "nfclib.UnblockPINError", + "usr": "s:6nfclib15UnblockPINErrorO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "nfclib.UnblockPINError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "UnblockPINError", + "printedName": "nfclib.UnblockPINError", + "usr": "s:6nfclib15UnblockPINErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:6nfclib15UnblockPINErrorO7generalyA2CmF", + "mangledName": "$s6nfclib15UnblockPINErrorO7generalyA2CmF", + "moduleName": "nfclib" + }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(reader:atr:)", + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "nfclib.Idemia?", - "children": [ - { - "kind": "TypeNominal", - "name": "Idemia", - "printedName": "nfclib.Idemia", - "usr": "s:6nfclib6IdemiaC" - } - ], - "usr": "s:Sq" + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" }, { "kind": "TypeNominal", - "name": "CardReader", - "printedName": "any nfclib.CardReader", - "usr": "s:6nfclib10CardReaderP" + "name": "UnblockPINError", + "printedName": "nfclib.UnblockPINError", + "usr": "s:6nfclib15UnblockPINErrorO" }, { "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.UInt8]", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "usr": "s:Sa" + "name": "UnblockPINError", + "printedName": "nfclib.UnblockPINError", + "usr": "s:6nfclib15UnblockPINErrorO" } ], - "declKind": "Constructor", - "usr": "s:6nfclib6IdemiaC6reader3atrACSgAA10CardReader_p_Says5UInt8VGtcfc", - "mangledName": "$s6nfclib6IdemiaC6reader3atrACSgAA10CardReader_p_Says5UInt8VGtcfc", + "declKind": "Func", + "usr": "s:6nfclib15UnblockPINErrorO2eeoiySbAC_ACtFZ", + "mangledName": "$s6nfclib15UnblockPINErrorO2eeoiySbAC_ACtFZ", "moduleName": "nfclib", - "declAttributes": [ - "Required" - ], - "init_kind": "Designated" + "static": true, + "implicit": true, + "funcSelfKind": "NonMutating" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(reader:aid:)", + "kind": "Var", + "name": "hashValue", + "printedName": "hashValue", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "nfclib.Idemia?", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:6nfclib15UnblockPINErrorO9hashValueSivp", + "mangledName": "$s6nfclib15UnblockPINErrorO9hashValueSivp", + "moduleName": "nfclib", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "Idemia", - "printedName": "nfclib.Idemia", - "usr": "s:6nfclib6IdemiaC" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], - "usr": "s:Sq" - }, + "declKind": "Accessor", + "usr": "s:6nfclib15UnblockPINErrorO9hashValueSivg", + "mangledName": "$s6nfclib15UnblockPINErrorO9hashValueSivg", + "moduleName": "nfclib", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "hash", + "printedName": "hash(into:)", + "children": [ { "kind": "TypeNominal", - "name": "CardReader", - "printedName": "any nfclib.CardReader", - "usr": "s:6nfclib10CardReaderP" + "name": "Void", + "printedName": "()" }, { "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.UInt8]", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "usr": "s:Sa" + "name": "Hasher", + "printedName": "Swift.Hasher", + "paramValueOwnership": "InOut", + "usr": "s:s6HasherV" } ], - "declKind": "Constructor", - "usr": "s:6nfclib6IdemiaC6reader3aidACSgAA10CardReader_p_Says5UInt8VGtcfc", - "mangledName": "$s6nfclib6IdemiaC6reader3aidACSgAA10CardReader_p_Says5UInt8VGtcfc", + "declKind": "Func", + "usr": "s:6nfclib15UnblockPINErrorO4hash4intoys6HasherVz_tF", + "mangledName": "$s6nfclib15UnblockPINErrorO4hash4intoys6HasherVz_tF", "moduleName": "nfclib", - "declAttributes": [ - "Required" - ], - "init_kind": "Designated" + "implicit": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Enum", + "usr": "s:6nfclib15UnblockPINErrorO", + "mangledName": "$s6nfclib15UnblockPINErrorO", + "moduleName": "nfclib", + "declAttributes": [ + "AccessControl" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(reader:selectAID:)", + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "Error", + "printedName": "Error", + "usr": "s:s5ErrorP", + "mangledName": "$ss5ErrorP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "OperationUnblockPin", + "printedName": "OperationUnblockPin", + "children": [ + { + "kind": "Function", + "name": "startReading", + "printedName": "startReading(CAN:codeType:puk:newPin:)", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "nfclib.Idemia?", - "children": [ - { - "kind": "TypeNominal", - "name": "Idemia", - "printedName": "nfclib.Idemia", - "usr": "s:6nfclib6IdemiaC" - } - ], - "usr": "s:Sq" + "name": "Void", + "printedName": "()" }, { "kind": "TypeNominal", - "name": "CardReader", - "printedName": "any nfclib.CardReader", - "usr": "s:6nfclib10CardReaderP" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" }, { "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" - } - ], - "declKind": "Constructor", - "usr": "s:6nfclib6IdemiaC6reader9selectAIDACSgAA10CardReader_p_SbtYacfc", - "mangledName": "$s6nfclib6IdemiaC6reader9selectAIDACSgAA10CardReader_p_SbtYacfc", - "moduleName": "nfclib", - "declAttributes": [ - "Required" - ], - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "readPublicData", - "printedName": "readPublicData()", - "children": [ + "name": "CodeType", + "printedName": "nfclib.CodeType", + "usr": "s:6nfclib8CodeTypeO" + }, { "kind": "TypeNominal", - "name": "CardInfo", - "printedName": "nfclib.CardInfo", - "usr": "s:6nfclib8CardInfoV" + "name": "SecureData", + "printedName": "nfclib.SecureData", + "usr": "s:6nfclib10SecureDataC" + }, + { + "kind": "TypeNominal", + "name": "SecureData", + "printedName": "nfclib.SecureData", + "usr": "s:6nfclib10SecureDataC" } ], "declKind": "Func", - "usr": "s:6nfclib6IdemiaC14readPublicDataAA8CardInfoVyYaKF", - "mangledName": "$s6nfclib6IdemiaC14readPublicDataAA8CardInfoVyYaKF", + "usr": "s:6nfclib19OperationUnblockPinC12startReading3CAN8codeType3puk03newD0ySS_AA04CodeI0OAA10SecureDataCALtYaKF", + "mangledName": "$s6nfclib19OperationUnblockPinC12startReading3CAN8codeType3puk03newD0ySS_AA04CodeI0OAA10SecureDataCALtYaKF", "moduleName": "nfclib", "declAttributes": [ - "Final", - "RawDocComment" + "Custom", + "AccessControl" ], "throwing": true, "funcSelfKind": "NonMutating" }, { - "kind": "Function", - "name": "readAuthenticationCertificate", - "printedName": "readAuthenticationCertificate()", - "children": [ - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Func", - "usr": "s:6nfclib6IdemiaC29readAuthenticationCertificate10Foundation4DataVyYaKF", - "mangledName": "$s6nfclib6IdemiaC29readAuthenticationCertificate10Foundation4DataVyYaKF", - "moduleName": "nfclib", - "declAttributes": [ - "Final" - ], - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "readSignatureCertificate", - "printedName": "readSignatureCertificate()", - "children": [ - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Func", - "usr": "s:6nfclib6IdemiaC24readSignatureCertificate10Foundation4DataVyYaKF", - "mangledName": "$s6nfclib6IdemiaC24readSignatureCertificate10Foundation4DataVyYaKF", - "moduleName": "nfclib", - "declAttributes": [ - "Final" - ], - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "readCodeTryCounterRecord", - "printedName": "readCodeTryCounterRecord(_:)", + "kind": "Constructor", + "name": "init", + "printedName": "init()", "children": [ { "kind": "TypeNominal", - "name": "Tuple", - "printedName": "(retryCount: Swift.UInt8, pinActive: Swift.Bool)", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - }, - { - "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" - } - ] - }, - { - "kind": "TypeNominal", - "name": "CodeType", - "printedName": "nfclib.CodeType", - "usr": "s:6nfclib8CodeTypeO" + "name": "OperationUnblockPin", + "printedName": "nfclib.OperationUnblockPin", + "usr": "c:@M@nfclib@objc(cs)OperationUnblockPin" } ], - "declKind": "Func", - "usr": "s:6nfclib6IdemiaC24readCodeTryCounterRecordys5UInt8V10retryCount_Sb9pinActivetAA0D4TypeOYaKF", - "mangledName": "$s6nfclib6IdemiaC24readCodeTryCounterRecordys5UInt8V10retryCount_Sb9pinActivetAA0D4TypeOYaKF", + "declKind": "Constructor", + "usr": "c:@M@nfclib@objc(cs)OperationUnblockPin(im)init", + "mangledName": "$s6nfclib19OperationUnblockPinCACycfc", "moduleName": "nfclib", + "overriding": true, + "implicit": true, + "objc_name": "init", "declAttributes": [ - "Final", - "RawDocComment" + "Dynamic", + "ObjC", + "Custom", + "Override" ], - "throwing": true, - "funcSelfKind": "NonMutating" + "init_kind": "Designated" }, { "kind": "Function", - "name": "changeCode", - "printedName": "changeCode(_:to:verifyCode:)", + "name": "tagReaderSession", + "printedName": "tagReaderSession(_:didDetect:)", "children": [ { "kind": "TypeNominal", @@ -4381,37 +3235,40 @@ }, { "kind": "TypeNominal", - "name": "CodeType", - "printedName": "nfclib.CodeType", - "usr": "s:6nfclib8CodeTypeO" - }, - { - "kind": "TypeNominal", - "name": "SecureData", - "printedName": "nfclib.SecureData", - "usr": "s:6nfclib10SecureDataC" + "name": "NFCTagReaderSession", + "printedName": "CoreNFC.NFCTagReaderSession", + "usr": "c:objc(cs)NFCTagReaderSession" }, { "kind": "TypeNominal", - "name": "SecureData", - "printedName": "nfclib.SecureData", - "usr": "s:6nfclib10SecureDataC" + "name": "Array", + "printedName": "[CoreNFC.NFCTag]", + "children": [ + { + "kind": "TypeNominal", + "name": "NFCTag", + "printedName": "CoreNFC.NFCTag", + "usr": "s:7CoreNFC6NFCTagO" + } + ], + "usr": "s:Sa" } ], "declKind": "Func", - "usr": "s:6nfclib6IdemiaC10changeCode_2to06verifyD0yAA0D4TypeO_AA10SecureDataCAJtYaKF", - "mangledName": "$s6nfclib6IdemiaC10changeCode_2to06verifyD0yAA0D4TypeO_AA10SecureDataCAJtYaKF", + "usr": "s:6nfclib19OperationUnblockPinC16tagReaderSession_9didDetectySo06NFCTagfG0C_Say7CoreNFC0J0OGtF", + "mangledName": "$s6nfclib19OperationUnblockPinC16tagReaderSession_9didDetectySo06NFCTagfG0C_Say7CoreNFC0J0OGtF", "moduleName": "nfclib", "declAttributes": [ - "Final" + "Custom", + "AccessControl" ], - "throwing": true, + "isFromExtension": true, "funcSelfKind": "NonMutating" }, { "kind": "Function", - "name": "verifyCode", - "printedName": "verifyCode(_:code:)", + "name": "tagReaderSessionDidBecomeActive", + "printedName": "tagReaderSessionDidBecomeActive(_:)", "children": [ { "kind": "TypeNominal", @@ -4420,31 +3277,26 @@ }, { "kind": "TypeNominal", - "name": "CodeType", - "printedName": "nfclib.CodeType", - "usr": "s:6nfclib8CodeTypeO" - }, - { - "kind": "TypeNominal", - "name": "SecureData", - "printedName": "nfclib.SecureData", - "usr": "s:6nfclib10SecureDataC" + "name": "NFCTagReaderSession", + "printedName": "CoreNFC.NFCTagReaderSession", + "usr": "c:objc(cs)NFCTagReaderSession" } ], "declKind": "Func", - "usr": "s:6nfclib6IdemiaC10verifyCode_4codeyAA0D4TypeO_AA10SecureDataCtYaKF", - "mangledName": "$s6nfclib6IdemiaC10verifyCode_4codeyAA0D4TypeO_AA10SecureDataCtYaKF", + "usr": "s:6nfclib19OperationUnblockPinC31tagReaderSessionDidBecomeActiveyySo06NFCTagfG0CF", + "mangledName": "$s6nfclib19OperationUnblockPinC31tagReaderSessionDidBecomeActiveyySo06NFCTagfG0CF", "moduleName": "nfclib", "declAttributes": [ - "Final" + "Custom", + "AccessControl" ], - "throwing": true, + "isFromExtension": true, "funcSelfKind": "NonMutating" }, { "kind": "Function", - "name": "unblockCode", - "printedName": "unblockCode(_:puk:newCode:)", + "name": "tagReaderSession", + "printedName": "tagReaderSession(_:didInvalidateWithError:)", "children": [ { "kind": "TypeNominal", @@ -4453,145 +3305,72 @@ }, { "kind": "TypeNominal", - "name": "CodeType", - "printedName": "nfclib.CodeType", - "usr": "s:6nfclib8CodeTypeO" - }, - { - "kind": "TypeNominal", - "name": "SecureData", - "printedName": "nfclib.SecureData", - "usr": "s:6nfclib10SecureDataC" + "name": "NFCTagReaderSession", + "printedName": "CoreNFC.NFCTagReaderSession", + "usr": "c:objc(cs)NFCTagReaderSession" }, { "kind": "TypeNominal", - "name": "SecureData", - "printedName": "nfclib.SecureData", - "usr": "s:6nfclib10SecureDataC" + "name": "Error", + "printedName": "any Swift.Error", + "usr": "s:s5ErrorP" } ], "declKind": "Func", - "usr": "s:6nfclib6IdemiaC11unblockCode_3puk03newD0yAA0D4TypeO_AA10SecureDataCAJtYaKF", - "mangledName": "$s6nfclib6IdemiaC11unblockCode_3puk03newD0yAA0D4TypeO_AA10SecureDataCAJtYaKF", + "usr": "s:6nfclib19OperationUnblockPinC16tagReaderSession_22didInvalidateWithErrorySo06NFCTagfG0C_s0K0_ptF", + "mangledName": "$s6nfclib19OperationUnblockPinC16tagReaderSession_22didInvalidateWithErrorySo06NFCTagfG0C_s0K0_ptF", "moduleName": "nfclib", "declAttributes": [ - "Final" + "Custom", + "AccessControl" ], - "throwing": true, + "isFromExtension": true, "funcSelfKind": "NonMutating" - }, + } + ], + "declKind": "Class", + "usr": "c:@M@nfclib@objc(cs)OperationUnblockPin", + "mangledName": "$s6nfclib19OperationUnblockPinC", + "moduleName": "nfclib", + "declAttributes": [ + "AccessControl", + "Custom", + "ObjC" + ], + "superclassUsr": "c:objc(cs)NSObject", + "inheritsConvenienceInitializers": true, + "superclassNames": [ + "ObjectiveC.NSObject" + ], + "conformances": [ { - "kind": "Function", - "name": "authenticate", - "printedName": "authenticate(for:withPin1:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - }, - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - }, - { - "kind": "TypeNominal", - "name": "SecureData", - "printedName": "nfclib.SecureData", - "usr": "s:6nfclib10SecureDataC" - } - ], - "declKind": "Func", - "usr": "s:6nfclib6IdemiaC12authenticate3for8withPin110Foundation4DataVAI_AA06SecureH0CtYaKF", - "mangledName": "$s6nfclib6IdemiaC12authenticate3for8withPin110Foundation4DataVAI_AA06SecureH0CtYaKF", - "moduleName": "nfclib", - "declAttributes": [ - "Final", - "RawDocComment" - ], - "throwing": true, - "funcSelfKind": "NonMutating" + "kind": "Conformance", + "name": "NFCTagReaderSessionDelegate", + "printedName": "NFCTagReaderSessionDelegate", + "usr": "s:7CoreNFC27NFCTagReaderSessionDelegateP", + "mangledName": "$s7CoreNFC27NFCTagReaderSessionDelegateP" }, { - "kind": "Function", - "name": "calculateSignature", - "printedName": "calculateSignature(for:withPin2:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - }, - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - }, - { - "kind": "TypeNominal", - "name": "SecureData", - "printedName": "nfclib.SecureData", - "usr": "s:6nfclib10SecureDataC" - } - ], - "declKind": "Func", - "usr": "s:6nfclib6IdemiaC18calculateSignature3for8withPin210Foundation4DataVAI_AA06SecureI0CtYaKF", - "mangledName": "$s6nfclib6IdemiaC18calculateSignature3for8withPin210Foundation4DataVAI_AA06SecureI0CtYaKF", - "moduleName": "nfclib", - "declAttributes": [ - "Final" - ], - "throwing": true, - "funcSelfKind": "NonMutating" + "kind": "Conformance", + "name": "_KeyValueCodingAndObserving", + "printedName": "_KeyValueCodingAndObserving", + "usr": "s:10Foundation27_KeyValueCodingAndObservingP", + "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP" }, { - "kind": "Function", - "name": "decryptData", - "printedName": "decryptData(_:withPin1:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - }, - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - }, - { - "kind": "TypeNominal", - "name": "SecureData", - "printedName": "nfclib.SecureData", - "usr": "s:6nfclib10SecureDataC" - } - ], - "declKind": "Func", - "usr": "s:6nfclib6IdemiaC11decryptData_8withPin110Foundation0D0VAH_AA06SecureD0CtYaKF", - "mangledName": "$s6nfclib6IdemiaC11decryptData_8withPin110Foundation0D0VAH_AA06SecureD0CtYaKF", - "moduleName": "nfclib", - "declAttributes": [ - "Final" - ], - "throwing": true, - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Class", - "usr": "s:6nfclib6IdemiaC", - "mangledName": "$s6nfclib6IdemiaC", - "moduleName": "nfclib", - "declAttributes": [ - "Final" - ], - "conformances": [ + "kind": "Conformance", + "name": "_KeyValueCodingAndObservingPublishing", + "printedName": "_KeyValueCodingAndObservingPublishing", + "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP", + "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + }, { "kind": "Conformance", "name": "Copyable", @@ -4599,6 +3378,27 @@ "usr": "s:s8CopyableP", "mangledName": "$ss8CopyableP" }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, { "kind": "Conformance", "name": "Escapable", @@ -4608,17 +3408,10 @@ }, { "kind": "Conformance", - "name": "CardCommandsInternal", - "printedName": "CardCommandsInternal", - "usr": "s:6nfclib20CardCommandsInternalP", - "mangledName": "$s6nfclib20CardCommandsInternalP" - }, - { - "kind": "Conformance", - "name": "CardCommands", - "printedName": "CardCommands", - "usr": "s:6nfclib12CardCommandsP", - "mangledName": "$s6nfclib12CardCommandsP" + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" }, { "kind": "Conformance", @@ -4626,400 +3419,164 @@ "printedName": "Sendable", "usr": "s:s8SendableP", "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" } ] }, { "kind": "Import", - "name": "CryptoTokenKit", - "printedName": "CryptoTokenKit", + "name": "Foundation", + "printedName": "Foundation", "declKind": "Import", "moduleName": "nfclib", "declAttributes": [ "RawDocComment" ] }, + { + "kind": "Import", + "name": "CoreNFC", + "printedName": "CoreNFC", + "declKind": "Import", + "moduleName": "nfclib", + "declAttributes": [ + "Preconcurrency" + ] + }, + { + "kind": "Import", + "name": "BigInt", + "printedName": "BigInt", + "declKind": "Import", + "moduleName": "nfclib" + }, + { + "kind": "Import", + "name": "CryptoTokenKit", + "printedName": "CryptoTokenKit", + "declKind": "Import", + "moduleName": "nfclib" + }, { "kind": "TypeDecl", - "name": "CardCommandsInternal", - "printedName": "CardCommandsInternal", + "name": "NFCConnection", + "printedName": "NFCConnection", "children": [ { - "kind": "Var", - "name": "reader", - "printedName": "reader", + "kind": "Constructor", + "name": "init", + "printedName": "init()", "children": [ { "kind": "TypeNominal", - "name": "CardReader", - "printedName": "any nfclib.CardReader", - "usr": "s:6nfclib10CardReaderP" + "name": "NFCConnection", + "printedName": "nfclib.NFCConnection", + "usr": "s:6nfclib13NFCConnectionC" } ], - "declKind": "Var", - "usr": "s:6nfclib20CardCommandsInternalP6readerAA0B6Reader_pvp", - "mangledName": "$s6nfclib20CardCommandsInternalP6readerAA0B6Reader_pvp", + "declKind": "Constructor", + "usr": "s:6nfclib13NFCConnectionCACycfc", + "mangledName": "$s6nfclib13NFCConnectionCACycfc", "moduleName": "nfclib", - "protocolReq": true, "declAttributes": [ - "RawDocComment" - ], - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "CardReader", - "printedName": "any nfclib.CardReader", - "usr": "s:6nfclib10CardReaderP" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib20CardCommandsInternalP6readerAA0B6Reader_pvg", - "mangledName": "$s6nfclib20CardCommandsInternalP6readerAA0B6Reader_pvg", - "moduleName": "nfclib", - "genericSig": "<τ_0_0 where τ_0_0 : nfclib.CardCommandsInternal>", - "sugared_genericSig": "", - "protocolReq": true, - "reqNewWitnessTableEntry": true, - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "fillChar", - "printedName": "fillChar", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } + "Custom", + "AccessControl" ], - "declKind": "Var", - "usr": "s:6nfclib20CardCommandsInternalP8fillChars5UInt8Vvp", - "mangledName": "$s6nfclib20CardCommandsInternalP8fillChars5UInt8Vvp", - "moduleName": "nfclib", - "protocolReq": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib20CardCommandsInternalP8fillChars5UInt8Vvg", - "mangledName": "$s6nfclib20CardCommandsInternalP8fillChars5UInt8Vvg", - "moduleName": "nfclib", - "genericSig": "<τ_0_0 where τ_0_0 : nfclib.CardCommandsInternal>", - "sugared_genericSig": "", - "protocolReq": true, - "reqNewWitnessTableEntry": true, - "accessorKind": "get" - } - ] + "init_kind": "Designated" }, { "kind": "Function", - "name": "select", - "printedName": "select(p1Byte:p2Byte:file:)", + "name": "setup", + "printedName": "setup(_:tags:)", "children": [ { "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - }, - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "hasDefaultArg": true, - "usr": "s:s5UInt8V" + "name": "NFCISO7816Tag", + "printedName": "any CoreNFC.NFCISO7816Tag", + "usr": "c:objc(pl)NFCISO7816Tag" }, { "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "hasDefaultArg": true, - "usr": "s:s5UInt8V" + "name": "NFCTagReaderSession", + "printedName": "CoreNFC.NFCTagReaderSession", + "usr": "c:objc(cs)NFCTagReaderSession" }, { "kind": "TypeNominal", "name": "Array", - "printedName": "[Swift.UInt8]", + "printedName": "[CoreNFC.NFCTag]", "children": [ { "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" + "name": "NFCTag", + "printedName": "CoreNFC.NFCTag", + "usr": "s:7CoreNFC6NFCTagO" } ], "usr": "s:Sa" } ], "declKind": "Func", - "usr": "s:6nfclib20CardCommandsInternalPAAE6select6p1Byte02p2G04file10Foundation4DataVs5UInt8V_ALSayALGtYaKF", - "mangledName": "$s6nfclib20CardCommandsInternalPAAE6select6p1Byte02p2G04file10Foundation4DataVs5UInt8V_ALSayALGtYaKF", + "usr": "s:6nfclib13NFCConnectionC5setup_4tagsSo13NFCISO7816Tag_pSo19NFCTagReaderSessionC_Say7CoreNFC0G0OGtYaKF", + "mangledName": "$s6nfclib13NFCConnectionC5setup_4tagsSo13NFCISO7816Tag_pSo19NFCTagReaderSessionC_Say7CoreNFC0G0OGtYaKF", "moduleName": "nfclib", - "genericSig": "<τ_0_0 where τ_0_0 : nfclib.CardCommandsInternal>", - "sugared_genericSig": "", - "isFromExtension": true, + "declAttributes": [ + "Custom", + "AccessControl" + ], "throwing": true, "funcSelfKind": "NonMutating" }, { "kind": "Function", - "name": "readFile", - "printedName": "readFile(p1Byte:file:)", + "name": "getCardCommands", + "printedName": "getCardCommands(_:tag:CAN:)", "children": [ { "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" + "name": "CardCommands", + "printedName": "any nfclib.CardCommands", + "usr": "s:6nfclib12CardCommandsP" }, { "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" + "name": "NFCTagReaderSession", + "printedName": "CoreNFC.NFCTagReaderSession", + "usr": "c:objc(cs)NFCTagReaderSession" }, { "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.UInt8]", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "usr": "s:Sa" + "name": "NFCISO7816Tag", + "printedName": "any CoreNFC.NFCISO7816Tag", + "usr": "c:objc(pl)NFCISO7816Tag" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Func", - "usr": "s:6nfclib20CardCommandsInternalPAAE8readFile6p1Byte4file10Foundation4DataVs5UInt8V_SayAKGtYaKF", - "mangledName": "$s6nfclib20CardCommandsInternalPAAE8readFile6p1Byte4file10Foundation4DataVs5UInt8V_SayAKGtYaKF", + "usr": "s:6nfclib13NFCConnectionC15getCardCommands_3tag3CANAA0dE0_pSo19NFCTagReaderSessionC_So13NFCISO7816Tag_pSStYaKF", + "mangledName": "$s6nfclib13NFCConnectionC15getCardCommands_3tag3CANAA0dE0_pSo19NFCTagReaderSessionC_So13NFCISO7816Tag_pSStYaKF", "moduleName": "nfclib", - "genericSig": "<τ_0_0 where τ_0_0 : nfclib.CardCommandsInternal>", - "sugared_genericSig": "", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "changeCode", - "printedName": "changeCode(_:to:verifyCode:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - }, - { - "kind": "TypeNominal", - "name": "SecureData", - "printedName": "nfclib.SecureData", - "usr": "s:6nfclib10SecureDataC" - }, - { - "kind": "TypeNominal", - "name": "SecureData", - "printedName": "nfclib.SecureData", - "usr": "s:6nfclib10SecureDataC" - } - ], - "declKind": "Func", - "usr": "s:6nfclib20CardCommandsInternalPAAE10changeCode_2to06verifyF0ys5UInt8V_AA10SecureDataCAJtYaKF", - "mangledName": "$s6nfclib20CardCommandsInternalPAAE10changeCode_2to06verifyF0ys5UInt8V_AA10SecureDataCAJtYaKF", - "moduleName": "nfclib", - "genericSig": "<τ_0_0 where τ_0_0 : nfclib.CardCommandsInternal>", - "sugared_genericSig": "", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "unblockCode", - "printedName": "unblockCode(_:puk:newCode:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "nfclib.SecureData?", - "children": [ - { - "kind": "TypeNominal", - "name": "SecureData", - "printedName": "nfclib.SecureData", - "usr": "s:6nfclib10SecureDataC" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "SecureData", - "printedName": "nfclib.SecureData", - "usr": "s:6nfclib10SecureDataC" - } - ], - "declKind": "Func", - "usr": "s:6nfclib20CardCommandsInternalPAAE11unblockCode_3puk03newF0ys5UInt8V_AA10SecureDataCSgAJtYaKF", - "mangledName": "$s6nfclib20CardCommandsInternalPAAE11unblockCode_3puk03newF0ys5UInt8V_AA10SecureDataCSgAJtYaKF", - "moduleName": "nfclib", - "genericSig": "<τ_0_0 where τ_0_0 : nfclib.CardCommandsInternal>", - "sugared_genericSig": "", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "verifyCode", - "printedName": "verifyCode(_:code:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - }, - { - "kind": "TypeNominal", - "name": "SecureData", - "printedName": "nfclib.SecureData", - "usr": "s:6nfclib10SecureDataC" - } - ], - "declKind": "Func", - "usr": "s:6nfclib20CardCommandsInternalPAAE10verifyCode_4codeys5UInt8V_AA10SecureDataCtYaKF", - "mangledName": "$s6nfclib20CardCommandsInternalPAAE10verifyCode_4codeys5UInt8V_AA10SecureDataCtYaKF", - "moduleName": "nfclib", - "genericSig": "<τ_0_0 where τ_0_0 : nfclib.CardCommandsInternal>", - "sugared_genericSig": "", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "setSecEnv", - "printedName": "setSecEnv(mode:algo:keyRef:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.UInt8]?", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.UInt8]", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "usr": "s:Sa" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "declKind": "Func", - "usr": "s:6nfclib20CardCommandsInternalPAAE9setSecEnv4mode4algo6keyRefys5UInt8V_SayAIGSgAItYaKF", - "mangledName": "$s6nfclib20CardCommandsInternalPAAE9setSecEnv4mode4algo6keyRefys5UInt8V_SayAIGSgAItYaKF", - "moduleName": "nfclib", - "genericSig": "<τ_0_0 where τ_0_0 : nfclib.CardCommandsInternal>", - "sugared_genericSig": "", - "isFromExtension": true, + "declAttributes": [ + "AccessControl", + "Custom" + ], "throwing": true, "funcSelfKind": "NonMutating" } ], - "declKind": "Protocol", - "usr": "s:6nfclib20CardCommandsInternalP", - "mangledName": "$s6nfclib20CardCommandsInternalP", + "declKind": "Class", + "usr": "s:6nfclib13NFCConnectionC", + "mangledName": "$s6nfclib13NFCConnectionC", "moduleName": "nfclib", - "genericSig": "<τ_0_0 : nfclib.CardCommands>", - "sugared_genericSig": "", + "declAttributes": [ + "AccessControl", + "Custom" + ], "conformances": [ - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - }, { "kind": "Conformance", "name": "Copyable", @@ -5029,10 +3586,10 @@ }, { "kind": "Conformance", - "name": "CardCommands", - "printedName": "CardCommands", - "usr": "s:6nfclib12CardCommandsP", - "mangledName": "$s6nfclib12CardCommandsP" + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" }, { "kind": "Conformance", @@ -5040,20 +3597,13 @@ "printedName": "Sendable", "usr": "s:s8SendableP", "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" } ] }, { "kind": "Import", - "name": "Foundation", - "printedName": "Foundation", + "name": "CommonCrypto", + "printedName": "CommonCrypto", "declKind": "Import", "moduleName": "nfclib", "declAttributes": [ @@ -5062,22 +3612,8 @@ }, { "kind": "Import", - "name": "CoreNFC", - "printedName": "CoreNFC", - "declKind": "Import", - "moduleName": "nfclib" - }, - { - "kind": "Import", - "name": "CommonCrypto", - "printedName": "CommonCrypto", - "declKind": "Import", - "moduleName": "nfclib" - }, - { - "kind": "Import", - "name": "CryptoTokenKit", - "printedName": "CryptoTokenKit", + "name": "Foundation", + "printedName": "Foundation", "declKind": "Import", "moduleName": "nfclib" }, @@ -5093,49 +3629,52 @@ }, { "kind": "Import", - "name": "BigInt", - "printedName": "BigInt", + "name": "Foundation", + "printedName": "Foundation", "declKind": "Import", - "moduleName": "nfclib" + "moduleName": "nfclib", + "declAttributes": [ + "RawDocComment" + ] }, { "kind": "Import", - "name": "Security", - "printedName": "Security", + "name": "CommonCrypto", + "printedName": "CommonCrypto", "declKind": "Import", "moduleName": "nfclib" }, { "kind": "TypeDecl", - "name": "ReadCertificateError", - "printedName": "ReadCertificateError", + "name": "IdCardError", + "printedName": "IdCardError", "children": [ { "kind": "Var", - "name": "certificateUsageNotSpecified", - "printedName": "certificateUsageNotSpecified", + "name": "wrongCAN", + "printedName": "wrongCAN", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(nfclib.ReadCertificateError.Type) -> nfclib.ReadCertificateError", + "printedName": "(nfclib.IdCardError.Type) -> nfclib.IdCardError", "children": [ { "kind": "TypeNominal", - "name": "ReadCertificateError", - "printedName": "nfclib.ReadCertificateError", - "usr": "s:6nfclib20ReadCertificateErrorO" + "name": "IdCardError", + "printedName": "nfclib.IdCardError", + "usr": "s:6nfclib11IdCardErrorO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "nfclib.ReadCertificateError.Type", + "printedName": "nfclib.IdCardError.Type", "children": [ { "kind": "TypeNominal", - "name": "ReadCertificateError", - "printedName": "nfclib.ReadCertificateError", - "usr": "s:6nfclib20ReadCertificateErrorO" + "name": "IdCardError", + "printedName": "nfclib.IdCardError", + "usr": "s:6nfclib11IdCardErrorO" } ] } @@ -5143,36 +3682,56 @@ } ], "declKind": "EnumElement", - "usr": "s:6nfclib20ReadCertificateErrorO28certificateUsageNotSpecifiedyA2CmF", - "mangledName": "$s6nfclib20ReadCertificateErrorO28certificateUsageNotSpecifiedyA2CmF", + "usr": "s:6nfclib11IdCardErrorO8wrongCANyA2CmF", + "mangledName": "$s6nfclib11IdCardErrorO8wrongCANyA2CmF", "moduleName": "nfclib" }, { "kind": "Var", - "name": "failedToReadCertificate", - "printedName": "failedToReadCertificate", + "name": "wrongPIN", + "printedName": "wrongPIN", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(nfclib.ReadCertificateError.Type) -> nfclib.ReadCertificateError", + "printedName": "(nfclib.IdCardError.Type) -> (Swift.Int) -> nfclib.IdCardError", "children": [ { - "kind": "TypeNominal", - "name": "ReadCertificateError", - "printedName": "nfclib.ReadCertificateError", - "usr": "s:6nfclib20ReadCertificateErrorO" + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.Int) -> nfclib.IdCardError", + "children": [ + { + "kind": "TypeNominal", + "name": "IdCardError", + "printedName": "nfclib.IdCardError", + "usr": "s:6nfclib11IdCardErrorO" + }, + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(triesLeft: Swift.Int)", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + } + ] }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "nfclib.ReadCertificateError.Type", + "printedName": "nfclib.IdCardError.Type", "children": [ { "kind": "TypeNominal", - "name": "ReadCertificateError", - "printedName": "nfclib.ReadCertificateError", - "usr": "s:6nfclib20ReadCertificateErrorO" + "name": "IdCardError", + "printedName": "nfclib.IdCardError", + "usr": "s:6nfclib11IdCardErrorO" } ] } @@ -5180,36 +3739,36 @@ } ], "declKind": "EnumElement", - "usr": "s:6nfclib20ReadCertificateErrorO08failedTobC0yA2CmF", - "mangledName": "$s6nfclib20ReadCertificateErrorO08failedTobC0yA2CmF", + "usr": "s:6nfclib11IdCardErrorO8wrongPINyACSi_tcACmF", + "mangledName": "$s6nfclib11IdCardErrorO8wrongPINyACSi_tcACmF", "moduleName": "nfclib" }, { "kind": "Var", - "name": "general", - "printedName": "general", + "name": "invalidNewPIN", + "printedName": "invalidNewPIN", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(nfclib.ReadCertificateError.Type) -> nfclib.ReadCertificateError", + "printedName": "(nfclib.IdCardError.Type) -> nfclib.IdCardError", "children": [ { "kind": "TypeNominal", - "name": "ReadCertificateError", - "printedName": "nfclib.ReadCertificateError", - "usr": "s:6nfclib20ReadCertificateErrorO" + "name": "IdCardError", + "printedName": "nfclib.IdCardError", + "usr": "s:6nfclib11IdCardErrorO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "nfclib.ReadCertificateError.Type", + "printedName": "nfclib.IdCardError.Type", "children": [ { "kind": "TypeNominal", - "name": "ReadCertificateError", - "printedName": "nfclib.ReadCertificateError", - "usr": "s:6nfclib20ReadCertificateErrorO" + "name": "IdCardError", + "printedName": "nfclib.IdCardError", + "usr": "s:6nfclib11IdCardErrorO" } ] } @@ -5217,110 +3776,51 @@ } ], "declKind": "EnumElement", - "usr": "s:6nfclib20ReadCertificateErrorO7generalyA2CmF", - "mangledName": "$s6nfclib20ReadCertificateErrorO7generalyA2CmF", + "usr": "s:6nfclib11IdCardErrorO13invalidNewPINyA2CmF", + "mangledName": "$s6nfclib11IdCardErrorO13invalidNewPINyA2CmF", "moduleName": "nfclib" }, - { - "kind": "Function", - "name": "==", - "printedName": "==(_:_:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" - }, - { - "kind": "TypeNominal", - "name": "ReadCertificateError", - "printedName": "nfclib.ReadCertificateError", - "usr": "s:6nfclib20ReadCertificateErrorO" - }, - { - "kind": "TypeNominal", - "name": "ReadCertificateError", - "printedName": "nfclib.ReadCertificateError", - "usr": "s:6nfclib20ReadCertificateErrorO" - } - ], - "declKind": "Func", - "usr": "s:6nfclib20ReadCertificateErrorO2eeoiySbAC_ACtFZ", - "mangledName": "$s6nfclib20ReadCertificateErrorO2eeoiySbAC_ACtFZ", - "moduleName": "nfclib", - "static": true, - "implicit": true, - "funcSelfKind": "NonMutating" - }, { "kind": "Var", - "name": "hashValue", - "printedName": "hashValue", + "name": "sessionError", + "printedName": "sessionError", "children": [ { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Var", - "usr": "s:6nfclib20ReadCertificateErrorO9hashValueSivp", - "mangledName": "$s6nfclib20ReadCertificateErrorO9hashValueSivp", - "moduleName": "nfclib", - "implicit": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(nfclib.IdCardError.Type) -> nfclib.IdCardError", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "IdCardError", + "printedName": "nfclib.IdCardError", + "usr": "s:6nfclib11IdCardErrorO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "nfclib.IdCardError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "IdCardError", + "printedName": "nfclib.IdCardError", + "usr": "s:6nfclib11IdCardErrorO" + } + ] } - ], - "declKind": "Accessor", - "usr": "s:6nfclib20ReadCertificateErrorO9hashValueSivg", - "mangledName": "$s6nfclib20ReadCertificateErrorO9hashValueSivg", - "moduleName": "nfclib", - "implicit": true, - "accessorKind": "get" - } - ] - }, - { - "kind": "Function", - "name": "hash", - "printedName": "hash(into:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "Hasher", - "printedName": "Swift.Hasher", - "paramValueOwnership": "InOut", - "usr": "s:s6HasherV" + ] } ], - "declKind": "Func", - "usr": "s:6nfclib20ReadCertificateErrorO4hash4intoys6HasherVz_tF", - "mangledName": "$s6nfclib20ReadCertificateErrorO4hash4intoys6HasherVz_tF", - "moduleName": "nfclib", - "implicit": true, - "funcSelfKind": "NonMutating" + "declKind": "EnumElement", + "usr": "s:6nfclib11IdCardErrorO07sessionD0yA2CmF", + "mangledName": "$s6nfclib11IdCardErrorO07sessionD0yA2CmF", + "moduleName": "nfclib" } ], "declKind": "Enum", - "usr": "s:6nfclib20ReadCertificateErrorO", - "mangledName": "$s6nfclib20ReadCertificateErrorO", + "usr": "s:6nfclib11IdCardErrorO", + "mangledName": "$s6nfclib11IdCardErrorO", "moduleName": "nfclib", "declAttributes": [ "AccessControl", @@ -5336,10 +3836,10 @@ }, { "kind": "Conformance", - "name": "Equatable", - "printedName": "Equatable", - "usr": "s:SQ", - "mangledName": "$sSQ" + "name": "Error", + "printedName": "Error", + "usr": "s:s5ErrorP", + "mangledName": "$ss5ErrorP" }, { "kind": "Conformance", @@ -5348,20 +3848,6 @@ "usr": "s:s9EscapableP", "mangledName": "$ss9EscapableP" }, - { - "kind": "Conformance", - "name": "Hashable", - "printedName": "Hashable", - "usr": "s:SH", - "mangledName": "$sSH" - }, - { - "kind": "Conformance", - "name": "Error", - "printedName": "Error", - "usr": "s:s5ErrorP", - "mangledName": "$ss5ErrorP" - }, { "kind": "Conformance", "name": "Sendable", @@ -5380,35 +3866,35 @@ }, { "kind": "TypeDecl", - "name": "CertificateUsage", - "printedName": "CertificateUsage", + "name": "IdCardInternalError", + "printedName": "IdCardInternalError", "children": [ { "kind": "Var", - "name": "auth", - "printedName": "auth", + "name": "missingRESTag", + "printedName": "missingRESTag", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(nfclib.CertificateUsage.Type) -> nfclib.CertificateUsage", + "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", "children": [ { "kind": "TypeNominal", - "name": "CertificateUsage", - "printedName": "nfclib.CertificateUsage", - "usr": "s:6nfclib16CertificateUsageO" + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "nfclib.CertificateUsage.Type", + "printedName": "nfclib.IdCardInternalError.Type", "children": [ { "kind": "TypeNominal", - "name": "CertificateUsage", - "printedName": "nfclib.CertificateUsage", - "usr": "s:6nfclib16CertificateUsageO" + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" } ] } @@ -5416,36 +3902,36 @@ } ], "declKind": "EnumElement", - "usr": "s:6nfclib16CertificateUsageO4authyA2CmF", - "mangledName": "$s6nfclib16CertificateUsageO4authyA2CmF", + "usr": "s:6nfclib19IdCardInternalErrorO13missingRESTagyA2CmF", + "mangledName": "$s6nfclib19IdCardInternalErrorO13missingRESTagyA2CmF", "moduleName": "nfclib" }, { "kind": "Var", - "name": "sign", - "printedName": "sign", + "name": "missingMACTag", + "printedName": "missingMACTag", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(nfclib.CertificateUsage.Type) -> nfclib.CertificateUsage", + "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", "children": [ { "kind": "TypeNominal", - "name": "CertificateUsage", - "printedName": "nfclib.CertificateUsage", - "usr": "s:6nfclib16CertificateUsageO" + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "nfclib.CertificateUsage.Type", + "printedName": "nfclib.IdCardInternalError.Type", "children": [ { "kind": "TypeNominal", - "name": "CertificateUsage", - "printedName": "nfclib.CertificateUsage", - "usr": "s:6nfclib16CertificateUsageO" + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" } ] } @@ -5453,5847 +3939,744 @@ } ], "declKind": "EnumElement", - "usr": "s:6nfclib16CertificateUsageO4signyA2CmF", - "mangledName": "$s6nfclib16CertificateUsageO4signyA2CmF", + "usr": "s:6nfclib19IdCardInternalErrorO13missingMACTagyA2CmF", + "mangledName": "$s6nfclib19IdCardInternalErrorO13missingMACTagyA2CmF", "moduleName": "nfclib" }, - { - "kind": "Function", - "name": "==", - "printedName": "==(_:_:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" - }, - { - "kind": "TypeNominal", - "name": "CertificateUsage", - "printedName": "nfclib.CertificateUsage", - "usr": "s:6nfclib16CertificateUsageO" - }, - { - "kind": "TypeNominal", - "name": "CertificateUsage", - "printedName": "nfclib.CertificateUsage", - "usr": "s:6nfclib16CertificateUsageO" - } - ], - "declKind": "Func", - "usr": "s:6nfclib16CertificateUsageO2eeoiySbAC_ACtFZ", - "mangledName": "$s6nfclib16CertificateUsageO2eeoiySbAC_ACtFZ", - "moduleName": "nfclib", - "static": true, - "implicit": true, - "funcSelfKind": "NonMutating" - }, { "kind": "Var", - "name": "hashValue", - "printedName": "hashValue", + "name": "invalidMACValue", + "printedName": "invalidMACValue", "children": [ { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Var", - "usr": "s:6nfclib16CertificateUsageO9hashValueSivp", - "mangledName": "$s6nfclib16CertificateUsageO9hashValueSivp", - "moduleName": "nfclib", - "implicit": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib16CertificateUsageO9hashValueSivg", - "mangledName": "$s6nfclib16CertificateUsageO9hashValueSivg", - "moduleName": "nfclib", - "implicit": true, - "accessorKind": "get" - } - ] - }, - { - "kind": "Function", - "name": "hash", - "printedName": "hash(into:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "Hasher", - "printedName": "Swift.Hasher", - "paramValueOwnership": "InOut", - "usr": "s:s6HasherV" - } - ], - "declKind": "Func", - "usr": "s:6nfclib16CertificateUsageO4hash4intoys6HasherVz_tF", - "mangledName": "$s6nfclib16CertificateUsageO4hash4intoys6HasherVz_tF", - "moduleName": "nfclib", - "implicit": true, - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Enum", - "usr": "s:6nfclib16CertificateUsageO", - "mangledName": "$s6nfclib16CertificateUsageO", - "moduleName": "nfclib", - "declAttributes": [ - "AccessControl" - ], - "conformances": [ - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Equatable", - "printedName": "Equatable", - "usr": "s:SQ", - "mangledName": "$sSQ" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - }, - { - "kind": "Conformance", - "name": "Hashable", - "printedName": "Hashable", - "usr": "s:SH", - "mangledName": "$sSH" - } - ] - }, - { - "kind": "TypeDecl", - "name": "OperationReadCertificate", - "printedName": "OperationReadCertificate", - "children": [ - { - "kind": "Function", - "name": "startReading", - "printedName": "startReading(CAN:certUsage:)", - "children": [ - { - "kind": "TypeNominal", - "name": "SecCertificate", - "printedName": "Security.SecCertificate", - "usr": "c:@T@SecCertificateRef" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "CertificateUsage", - "printedName": "nfclib.CertificateUsage", - "usr": "s:6nfclib16CertificateUsageO" - } - ], - "declKind": "Func", - "usr": "s:6nfclib24OperationReadCertificateC12startReading3CAN9certUsageSo03SecD3RefaSS_AA0dI0OtYaKF", - "mangledName": "$s6nfclib24OperationReadCertificateC12startReading3CAN9certUsageSo03SecD3RefaSS_AA0dI0OtYaKF", - "moduleName": "nfclib", - "isOpen": true, - "declAttributes": [ - "Custom", - "AccessControl" - ], - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init()", - "children": [ - { - "kind": "TypeNominal", - "name": "OperationReadCertificate", - "printedName": "nfclib.OperationReadCertificate", - "usr": "c:@M@nfclib@objc(cs)OperationReadCertificate" - } - ], - "declKind": "Constructor", - "usr": "c:@M@nfclib@objc(cs)OperationReadCertificate(im)init", - "mangledName": "$s6nfclib24OperationReadCertificateCACycfc", - "moduleName": "nfclib", - "overriding": true, - "implicit": true, - "objc_name": "init", - "declAttributes": [ - "Dynamic", - "ObjC", - "Custom", - "Override" - ], - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "tagReaderSession", - "printedName": "tagReaderSession(_:didDetect:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "NFCTagReaderSession", - "printedName": "CoreNFC.NFCTagReaderSession", - "usr": "c:objc(cs)NFCTagReaderSession" - }, - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[CoreNFC.NFCTag]", - "children": [ - { - "kind": "TypeNominal", - "name": "NFCTag", - "printedName": "CoreNFC.NFCTag", - "usr": "s:7CoreNFC6NFCTagO" - } - ], - "usr": "s:Sa" - } - ], - "declKind": "Func", - "usr": "s:6nfclib24OperationReadCertificateC16tagReaderSession_9didDetectySo06NFCTagfG0C_Say7CoreNFC0J0OGtF", - "mangledName": "$s6nfclib24OperationReadCertificateC16tagReaderSession_9didDetectySo06NFCTagfG0C_Say7CoreNFC0J0OGtF", - "moduleName": "nfclib", - "isOpen": true, - "declAttributes": [ - "Custom", - "AccessControl" - ], - "isFromExtension": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "tagReaderSessionDidBecomeActive", - "printedName": "tagReaderSessionDidBecomeActive(_:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "NFCTagReaderSession", - "printedName": "CoreNFC.NFCTagReaderSession", - "usr": "c:objc(cs)NFCTagReaderSession" - } - ], - "declKind": "Func", - "usr": "s:6nfclib24OperationReadCertificateC31tagReaderSessionDidBecomeActiveyySo06NFCTagfG0CF", - "mangledName": "$s6nfclib24OperationReadCertificateC31tagReaderSessionDidBecomeActiveyySo06NFCTagfG0CF", - "moduleName": "nfclib", - "isOpen": true, - "declAttributes": [ - "Custom", - "AccessControl" - ], - "isFromExtension": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "tagReaderSession", - "printedName": "tagReaderSession(_:didInvalidateWithError:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "NFCTagReaderSession", - "printedName": "CoreNFC.NFCTagReaderSession", - "usr": "c:objc(cs)NFCTagReaderSession" - }, - { - "kind": "TypeNominal", - "name": "Error", - "printedName": "any Swift.Error", - "usr": "s:s5ErrorP" - } - ], - "declKind": "Func", - "usr": "s:6nfclib24OperationReadCertificateC16tagReaderSession_22didInvalidateWithErrorySo06NFCTagfG0C_s0K0_ptF", - "mangledName": "$s6nfclib24OperationReadCertificateC16tagReaderSession_22didInvalidateWithErrorySo06NFCTagfG0C_s0K0_ptF", - "moduleName": "nfclib", - "isOpen": true, - "declAttributes": [ - "Custom", - "AccessControl" - ], - "isFromExtension": true, - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Class", - "usr": "c:@M@nfclib@objc(cs)OperationReadCertificate", - "mangledName": "$s6nfclib24OperationReadCertificateC", - "moduleName": "nfclib", - "isOpen": true, - "declAttributes": [ - "AccessControl", - "Custom", - "ObjC" - ], - "superclassUsr": "c:objc(cs)NSObject", - "inheritsConvenienceInitializers": true, - "superclassNames": [ - "ObjectiveC.NSObject" - ], - "conformances": [ - { - "kind": "Conformance", - "name": "NFCTagReaderSessionDelegate", - "printedName": "NFCTagReaderSessionDelegate", - "usr": "s:7CoreNFC27NFCTagReaderSessionDelegateP", - "mangledName": "$s7CoreNFC27NFCTagReaderSessionDelegateP" - }, - { - "kind": "Conformance", - "name": "_KeyValueCodingAndObserving", - "printedName": "_KeyValueCodingAndObserving", - "usr": "s:10Foundation27_KeyValueCodingAndObservingP", - "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP" - }, - { - "kind": "Conformance", - "name": "_KeyValueCodingAndObservingPublishing", - "printedName": "_KeyValueCodingAndObservingPublishing", - "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP", - "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP" - }, - { - "kind": "Conformance", - "name": "CVarArg", - "printedName": "CVarArg", - "usr": "s:s7CVarArgP", - "mangledName": "$ss7CVarArgP" - }, - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "CustomDebugStringConvertible", - "printedName": "CustomDebugStringConvertible", - "usr": "s:s28CustomDebugStringConvertibleP", - "mangledName": "$ss28CustomDebugStringConvertibleP" - }, - { - "kind": "Conformance", - "name": "CustomStringConvertible", - "printedName": "CustomStringConvertible", - "usr": "s:s23CustomStringConvertibleP", - "mangledName": "$ss23CustomStringConvertibleP" - }, - { - "kind": "Conformance", - "name": "Equatable", - "printedName": "Equatable", - "usr": "s:SQ", - "mangledName": "$sSQ" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - }, - { - "kind": "Conformance", - "name": "Hashable", - "printedName": "Hashable", - "usr": "s:SH", - "mangledName": "$sSH" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - } - ] - }, - { - "kind": "Import", - "name": "CommonCrypto", - "printedName": "CommonCrypto", - "declKind": "Import", - "moduleName": "nfclib", - "declAttributes": [ - "RawDocComment" - ] - }, - { - "kind": "Import", - "name": "CryptoTokenKit", - "printedName": "CryptoTokenKit", - "declKind": "Import", - "moduleName": "nfclib" - }, - { - "kind": "Import", - "name": "SwiftECC", - "printedName": "SwiftECC", - "declKind": "Import", - "moduleName": "nfclib", - "declAttributes": [ - "AccessControl" - ] - }, - { - "kind": "Import", - "name": "CryptoTokenKit", - "printedName": "CryptoTokenKit", - "declKind": "Import", - "moduleName": "nfclib", - "declAttributes": [ - "RawDocComment" - ] - }, - { - "kind": "TypeDecl", - "name": "Thales", - "printedName": "Thales", - "children": [ - { - "kind": "Var", - "name": "canChangePUK", - "printedName": "canChangePUK", - "children": [ - { - "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" - } - ], - "declKind": "Var", - "usr": "s:6nfclib6ThalesC12canChangePUKSbvp", - "mangledName": "$s6nfclib6ThalesC12canChangePUKSbvp", - "moduleName": "nfclib", - "declAttributes": [ - "HasInitialValue", - "Final", - "HasStorage" - ], - "fixedbinaryorder": 0, - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib6ThalesC12canChangePUKSbvg", - "mangledName": "$s6nfclib6ThalesC12canChangePUKSbvg", - "moduleName": "nfclib", - "implicit": true, - "declAttributes": [ - "Transparent", - "Final" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "reader", - "printedName": "reader", - "children": [ - { - "kind": "TypeNominal", - "name": "CardReader", - "printedName": "any nfclib.CardReader", - "usr": "s:6nfclib10CardReaderP" - } - ], - "declKind": "Var", - "usr": "s:6nfclib6ThalesC6readerAA10CardReader_pvp", - "mangledName": "$s6nfclib6ThalesC6readerAA10CardReader_pvp", - "moduleName": "nfclib", - "declAttributes": [ - "Final", - "HasStorage" - ], - "fixedbinaryorder": 1, - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "CardReader", - "printedName": "any nfclib.CardReader", - "usr": "s:6nfclib10CardReaderP" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib6ThalesC6readerAA10CardReader_pvg", - "mangledName": "$s6nfclib6ThalesC6readerAA10CardReader_pvg", - "moduleName": "nfclib", - "implicit": true, - "declAttributes": [ - "Transparent", - "Final" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "fillChar", - "printedName": "fillChar", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "declKind": "Var", - "usr": "s:6nfclib6ThalesC8fillChars5UInt8Vvp", - "mangledName": "$s6nfclib6ThalesC8fillChars5UInt8Vvp", - "moduleName": "nfclib", - "declAttributes": [ - "HasInitialValue", - "Final", - "HasStorage" - ], - "fixedbinaryorder": 2, - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib6ThalesC8fillChars5UInt8Vvg", - "mangledName": "$s6nfclib6ThalesC8fillChars5UInt8Vvg", - "moduleName": "nfclib", - "implicit": true, - "declAttributes": [ - "Transparent", - "Final" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(reader:atr:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "nfclib.Thales?", - "children": [ - { - "kind": "TypeNominal", - "name": "Thales", - "printedName": "nfclib.Thales", - "usr": "s:6nfclib6ThalesC" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "CardReader", - "printedName": "any nfclib.CardReader", - "usr": "s:6nfclib10CardReaderP" - }, - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.UInt8]", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "usr": "s:Sa" - } - ], - "declKind": "Constructor", - "usr": "s:6nfclib6ThalesC6reader3atrACSgAA10CardReader_p_Says5UInt8VGtKcfc", - "mangledName": "$s6nfclib6ThalesC6reader3atrACSgAA10CardReader_p_Says5UInt8VGtKcfc", - "moduleName": "nfclib", - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(reader:aid:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "nfclib.Thales?", - "children": [ - { - "kind": "TypeNominal", - "name": "Thales", - "printedName": "nfclib.Thales", - "usr": "s:6nfclib6ThalesC" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "CardReader", - "printedName": "any nfclib.CardReader", - "usr": "s:6nfclib10CardReaderP" - }, - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.UInt8]", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "usr": "s:Sa" - } - ], - "declKind": "Constructor", - "usr": "s:6nfclib6ThalesC6reader3aidACSgAA10CardReader_p_Says5UInt8VGtcfc", - "mangledName": "$s6nfclib6ThalesC6reader3aidACSgAA10CardReader_p_Says5UInt8VGtcfc", - "moduleName": "nfclib", - "declAttributes": [ - "Required" - ], - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(reader:selectAID:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "nfclib.Thales?", - "children": [ - { - "kind": "TypeNominal", - "name": "Thales", - "printedName": "nfclib.Thales", - "usr": "s:6nfclib6ThalesC" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "CardReader", - "printedName": "any nfclib.CardReader", - "usr": "s:6nfclib10CardReaderP" - }, - { - "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" - } - ], - "declKind": "Constructor", - "usr": "s:6nfclib6ThalesC6reader9selectAIDACSgAA10CardReader_p_SbtYacfc", - "mangledName": "$s6nfclib6ThalesC6reader9selectAIDACSgAA10CardReader_p_SbtYacfc", - "moduleName": "nfclib", - "declAttributes": [ - "Required" - ], - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "readPublicData", - "printedName": "readPublicData()", - "children": [ - { - "kind": "TypeNominal", - "name": "CardInfo", - "printedName": "nfclib.CardInfo", - "usr": "s:6nfclib8CardInfoV" - } - ], - "declKind": "Func", - "usr": "s:6nfclib6ThalesC14readPublicDataAA8CardInfoVyYaKF", - "mangledName": "$s6nfclib6ThalesC14readPublicDataAA8CardInfoVyYaKF", - "moduleName": "nfclib", - "declAttributes": [ - "Final", - "RawDocComment" - ], - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "readAuthenticationCertificate", - "printedName": "readAuthenticationCertificate()", - "children": [ - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Func", - "usr": "s:6nfclib6ThalesC29readAuthenticationCertificate10Foundation4DataVyYaKF", - "mangledName": "$s6nfclib6ThalesC29readAuthenticationCertificate10Foundation4DataVyYaKF", - "moduleName": "nfclib", - "declAttributes": [ - "Final" - ], - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "readSignatureCertificate", - "printedName": "readSignatureCertificate()", - "children": [ - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Func", - "usr": "s:6nfclib6ThalesC24readSignatureCertificate10Foundation4DataVyYaKF", - "mangledName": "$s6nfclib6ThalesC24readSignatureCertificate10Foundation4DataVyYaKF", - "moduleName": "nfclib", - "declAttributes": [ - "Final" - ], - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "readCodeTryCounterRecord", - "printedName": "readCodeTryCounterRecord(_:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Tuple", - "printedName": "(retryCount: Swift.UInt8, pinActive: Swift.Bool)", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - }, - { - "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" - } - ] - }, - { - "kind": "TypeNominal", - "name": "CodeType", - "printedName": "nfclib.CodeType", - "usr": "s:6nfclib8CodeTypeO" - } - ], - "declKind": "Func", - "usr": "s:6nfclib6ThalesC24readCodeTryCounterRecordys5UInt8V10retryCount_Sb9pinActivetAA0D4TypeOYaKF", - "mangledName": "$s6nfclib6ThalesC24readCodeTryCounterRecordys5UInt8V10retryCount_Sb9pinActivetAA0D4TypeOYaKF", - "moduleName": "nfclib", - "declAttributes": [ - "Final", - "RawDocComment" - ], - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "changeCode", - "printedName": "changeCode(_:to:verifyCode:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "CodeType", - "printedName": "nfclib.CodeType", - "usr": "s:6nfclib8CodeTypeO" - }, - { - "kind": "TypeNominal", - "name": "SecureData", - "printedName": "nfclib.SecureData", - "usr": "s:6nfclib10SecureDataC" - }, - { - "kind": "TypeNominal", - "name": "SecureData", - "printedName": "nfclib.SecureData", - "usr": "s:6nfclib10SecureDataC" - } - ], - "declKind": "Func", - "usr": "s:6nfclib6ThalesC10changeCode_2to06verifyD0yAA0D4TypeO_AA10SecureDataCAJtYaKF", - "mangledName": "$s6nfclib6ThalesC10changeCode_2to06verifyD0yAA0D4TypeO_AA10SecureDataCAJtYaKF", - "moduleName": "nfclib", - "declAttributes": [ - "Final" - ], - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "verifyCode", - "printedName": "verifyCode(_:code:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "CodeType", - "printedName": "nfclib.CodeType", - "usr": "s:6nfclib8CodeTypeO" - }, - { - "kind": "TypeNominal", - "name": "SecureData", - "printedName": "nfclib.SecureData", - "usr": "s:6nfclib10SecureDataC" - } - ], - "declKind": "Func", - "usr": "s:6nfclib6ThalesC10verifyCode_4codeyAA0D4TypeO_AA10SecureDataCtYaKF", - "mangledName": "$s6nfclib6ThalesC10verifyCode_4codeyAA0D4TypeO_AA10SecureDataCtYaKF", - "moduleName": "nfclib", - "declAttributes": [ - "Final" - ], - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "unblockCode", - "printedName": "unblockCode(_:puk:newCode:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "CodeType", - "printedName": "nfclib.CodeType", - "usr": "s:6nfclib8CodeTypeO" - }, - { - "kind": "TypeNominal", - "name": "SecureData", - "printedName": "nfclib.SecureData", - "usr": "s:6nfclib10SecureDataC" - }, - { - "kind": "TypeNominal", - "name": "SecureData", - "printedName": "nfclib.SecureData", - "usr": "s:6nfclib10SecureDataC" - } - ], - "declKind": "Func", - "usr": "s:6nfclib6ThalesC11unblockCode_3puk03newD0yAA0D4TypeO_AA10SecureDataCAJtYaKF", - "mangledName": "$s6nfclib6ThalesC11unblockCode_3puk03newD0yAA0D4TypeO_AA10SecureDataCAJtYaKF", - "moduleName": "nfclib", - "declAttributes": [ - "Final" - ], - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "authenticate", - "printedName": "authenticate(for:withPin1:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - }, - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - }, - { - "kind": "TypeNominal", - "name": "SecureData", - "printedName": "nfclib.SecureData", - "usr": "s:6nfclib10SecureDataC" - } - ], - "declKind": "Func", - "usr": "s:6nfclib6ThalesC12authenticate3for8withPin110Foundation4DataVAI_AA06SecureH0CtYaKF", - "mangledName": "$s6nfclib6ThalesC12authenticate3for8withPin110Foundation4DataVAI_AA06SecureH0CtYaKF", - "moduleName": "nfclib", - "declAttributes": [ - "Final" - ], - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "calculateSignature", - "printedName": "calculateSignature(for:withPin2:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - }, - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - }, - { - "kind": "TypeNominal", - "name": "SecureData", - "printedName": "nfclib.SecureData", - "usr": "s:6nfclib10SecureDataC" - } - ], - "declKind": "Func", - "usr": "s:6nfclib6ThalesC18calculateSignature3for8withPin210Foundation4DataVAI_AA06SecureI0CtYaKF", - "mangledName": "$s6nfclib6ThalesC18calculateSignature3for8withPin210Foundation4DataVAI_AA06SecureI0CtYaKF", - "moduleName": "nfclib", - "declAttributes": [ - "Final" - ], - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "decryptData", - "printedName": "decryptData(_:withPin1:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - }, - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - }, - { - "kind": "TypeNominal", - "name": "SecureData", - "printedName": "nfclib.SecureData", - "usr": "s:6nfclib10SecureDataC" - } - ], - "declKind": "Func", - "usr": "s:6nfclib6ThalesC11decryptData_8withPin110Foundation0D0VAH_AA06SecureD0CtYaKF", - "mangledName": "$s6nfclib6ThalesC11decryptData_8withPin110Foundation0D0VAH_AA06SecureD0CtYaKF", - "moduleName": "nfclib", - "declAttributes": [ - "Final" - ], - "throwing": true, - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Class", - "usr": "s:6nfclib6ThalesC", - "mangledName": "$s6nfclib6ThalesC", - "moduleName": "nfclib", - "declAttributes": [ - "Final" - ], - "conformances": [ - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - }, - { - "kind": "Conformance", - "name": "CardCommandsInternal", - "printedName": "CardCommandsInternal", - "usr": "s:6nfclib20CardCommandsInternalP", - "mangledName": "$s6nfclib20CardCommandsInternalP" - }, - { - "kind": "Conformance", - "name": "CardCommands", - "printedName": "CardCommands", - "usr": "s:6nfclib12CardCommandsP", - "mangledName": "$s6nfclib12CardCommandsP" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - } - ] - }, - { - "kind": "Import", - "name": "OSLog", - "printedName": "OSLog", - "declKind": "Import", - "moduleName": "nfclib", - "declAttributes": [ - "RawDocComment" - ] - }, - { - "kind": "Import", - "name": "CoreNFC", - "printedName": "CoreNFC", - "declKind": "Import", - "moduleName": "nfclib", - "declAttributes": [ - "Preconcurrency" - ] - }, - { - "kind": "Import", - "name": "CryptoTokenKit", - "printedName": "CryptoTokenKit", - "declKind": "Import", - "moduleName": "nfclib" - }, - { - "kind": "TypeDecl", - "name": "SendableISO7816Tag", - "printedName": "SendableISO7816Tag", - "children": [ - { - "kind": "Var", - "name": "tag", - "printedName": "tag", - "children": [ - { - "kind": "TypeNominal", - "name": "NFCISO7816Tag", - "printedName": "any CoreNFC.NFCISO7816Tag", - "usr": "c:objc(pl)NFCISO7816Tag" - } - ], - "declKind": "Var", - "usr": "s:6nfclib18SendableISO7816TagV3tagSo010NFCISO7816D0_pvp", - "mangledName": "$s6nfclib18SendableISO7816TagV3tagSo010NFCISO7816D0_pvp", - "moduleName": "nfclib", - "declAttributes": [ - "HasStorage" - ], - "fixedbinaryorder": 0, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "NFCISO7816Tag", - "printedName": "any CoreNFC.NFCISO7816Tag", - "usr": "c:objc(pl)NFCISO7816Tag" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib18SendableISO7816TagV3tagSo010NFCISO7816D0_pvg", - "mangledName": "$s6nfclib18SendableISO7816TagV3tagSo010NFCISO7816D0_pvg", - "moduleName": "nfclib", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - }, - { - "kind": "Accessor", - "name": "Set", - "printedName": "Set()", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "NFCISO7816Tag", - "printedName": "any CoreNFC.NFCISO7816Tag", - "usr": "c:objc(pl)NFCISO7816Tag" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib18SendableISO7816TagV3tagSo010NFCISO7816D0_pvs", - "mangledName": "$s6nfclib18SendableISO7816TagV3tagSo010NFCISO7816D0_pvs", - "moduleName": "nfclib", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "set" - }, - { - "kind": "Accessor", - "name": "Modify", - "printedName": "Modify()", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib18SendableISO7816TagV3tagSo010NFCISO7816D0_pvM", - "mangledName": "$s6nfclib18SendableISO7816TagV3tagSo010NFCISO7816D0_pvM", - "moduleName": "nfclib", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "_modify" - } - ] - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(tag:)", - "children": [ - { - "kind": "TypeNominal", - "name": "SendableISO7816Tag", - "printedName": "nfclib.SendableISO7816Tag", - "usr": "s:6nfclib18SendableISO7816TagV" - }, - { - "kind": "TypeNominal", - "name": "NFCISO7816Tag", - "printedName": "any CoreNFC.NFCISO7816Tag", - "usr": "c:objc(pl)NFCISO7816Tag" - } - ], - "declKind": "Constructor", - "usr": "s:6nfclib18SendableISO7816TagV3tagACSo010NFCISO7816D0_p_tcfc", - "mangledName": "$s6nfclib18SendableISO7816TagV3tagACSo010NFCISO7816D0_p_tcfc", - "moduleName": "nfclib", - "implicit": true, - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "sendCommand", - "printedName": "sendCommand(cls:ins:p1Byte:p2Byte:data:leByte:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - }, - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - }, - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - }, - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - }, - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - }, - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "hasDefaultArg": true, - "usr": "s:10Foundation4DataV" - }, - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "hasDefaultArg": true, - "usr": "s:Si" - } - ], - "declKind": "Func", - "usr": "s:6nfclib18SendableISO7816TagV11sendCommand3cls3ins6p1Byte02p2J04data02leJ010Foundation4DataVs5UInt8V_A3oMSitYaKF", - "mangledName": "$s6nfclib18SendableISO7816TagV11sendCommand3cls3ins6p1Byte02p2J04data02leJ010Foundation4DataVs5UInt8V_A3oMSitYaKF", - "moduleName": "nfclib", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "sendCommand", - "printedName": "sendCommand(cls:ins:p1Byte:p2Byte:records:leByte:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - }, - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - }, - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - }, - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - }, - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - }, - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[CryptoTokenKit.TKTLVRecord]", - "children": [ - { - "kind": "TypeNominal", - "name": "TKTLVRecord", - "printedName": "CryptoTokenKit.TKTLVRecord", - "usr": "c:objc(cs)TKTLVRecord" - } - ], - "usr": "s:Sa" - }, - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "hasDefaultArg": true, - "usr": "s:Si" - } - ], - "declKind": "Func", - "usr": "s:6nfclib18SendableISO7816TagV11sendCommand3cls3ins6p1Byte02p2J07records02leJ010Foundation4DataVs5UInt8V_A3OSaySo11TKTLVRecordCGSitYaKF", - "mangledName": "$s6nfclib18SendableISO7816TagV11sendCommand3cls3ins6p1Byte02p2J07records02leJ010Foundation4DataVs5UInt8V_A3OSaySo11TKTLVRecordCGSitYaKF", - "moduleName": "nfclib", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "sendPaceCommand", - "printedName": "sendPaceCommand(records:tagExpected:)", - "children": [ - { - "kind": "TypeNominal", - "name": "TKBERTLVRecord", - "printedName": "CryptoTokenKit.TKBERTLVRecord", - "usr": "c:objc(cs)TKBERTLVRecord" - }, - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[CryptoTokenKit.TKTLVRecord]", - "children": [ - { - "kind": "TypeNominal", - "name": "TKTLVRecord", - "printedName": "CryptoTokenKit.TKTLVRecord", - "usr": "c:objc(cs)TKTLVRecord" - } - ], - "usr": "s:Sa" - }, - { - "kind": "TypeNominal", - "name": "UInt64", - "printedName": "Swift.UInt64", - "usr": "s:s6UInt64V" - } - ], - "declKind": "Func", - "usr": "s:6nfclib18SendableISO7816TagV15sendPaceCommand7records11tagExpectedSo14TKBERTLVRecordCSaySo11TKTLVRecordCG_s6UInt64VtYaKF", - "mangledName": "$s6nfclib18SendableISO7816TagV15sendPaceCommand7records11tagExpectedSo14TKBERTLVRecordCSaySo11TKTLVRecordCG_s6UInt64VtYaKF", - "moduleName": "nfclib", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Struct", - "usr": "s:6nfclib18SendableISO7816TagV", - "mangledName": "$s6nfclib18SendableISO7816TagV", - "moduleName": "nfclib", - "conformances": [ - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - } - ] - }, - { - "kind": "Import", - "name": "Foundation", - "printedName": "Foundation", - "declKind": "Import", - "moduleName": "nfclib", - "declAttributes": [ - "RawDocComment" - ] - }, - { - "kind": "Import", - "name": "CoreNFC", - "printedName": "CoreNFC", - "declKind": "Import", - "moduleName": "nfclib" - }, - { - "kind": "Import", - "name": "CommonCrypto", - "printedName": "CommonCrypto", - "declKind": "Import", - "moduleName": "nfclib" - }, - { - "kind": "Import", - "name": "CryptoTokenKit", - "printedName": "CryptoTokenKit", - "declKind": "Import", - "moduleName": "nfclib" - }, - { - "kind": "Import", - "name": "SwiftECC", - "printedName": "SwiftECC", - "declKind": "Import", - "moduleName": "nfclib", - "declAttributes": [ - "AccessControl" - ] - }, - { - "kind": "Import", - "name": "BigInt", - "printedName": "BigInt", - "declKind": "Import", - "moduleName": "nfclib" - }, - { - "kind": "Import", - "name": "Security", - "printedName": "Security", - "declKind": "Import", - "moduleName": "nfclib" - }, - { - "kind": "TypeDecl", - "name": "UnblockPINError", - "printedName": "UnblockPINError", - "children": [ - { - "kind": "Var", - "name": "missingRequiredParameter", - "printedName": "missingRequiredParameter", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.UnblockPINError.Type) -> nfclib.UnblockPINError", - "children": [ - { - "kind": "TypeNominal", - "name": "UnblockPINError", - "printedName": "nfclib.UnblockPINError", - "usr": "s:6nfclib15UnblockPINErrorO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.UnblockPINError.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "UnblockPINError", - "printedName": "nfclib.UnblockPINError", - "usr": "s:6nfclib15UnblockPINErrorO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib15UnblockPINErrorO24missingRequiredParameteryA2CmF", - "mangledName": "$s6nfclib15UnblockPINErrorO24missingRequiredParameteryA2CmF", - "moduleName": "nfclib" - }, - { - "kind": "Var", - "name": "failed", - "printedName": "failed", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.UnblockPINError.Type) -> nfclib.UnblockPINError", - "children": [ - { - "kind": "TypeNominal", - "name": "UnblockPINError", - "printedName": "nfclib.UnblockPINError", - "usr": "s:6nfclib15UnblockPINErrorO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.UnblockPINError.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "UnblockPINError", - "printedName": "nfclib.UnblockPINError", - "usr": "s:6nfclib15UnblockPINErrorO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib15UnblockPINErrorO6failedyA2CmF", - "mangledName": "$s6nfclib15UnblockPINErrorO6failedyA2CmF", - "moduleName": "nfclib" - }, - { - "kind": "Var", - "name": "general", - "printedName": "general", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.UnblockPINError.Type) -> nfclib.UnblockPINError", - "children": [ - { - "kind": "TypeNominal", - "name": "UnblockPINError", - "printedName": "nfclib.UnblockPINError", - "usr": "s:6nfclib15UnblockPINErrorO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.UnblockPINError.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "UnblockPINError", - "printedName": "nfclib.UnblockPINError", - "usr": "s:6nfclib15UnblockPINErrorO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib15UnblockPINErrorO7generalyA2CmF", - "mangledName": "$s6nfclib15UnblockPINErrorO7generalyA2CmF", - "moduleName": "nfclib" - }, - { - "kind": "Function", - "name": "==", - "printedName": "==(_:_:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" - }, - { - "kind": "TypeNominal", - "name": "UnblockPINError", - "printedName": "nfclib.UnblockPINError", - "usr": "s:6nfclib15UnblockPINErrorO" - }, - { - "kind": "TypeNominal", - "name": "UnblockPINError", - "printedName": "nfclib.UnblockPINError", - "usr": "s:6nfclib15UnblockPINErrorO" - } - ], - "declKind": "Func", - "usr": "s:6nfclib15UnblockPINErrorO2eeoiySbAC_ACtFZ", - "mangledName": "$s6nfclib15UnblockPINErrorO2eeoiySbAC_ACtFZ", - "moduleName": "nfclib", - "static": true, - "implicit": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Var", - "name": "hashValue", - "printedName": "hashValue", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Var", - "usr": "s:6nfclib15UnblockPINErrorO9hashValueSivp", - "mangledName": "$s6nfclib15UnblockPINErrorO9hashValueSivp", - "moduleName": "nfclib", - "implicit": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib15UnblockPINErrorO9hashValueSivg", - "mangledName": "$s6nfclib15UnblockPINErrorO9hashValueSivg", - "moduleName": "nfclib", - "implicit": true, - "accessorKind": "get" - } - ] - }, - { - "kind": "Function", - "name": "hash", - "printedName": "hash(into:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "Hasher", - "printedName": "Swift.Hasher", - "paramValueOwnership": "InOut", - "usr": "s:s6HasherV" - } - ], - "declKind": "Func", - "usr": "s:6nfclib15UnblockPINErrorO4hash4intoys6HasherVz_tF", - "mangledName": "$s6nfclib15UnblockPINErrorO4hash4intoys6HasherVz_tF", - "moduleName": "nfclib", - "implicit": true, - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Enum", - "usr": "s:6nfclib15UnblockPINErrorO", - "mangledName": "$s6nfclib15UnblockPINErrorO", - "moduleName": "nfclib", - "declAttributes": [ - "AccessControl" - ], - "conformances": [ - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Equatable", - "printedName": "Equatable", - "usr": "s:SQ", - "mangledName": "$sSQ" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - }, - { - "kind": "Conformance", - "name": "Hashable", - "printedName": "Hashable", - "usr": "s:SH", - "mangledName": "$sSH" - }, - { - "kind": "Conformance", - "name": "Error", - "printedName": "Error", - "usr": "s:s5ErrorP", - "mangledName": "$ss5ErrorP" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "OperationUnblockPin", - "printedName": "OperationUnblockPin", - "children": [ - { - "kind": "Function", - "name": "startReading", - "printedName": "startReading(CAN:codeType:puk:newPin:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "CodeType", - "printedName": "nfclib.CodeType", - "usr": "s:6nfclib8CodeTypeO" - }, - { - "kind": "TypeNominal", - "name": "SecureData", - "printedName": "nfclib.SecureData", - "usr": "s:6nfclib10SecureDataC" - }, - { - "kind": "TypeNominal", - "name": "SecureData", - "printedName": "nfclib.SecureData", - "usr": "s:6nfclib10SecureDataC" - } - ], - "declKind": "Func", - "usr": "s:6nfclib19OperationUnblockPinC12startReading3CAN8codeType3puk03newD0ySS_AA04CodeI0OAA10SecureDataCALtYaKF", - "mangledName": "$s6nfclib19OperationUnblockPinC12startReading3CAN8codeType3puk03newD0ySS_AA04CodeI0OAA10SecureDataCALtYaKF", - "moduleName": "nfclib", - "isOpen": true, - "declAttributes": [ - "Custom", - "AccessControl" - ], - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init()", - "children": [ - { - "kind": "TypeNominal", - "name": "OperationUnblockPin", - "printedName": "nfclib.OperationUnblockPin", - "usr": "c:@M@nfclib@objc(cs)OperationUnblockPin" - } - ], - "declKind": "Constructor", - "usr": "c:@M@nfclib@objc(cs)OperationUnblockPin(im)init", - "mangledName": "$s6nfclib19OperationUnblockPinCACycfc", - "moduleName": "nfclib", - "overriding": true, - "implicit": true, - "objc_name": "init", - "declAttributes": [ - "Dynamic", - "ObjC", - "Custom", - "Override" - ], - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "tagReaderSession", - "printedName": "tagReaderSession(_:didDetect:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "NFCTagReaderSession", - "printedName": "CoreNFC.NFCTagReaderSession", - "usr": "c:objc(cs)NFCTagReaderSession" - }, - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[CoreNFC.NFCTag]", - "children": [ - { - "kind": "TypeNominal", - "name": "NFCTag", - "printedName": "CoreNFC.NFCTag", - "usr": "s:7CoreNFC6NFCTagO" - } - ], - "usr": "s:Sa" - } - ], - "declKind": "Func", - "usr": "s:6nfclib19OperationUnblockPinC16tagReaderSession_9didDetectySo06NFCTagfG0C_Say7CoreNFC0J0OGtF", - "mangledName": "$s6nfclib19OperationUnblockPinC16tagReaderSession_9didDetectySo06NFCTagfG0C_Say7CoreNFC0J0OGtF", - "moduleName": "nfclib", - "isOpen": true, - "declAttributes": [ - "Custom", - "AccessControl" - ], - "isFromExtension": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "tagReaderSessionDidBecomeActive", - "printedName": "tagReaderSessionDidBecomeActive(_:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "NFCTagReaderSession", - "printedName": "CoreNFC.NFCTagReaderSession", - "usr": "c:objc(cs)NFCTagReaderSession" - } - ], - "declKind": "Func", - "usr": "s:6nfclib19OperationUnblockPinC31tagReaderSessionDidBecomeActiveyySo06NFCTagfG0CF", - "mangledName": "$s6nfclib19OperationUnblockPinC31tagReaderSessionDidBecomeActiveyySo06NFCTagfG0CF", - "moduleName": "nfclib", - "isOpen": true, - "declAttributes": [ - "Custom", - "AccessControl" - ], - "isFromExtension": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "tagReaderSession", - "printedName": "tagReaderSession(_:didInvalidateWithError:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "NFCTagReaderSession", - "printedName": "CoreNFC.NFCTagReaderSession", - "usr": "c:objc(cs)NFCTagReaderSession" - }, - { - "kind": "TypeNominal", - "name": "Error", - "printedName": "any Swift.Error", - "usr": "s:s5ErrorP" - } - ], - "declKind": "Func", - "usr": "s:6nfclib19OperationUnblockPinC16tagReaderSession_22didInvalidateWithErrorySo06NFCTagfG0C_s0K0_ptF", - "mangledName": "$s6nfclib19OperationUnblockPinC16tagReaderSession_22didInvalidateWithErrorySo06NFCTagfG0C_s0K0_ptF", - "moduleName": "nfclib", - "isOpen": true, - "declAttributes": [ - "Custom", - "AccessControl" - ], - "isFromExtension": true, - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Class", - "usr": "c:@M@nfclib@objc(cs)OperationUnblockPin", - "mangledName": "$s6nfclib19OperationUnblockPinC", - "moduleName": "nfclib", - "isOpen": true, - "declAttributes": [ - "AccessControl", - "Custom", - "ObjC" - ], - "superclassUsr": "c:objc(cs)NSObject", - "inheritsConvenienceInitializers": true, - "superclassNames": [ - "ObjectiveC.NSObject" - ], - "conformances": [ - { - "kind": "Conformance", - "name": "NFCTagReaderSessionDelegate", - "printedName": "NFCTagReaderSessionDelegate", - "usr": "s:7CoreNFC27NFCTagReaderSessionDelegateP", - "mangledName": "$s7CoreNFC27NFCTagReaderSessionDelegateP" - }, - { - "kind": "Conformance", - "name": "_KeyValueCodingAndObserving", - "printedName": "_KeyValueCodingAndObserving", - "usr": "s:10Foundation27_KeyValueCodingAndObservingP", - "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP" - }, - { - "kind": "Conformance", - "name": "_KeyValueCodingAndObservingPublishing", - "printedName": "_KeyValueCodingAndObservingPublishing", - "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP", - "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP" - }, - { - "kind": "Conformance", - "name": "CVarArg", - "printedName": "CVarArg", - "usr": "s:s7CVarArgP", - "mangledName": "$ss7CVarArgP" - }, - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "CustomDebugStringConvertible", - "printedName": "CustomDebugStringConvertible", - "usr": "s:s28CustomDebugStringConvertibleP", - "mangledName": "$ss28CustomDebugStringConvertibleP" - }, - { - "kind": "Conformance", - "name": "CustomStringConvertible", - "printedName": "CustomStringConvertible", - "usr": "s:s23CustomStringConvertibleP", - "mangledName": "$ss23CustomStringConvertibleP" - }, - { - "kind": "Conformance", - "name": "Equatable", - "printedName": "Equatable", - "usr": "s:SQ", - "mangledName": "$sSQ" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - }, - { - "kind": "Conformance", - "name": "Hashable", - "printedName": "Hashable", - "usr": "s:SH", - "mangledName": "$sSH" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - } - ] - }, - { - "kind": "Import", - "name": "Foundation", - "printedName": "Foundation", - "declKind": "Import", - "moduleName": "nfclib", - "declAttributes": [ - "RawDocComment" - ] - }, - { - "kind": "Import", - "name": "CoreNFC", - "printedName": "CoreNFC", - "declKind": "Import", - "moduleName": "nfclib", - "declAttributes": [ - "Preconcurrency" - ] - }, - { - "kind": "Import", - "name": "BigInt", - "printedName": "BigInt", - "declKind": "Import", - "moduleName": "nfclib" - }, - { - "kind": "Import", - "name": "CryptoTokenKit", - "printedName": "CryptoTokenKit", - "declKind": "Import", - "moduleName": "nfclib" - }, - { - "kind": "TypeDecl", - "name": "NFCConnection", - "printedName": "NFCConnection", - "children": [ - { - "kind": "Constructor", - "name": "init", - "printedName": "init()", - "children": [ - { - "kind": "TypeNominal", - "name": "NFCConnection", - "printedName": "nfclib.NFCConnection", - "usr": "s:6nfclib13NFCConnectionC" - } - ], - "declKind": "Constructor", - "usr": "s:6nfclib13NFCConnectionCACycfc", - "mangledName": "$s6nfclib13NFCConnectionCACycfc", - "moduleName": "nfclib", - "declAttributes": [ - "Custom", - "AccessControl" - ], - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "setup", - "printedName": "setup(_:tags:)", - "children": [ - { - "kind": "TypeNominal", - "name": "NFCISO7816Tag", - "printedName": "any CoreNFC.NFCISO7816Tag", - "usr": "c:objc(pl)NFCISO7816Tag" - }, - { - "kind": "TypeNominal", - "name": "NFCTagReaderSession", - "printedName": "CoreNFC.NFCTagReaderSession", - "usr": "c:objc(cs)NFCTagReaderSession" - }, - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[CoreNFC.NFCTag]", - "children": [ - { - "kind": "TypeNominal", - "name": "NFCTag", - "printedName": "CoreNFC.NFCTag", - "usr": "s:7CoreNFC6NFCTagO" - } - ], - "usr": "s:Sa" - } - ], - "declKind": "Func", - "usr": "s:6nfclib13NFCConnectionC5setup_4tagsSo13NFCISO7816Tag_pSo19NFCTagReaderSessionC_Say7CoreNFC0G0OGtYaKF", - "mangledName": "$s6nfclib13NFCConnectionC5setup_4tagsSo13NFCISO7816Tag_pSo19NFCTagReaderSessionC_Say7CoreNFC0G0OGtYaKF", - "moduleName": "nfclib", - "isOpen": true, - "declAttributes": [ - "Custom", - "AccessControl" - ], - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "getCardCommands", - "printedName": "getCardCommands(_:tag:CAN:)", - "children": [ - { - "kind": "TypeNominal", - "name": "CardCommands", - "printedName": "any nfclib.CardCommands", - "usr": "s:6nfclib12CardCommandsP" - }, - { - "kind": "TypeNominal", - "name": "NFCTagReaderSession", - "printedName": "CoreNFC.NFCTagReaderSession", - "usr": "c:objc(cs)NFCTagReaderSession" - }, - { - "kind": "TypeNominal", - "name": "NFCISO7816Tag", - "printedName": "any CoreNFC.NFCISO7816Tag", - "usr": "c:objc(pl)NFCISO7816Tag" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Func", - "usr": "s:6nfclib13NFCConnectionC15getCardCommands_3tag3CANAA0dE0_pSo19NFCTagReaderSessionC_So13NFCISO7816Tag_pSStYaKF", - "mangledName": "$s6nfclib13NFCConnectionC15getCardCommands_3tag3CANAA0dE0_pSo19NFCTagReaderSessionC_So13NFCISO7816Tag_pSStYaKF", - "moduleName": "nfclib", - "isOpen": true, - "declAttributes": [ - "AccessControl", - "Custom" - ], - "throwing": true, - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Class", - "usr": "s:6nfclib13NFCConnectionC", - "mangledName": "$s6nfclib13NFCConnectionC", - "moduleName": "nfclib", - "isOpen": true, - "declAttributes": [ - "AccessControl", - "Custom" - ], - "conformances": [ - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "ProgressBar", - "printedName": "ProgressBar", - "children": [ - { - "kind": "Var", - "name": "totalSteps", - "printedName": "totalSteps", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Var", - "usr": "s:6nfclib11ProgressBarV10totalSteps33_1AA606DA0C7C84ED195AE0AE1E9AC532LLSivp", - "mangledName": "$s6nfclib11ProgressBarV10totalSteps33_1AA606DA0C7C84ED195AE0AE1E9AC532LLSivp", - "moduleName": "nfclib", - "isInternal": true, - "declAttributes": [ - "HasStorage", - "AccessControl" - ], - "fixedbinaryorder": 0, - "isLet": true, - "hasStorage": true - }, - { - "kind": "Var", - "name": "currentStep", - "printedName": "currentStep", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Var", - "usr": "s:6nfclib11ProgressBarV11currentStep33_1AA606DA0C7C84ED195AE0AE1E9AC532LLSivp", - "mangledName": "$s6nfclib11ProgressBarV11currentStep33_1AA606DA0C7C84ED195AE0AE1E9AC532LLSivp", - "moduleName": "nfclib", - "isInternal": true, - "declAttributes": [ - "HasStorage", - "AccessControl" - ], - "fixedbinaryorder": 1, - "isLet": true, - "hasStorage": true - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(currentStep:totalSteps:)", - "children": [ - { - "kind": "TypeNominal", - "name": "ProgressBar", - "printedName": "nfclib.ProgressBar", - "usr": "s:6nfclib11ProgressBarV" - }, - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - }, - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "hasDefaultArg": true, - "usr": "s:Si" - } - ], - "declKind": "Constructor", - "usr": "s:6nfclib11ProgressBarV11currentStep10totalStepsACSi_Sitcfc", - "mangledName": "$s6nfclib11ProgressBarV11currentStep10totalStepsACSi_Sitcfc", - "moduleName": "nfclib", - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "generate", - "printedName": "generate()", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Func", - "usr": "s:6nfclib11ProgressBarV8generateSSyF", - "mangledName": "$s6nfclib11ProgressBarV8generateSSyF", - "moduleName": "nfclib", - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Struct", - "usr": "s:6nfclib11ProgressBarV", - "mangledName": "$s6nfclib11ProgressBarV", - "moduleName": "nfclib", - "declAttributes": [ - "RawDocComment" - ], - "conformances": [ - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "BitwiseCopyable", - "printedName": "BitwiseCopyable", - "usr": "s:s15BitwiseCopyableP", - "mangledName": "$ss15BitwiseCopyableP" - } - ] - }, - { - "kind": "Import", - "name": "CommonCrypto", - "printedName": "CommonCrypto", - "declKind": "Import", - "moduleName": "nfclib", - "declAttributes": [ - "RawDocComment" - ] - }, - { - "kind": "Import", - "name": "Foundation", - "printedName": "Foundation", - "declKind": "Import", - "moduleName": "nfclib" - }, - { - "kind": "Import", - "name": "SwiftECC", - "printedName": "SwiftECC", - "declKind": "Import", - "moduleName": "nfclib", - "declAttributes": [ - "AccessControl" - ] - }, - { - "kind": "TypeDecl", - "name": "AES", - "printedName": "AES", - "children": [ - { - "kind": "Var", - "name": "BlockSize", - "printedName": "BlockSize", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Var", - "usr": "s:6nfclib3AESC9BlockSizeSivpZ", - "mangledName": "$s6nfclib3AESC9BlockSizeSivpZ", - "moduleName": "nfclib", - "static": true, - "declAttributes": [ - "HasInitialValue", - "Final", - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib3AESC9BlockSizeSivgZ", - "mangledName": "$s6nfclib3AESC9BlockSizeSivgZ", - "moduleName": "nfclib", - "static": true, - "implicit": true, - "declAttributes": [ - "Transparent", - "Final" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "Zero", - "printedName": "Zero", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.UInt8]", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "usr": "s:Sa" - } - ], - "declKind": "Var", - "usr": "s:6nfclib3AESC4ZeroSays5UInt8VGvpZ", - "mangledName": "$s6nfclib3AESC4ZeroSays5UInt8VGvpZ", - "moduleName": "nfclib", - "static": true, - "declAttributes": [ - "HasInitialValue", - "Final", - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.UInt8]", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "usr": "s:Sa" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib3AESC4ZeroSays5UInt8VGvgZ", - "mangledName": "$s6nfclib3AESC4ZeroSays5UInt8VGvgZ", - "moduleName": "nfclib", - "static": true, - "implicit": true, - "declAttributes": [ - "Transparent", - "Final" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "TypeDecl", - "name": "CBC", - "printedName": "CBC", - "children": [ - { - "kind": "Var", - "name": "key", - "printedName": "key", - "children": [ - { - "kind": "TypeNominal", - "name": "ProtocolComposition", - "printedName": "any Foundation.ContiguousBytes & Foundation.DataProtocol" - } - ], - "declKind": "Var", - "usr": "s:6nfclib3AESC3CBCC3key33_118F4A36F5270C36AB21110C074B0C98LL10Foundation15ContiguousBytes_AH12DataProtocolpvp", - "mangledName": "$s6nfclib3AESC3CBCC3key33_118F4A36F5270C36AB21110C074B0C98LL10Foundation15ContiguousBytes_AH12DataProtocolpvp", - "moduleName": "nfclib", - "isInternal": true, - "declAttributes": [ - "Final", - "HasStorage", - "AccessControl" - ], - "fixedbinaryorder": 0, - "isLet": true, - "hasStorage": true - }, - { - "kind": "Var", - "name": "ivVal", - "printedName": "ivVal", - "children": [ - { - "kind": "TypeNominal", - "name": "ProtocolComposition", - "printedName": "any Foundation.ContiguousBytes & Foundation.DataProtocol" - } - ], - "declKind": "Var", - "usr": "s:6nfclib3AESC3CBCC5ivVal33_118F4A36F5270C36AB21110C074B0C98LL10Foundation15ContiguousBytes_AH12DataProtocolpvp", - "mangledName": "$s6nfclib3AESC3CBCC5ivVal33_118F4A36F5270C36AB21110C074B0C98LL10Foundation15ContiguousBytes_AH12DataProtocolpvp", - "moduleName": "nfclib", - "isInternal": true, - "declAttributes": [ - "Final", - "HasStorage", - "AccessControl" - ], - "fixedbinaryorder": 1, - "isLet": true, - "hasStorage": true - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(key:ivVal:)", - "children": [ - { - "kind": "TypeNominal", - "name": "CBC", - "printedName": "nfclib.AES.CBC", - "usr": "s:6nfclib3AESC3CBCC" - }, - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "τ_0_0" - }, - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "τ_0_1", - "hasDefaultArg": true - } - ], - "declKind": "Constructor", - "usr": "s:6nfclib3AESC3CBCC3key5ivValAEx_q_tc10Foundation15ContiguousBytesRzAH12DataProtocolRzAhIR_AhJR_r0_lufc", - "mangledName": "$s6nfclib3AESC3CBCC3key5ivValAEx_q_tc10Foundation15ContiguousBytesRzAH12DataProtocolRzAhIR_AhJR_r0_lufc", - "moduleName": "nfclib", - "genericSig": "<τ_0_0, τ_0_1 where τ_0_0 : Foundation.ContiguousBytes, τ_0_0 : Foundation.DataProtocol, τ_0_1 : Foundation.ContiguousBytes, τ_0_1 : Foundation.DataProtocol>", - "sugared_genericSig": "", - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "encrypt", - "printedName": "encrypt(_:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.UInt8]", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "usr": "s:Sa" - }, - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "τ_0_0" - } - ], - "declKind": "Func", - "usr": "s:6nfclib3AESC3CBCC7encryptySays5UInt8VGxK10Foundation15ContiguousBytesRzAJ12DataProtocolRzlF", - "mangledName": "$s6nfclib3AESC3CBCC7encryptySays5UInt8VGxK10Foundation15ContiguousBytesRzAJ12DataProtocolRzlF", - "moduleName": "nfclib", - "genericSig": "<τ_0_0 where τ_0_0 : Foundation.ContiguousBytes, τ_0_0 : Foundation.DataProtocol>", - "sugared_genericSig": "", - "isOpen": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "decrypt", - "printedName": "decrypt(_:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.UInt8]", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "usr": "s:Sa" - }, - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "τ_0_0" - } - ], - "declKind": "Func", - "usr": "s:6nfclib3AESC3CBCC7decryptySays5UInt8VGxK10Foundation15ContiguousBytesRzAJ12DataProtocolRzlF", - "mangledName": "$s6nfclib3AESC3CBCC7decryptySays5UInt8VGxK10Foundation15ContiguousBytesRzAJ12DataProtocolRzlF", - "moduleName": "nfclib", - "genericSig": "<τ_0_0 where τ_0_0 : Foundation.ContiguousBytes, τ_0_0 : Foundation.DataProtocol>", - "sugared_genericSig": "", - "isOpen": true, - "throwing": true, - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Class", - "usr": "s:6nfclib3AESC3CBCC", - "mangledName": "$s6nfclib3AESC3CBCC", - "moduleName": "nfclib", - "isOpen": true, - "declAttributes": [ - "AccessControl" - ], - "conformances": [ - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "CMAC", - "printedName": "CMAC", - "children": [ - { - "kind": "Var", - "name": "RBytes", - "printedName": "RBytes", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.UInt8]", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "usr": "s:Sa" - } - ], - "declKind": "Var", - "usr": "s:6nfclib3AESC4CMACC6RBytesSays5UInt8VGvpZ", - "mangledName": "$s6nfclib3AESC4CMACC6RBytesSays5UInt8VGvpZ", - "moduleName": "nfclib", - "static": true, - "declAttributes": [ - "HasInitialValue", - "Final", - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.UInt8]", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "usr": "s:Sa" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib3AESC4CMACC6RBytesSays5UInt8VGvgZ", - "mangledName": "$s6nfclib3AESC4CMACC6RBytesSays5UInt8VGvgZ", - "moduleName": "nfclib", - "static": true, - "implicit": true, - "declAttributes": [ - "Transparent", - "Final" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "cipher", - "printedName": "cipher", - "children": [ - { - "kind": "TypeNominal", - "name": "CBC", - "printedName": "nfclib.AES.CBC", - "usr": "s:6nfclib3AESC3CBCC" - } - ], - "declKind": "Var", - "usr": "s:6nfclib3AESC4CMACC6cipherAC3CBCCvp", - "mangledName": "$s6nfclib3AESC4CMACC6cipherAC3CBCCvp", - "moduleName": "nfclib", - "declAttributes": [ - "Final", - "HasStorage" - ], - "fixedbinaryorder": 0, - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "CBC", - "printedName": "nfclib.AES.CBC", - "usr": "s:6nfclib3AESC3CBCC" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib3AESC4CMACC6cipherAC3CBCCvg", - "mangledName": "$s6nfclib3AESC4CMACC6cipherAC3CBCCvg", - "moduleName": "nfclib", - "implicit": true, - "declAttributes": [ - "Transparent", - "Final" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "k1Bytes", - "printedName": "k1Bytes", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.UInt8]", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "usr": "s:Sa" - } - ], - "declKind": "Var", - "usr": "s:6nfclib3AESC4CMACC7k1BytesSays5UInt8VGvp", - "mangledName": "$s6nfclib3AESC4CMACC7k1BytesSays5UInt8VGvp", - "moduleName": "nfclib", - "declAttributes": [ - "Final", - "HasStorage" - ], - "fixedbinaryorder": 1, - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.UInt8]", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "usr": "s:Sa" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib3AESC4CMACC7k1BytesSays5UInt8VGvg", - "mangledName": "$s6nfclib3AESC4CMACC7k1BytesSays5UInt8VGvg", - "moduleName": "nfclib", - "implicit": true, - "declAttributes": [ - "Transparent", - "Final" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "k2Bytes", - "printedName": "k2Bytes", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.UInt8]", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "usr": "s:Sa" - } - ], - "declKind": "Var", - "usr": "s:6nfclib3AESC4CMACC7k2BytesSays5UInt8VGvp", - "mangledName": "$s6nfclib3AESC4CMACC7k2BytesSays5UInt8VGvp", - "moduleName": "nfclib", - "declAttributes": [ - "Final", - "HasStorage" - ], - "fixedbinaryorder": 2, - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.UInt8]", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "usr": "s:Sa" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib3AESC4CMACC7k2BytesSays5UInt8VGvg", - "mangledName": "$s6nfclib3AESC4CMACC7k2BytesSays5UInt8VGvg", - "moduleName": "nfclib", - "implicit": true, - "declAttributes": [ - "Transparent", - "Final" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(key:)", - "children": [ - { - "kind": "TypeNominal", - "name": "CMAC", - "printedName": "nfclib.AES.CMAC", - "usr": "s:6nfclib3AESC4CMACC" - }, - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "τ_0_0" - } - ], - "declKind": "Constructor", - "usr": "s:6nfclib3AESC4CMACC3keyAEx_tKc10Foundation15ContiguousBytesRzAG12DataProtocolRzlufc", - "mangledName": "$s6nfclib3AESC4CMACC3keyAEx_tKc10Foundation15ContiguousBytesRzAG12DataProtocolRzlufc", - "moduleName": "nfclib", - "genericSig": "<τ_0_0 where τ_0_0 : Foundation.ContiguousBytes, τ_0_0 : Foundation.DataProtocol>", - "sugared_genericSig": "", - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "authenticate", - "printedName": "authenticate(bytes:count:)", - "children": [ - { - "kind": "TypeNominal", - "name": "ArraySlice", - "printedName": "Swift.ArraySlice", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "usr": "s:s10ArraySliceV" - }, - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "τ_0_0" - }, - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "hasDefaultArg": true, - "usr": "s:Si" - } - ], - "declKind": "Func", - "usr": "s:6nfclib3AESC4CMACC12authenticate5bytes5counts10ArraySliceVys5UInt8VGx_SitK10Foundation15ContiguousBytesRzAN12DataProtocolRzSi5IndexSlRtzlF", - "mangledName": "$s6nfclib3AESC4CMACC12authenticate5bytes5counts10ArraySliceVys5UInt8VGx_SitK10Foundation15ContiguousBytesRzAN12DataProtocolRzSi5IndexSlRtzlF", - "moduleName": "nfclib", - "genericSig": "<τ_0_0 where τ_0_0 : Foundation.ContiguousBytes, τ_0_0 : Foundation.DataProtocol, τ_0_0.Index == Swift.Int>", - "sugared_genericSig": "", - "isOpen": true, - "throwing": true, - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Class", - "usr": "s:6nfclib3AESC4CMACC", - "mangledName": "$s6nfclib3AESC4CMACC", - "moduleName": "nfclib", - "isOpen": true, - "declAttributes": [ - "AccessControl" - ], - "conformances": [ - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init()", - "children": [ - { - "kind": "TypeNominal", - "name": "AES", - "printedName": "nfclib.AES", - "usr": "s:6nfclib3AESC" - } - ], - "declKind": "Constructor", - "usr": "s:6nfclib3AESCACycfc", - "mangledName": "$s6nfclib3AESCACycfc", - "moduleName": "nfclib", - "implicit": true, - "init_kind": "Designated" - } - ], - "declKind": "Class", - "usr": "s:6nfclib3AESC", - "mangledName": "$s6nfclib3AESC", - "moduleName": "nfclib", - "isOpen": true, - "conformances": [ - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "Import", - "name": "Foundation", - "printedName": "Foundation", - "declKind": "Import", - "moduleName": "nfclib", - "declAttributes": [ - "RawDocComment" - ] - }, - { - "kind": "Import", - "name": "CommonCrypto", - "printedName": "CommonCrypto", - "declKind": "Import", - "moduleName": "nfclib" - }, - { - "kind": "TypeDecl", - "name": "HashLength", - "printedName": "HashLength", - "children": [ - { - "kind": "Var", - "name": "bits256", - "printedName": "bits256", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.HashLength.Type) -> nfclib.HashLength", - "children": [ - { - "kind": "TypeNominal", - "name": "HashLength", - "printedName": "nfclib.HashLength", - "usr": "s:6nfclib10HashLengthO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.HashLength.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "HashLength", - "printedName": "nfclib.HashLength", - "usr": "s:6nfclib10HashLengthO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib10HashLengthO7bits256yA2CmF", - "mangledName": "$s6nfclib10HashLengthO7bits256yA2CmF", - "moduleName": "nfclib", - "fixedbinaryorder": 0 - }, - { - "kind": "Var", - "name": "bits384", - "printedName": "bits384", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.HashLength.Type) -> nfclib.HashLength", - "children": [ - { - "kind": "TypeNominal", - "name": "HashLength", - "printedName": "nfclib.HashLength", - "usr": "s:6nfclib10HashLengthO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.HashLength.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "HashLength", - "printedName": "nfclib.HashLength", - "usr": "s:6nfclib10HashLengthO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib10HashLengthO7bits384yA2CmF", - "mangledName": "$s6nfclib10HashLengthO7bits384yA2CmF", - "moduleName": "nfclib", - "fixedbinaryorder": 1 - }, - { - "kind": "Var", - "name": "bits512", - "printedName": "bits512", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.HashLength.Type) -> nfclib.HashLength", - "children": [ - { - "kind": "TypeNominal", - "name": "HashLength", - "printedName": "nfclib.HashLength", - "usr": "s:6nfclib10HashLengthO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.HashLength.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "HashLength", - "printedName": "nfclib.HashLength", - "usr": "s:6nfclib10HashLengthO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib10HashLengthO7bits512yA2CmF", - "mangledName": "$s6nfclib10HashLengthO7bits512yA2CmF", - "moduleName": "nfclib", - "fixedbinaryorder": 2 - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(rawValue:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "nfclib.HashLength?", - "children": [ - { - "kind": "TypeNominal", - "name": "HashLength", - "printedName": "nfclib.HashLength", - "usr": "s:6nfclib10HashLengthO" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Constructor", - "usr": "s:6nfclib10HashLengthO8rawValueACSgSi_tcfc", - "mangledName": "$s6nfclib10HashLengthO8rawValueACSgSi_tcfc", - "moduleName": "nfclib", - "implicit": true, - "init_kind": "Designated" - }, - { - "kind": "Var", - "name": "rawValue", - "printedName": "rawValue", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Var", - "usr": "s:6nfclib10HashLengthO8rawValueSivp", - "mangledName": "$s6nfclib10HashLengthO8rawValueSivp", - "moduleName": "nfclib", - "implicit": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib10HashLengthO8rawValueSivg", - "mangledName": "$s6nfclib10HashLengthO8rawValueSivg", - "moduleName": "nfclib", - "implicit": true, - "accessorKind": "get" - } - ] - } - ], - "declKind": "Enum", - "usr": "s:6nfclib10HashLengthO", - "mangledName": "$s6nfclib10HashLengthO", - "moduleName": "nfclib", - "enumRawTypeName": "Int", - "isEnumExhaustive": true, - "conformances": [ - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Equatable", - "printedName": "Equatable", - "usr": "s:SQ", - "mangledName": "$sSQ" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - }, - { - "kind": "Conformance", - "name": "Hashable", - "printedName": "Hashable", - "usr": "s:SH", - "mangledName": "$sSH" - }, - { - "kind": "Conformance", - "name": "RawRepresentable", - "printedName": "RawRepresentable", - "children": [ - { - "kind": "TypeWitness", - "name": "RawValue", - "printedName": "RawValue", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ] - } - ], - "usr": "s:SY", - "mangledName": "$sSY" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "BitwiseCopyable", - "printedName": "BitwiseCopyable", - "usr": "s:s15BitwiseCopyableP", - "mangledName": "$ss15BitwiseCopyableP" - } - ] - }, - { - "kind": "Function", - "name": "hashLengthFromInt", - "printedName": "hashLengthFromInt(_:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "nfclib.HashLength?", - "children": [ - { - "kind": "TypeNominal", - "name": "HashLength", - "printedName": "nfclib.HashLength", - "usr": "s:6nfclib10HashLengthO" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Func", - "usr": "s:6nfclib17hashLengthFromIntyAA04HashC0OSgSiF", - "mangledName": "$s6nfclib17hashLengthFromIntyAA04HashC0OSgSiF", - "moduleName": "nfclib", - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "sha", - "printedName": "sha(hashLength:data:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Foundation.Data?", - "children": [ - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "HashLength", - "printedName": "nfclib.HashLength", - "usr": "s:6nfclib10HashLengthO" - }, - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Func", - "usr": "s:6nfclib3sha10hashLength4data10Foundation4DataVSgAA04HashD0O_AGtF", - "mangledName": "$s6nfclib3sha10hashLength4data10Foundation4DataVSgAA04HashD0O_AGtF", - "moduleName": "nfclib", - "funcSelfKind": "NonMutating" - }, - { - "kind": "TypeDecl", - "name": "IdCardError", - "printedName": "IdCardError", - "children": [ - { - "kind": "Var", - "name": "wrongCAN", - "printedName": "wrongCAN", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.IdCardError.Type) -> nfclib.IdCardError", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardError", - "printedName": "nfclib.IdCardError", - "usr": "s:6nfclib11IdCardErrorO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.IdCardError.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardError", - "printedName": "nfclib.IdCardError", - "usr": "s:6nfclib11IdCardErrorO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib11IdCardErrorO8wrongCANyA2CmF", - "mangledName": "$s6nfclib11IdCardErrorO8wrongCANyA2CmF", - "moduleName": "nfclib" - }, - { - "kind": "Var", - "name": "wrongPIN", - "printedName": "wrongPIN", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.IdCardError.Type) -> (Swift.Int) -> nfclib.IdCardError", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(Swift.Int) -> nfclib.IdCardError", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardError", - "printedName": "nfclib.IdCardError", - "usr": "s:6nfclib11IdCardErrorO" - }, - { - "kind": "TypeNominal", - "name": "Tuple", - "printedName": "(triesLeft: Swift.Int)", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ] - } - ] - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.IdCardError.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardError", - "printedName": "nfclib.IdCardError", - "usr": "s:6nfclib11IdCardErrorO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib11IdCardErrorO8wrongPINyACSi_tcACmF", - "mangledName": "$s6nfclib11IdCardErrorO8wrongPINyACSi_tcACmF", - "moduleName": "nfclib" - }, - { - "kind": "Var", - "name": "invalidNewPIN", - "printedName": "invalidNewPIN", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.IdCardError.Type) -> nfclib.IdCardError", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardError", - "printedName": "nfclib.IdCardError", - "usr": "s:6nfclib11IdCardErrorO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.IdCardError.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardError", - "printedName": "nfclib.IdCardError", - "usr": "s:6nfclib11IdCardErrorO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib11IdCardErrorO13invalidNewPINyA2CmF", - "mangledName": "$s6nfclib11IdCardErrorO13invalidNewPINyA2CmF", - "moduleName": "nfclib" - }, - { - "kind": "Var", - "name": "sessionError", - "printedName": "sessionError", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.IdCardError.Type) -> nfclib.IdCardError", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardError", - "printedName": "nfclib.IdCardError", - "usr": "s:6nfclib11IdCardErrorO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.IdCardError.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardError", - "printedName": "nfclib.IdCardError", - "usr": "s:6nfclib11IdCardErrorO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib11IdCardErrorO07sessionD0yA2CmF", - "mangledName": "$s6nfclib11IdCardErrorO07sessionD0yA2CmF", - "moduleName": "nfclib" - } - ], - "declKind": "Enum", - "usr": "s:6nfclib11IdCardErrorO", - "mangledName": "$s6nfclib11IdCardErrorO", - "moduleName": "nfclib", - "declAttributes": [ - "AccessControl", - "RawDocComment" - ], - "conformances": [ - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Error", - "printedName": "Error", - "usr": "s:s5ErrorP", - "mangledName": "$ss5ErrorP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "IdCardInternalError", - "printedName": "IdCardInternalError", - "children": [ - { - "kind": "Var", - "name": "missingRESTag", - "printedName": "missingRESTag", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.IdCardInternalError.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib19IdCardInternalErrorO13missingRESTagyA2CmF", - "mangledName": "$s6nfclib19IdCardInternalErrorO13missingRESTagyA2CmF", - "moduleName": "nfclib" - }, - { - "kind": "Var", - "name": "missingMACTag", - "printedName": "missingMACTag", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.IdCardInternalError.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib19IdCardInternalErrorO13missingMACTagyA2CmF", - "mangledName": "$s6nfclib19IdCardInternalErrorO13missingMACTagyA2CmF", - "moduleName": "nfclib" - }, - { - "kind": "Var", - "name": "invalidMACValue", - "printedName": "invalidMACValue", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.IdCardInternalError.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib19IdCardInternalErrorO15invalidMACValueyA2CmF", - "mangledName": "$s6nfclib19IdCardInternalErrorO15invalidMACValueyA2CmF", - "moduleName": "nfclib" - }, - { - "kind": "Var", - "name": "failedReadingField", - "printedName": "failedReadingField", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.IdCardInternalError.Type) -> (nfclib.CardField) -> nfclib.IdCardInternalError", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.CardField) -> nfclib.IdCardInternalError", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - }, - { - "kind": "TypeNominal", - "name": "CardField", - "printedName": "nfclib.CardField", - "usr": "s:6nfclib9CardFieldO" - } - ] - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.IdCardInternalError.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib19IdCardInternalErrorO18failedReadingFieldyAcA0cH0OcACmF", - "mangledName": "$s6nfclib19IdCardInternalErrorO18failedReadingFieldyAcA0cH0OcACmF", - "moduleName": "nfclib" - }, - { - "kind": "Var", - "name": "hexConversionFailed", - "printedName": "hexConversionFailed", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.IdCardInternalError.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib19IdCardInternalErrorO19hexConversionFailedyA2CmF", - "mangledName": "$s6nfclib19IdCardInternalErrorO19hexConversionFailedyA2CmF", - "moduleName": "nfclib" - }, - { - "kind": "Var", - "name": "AESCBCError", - "printedName": "AESCBCError", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.IdCardInternalError.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib19IdCardInternalErrorO11AESCBCErroryA2CmF", - "mangledName": "$s6nfclib19IdCardInternalErrorO11AESCBCErroryA2CmF", - "moduleName": "nfclib" - }, - { - "kind": "Var", - "name": "sendCommandFailed", - "printedName": "sendCommandFailed", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.IdCardInternalError.Type) -> (Swift.String) -> nfclib.IdCardInternalError", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(Swift.String) -> nfclib.IdCardInternalError", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - }, - { - "kind": "TypeNominal", - "name": "Tuple", - "printedName": "(message: Swift.String)", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ] - } - ] - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.IdCardInternalError.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib19IdCardInternalErrorO17sendCommandFailedyACSS_tcACmF", - "mangledName": "$s6nfclib19IdCardInternalErrorO17sendCommandFailedyACSS_tcACmF", - "moduleName": "nfclib" - }, - { - "kind": "Var", - "name": "invalidResponse", - "printedName": "invalidResponse", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.IdCardInternalError.Type) -> (Swift.String) -> nfclib.IdCardInternalError", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(Swift.String) -> nfclib.IdCardInternalError", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - }, - { - "kind": "TypeNominal", - "name": "Tuple", - "printedName": "(message: Swift.String)", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ] - } - ] - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.IdCardInternalError.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib19IdCardInternalErrorO15invalidResponseyACSS_tcACmF", - "mangledName": "$s6nfclib19IdCardInternalErrorO15invalidResponseyACSS_tcACmF", - "moduleName": "nfclib" - }, - { - "kind": "Var", - "name": "swError", - "printedName": "swError", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.IdCardInternalError.Type) -> (Swift.UInt16) -> nfclib.IdCardInternalError", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(Swift.UInt16) -> nfclib.IdCardInternalError", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - }, - { - "kind": "TypeNominal", - "name": "UInt16", - "printedName": "Swift.UInt16", - "usr": "s:s6UInt16V" - } - ] - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.IdCardInternalError.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib19IdCardInternalErrorO02swE0yACs6UInt16VcACmF", - "mangledName": "$s6nfclib19IdCardInternalErrorO02swE0yACs6UInt16VcACmF", - "moduleName": "nfclib" - }, - { - "kind": "Var", - "name": "pinVerificationFailed", - "printedName": "pinVerificationFailed", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.IdCardInternalError.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib19IdCardInternalErrorO21pinVerificationFailedyA2CmF", - "mangledName": "$s6nfclib19IdCardInternalErrorO21pinVerificationFailedyA2CmF", - "moduleName": "nfclib" - }, - { - "kind": "Var", - "name": "remainingPinRetryCount", - "printedName": "remainingPinRetryCount", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.IdCardInternalError.Type) -> (Swift.Int) -> nfclib.IdCardInternalError", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(Swift.Int) -> nfclib.IdCardInternalError", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - }, - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ] - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.IdCardInternalError.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib19IdCardInternalErrorO22remainingPinRetryCountyACSicACmF", - "mangledName": "$s6nfclib19IdCardInternalErrorO22remainingPinRetryCountyACSicACmF", - "moduleName": "nfclib" - }, - { - "kind": "Var", - "name": "invalidNewPin", - "printedName": "invalidNewPin", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.IdCardInternalError.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib19IdCardInternalErrorO13invalidNewPinyA2CmF", - "mangledName": "$s6nfclib19IdCardInternalErrorO13invalidNewPinyA2CmF", - "moduleName": "nfclib" - }, - { - "kind": "Var", - "name": "notSupportedCodeType", - "printedName": "notSupportedCodeType", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.IdCardInternalError.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib19IdCardInternalErrorO20notSupportedCodeTypeyA2CmF", - "mangledName": "$s6nfclib19IdCardInternalErrorO20notSupportedCodeTypeyA2CmF", - "moduleName": "nfclib" - }, - { - "kind": "Var", - "name": "dataPaddingError", - "printedName": "dataPaddingError", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.IdCardInternalError.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib19IdCardInternalErrorO011dataPaddingE0yA2CmF", - "mangledName": "$s6nfclib19IdCardInternalErrorO011dataPaddingE0yA2CmF", - "moduleName": "nfclib" - }, - { - "kind": "Var", - "name": "invalidAPDU", - "printedName": "invalidAPDU", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.IdCardInternalError.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib19IdCardInternalErrorO11invalidAPDUyA2CmF", - "mangledName": "$s6nfclib19IdCardInternalErrorO11invalidAPDUyA2CmF", - "moduleName": "nfclib" - }, - { - "kind": "Var", - "name": "authenticationFailed", - "printedName": "authenticationFailed", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.IdCardInternalError.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib19IdCardInternalErrorO20authenticationFailedyA2CmF", - "mangledName": "$s6nfclib19IdCardInternalErrorO20authenticationFailedyA2CmF", - "moduleName": "nfclib" - }, - { - "kind": "Var", - "name": "canAuthenticationFailed", - "printedName": "canAuthenticationFailed", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.IdCardInternalError.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib19IdCardInternalErrorO23canAuthenticationFailedyA2CmF", - "mangledName": "$s6nfclib19IdCardInternalErrorO23canAuthenticationFailedyA2CmF", - "moduleName": "nfclib" - }, - { - "kind": "Var", - "name": "invalidTag", - "printedName": "invalidTag", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.IdCardInternalError.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib19IdCardInternalErrorO10invalidTagyA2CmF", - "mangledName": "$s6nfclib19IdCardInternalErrorO10invalidTagyA2CmF", - "moduleName": "nfclib" - }, - { - "kind": "Var", - "name": "cardNotSupported", - "printedName": "cardNotSupported", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.IdCardInternalError.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib19IdCardInternalErrorO16cardNotSupportedyA2CmF", - "mangledName": "$s6nfclib19IdCardInternalErrorO16cardNotSupportedyA2CmF", - "moduleName": "nfclib" - }, - { - "kind": "Var", - "name": "nfcNotSupported", - "printedName": "nfcNotSupported", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.IdCardInternalError.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib19IdCardInternalErrorO15nfcNotSupportedyA2CmF", - "mangledName": "$s6nfclib19IdCardInternalErrorO15nfcNotSupportedyA2CmF", - "moduleName": "nfclib" - }, - { - "kind": "Var", - "name": "connectionFailed", - "printedName": "connectionFailed", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.IdCardInternalError.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib19IdCardInternalErrorO16connectionFailedyA2CmF", - "mangledName": "$s6nfclib19IdCardInternalErrorO16connectionFailedyA2CmF", - "moduleName": "nfclib" - }, - { - "kind": "Var", - "name": "multipleTagsDetected", - "printedName": "multipleTagsDetected", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.IdCardInternalError.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib19IdCardInternalErrorO20multipleTagsDetectedyA2CmF", - "mangledName": "$s6nfclib19IdCardInternalErrorO20multipleTagsDetectedyA2CmF", - "moduleName": "nfclib" - }, - { - "kind": "Var", - "name": "couldNotVerifyChipsMAC", - "printedName": "couldNotVerifyChipsMAC", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.IdCardInternalError.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib19IdCardInternalErrorO22couldNotVerifyChipsMACyA2CmF", - "mangledName": "$s6nfclib19IdCardInternalErrorO22couldNotVerifyChipsMACyA2CmF", - "moduleName": "nfclib" - }, - { - "kind": "Var", - "name": "cancelledByUser", - "printedName": "cancelledByUser", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.IdCardInternalError.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib19IdCardInternalErrorO15cancelledByUseryA2CmF", - "mangledName": "$s6nfclib19IdCardInternalErrorO15cancelledByUseryA2CmF", - "moduleName": "nfclib" - }, - { - "kind": "Var", - "name": "sessionInvalidated", - "printedName": "sessionInvalidated", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.IdCardInternalError.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib19IdCardInternalErrorO18sessionInvalidatedyA2CmF", - "mangledName": "$s6nfclib19IdCardInternalErrorO18sessionInvalidatedyA2CmF", - "moduleName": "nfclib" - }, - { - "kind": "Var", - "name": "readerProcessFailed", - "printedName": "readerProcessFailed", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.IdCardInternalError.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib19IdCardInternalErrorO19readerProcessFailedyA2CmF", - "mangledName": "$s6nfclib19IdCardInternalErrorO19readerProcessFailedyA2CmF", - "moduleName": "nfclib" - }, - { - "kind": "Var", - "name": "failedToRemovePadding", - "printedName": "failedToRemovePadding", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.IdCardInternalError.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib19IdCardInternalErrorO21failedToRemovePaddingyA2CmF", - "mangledName": "$s6nfclib19IdCardInternalErrorO21failedToRemovePaddingyA2CmF", - "moduleName": "nfclib" - }, - { - "kind": "Var", - "name": "notSupportedAlgorithm", - "printedName": "notSupportedAlgorithm", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.IdCardInternalError.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardInternalError", - "printedName": "nfclib.IdCardInternalError", - "usr": "s:6nfclib19IdCardInternalErrorO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib19IdCardInternalErrorO21notSupportedAlgorithmyA2CmF", - "mangledName": "$s6nfclib19IdCardInternalErrorO21notSupportedAlgorithmyA2CmF", - "moduleName": "nfclib" - }, - { - "kind": "Function", - "name": "getIdCardError", - "printedName": "getIdCardError()", - "children": [ - { - "kind": "TypeNominal", - "name": "IdCardError", - "printedName": "nfclib.IdCardError", - "usr": "s:6nfclib11IdCardErrorO" - } - ], - "declKind": "Func", - "usr": "s:6nfclib19IdCardInternalErrorO03getbcE0AA0bcE0OyF", - "mangledName": "$s6nfclib19IdCardInternalErrorO03getbcE0AA0bcE0OyF", - "moduleName": "nfclib", - "declAttributes": [ - "AccessControl" - ], - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Enum", - "usr": "s:6nfclib19IdCardInternalErrorO", - "mangledName": "$s6nfclib19IdCardInternalErrorO", - "moduleName": "nfclib", - "declAttributes": [ - "AccessControl" - ], - "conformances": [ - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Error", - "printedName": "Error", - "usr": "s:s5ErrorP", - "mangledName": "$ss5ErrorP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "PinError", - "printedName": "PinError", - "children": [ - { - "kind": "Var", - "name": "msg", - "printedName": "msg", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:6nfclib8PinErrorV3msgSSvp", - "mangledName": "$s6nfclib8PinErrorV3msgSSvp", - "moduleName": "nfclib", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib8PinErrorV3msgSSvg", - "mangledName": "$s6nfclib8PinErrorV3msgSSvg", - "moduleName": "nfclib", - "implicit": true, - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "remainingCount", - "printedName": "remainingCount", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Var", - "usr": "s:6nfclib8PinErrorV14remainingCountSivp", - "mangledName": "$s6nfclib8PinErrorV14remainingCountSivp", - "moduleName": "nfclib", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib8PinErrorV14remainingCountSivg", - "mangledName": "$s6nfclib8PinErrorV14remainingCountSivg", - "moduleName": "nfclib", - "implicit": true, - "accessorKind": "get" - } - ] - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(msg:remainingCount:)", - "children": [ - { - "kind": "TypeNominal", - "name": "PinError", - "printedName": "nfclib.PinError", - "usr": "s:6nfclib8PinErrorV" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Constructor", - "usr": "s:6nfclib8PinErrorV3msg14remainingCountACSS_Sitcfc", - "mangledName": "$s6nfclib8PinErrorV3msg14remainingCountACSS_Sitcfc", - "moduleName": "nfclib", - "implicit": true, - "init_kind": "Designated" - } - ], - "declKind": "Struct", - "usr": "s:6nfclib8PinErrorV", - "mangledName": "$s6nfclib8PinErrorV", - "moduleName": "nfclib", - "declAttributes": [ - "AccessControl" - ], - "conformances": [ - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Error", - "printedName": "Error", - "usr": "s:s5ErrorP", - "mangledName": "$ss5ErrorP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "CardInfo", - "printedName": "CardInfo", - "children": [ - { - "kind": "Var", - "name": "givenName", - "printedName": "givenName", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:6nfclib8CardInfoV9givenNameSSvp", - "mangledName": "$s6nfclib8CardInfoV9givenNameSSvp", - "moduleName": "nfclib", - "declAttributes": [ - "HasStorage", - "AccessControl" - ], - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib8CardInfoV9givenNameSSvg", - "mangledName": "$s6nfclib8CardInfoV9givenNameSSvg", - "moduleName": "nfclib", - "implicit": true, - "accessorKind": "get" - }, - { - "kind": "Accessor", - "name": "Set", - "printedName": "Set()", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib8CardInfoV9givenNameSSvs", - "mangledName": "$s6nfclib8CardInfoV9givenNameSSvs", - "moduleName": "nfclib", - "implicit": true, - "accessorKind": "set" - }, - { - "kind": "Accessor", - "name": "Modify", - "printedName": "Modify()", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib8CardInfoV9givenNameSSvM", - "mangledName": "$s6nfclib8CardInfoV9givenNameSSvM", - "moduleName": "nfclib", - "implicit": true, - "accessorKind": "_modify" - } - ] - }, - { - "kind": "Var", - "name": "surname", - "printedName": "surname", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:6nfclib8CardInfoV7surnameSSvp", - "mangledName": "$s6nfclib8CardInfoV7surnameSSvp", - "moduleName": "nfclib", - "declAttributes": [ - "HasStorage", - "AccessControl" - ], - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib8CardInfoV7surnameSSvg", - "mangledName": "$s6nfclib8CardInfoV7surnameSSvg", - "moduleName": "nfclib", - "implicit": true, - "accessorKind": "get" - }, - { - "kind": "Accessor", - "name": "Set", - "printedName": "Set()", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib8CardInfoV7surnameSSvs", - "mangledName": "$s6nfclib8CardInfoV7surnameSSvs", - "moduleName": "nfclib", - "implicit": true, - "accessorKind": "set" - }, - { - "kind": "Accessor", - "name": "Modify", - "printedName": "Modify()", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", "children": [ { "kind": "TypeNominal", - "name": "Void", - "printedName": "()" + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "nfclib.IdCardInternalError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" + } + ] } - ], - "declKind": "Accessor", - "usr": "s:6nfclib8CardInfoV7surnameSSvM", - "mangledName": "$s6nfclib8CardInfoV7surnameSSvM", - "moduleName": "nfclib", - "implicit": true, - "accessorKind": "_modify" + ] } - ] + ], + "declKind": "EnumElement", + "usr": "s:6nfclib19IdCardInternalErrorO15invalidMACValueyA2CmF", + "mangledName": "$s6nfclib19IdCardInternalErrorO15invalidMACValueyA2CmF", + "moduleName": "nfclib" }, { "kind": "Var", - "name": "personalCode", - "printedName": "personalCode", + "name": "failedReadingField", + "printedName": "failedReadingField", "children": [ { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:6nfclib8CardInfoV12personalCodeSSvp", - "mangledName": "$s6nfclib8CardInfoV12personalCodeSSvp", - "moduleName": "nfclib", - "declAttributes": [ - "HasStorage", - "AccessControl" - ], - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(nfclib.IdCardInternalError.Type) -> (nfclib.CardField) -> nfclib.IdCardInternalError", "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(nfclib.CardField) -> nfclib.IdCardInternalError", + "children": [ + { + "kind": "TypeNominal", + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" + }, + { + "kind": "TypeNominal", + "name": "CardField", + "printedName": "nfclib.CardField", + "usr": "s:6nfclib9CardFieldO" + } + ] + }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Metatype", + "printedName": "nfclib.IdCardInternalError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" + } + ] } - ], - "declKind": "Accessor", - "usr": "s:6nfclib8CardInfoV12personalCodeSSvg", - "mangledName": "$s6nfclib8CardInfoV12personalCodeSSvg", - "moduleName": "nfclib", - "implicit": true, - "accessorKind": "get" - }, + ] + } + ], + "declKind": "EnumElement", + "usr": "s:6nfclib19IdCardInternalErrorO18failedReadingFieldyAcA0cH0OcACmF", + "mangledName": "$s6nfclib19IdCardInternalErrorO18failedReadingFieldyAcA0cH0OcACmF", + "moduleName": "nfclib" + }, + { + "kind": "Var", + "name": "hexConversionFailed", + "printedName": "hexConversionFailed", + "children": [ { - "kind": "Accessor", - "name": "Set", - "printedName": "Set()", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", "children": [ { "kind": "TypeNominal", - "name": "Void", - "printedName": "()" + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Metatype", + "printedName": "nfclib.IdCardInternalError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" + } + ] } - ], - "declKind": "Accessor", - "usr": "s:6nfclib8CardInfoV12personalCodeSSvs", - "mangledName": "$s6nfclib8CardInfoV12personalCodeSSvs", - "moduleName": "nfclib", - "implicit": true, - "accessorKind": "set" - }, + ] + } + ], + "declKind": "EnumElement", + "usr": "s:6nfclib19IdCardInternalErrorO19hexConversionFailedyA2CmF", + "mangledName": "$s6nfclib19IdCardInternalErrorO19hexConversionFailedyA2CmF", + "moduleName": "nfclib" + }, + { + "kind": "Var", + "name": "AESCBCError", + "printedName": "AESCBCError", + "children": [ { - "kind": "Accessor", - "name": "Modify", - "printedName": "Modify()", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", "children": [ { "kind": "TypeNominal", - "name": "Void", - "printedName": "()" + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "nfclib.IdCardInternalError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" + } + ] } - ], - "declKind": "Accessor", - "usr": "s:6nfclib8CardInfoV12personalCodeSSvM", - "mangledName": "$s6nfclib8CardInfoV12personalCodeSSvM", - "moduleName": "nfclib", - "implicit": true, - "accessorKind": "_modify" + ] } - ] + ], + "declKind": "EnumElement", + "usr": "s:6nfclib19IdCardInternalErrorO11AESCBCErroryA2CmF", + "mangledName": "$s6nfclib19IdCardInternalErrorO11AESCBCErroryA2CmF", + "moduleName": "nfclib" }, { "kind": "Var", - "name": "citizenship", - "printedName": "citizenship", + "name": "sendCommandFailed", + "printedName": "sendCommandFailed", "children": [ { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:6nfclib8CardInfoV11citizenshipSSvp", - "mangledName": "$s6nfclib8CardInfoV11citizenshipSSvp", - "moduleName": "nfclib", - "declAttributes": [ - "HasStorage", - "AccessControl" - ], - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(nfclib.IdCardInternalError.Type) -> (Swift.String) -> nfclib.IdCardInternalError", "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.String) -> nfclib.IdCardInternalError", + "children": [ + { + "kind": "TypeNominal", + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" + }, + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(message: Swift.String)", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ] + }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Metatype", + "printedName": "nfclib.IdCardInternalError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" + } + ] } - ], - "declKind": "Accessor", - "usr": "s:6nfclib8CardInfoV11citizenshipSSvg", - "mangledName": "$s6nfclib8CardInfoV11citizenshipSSvg", - "moduleName": "nfclib", - "implicit": true, - "accessorKind": "get" - }, + ] + } + ], + "declKind": "EnumElement", + "usr": "s:6nfclib19IdCardInternalErrorO17sendCommandFailedyACSS_tcACmF", + "mangledName": "$s6nfclib19IdCardInternalErrorO17sendCommandFailedyACSS_tcACmF", + "moduleName": "nfclib" + }, + { + "kind": "Var", + "name": "invalidResponse", + "printedName": "invalidResponse", + "children": [ { - "kind": "Accessor", - "name": "Set", - "printedName": "Set()", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(nfclib.IdCardInternalError.Type) -> (Swift.String) -> nfclib.IdCardInternalError", "children": [ { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.String) -> nfclib.IdCardInternalError", + "children": [ + { + "kind": "TypeNominal", + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" + }, + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(message: Swift.String)", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ] }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib8CardInfoV11citizenshipSSvs", - "mangledName": "$s6nfclib8CardInfoV11citizenshipSSvs", - "moduleName": "nfclib", - "implicit": true, - "accessorKind": "set" - }, - { - "kind": "Accessor", - "name": "Modify", - "printedName": "Modify()", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" + "name": "Metatype", + "printedName": "nfclib.IdCardInternalError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" + } + ] } - ], - "declKind": "Accessor", - "usr": "s:6nfclib8CardInfoV11citizenshipSSvM", - "mangledName": "$s6nfclib8CardInfoV11citizenshipSSvM", - "moduleName": "nfclib", - "implicit": true, - "accessorKind": "_modify" + ] } - ] + ], + "declKind": "EnumElement", + "usr": "s:6nfclib19IdCardInternalErrorO15invalidResponseyACSS_tcACmF", + "mangledName": "$s6nfclib19IdCardInternalErrorO15invalidResponseyACSS_tcACmF", + "moduleName": "nfclib" }, { "kind": "Var", - "name": "documentNumber", - "printedName": "documentNumber", + "name": "swError", + "printedName": "swError", "children": [ { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:6nfclib8CardInfoV14documentNumberSSvp", - "mangledName": "$s6nfclib8CardInfoV14documentNumberSSvp", - "moduleName": "nfclib", - "declAttributes": [ - "HasStorage", - "AccessControl" - ], - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(nfclib.IdCardInternalError.Type) -> (Swift.UInt16) -> nfclib.IdCardInternalError", "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.UInt16) -> nfclib.IdCardInternalError", + "children": [ + { + "kind": "TypeNominal", + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" + }, + { + "kind": "TypeNominal", + "name": "UInt16", + "printedName": "Swift.UInt16", + "usr": "s:s6UInt16V" + } + ] + }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Metatype", + "printedName": "nfclib.IdCardInternalError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" + } + ] } - ], - "declKind": "Accessor", - "usr": "s:6nfclib8CardInfoV14documentNumberSSvg", - "mangledName": "$s6nfclib8CardInfoV14documentNumberSSvg", - "moduleName": "nfclib", - "implicit": true, - "accessorKind": "get" - }, + ] + } + ], + "declKind": "EnumElement", + "usr": "s:6nfclib19IdCardInternalErrorO02swE0yACs6UInt16VcACmF", + "mangledName": "$s6nfclib19IdCardInternalErrorO02swE0yACs6UInt16VcACmF", + "moduleName": "nfclib" + }, + { + "kind": "Var", + "name": "pinVerificationFailed", + "printedName": "pinVerificationFailed", + "children": [ { - "kind": "Accessor", - "name": "Set", - "printedName": "Set()", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", "children": [ { "kind": "TypeNominal", - "name": "Void", - "printedName": "()" + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Metatype", + "printedName": "nfclib.IdCardInternalError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" + } + ] } - ], - "declKind": "Accessor", - "usr": "s:6nfclib8CardInfoV14documentNumberSSvs", - "mangledName": "$s6nfclib8CardInfoV14documentNumberSSvs", - "moduleName": "nfclib", - "implicit": true, - "accessorKind": "set" - }, + ] + } + ], + "declKind": "EnumElement", + "usr": "s:6nfclib19IdCardInternalErrorO21pinVerificationFailedyA2CmF", + "mangledName": "$s6nfclib19IdCardInternalErrorO21pinVerificationFailedyA2CmF", + "moduleName": "nfclib" + }, + { + "kind": "Var", + "name": "remainingPinRetryCount", + "printedName": "remainingPinRetryCount", + "children": [ { - "kind": "Accessor", - "name": "Modify", - "printedName": "Modify()", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(nfclib.IdCardInternalError.Type) -> (Swift.Int) -> nfclib.IdCardInternalError", "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.Int) -> nfclib.IdCardInternalError", + "children": [ + { + "kind": "TypeNominal", + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" + }, + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + }, { "kind": "TypeNominal", - "name": "Void", - "printedName": "()" + "name": "Metatype", + "printedName": "nfclib.IdCardInternalError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" + } + ] } - ], - "declKind": "Accessor", - "usr": "s:6nfclib8CardInfoV14documentNumberSSvM", - "mangledName": "$s6nfclib8CardInfoV14documentNumberSSvM", - "moduleName": "nfclib", - "implicit": true, - "accessorKind": "_modify" + ] } - ] + ], + "declKind": "EnumElement", + "usr": "s:6nfclib19IdCardInternalErrorO22remainingPinRetryCountyACSicACmF", + "mangledName": "$s6nfclib19IdCardInternalErrorO22remainingPinRetryCountyACSicACmF", + "moduleName": "nfclib" }, { "kind": "Var", - "name": "dateOfExpiry", - "printedName": "dateOfExpiry", + "name": "invalidNewPin", + "printedName": "invalidNewPin", "children": [ { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:6nfclib8CardInfoV12dateOfExpirySSvp", - "mangledName": "$s6nfclib8CardInfoV12dateOfExpirySSvp", - "moduleName": "nfclib", - "declAttributes": [ - "HasStorage", - "AccessControl" - ], - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "nfclib.IdCardInternalError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" + } + ] } - ], - "declKind": "Accessor", - "usr": "s:6nfclib8CardInfoV12dateOfExpirySSvg", - "mangledName": "$s6nfclib8CardInfoV12dateOfExpirySSvg", - "moduleName": "nfclib", - "implicit": true, - "accessorKind": "get" - }, + ] + } + ], + "declKind": "EnumElement", + "usr": "s:6nfclib19IdCardInternalErrorO13invalidNewPinyA2CmF", + "mangledName": "$s6nfclib19IdCardInternalErrorO13invalidNewPinyA2CmF", + "moduleName": "nfclib" + }, + { + "kind": "Var", + "name": "notSupportedCodeType", + "printedName": "notSupportedCodeType", + "children": [ { - "kind": "Accessor", - "name": "Set", - "printedName": "Set()", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", "children": [ { "kind": "TypeNominal", - "name": "Void", - "printedName": "()" + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Metatype", + "printedName": "nfclib.IdCardInternalError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" + } + ] } - ], - "declKind": "Accessor", - "usr": "s:6nfclib8CardInfoV12dateOfExpirySSvs", - "mangledName": "$s6nfclib8CardInfoV12dateOfExpirySSvs", - "moduleName": "nfclib", - "implicit": true, - "accessorKind": "set" - }, + ] + } + ], + "declKind": "EnumElement", + "usr": "s:6nfclib19IdCardInternalErrorO20notSupportedCodeTypeyA2CmF", + "mangledName": "$s6nfclib19IdCardInternalErrorO20notSupportedCodeTypeyA2CmF", + "moduleName": "nfclib" + }, + { + "kind": "Var", + "name": "dataPaddingError", + "printedName": "dataPaddingError", + "children": [ { - "kind": "Accessor", - "name": "Modify", - "printedName": "Modify()", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", "children": [ { "kind": "TypeNominal", - "name": "Void", - "printedName": "()" + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "nfclib.IdCardInternalError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" + } + ] } - ], - "declKind": "Accessor", - "usr": "s:6nfclib8CardInfoV12dateOfExpirySSvM", - "mangledName": "$s6nfclib8CardInfoV12dateOfExpirySSvM", - "moduleName": "nfclib", - "implicit": true, - "accessorKind": "_modify" + ] } - ] + ], + "declKind": "EnumElement", + "usr": "s:6nfclib19IdCardInternalErrorO011dataPaddingE0yA2CmF", + "mangledName": "$s6nfclib19IdCardInternalErrorO011dataPaddingE0yA2CmF", + "moduleName": "nfclib" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(givenName:surname:personalCode:citizenship:documentNumber:dateOfExpiry:)", + "kind": "Var", + "name": "invalidAPDU", + "printedName": "invalidAPDU", "children": [ { - "kind": "TypeNominal", - "name": "CardInfo", - "printedName": "nfclib.CardInfo", - "usr": "s:6nfclib8CardInfoV" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "hasDefaultArg": true, - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "hasDefaultArg": true, - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "hasDefaultArg": true, - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "hasDefaultArg": true, - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "hasDefaultArg": true, - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "hasDefaultArg": true, - "usr": "s:SS" + "kind": "TypeFunc", + "name": "Function", + "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", + "children": [ + { + "kind": "TypeNominal", + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "nfclib.IdCardInternalError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" + } + ] + } + ] } ], - "declKind": "Constructor", - "usr": "s:6nfclib8CardInfoV9givenName7surname12personalCode11citizenship14documentNumber12dateOfExpiryACSS_S5Stcfc", - "mangledName": "$s6nfclib8CardInfoV9givenName7surname12personalCode11citizenship14documentNumber12dateOfExpiryACSS_S5Stcfc", - "moduleName": "nfclib", - "declAttributes": [ - "AccessControl" - ], - "init_kind": "Designated" + "declKind": "EnumElement", + "usr": "s:6nfclib19IdCardInternalErrorO11invalidAPDUyA2CmF", + "mangledName": "$s6nfclib19IdCardInternalErrorO11invalidAPDUyA2CmF", + "moduleName": "nfclib" }, { "kind": "Var", - "name": "formattedDescription", - "printedName": "formattedDescription", + "name": "authenticationFailed", + "printedName": "authenticationFailed", "children": [ { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:6nfclib8CardInfoV20formattedDescriptionSSvp", - "mangledName": "$s6nfclib8CardInfoV20formattedDescriptionSSvp", - "moduleName": "nfclib", - "declAttributes": [ - "AccessControl" - ], - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "nfclib.IdCardInternalError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" + } + ] } - ], - "declKind": "Accessor", - "usr": "s:6nfclib8CardInfoV20formattedDescriptionSSvg", - "mangledName": "$s6nfclib8CardInfoV20formattedDescriptionSSvg", - "moduleName": "nfclib", - "accessorKind": "get" + ] } - ] + ], + "declKind": "EnumElement", + "usr": "s:6nfclib19IdCardInternalErrorO20authenticationFailedyA2CmF", + "mangledName": "$s6nfclib19IdCardInternalErrorO20authenticationFailedyA2CmF", + "moduleName": "nfclib" }, { "kind": "Var", - "name": "hashValue", - "printedName": "hashValue", + "name": "canAuthenticationFailed", + "printedName": "canAuthenticationFailed", "children": [ { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Var", - "usr": "s:6nfclib8CardInfoV9hashValueSivp", - "mangledName": "$s6nfclib8CardInfoV9hashValueSivp", - "moduleName": "nfclib", - "implicit": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "nfclib.IdCardInternalError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" + } + ] } - ], - "declKind": "Accessor", - "usr": "s:6nfclib8CardInfoV9hashValueSivg", - "mangledName": "$s6nfclib8CardInfoV9hashValueSivg", - "moduleName": "nfclib", - "implicit": true, - "accessorKind": "get" - } - ] - }, - { - "kind": "Function", - "name": "hash", - "printedName": "hash(into:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "Hasher", - "printedName": "Swift.Hasher", - "paramValueOwnership": "InOut", - "usr": "s:s6HasherV" + ] } ], - "declKind": "Func", - "usr": "s:6nfclib8CardInfoV4hash4intoys6HasherVz_tF", - "mangledName": "$s6nfclib8CardInfoV4hash4intoys6HasherVz_tF", - "moduleName": "nfclib", - "implicit": true, - "funcSelfKind": "NonMutating" + "declKind": "EnumElement", + "usr": "s:6nfclib19IdCardInternalErrorO23canAuthenticationFailedyA2CmF", + "mangledName": "$s6nfclib19IdCardInternalErrorO23canAuthenticationFailedyA2CmF", + "moduleName": "nfclib" }, { - "kind": "Function", - "name": "==", - "printedName": "==(_:_:)", + "kind": "Var", + "name": "invalidTag", + "printedName": "invalidTag", "children": [ { - "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" - }, - { - "kind": "TypeNominal", - "name": "CardInfo", - "printedName": "nfclib.CardInfo", - "usr": "s:6nfclib8CardInfoV" - }, - { - "kind": "TypeNominal", - "name": "CardInfo", - "printedName": "nfclib.CardInfo", - "usr": "s:6nfclib8CardInfoV" + "kind": "TypeFunc", + "name": "Function", + "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", + "children": [ + { + "kind": "TypeNominal", + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "nfclib.IdCardInternalError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" + } + ] + } + ] } ], - "declKind": "Func", - "usr": "s:6nfclib8CardInfoV2eeoiySbAC_ACtFZ", - "mangledName": "$s6nfclib8CardInfoV2eeoiySbAC_ACtFZ", - "moduleName": "nfclib", - "static": true, - "implicit": true, - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Struct", - "usr": "s:6nfclib8CardInfoV", - "mangledName": "$s6nfclib8CardInfoV", - "moduleName": "nfclib", - "declAttributes": [ - "AccessControl", - "RawDocComment" - ], - "conformances": [ - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "Hashable", - "printedName": "Hashable", - "usr": "s:SH", - "mangledName": "$sSH" + "declKind": "EnumElement", + "usr": "s:6nfclib19IdCardInternalErrorO10invalidTagyA2CmF", + "mangledName": "$s6nfclib19IdCardInternalErrorO10invalidTagyA2CmF", + "moduleName": "nfclib" }, { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" + "kind": "Var", + "name": "cardNotSupported", + "printedName": "cardNotSupported", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", + "children": [ + { + "kind": "TypeNominal", + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "nfclib.IdCardInternalError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:6nfclib19IdCardInternalErrorO16cardNotSupportedyA2CmF", + "mangledName": "$s6nfclib19IdCardInternalErrorO16cardNotSupportedyA2CmF", + "moduleName": "nfclib" }, - { - "kind": "Conformance", - "name": "Equatable", - "printedName": "Equatable", - "usr": "s:SQ", - "mangledName": "$sSQ" - } - ] - }, - { - "kind": "TypeDecl", - "name": "CardField", - "printedName": "CardField", - "children": [ { "kind": "Var", - "name": "surname", - "printedName": "surname", + "name": "nfcNotSupported", + "printedName": "nfcNotSupported", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(nfclib.CardField.Type) -> nfclib.CardField", + "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", "children": [ { "kind": "TypeNominal", - "name": "CardField", - "printedName": "nfclib.CardField", - "usr": "s:6nfclib9CardFieldO" + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "nfclib.CardField.Type", + "printedName": "nfclib.IdCardInternalError.Type", "children": [ { "kind": "TypeNominal", - "name": "CardField", - "printedName": "nfclib.CardField", - "usr": "s:6nfclib9CardFieldO" + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" } ] } @@ -11301,36 +4684,36 @@ } ], "declKind": "EnumElement", - "usr": "s:6nfclib9CardFieldO7surnameyA2CmF", - "mangledName": "$s6nfclib9CardFieldO7surnameyA2CmF", + "usr": "s:6nfclib19IdCardInternalErrorO15nfcNotSupportedyA2CmF", + "mangledName": "$s6nfclib19IdCardInternalErrorO15nfcNotSupportedyA2CmF", "moduleName": "nfclib" }, { "kind": "Var", - "name": "firstName", - "printedName": "firstName", + "name": "connectionFailed", + "printedName": "connectionFailed", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(nfclib.CardField.Type) -> nfclib.CardField", + "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", "children": [ { "kind": "TypeNominal", - "name": "CardField", - "printedName": "nfclib.CardField", - "usr": "s:6nfclib9CardFieldO" + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "nfclib.CardField.Type", + "printedName": "nfclib.IdCardInternalError.Type", "children": [ { "kind": "TypeNominal", - "name": "CardField", - "printedName": "nfclib.CardField", - "usr": "s:6nfclib9CardFieldO" + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" } ] } @@ -11338,36 +4721,36 @@ } ], "declKind": "EnumElement", - "usr": "s:6nfclib9CardFieldO9firstNameyA2CmF", - "mangledName": "$s6nfclib9CardFieldO9firstNameyA2CmF", + "usr": "s:6nfclib19IdCardInternalErrorO16connectionFailedyA2CmF", + "mangledName": "$s6nfclib19IdCardInternalErrorO16connectionFailedyA2CmF", "moduleName": "nfclib" }, { "kind": "Var", - "name": "sex", - "printedName": "sex", + "name": "multipleTagsDetected", + "printedName": "multipleTagsDetected", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(nfclib.CardField.Type) -> nfclib.CardField", + "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", "children": [ { "kind": "TypeNominal", - "name": "CardField", - "printedName": "nfclib.CardField", - "usr": "s:6nfclib9CardFieldO" + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "nfclib.CardField.Type", + "printedName": "nfclib.IdCardInternalError.Type", "children": [ { "kind": "TypeNominal", - "name": "CardField", - "printedName": "nfclib.CardField", - "usr": "s:6nfclib9CardFieldO" + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" } ] } @@ -11375,36 +4758,36 @@ } ], "declKind": "EnumElement", - "usr": "s:6nfclib9CardFieldO3sexyA2CmF", - "mangledName": "$s6nfclib9CardFieldO3sexyA2CmF", + "usr": "s:6nfclib19IdCardInternalErrorO20multipleTagsDetectedyA2CmF", + "mangledName": "$s6nfclib19IdCardInternalErrorO20multipleTagsDetectedyA2CmF", "moduleName": "nfclib" }, { "kind": "Var", - "name": "citizenship", - "printedName": "citizenship", + "name": "couldNotVerifyChipsMAC", + "printedName": "couldNotVerifyChipsMAC", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(nfclib.CardField.Type) -> nfclib.CardField", + "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", "children": [ { "kind": "TypeNominal", - "name": "CardField", - "printedName": "nfclib.CardField", - "usr": "s:6nfclib9CardFieldO" + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "nfclib.CardField.Type", + "printedName": "nfclib.IdCardInternalError.Type", "children": [ { "kind": "TypeNominal", - "name": "CardField", - "printedName": "nfclib.CardField", - "usr": "s:6nfclib9CardFieldO" + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" } ] } @@ -11412,36 +4795,36 @@ } ], "declKind": "EnumElement", - "usr": "s:6nfclib9CardFieldO11citizenshipyA2CmF", - "mangledName": "$s6nfclib9CardFieldO11citizenshipyA2CmF", + "usr": "s:6nfclib19IdCardInternalErrorO22couldNotVerifyChipsMACyA2CmF", + "mangledName": "$s6nfclib19IdCardInternalErrorO22couldNotVerifyChipsMACyA2CmF", "moduleName": "nfclib" }, { "kind": "Var", - "name": "dateAndPlaceOfBirth", - "printedName": "dateAndPlaceOfBirth", + "name": "cancelledByUser", + "printedName": "cancelledByUser", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(nfclib.CardField.Type) -> nfclib.CardField", + "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", "children": [ { "kind": "TypeNominal", - "name": "CardField", - "printedName": "nfclib.CardField", - "usr": "s:6nfclib9CardFieldO" + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "nfclib.CardField.Type", + "printedName": "nfclib.IdCardInternalError.Type", "children": [ { "kind": "TypeNominal", - "name": "CardField", - "printedName": "nfclib.CardField", - "usr": "s:6nfclib9CardFieldO" + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" } ] } @@ -11449,36 +4832,36 @@ } ], "declKind": "EnumElement", - "usr": "s:6nfclib9CardFieldO19dateAndPlaceOfBirthyA2CmF", - "mangledName": "$s6nfclib9CardFieldO19dateAndPlaceOfBirthyA2CmF", + "usr": "s:6nfclib19IdCardInternalErrorO15cancelledByUseryA2CmF", + "mangledName": "$s6nfclib19IdCardInternalErrorO15cancelledByUseryA2CmF", "moduleName": "nfclib" }, { "kind": "Var", - "name": "personalCode", - "printedName": "personalCode", + "name": "sessionInvalidated", + "printedName": "sessionInvalidated", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(nfclib.CardField.Type) -> nfclib.CardField", + "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", "children": [ { "kind": "TypeNominal", - "name": "CardField", - "printedName": "nfclib.CardField", - "usr": "s:6nfclib9CardFieldO" + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "nfclib.CardField.Type", + "printedName": "nfclib.IdCardInternalError.Type", "children": [ { "kind": "TypeNominal", - "name": "CardField", - "printedName": "nfclib.CardField", - "usr": "s:6nfclib9CardFieldO" + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" } ] } @@ -11486,36 +4869,36 @@ } ], "declKind": "EnumElement", - "usr": "s:6nfclib9CardFieldO12personalCodeyA2CmF", - "mangledName": "$s6nfclib9CardFieldO12personalCodeyA2CmF", + "usr": "s:6nfclib19IdCardInternalErrorO18sessionInvalidatedyA2CmF", + "mangledName": "$s6nfclib19IdCardInternalErrorO18sessionInvalidatedyA2CmF", "moduleName": "nfclib" }, { "kind": "Var", - "name": "documentNr", - "printedName": "documentNr", + "name": "readerProcessFailed", + "printedName": "readerProcessFailed", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(nfclib.CardField.Type) -> nfclib.CardField", + "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", "children": [ { "kind": "TypeNominal", - "name": "CardField", - "printedName": "nfclib.CardField", - "usr": "s:6nfclib9CardFieldO" + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "nfclib.CardField.Type", + "printedName": "nfclib.IdCardInternalError.Type", "children": [ { "kind": "TypeNominal", - "name": "CardField", - "printedName": "nfclib.CardField", - "usr": "s:6nfclib9CardFieldO" + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" } ] } @@ -11523,36 +4906,36 @@ } ], "declKind": "EnumElement", - "usr": "s:6nfclib9CardFieldO10documentNryA2CmF", - "mangledName": "$s6nfclib9CardFieldO10documentNryA2CmF", + "usr": "s:6nfclib19IdCardInternalErrorO19readerProcessFailedyA2CmF", + "mangledName": "$s6nfclib19IdCardInternalErrorO19readerProcessFailedyA2CmF", "moduleName": "nfclib" }, { "kind": "Var", - "name": "dateOfExpiry", - "printedName": "dateOfExpiry", + "name": "failedToRemovePadding", + "printedName": "failedToRemovePadding", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(nfclib.CardField.Type) -> nfclib.CardField", + "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", "children": [ { "kind": "TypeNominal", - "name": "CardField", - "printedName": "nfclib.CardField", - "usr": "s:6nfclib9CardFieldO" + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "nfclib.CardField.Type", + "printedName": "nfclib.IdCardInternalError.Type", "children": [ { "kind": "TypeNominal", - "name": "CardField", - "printedName": "nfclib.CardField", - "usr": "s:6nfclib9CardFieldO" + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" } ] } @@ -11560,91 +4943,76 @@ } ], "declKind": "EnumElement", - "usr": "s:6nfclib9CardFieldO12dateOfExpiryyA2CmF", - "mangledName": "$s6nfclib9CardFieldO12dateOfExpiryyA2CmF", + "usr": "s:6nfclib19IdCardInternalErrorO21failedToRemovePaddingyA2CmF", + "mangledName": "$s6nfclib19IdCardInternalErrorO21failedToRemovePaddingyA2CmF", "moduleName": "nfclib" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(rawValue:)", + "kind": "Var", + "name": "notSupportedAlgorithm", + "printedName": "notSupportedAlgorithm", "children": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "nfclib.CardField?", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(nfclib.IdCardInternalError.Type) -> nfclib.IdCardInternalError", "children": [ { "kind": "TypeNominal", - "name": "CardField", - "printedName": "nfclib.CardField", - "usr": "s:6nfclib9CardFieldO" + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "nfclib.IdCardInternalError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "IdCardInternalError", + "printedName": "nfclib.IdCardInternalError", + "usr": "s:6nfclib19IdCardInternalErrorO" + } + ] } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + ] } ], - "declKind": "Constructor", - "usr": "s:6nfclib9CardFieldO8rawValueACSgSi_tcfc", - "mangledName": "$s6nfclib9CardFieldO8rawValueACSgSi_tcfc", - "moduleName": "nfclib", - "implicit": true, - "init_kind": "Designated" + "declKind": "EnumElement", + "usr": "s:6nfclib19IdCardInternalErrorO21notSupportedAlgorithmyA2CmF", + "mangledName": "$s6nfclib19IdCardInternalErrorO21notSupportedAlgorithmyA2CmF", + "moduleName": "nfclib" }, { - "kind": "Var", - "name": "rawValue", - "printedName": "rawValue", + "kind": "Function", + "name": "getIdCardError", + "printedName": "getIdCardError()", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "IdCardError", + "printedName": "nfclib.IdCardError", + "usr": "s:6nfclib11IdCardErrorO" } ], - "declKind": "Var", - "usr": "s:6nfclib9CardFieldO8rawValueSivp", - "mangledName": "$s6nfclib9CardFieldO8rawValueSivp", + "declKind": "Func", + "usr": "s:6nfclib19IdCardInternalErrorO03getbcE0AA0bcE0OyF", + "mangledName": "$s6nfclib19IdCardInternalErrorO03getbcE0AA0bcE0OyF", "moduleName": "nfclib", - "implicit": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib9CardFieldO8rawValueSivg", - "mangledName": "$s6nfclib9CardFieldO8rawValueSivg", - "moduleName": "nfclib", - "implicit": true, - "accessorKind": "get" - } - ] + "declAttributes": [ + "AccessControl" + ], + "funcSelfKind": "NonMutating" } ], "declKind": "Enum", - "usr": "s:6nfclib9CardFieldO", - "mangledName": "$s6nfclib9CardFieldO", + "usr": "s:6nfclib19IdCardInternalErrorO", + "mangledName": "$s6nfclib19IdCardInternalErrorO", "moduleName": "nfclib", "declAttributes": [ "AccessControl" ], - "enumRawTypeName": "Int", "conformances": [ { "kind": "Conformance", @@ -11655,10 +5023,10 @@ }, { "kind": "Conformance", - "name": "Equatable", - "printedName": "Equatable", - "usr": "s:SQ", - "mangledName": "$sSQ" + "name": "Error", + "printedName": "Error", + "usr": "s:s5ErrorP", + "mangledName": "$ss5ErrorP" }, { "kind": "Conformance", @@ -11669,113 +5037,204 @@ }, { "kind": "Conformance", - "name": "Hashable", - "printedName": "Hashable", - "usr": "s:SH", - "mangledName": "$sSH" + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" }, { "kind": "Conformance", - "name": "RawRepresentable", - "printedName": "RawRepresentable", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "PinError", + "printedName": "PinError", + "declKind": "Struct", + "usr": "s:6nfclib8PinErrorV", + "mangledName": "$s6nfclib8PinErrorV", + "moduleName": "nfclib", + "declAttributes": [ + "AccessControl" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Error", + "printedName": "Error", + "usr": "s:s5ErrorP", + "mangledName": "$ss5ErrorP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + } + ] + }, + { + "kind": "Import", + "name": "os", + "printedName": "os", + "declKind": "Import", + "moduleName": "nfclib", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "NFCLibLogging", + "printedName": "NFCLibLogging", + "children": [ + { + "kind": "Var", + "name": "isEnabled", + "printedName": "isEnabled", "children": [ { - "kind": "TypeWitness", - "name": "RawValue", - "printedName": "RawValue", + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Var", + "usr": "s:6nfclib13NFCLibLoggingO9isEnabledSbvpZ", + "mangledName": "$s6nfclib13NFCLibLoggingO9isEnabledSbvpZ", + "moduleName": "nfclib", + "static": true, + "declAttributes": [ + "AccessControl" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" } - ] + ], + "declKind": "Accessor", + "usr": "s:6nfclib13NFCLibLoggingO9isEnabledSbvgZ", + "mangledName": "$s6nfclib13NFCLibLoggingO9isEnabledSbvgZ", + "moduleName": "nfclib", + "static": true, + "accessorKind": "get" + }, + { + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "s:6nfclib13NFCLibLoggingO9isEnabledSbvsZ", + "mangledName": "$s6nfclib13NFCLibLoggingO9isEnabledSbvsZ", + "moduleName": "nfclib", + "static": true, + "accessorKind": "set" + }, + { + "kind": "Accessor", + "name": "Modify", + "printedName": "Modify()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Accessor", + "usr": "s:6nfclib13NFCLibLoggingO9isEnabledSbvMZ", + "mangledName": "$s6nfclib13NFCLibLoggingO9isEnabledSbvMZ", + "moduleName": "nfclib", + "static": true, + "implicit": true, + "accessorKind": "_modify" } - ], - "usr": "s:SY", - "mangledName": "$sSY" - }, + ] + } + ], + "declKind": "Enum", + "usr": "s:6nfclib13NFCLibLoggingO", + "mangledName": "$s6nfclib13NFCLibLoggingO", + "moduleName": "nfclib", + "declAttributes": [ + "AccessControl" + ], + "conformances": [ { "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" }, { "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" } ] }, - { - "kind": "Import", - "name": "Foundation", - "printedName": "Foundation", - "declKind": "Import", - "moduleName": "nfclib", - "declAttributes": [ - "RawDocComment" - ] - }, - { - "kind": "Import", - "name": "CoreNFC", - "printedName": "CoreNFC", - "declKind": "Import", - "moduleName": "nfclib" - }, - { - "kind": "Import", - "name": "CommonCrypto", - "printedName": "CommonCrypto", - "declKind": "Import", - "moduleName": "nfclib" - }, - { - "kind": "Import", - "name": "CryptoTokenKit", - "printedName": "CryptoTokenKit", - "declKind": "Import", - "moduleName": "nfclib" - }, - { - "kind": "Import", - "name": "SwiftECC", - "printedName": "SwiftECC", - "declKind": "Import", - "moduleName": "nfclib", - "declAttributes": [ - "AccessControl" - ] - }, - { - "kind": "Import", - "name": "BigInt", - "printedName": "BigInt", - "declKind": "Import", - "moduleName": "nfclib" - }, { "kind": "TypeDecl", - "name": "OperationReadPublicData", - "printedName": "OperationReadPublicData", + "name": "CardInfo", + "printedName": "CardInfo", "children": [ { - "kind": "Function", - "name": "startReading", - "printedName": "startReading(CAN:)", + "kind": "Var", + "name": "givenName", + "printedName": "givenName", "children": [ - { - "kind": "TypeNominal", - "name": "CardInfo", - "printedName": "nfclib.CardInfo", - "usr": "s:6nfclib8CardInfoV" - }, { "kind": "TypeNominal", "name": "String", @@ -11783,574 +5242,423 @@ "usr": "s:SS" } ], - "declKind": "Func", - "usr": "s:6nfclib23OperationReadPublicDataC12startReading3CANAA8CardInfoVSS_tYaKF", - "mangledName": "$s6nfclib23OperationReadPublicDataC12startReading3CANAA8CardInfoVSS_tYaKF", + "declKind": "Var", + "usr": "s:6nfclib8CardInfoV9givenNameSSvp", + "mangledName": "$s6nfclib8CardInfoV9givenNameSSvp", "moduleName": "nfclib", "declAttributes": [ - "Custom", - "Final", + "HasStorage", "AccessControl" ], - "throwing": true, - "funcSelfKind": "NonMutating" + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:6nfclib8CardInfoV9givenNameSSvg", + "mangledName": "$s6nfclib8CardInfoV9givenNameSSvg", + "moduleName": "nfclib", + "implicit": true, + "accessorKind": "get" + }, + { + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:6nfclib8CardInfoV9givenNameSSvs", + "mangledName": "$s6nfclib8CardInfoV9givenNameSSvs", + "moduleName": "nfclib", + "implicit": true, + "accessorKind": "set" + }, + { + "kind": "Accessor", + "name": "Modify", + "printedName": "Modify()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Accessor", + "usr": "s:6nfclib8CardInfoV9givenNameSSvM", + "mangledName": "$s6nfclib8CardInfoV9givenNameSSvM", + "moduleName": "nfclib", + "implicit": true, + "accessorKind": "_modify" + } + ] }, { - "kind": "Constructor", - "name": "init", - "printedName": "init()", + "kind": "Var", + "name": "surname", + "printedName": "surname", "children": [ { "kind": "TypeNominal", - "name": "OperationReadPublicData", - "printedName": "nfclib.OperationReadPublicData", - "usr": "c:@M@nfclib@objc(cs)OperationReadPublicData" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "Constructor", - "usr": "c:@M@nfclib@objc(cs)OperationReadPublicData(im)init", - "mangledName": "$s6nfclib23OperationReadPublicDataCACycfc", + "declKind": "Var", + "usr": "s:6nfclib8CardInfoV7surnameSSvp", + "mangledName": "$s6nfclib8CardInfoV7surnameSSvp", "moduleName": "nfclib", - "overriding": true, - "implicit": true, - "objc_name": "init", "declAttributes": [ - "Dynamic", - "ObjC", - "Custom", - "Override" + "HasStorage", + "AccessControl" ], - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "tagReaderSession", - "printedName": "tagReaderSession(_:didDetect:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "NFCTagReaderSession", - "printedName": "CoreNFC.NFCTagReaderSession", - "usr": "c:objc(cs)NFCTagReaderSession" + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:6nfclib8CardInfoV7surnameSSvg", + "mangledName": "$s6nfclib8CardInfoV7surnameSSvg", + "moduleName": "nfclib", + "implicit": true, + "accessorKind": "get" }, { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[CoreNFC.NFCTag]", + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", "children": [ { "kind": "TypeNominal", - "name": "NFCTag", - "printedName": "CoreNFC.NFCTag", - "usr": "s:7CoreNFC6NFCTagO" + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "usr": "s:Sa" - } - ], - "declKind": "Func", - "usr": "s:6nfclib23OperationReadPublicDataC16tagReaderSession_9didDetectySo06NFCTaggH0C_Say7CoreNFC0K0OGtF", - "mangledName": "$s6nfclib23OperationReadPublicDataC16tagReaderSession_9didDetectySo06NFCTaggH0C_Say7CoreNFC0K0OGtF", - "moduleName": "nfclib", - "declAttributes": [ - "Custom", - "Final", - "AccessControl" - ], - "isFromExtension": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "tagReaderSessionDidBecomeActive", - "printedName": "tagReaderSessionDidBecomeActive(_:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" + "declKind": "Accessor", + "usr": "s:6nfclib8CardInfoV7surnameSSvs", + "mangledName": "$s6nfclib8CardInfoV7surnameSSvs", + "moduleName": "nfclib", + "implicit": true, + "accessorKind": "set" }, { - "kind": "TypeNominal", - "name": "NFCTagReaderSession", - "printedName": "CoreNFC.NFCTagReaderSession", - "usr": "c:objc(cs)NFCTagReaderSession" + "kind": "Accessor", + "name": "Modify", + "printedName": "Modify()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Accessor", + "usr": "s:6nfclib8CardInfoV7surnameSSvM", + "mangledName": "$s6nfclib8CardInfoV7surnameSSvM", + "moduleName": "nfclib", + "implicit": true, + "accessorKind": "_modify" } - ], - "declKind": "Func", - "usr": "s:6nfclib23OperationReadPublicDataC31tagReaderSessionDidBecomeActiveyySo06NFCTaggH0CF", - "mangledName": "$s6nfclib23OperationReadPublicDataC31tagReaderSessionDidBecomeActiveyySo06NFCTaggH0CF", - "moduleName": "nfclib", - "declAttributes": [ - "Custom", - "Final", - "AccessControl" - ], - "isFromExtension": true, - "funcSelfKind": "NonMutating" + ] }, { - "kind": "Function", - "name": "tagReaderSession", - "printedName": "tagReaderSession(_:didInvalidateWithError:)", + "kind": "Var", + "name": "personalCode", + "printedName": "personalCode", "children": [ { "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "NFCTagReaderSession", - "printedName": "CoreNFC.NFCTagReaderSession", - "usr": "c:objc(cs)NFCTagReaderSession" - }, - { - "kind": "TypeNominal", - "name": "Error", - "printedName": "any Swift.Error", - "usr": "s:s5ErrorP" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "Func", - "usr": "s:6nfclib23OperationReadPublicDataC16tagReaderSession_22didInvalidateWithErrorySo06NFCTaggH0C_s0L0_ptF", - "mangledName": "$s6nfclib23OperationReadPublicDataC16tagReaderSession_22didInvalidateWithErrorySo06NFCTaggH0C_s0L0_ptF", + "declKind": "Var", + "usr": "s:6nfclib8CardInfoV12personalCodeSSvp", + "mangledName": "$s6nfclib8CardInfoV12personalCodeSSvp", "moduleName": "nfclib", "declAttributes": [ - "Custom", - "Final", + "HasStorage", "AccessControl" ], - "isFromExtension": true, - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Class", - "usr": "c:@M@nfclib@objc(cs)OperationReadPublicData", - "mangledName": "$s6nfclib23OperationReadPublicDataC", - "moduleName": "nfclib", - "declAttributes": [ - "AccessControl", - "Final", - "Custom", - "ObjC" - ], - "superclassUsr": "c:objc(cs)NSObject", - "inheritsConvenienceInitializers": true, - "superclassNames": [ - "ObjectiveC.NSObject" - ], - "conformances": [ - { - "kind": "Conformance", - "name": "NFCTagReaderSessionDelegate", - "printedName": "NFCTagReaderSessionDelegate", - "usr": "s:7CoreNFC27NFCTagReaderSessionDelegateP", - "mangledName": "$s7CoreNFC27NFCTagReaderSessionDelegateP" - }, - { - "kind": "Conformance", - "name": "_KeyValueCodingAndObserving", - "printedName": "_KeyValueCodingAndObserving", - "usr": "s:10Foundation27_KeyValueCodingAndObservingP", - "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP" - }, - { - "kind": "Conformance", - "name": "_KeyValueCodingAndObservingPublishing", - "printedName": "_KeyValueCodingAndObservingPublishing", - "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP", - "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP" - }, - { - "kind": "Conformance", - "name": "CVarArg", - "printedName": "CVarArg", - "usr": "s:s7CVarArgP", - "mangledName": "$ss7CVarArgP" - }, - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "CustomDebugStringConvertible", - "printedName": "CustomDebugStringConvertible", - "usr": "s:s28CustomDebugStringConvertibleP", - "mangledName": "$ss28CustomDebugStringConvertibleP" - }, - { - "kind": "Conformance", - "name": "CustomStringConvertible", - "printedName": "CustomStringConvertible", - "usr": "s:s23CustomStringConvertibleP", - "mangledName": "$ss23CustomStringConvertibleP" - }, - { - "kind": "Conformance", - "name": "Equatable", - "printedName": "Equatable", - "usr": "s:SQ", - "mangledName": "$sSQ" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - }, - { - "kind": "Conformance", - "name": "Hashable", - "printedName": "Hashable", - "usr": "s:SH", - "mangledName": "$sSH" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - } - ] - }, - { - "kind": "Import", - "name": "Foundation", - "printedName": "Foundation", - "declKind": "Import", - "moduleName": "nfclib", - "declAttributes": [ - "RawDocComment" - ] - }, - { - "kind": "TypeDecl", - "name": "CardReader", - "printedName": "CardReader", - "children": [ - { - "kind": "Function", - "name": "transmit", - "printedName": "transmit(_:)", - "children": [ + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Tuple", - "printedName": "(responseData: [Swift.UInt8], sw: Swift.UInt16)", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.UInt8]", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "usr": "s:Sa" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:6nfclib8CardInfoV12personalCodeSSvg", + "mangledName": "$s6nfclib8CardInfoV12personalCodeSSvg", + "moduleName": "nfclib", + "implicit": true, + "accessorKind": "get" + }, + { + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" }, { "kind": "TypeNominal", - "name": "UInt16", - "printedName": "Swift.UInt16", - "usr": "s:s6UInt16V" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] + ], + "declKind": "Accessor", + "usr": "s:6nfclib8CardInfoV12personalCodeSSvs", + "mangledName": "$s6nfclib8CardInfoV12personalCodeSSvs", + "moduleName": "nfclib", + "implicit": true, + "accessorKind": "set" }, { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.UInt8]", + "kind": "Accessor", + "name": "Modify", + "printedName": "Modify()", "children": [ { "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" + "name": "Void", + "printedName": "()" } ], - "usr": "s:Sa" + "declKind": "Accessor", + "usr": "s:6nfclib8CardInfoV12personalCodeSSvM", + "mangledName": "$s6nfclib8CardInfoV12personalCodeSSvM", + "moduleName": "nfclib", + "implicit": true, + "accessorKind": "_modify" } - ], - "declKind": "Func", - "usr": "s:6nfclib10CardReaderP8transmitySays5UInt8VG12responseData_s6UInt16V2swtAGYaKF", - "mangledName": "$s6nfclib10CardReaderP8transmitySays5UInt8VG12responseData_s6UInt16V2swtAGYaKF", - "moduleName": "nfclib", - "genericSig": "<τ_0_0 where τ_0_0 : nfclib.CardReader>", - "sugared_genericSig": "", - "protocolReq": true, - "declAttributes": [ - "RawDocComment" - ], - "throwing": true, - "reqNewWitnessTableEntry": true, - "funcSelfKind": "NonMutating" + ] }, { - "kind": "Function", - "name": "sendAPDU", - "printedName": "sendAPDU(cls:ins:p1Byte:p2Byte:data:leByte:)", + "kind": "Var", + "name": "citizenship", + "printedName": "citizenship", "children": [ { "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - }, - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "hasDefaultArg": true, - "usr": "s:s5UInt8V" - }, - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - }, - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "hasDefaultArg": true, - "usr": "s:s5UInt8V" - }, - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "hasDefaultArg": true, - "usr": "s:s5UInt8V" - }, + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:6nfclib8CardInfoV11citizenshipSSvp", + "mangledName": "$s6nfclib8CardInfoV11citizenshipSSvp", + "moduleName": "nfclib", + "declAttributes": [ + "HasStorage", + "AccessControl" + ], + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "(any Swift.Collection)?", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "Collection", - "printedName": "any Swift.Collection", - "usr": "s:Sl" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "Accessor", + "usr": "s:6nfclib8CardInfoV11citizenshipSSvg", + "mangledName": "$s6nfclib8CardInfoV11citizenshipSSvg", + "moduleName": "nfclib", + "implicit": true, + "accessorKind": "get" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.UInt8?", + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", "children": [ { "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "hasDefaultArg": true, - "usr": "s:Sq" - } - ], - "declKind": "Func", - "usr": "s:6nfclib10CardReaderPAAE8sendAPDU3cls3ins6p1Byte02p2I04data02leI010Foundation4DataVs5UInt8V_A3OSl_pAO7ElementRts_XPSgAOSgtYaKF", - "mangledName": "$s6nfclib10CardReaderPAAE8sendAPDU3cls3ins6p1Byte02p2I04data02leI010Foundation4DataVs5UInt8V_A3OSl_pAO7ElementRts_XPSgAOSgtYaKF", - "moduleName": "nfclib", - "genericSig": "<τ_0_0 where τ_0_0 : nfclib.CardReader>", - "sugared_genericSig": "", - "declAttributes": [ - "RawDocComment" - ], - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Protocol", - "usr": "s:6nfclib10CardReaderP", - "mangledName": "$s6nfclib10CardReaderP", - "moduleName": "nfclib", - "genericSig": "<τ_0_0 : Swift.Sendable>", - "sugared_genericSig": "", - "conformances": [ - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - }, - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - } - ] - }, - { - "kind": "Import", - "name": "Foundation", - "printedName": "Foundation", - "declKind": "Import", - "moduleName": "nfclib", - "declAttributes": [ - "RawDocComment" - ] - }, - { - "kind": "TypeDecl", - "name": "CodeType", - "printedName": "CodeType", - "children": [ - { - "kind": "Var", - "name": "puk", - "printedName": "puk", - "children": [ + "declKind": "Accessor", + "usr": "s:6nfclib8CardInfoV11citizenshipSSvs", + "mangledName": "$s6nfclib8CardInfoV11citizenshipSSvs", + "moduleName": "nfclib", + "implicit": true, + "accessorKind": "set" + }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.CodeType.Type) -> nfclib.CodeType", + "kind": "Accessor", + "name": "Modify", + "printedName": "Modify()", "children": [ { "kind": "TypeNominal", - "name": "CodeType", - "printedName": "nfclib.CodeType", - "usr": "s:6nfclib8CodeTypeO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.CodeType.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodeType", - "printedName": "nfclib.CodeType", - "usr": "s:6nfclib8CodeTypeO" - } - ] + "name": "Void", + "printedName": "()" } - ] + ], + "declKind": "Accessor", + "usr": "s:6nfclib8CardInfoV11citizenshipSSvM", + "mangledName": "$s6nfclib8CardInfoV11citizenshipSSvM", + "moduleName": "nfclib", + "implicit": true, + "accessorKind": "_modify" } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib8CodeTypeO3pukyA2CmF", - "mangledName": "$s6nfclib8CodeTypeO3pukyA2CmF", - "moduleName": "nfclib" + ] }, { "kind": "Var", - "name": "pin1", - "printedName": "pin1", + "name": "documentNumber", + "printedName": "documentNumber", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.CodeType.Type) -> nfclib.CodeType", + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:6nfclib8CardInfoV14documentNumberSSvp", + "mangledName": "$s6nfclib8CardInfoV14documentNumberSSvp", + "moduleName": "nfclib", + "declAttributes": [ + "HasStorage", + "AccessControl" + ], + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "CodeType", - "printedName": "nfclib.CodeType", - "usr": "s:6nfclib8CodeTypeO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.CodeType.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodeType", - "printedName": "nfclib.CodeType", - "usr": "s:6nfclib8CodeTypeO" - } - ] + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib8CodeTypeO4pin1yA2CmF", - "mangledName": "$s6nfclib8CodeTypeO4pin1yA2CmF", - "moduleName": "nfclib" - }, - { - "kind": "Var", - "name": "pin2", - "printedName": "pin2", - "children": [ + ], + "declKind": "Accessor", + "usr": "s:6nfclib8CardInfoV14documentNumberSSvg", + "mangledName": "$s6nfclib8CardInfoV14documentNumberSSvg", + "moduleName": "nfclib", + "implicit": true, + "accessorKind": "get" + }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(nfclib.CodeType.Type) -> nfclib.CodeType", + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", "children": [ { "kind": "TypeNominal", - "name": "CodeType", - "printedName": "nfclib.CodeType", - "usr": "s:6nfclib8CodeTypeO" + "name": "Void", + "printedName": "()" }, { "kind": "TypeNominal", - "name": "Metatype", - "printedName": "nfclib.CodeType.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodeType", - "printedName": "nfclib.CodeType", - "usr": "s:6nfclib8CodeTypeO" - } - ] + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] + ], + "declKind": "Accessor", + "usr": "s:6nfclib8CardInfoV14documentNumberSSvs", + "mangledName": "$s6nfclib8CardInfoV14documentNumberSSvs", + "moduleName": "nfclib", + "implicit": true, + "accessorKind": "set" + }, + { + "kind": "Accessor", + "name": "Modify", + "printedName": "Modify()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Accessor", + "usr": "s:6nfclib8CardInfoV14documentNumberSSvM", + "mangledName": "$s6nfclib8CardInfoV14documentNumberSSvM", + "moduleName": "nfclib", + "implicit": true, + "accessorKind": "_modify" } - ], - "declKind": "EnumElement", - "usr": "s:6nfclib8CodeTypeO4pin2yA2CmF", - "mangledName": "$s6nfclib8CodeTypeO4pin2yA2CmF", - "moduleName": "nfclib" + ] }, { "kind": "Var", - "name": "name", - "printedName": "name", + "name": "dateOfExpiry", + "printedName": "dateOfExpiry", "children": [ { "kind": "TypeNominal", @@ -12360,12 +5668,14 @@ } ], "declKind": "Var", - "usr": "s:6nfclib8CodeTypeO4nameSSvp", - "mangledName": "$s6nfclib8CodeTypeO4nameSSvp", + "usr": "s:6nfclib8CardInfoV12dateOfExpirySSvp", + "mangledName": "$s6nfclib8CardInfoV12dateOfExpirySSvp", "moduleName": "nfclib", "declAttributes": [ + "HasStorage", "AccessControl" ], + "hasStorage": true, "accessors": [ { "kind": "Accessor", @@ -12380,63 +5690,138 @@ } ], "declKind": "Accessor", - "usr": "s:6nfclib8CodeTypeO4nameSSvg", - "mangledName": "$s6nfclib8CodeTypeO4nameSSvg", + "usr": "s:6nfclib8CardInfoV12dateOfExpirySSvg", + "mangledName": "$s6nfclib8CardInfoV12dateOfExpirySSvg", "moduleName": "nfclib", + "implicit": true, "accessorKind": "get" + }, + { + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:6nfclib8CardInfoV12dateOfExpirySSvs", + "mangledName": "$s6nfclib8CardInfoV12dateOfExpirySSvs", + "moduleName": "nfclib", + "implicit": true, + "accessorKind": "set" + }, + { + "kind": "Accessor", + "name": "Modify", + "printedName": "Modify()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Accessor", + "usr": "s:6nfclib8CardInfoV12dateOfExpirySSvM", + "mangledName": "$s6nfclib8CardInfoV12dateOfExpirySSvM", + "moduleName": "nfclib", + "implicit": true, + "accessorKind": "_modify" } ] }, { "kind": "Constructor", "name": "init", - "printedName": "init(rawValue:)", + "printedName": "init(givenName:surname:personalCode:citizenship:documentNumber:dateOfExpiry:)", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "nfclib.CodeType?", - "children": [ - { - "kind": "TypeNominal", - "name": "CodeType", - "printedName": "nfclib.CodeType", - "usr": "s:6nfclib8CodeTypeO" - } - ], - "usr": "s:Sq" + "name": "CardInfo", + "printedName": "nfclib.CardInfo", + "usr": "s:6nfclib8CardInfoV" }, { "kind": "TypeNominal", - "name": "UInt", - "printedName": "Swift.UInt", - "usr": "s:Su" + "name": "String", + "printedName": "Swift.String", + "hasDefaultArg": true, + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "hasDefaultArg": true, + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "hasDefaultArg": true, + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "hasDefaultArg": true, + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "hasDefaultArg": true, + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "hasDefaultArg": true, + "usr": "s:SS" } ], "declKind": "Constructor", - "usr": "s:6nfclib8CodeTypeO8rawValueACSgSu_tcfc", - "mangledName": "$s6nfclib8CodeTypeO8rawValueACSgSu_tcfc", + "usr": "s:6nfclib8CardInfoV9givenName7surname12personalCode11citizenship14documentNumber12dateOfExpiryACSS_S5Stcfc", + "mangledName": "$s6nfclib8CardInfoV9givenName7surname12personalCode11citizenship14documentNumber12dateOfExpiryACSS_S5Stcfc", "moduleName": "nfclib", - "implicit": true, + "declAttributes": [ + "AccessControl" + ], "init_kind": "Designated" }, { "kind": "Var", - "name": "rawValue", - "printedName": "rawValue", + "name": "formattedDescription", + "printedName": "formattedDescription", "children": [ { "kind": "TypeNominal", - "name": "UInt", - "printedName": "Swift.UInt", - "usr": "s:Su" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Var", - "usr": "s:6nfclib8CodeTypeO8rawValueSuvp", - "mangledName": "$s6nfclib8CodeTypeO8rawValueSuvp", + "usr": "s:6nfclib8CardInfoV20formattedDescriptionSSvp", + "mangledName": "$s6nfclib8CardInfoV20formattedDescriptionSSvp", "moduleName": "nfclib", - "implicit": true, + "declAttributes": [ + "AccessControl" + ], "accessors": [ { "kind": "Accessor", @@ -12445,118 +5830,36 @@ "children": [ { "kind": "TypeNominal", - "name": "UInt", - "printedName": "Swift.UInt", - "usr": "s:Su" - } - ], - "declKind": "Accessor", - "usr": "s:6nfclib8CodeTypeO8rawValueSuvg", - "mangledName": "$s6nfclib8CodeTypeO8rawValueSuvg", - "moduleName": "nfclib", - "implicit": true, - "accessorKind": "get" - } - ] - } - ], - "declKind": "Enum", - "usr": "s:6nfclib8CodeTypeO", - "mangledName": "$s6nfclib8CodeTypeO", - "moduleName": "nfclib", - "declAttributes": [ - "AccessControl" - ], - "enumRawTypeName": "UInt", - "conformances": [ - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Equatable", - "printedName": "Equatable", - "usr": "s:SQ", - "mangledName": "$sSQ" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - }, - { - "kind": "Conformance", - "name": "Hashable", - "printedName": "Hashable", - "usr": "s:SH", - "mangledName": "$sSH" - }, - { - "kind": "Conformance", - "name": "RawRepresentable", - "printedName": "RawRepresentable", - "children": [ - { - "kind": "TypeWitness", - "name": "RawValue", - "printedName": "RawValue", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt", - "printedName": "Swift.UInt", - "usr": "s:Su" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] + ], + "declKind": "Accessor", + "usr": "s:6nfclib8CardInfoV20formattedDescriptionSSvg", + "mangledName": "$s6nfclib8CardInfoV20formattedDescriptionSSvg", + "moduleName": "nfclib", + "accessorKind": "get" } - ], - "usr": "s:SY", - "mangledName": "$sSY" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" + ] }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "CardCommands", - "printedName": "CardCommands", - "children": [ { "kind": "Var", - "name": "canChangePUK", - "printedName": "canChangePUK", + "name": "hashValue", + "printedName": "hashValue", "children": [ { "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], "declKind": "Var", - "usr": "s:6nfclib12CardCommandsP12canChangePUKSbvp", - "mangledName": "$s6nfclib12CardCommandsP12canChangePUKSbvp", + "usr": "s:6nfclib8CardInfoV9hashValueSivp", + "mangledName": "$s6nfclib8CardInfoV9hashValueSivp", "moduleName": "nfclib", - "protocolReq": true, + "implicit": true, "accessors": [ { "kind": "Accessor", @@ -12565,561 +5868,514 @@ "children": [ { "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], "declKind": "Accessor", - "usr": "s:6nfclib12CardCommandsP12canChangePUKSbvg", - "mangledName": "$s6nfclib12CardCommandsP12canChangePUKSbvg", + "usr": "s:6nfclib8CardInfoV9hashValueSivg", + "mangledName": "$s6nfclib8CardInfoV9hashValueSivg", "moduleName": "nfclib", - "genericSig": "<τ_0_0 where τ_0_0 : nfclib.CardCommands>", - "sugared_genericSig": "", - "protocolReq": true, - "reqNewWitnessTableEntry": true, + "implicit": true, "accessorKind": "get" } ] }, { "kind": "Function", - "name": "readPublicData", - "printedName": "readPublicData()", + "name": "hash", + "printedName": "hash(into:)", "children": [ { "kind": "TypeNominal", - "name": "CardInfo", - "printedName": "nfclib.CardInfo", - "usr": "s:6nfclib8CardInfoV" + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Hasher", + "printedName": "Swift.Hasher", + "paramValueOwnership": "InOut", + "usr": "s:s6HasherV" } ], "declKind": "Func", - "usr": "s:6nfclib12CardCommandsP14readPublicDataAA0B4InfoVyYaKF", - "mangledName": "$s6nfclib12CardCommandsP14readPublicDataAA0B4InfoVyYaKF", + "usr": "s:6nfclib8CardInfoV4hash4intoys6HasherVz_tF", + "mangledName": "$s6nfclib8CardInfoV4hash4intoys6HasherVz_tF", "moduleName": "nfclib", - "genericSig": "<τ_0_0 where τ_0_0 : nfclib.CardCommands>", - "sugared_genericSig": "", - "protocolReq": true, - "declAttributes": [ - "RawDocComment" - ], - "throwing": true, - "reqNewWitnessTableEntry": true, + "implicit": true, "funcSelfKind": "NonMutating" }, { "kind": "Function", - "name": "readAuthenticationCertificate", - "printedName": "readAuthenticationCertificate()", + "name": "==", + "printedName": "==(_:_:)", "children": [ { "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "CardInfo", + "printedName": "nfclib.CardInfo", + "usr": "s:6nfclib8CardInfoV" + }, + { + "kind": "TypeNominal", + "name": "CardInfo", + "printedName": "nfclib.CardInfo", + "usr": "s:6nfclib8CardInfoV" } ], "declKind": "Func", - "usr": "s:6nfclib12CardCommandsP29readAuthenticationCertificate10Foundation4DataVyYaKF", - "mangledName": "$s6nfclib12CardCommandsP29readAuthenticationCertificate10Foundation4DataVyYaKF", + "usr": "s:6nfclib8CardInfoV2eeoiySbAC_ACtFZ", + "mangledName": "$s6nfclib8CardInfoV2eeoiySbAC_ACtFZ", "moduleName": "nfclib", - "genericSig": "<τ_0_0 where τ_0_0 : nfclib.CardCommands>", - "sugared_genericSig": "", - "protocolReq": true, - "declAttributes": [ - "RawDocComment" - ], - "throwing": true, - "reqNewWitnessTableEntry": true, + "static": true, + "implicit": true, "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:6nfclib8CardInfoV", + "mangledName": "$s6nfclib8CardInfoV", + "moduleName": "nfclib", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" }, { - "kind": "Function", - "name": "readSignatureCertificate", - "printedName": "readSignatureCertificate()", + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + } + ] + }, + { + "kind": "TypeDecl", + "name": "CardField", + "printedName": "CardField", + "children": [ + { + "kind": "Var", + "name": "surname", + "printedName": "surname", "children": [ { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" + "kind": "TypeFunc", + "name": "Function", + "printedName": "(nfclib.CardField.Type) -> nfclib.CardField", + "children": [ + { + "kind": "TypeNominal", + "name": "CardField", + "printedName": "nfclib.CardField", + "usr": "s:6nfclib9CardFieldO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "nfclib.CardField.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CardField", + "printedName": "nfclib.CardField", + "usr": "s:6nfclib9CardFieldO" + } + ] + } + ] } ], - "declKind": "Func", - "usr": "s:6nfclib12CardCommandsP24readSignatureCertificate10Foundation4DataVyYaKF", - "mangledName": "$s6nfclib12CardCommandsP24readSignatureCertificate10Foundation4DataVyYaKF", - "moduleName": "nfclib", - "genericSig": "<τ_0_0 where τ_0_0 : nfclib.CardCommands>", - "sugared_genericSig": "", - "protocolReq": true, - "declAttributes": [ - "RawDocComment" - ], - "throwing": true, - "reqNewWitnessTableEntry": true, - "funcSelfKind": "NonMutating" + "declKind": "EnumElement", + "usr": "s:6nfclib9CardFieldO7surnameyA2CmF", + "mangledName": "$s6nfclib9CardFieldO7surnameyA2CmF", + "moduleName": "nfclib" }, { - "kind": "Function", - "name": "readCodeTryCounterRecord", - "printedName": "readCodeTryCounterRecord(_:)", + "kind": "Var", + "name": "firstName", + "printedName": "firstName", "children": [ { - "kind": "TypeNominal", - "name": "Tuple", - "printedName": "(retryCount: Swift.UInt8, pinActive: Swift.Bool)", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(nfclib.CardField.Type) -> nfclib.CardField", "children": [ { "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" + "name": "CardField", + "printedName": "nfclib.CardField", + "usr": "s:6nfclib9CardFieldO" }, { "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" + "name": "Metatype", + "printedName": "nfclib.CardField.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CardField", + "printedName": "nfclib.CardField", + "usr": "s:6nfclib9CardFieldO" + } + ] } ] - }, - { - "kind": "TypeNominal", - "name": "CodeType", - "printedName": "nfclib.CodeType", - "usr": "s:6nfclib8CodeTypeO" - } - ], - "declKind": "Func", - "usr": "s:6nfclib12CardCommandsP24readCodeTryCounterRecordys5UInt8V10retryCount_Sb9pinActivetAA0E4TypeOYaKF", - "mangledName": "$s6nfclib12CardCommandsP24readCodeTryCounterRecordys5UInt8V10retryCount_Sb9pinActivetAA0E4TypeOYaKF", - "moduleName": "nfclib", - "genericSig": "<τ_0_0 where τ_0_0 : nfclib.CardCommands>", - "sugared_genericSig": "", - "protocolReq": true, - "declAttributes": [ - "RawDocComment" - ], - "throwing": true, - "reqNewWitnessTableEntry": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "changeCode", - "printedName": "changeCode(_:to:verifyCode:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "CodeType", - "printedName": "nfclib.CodeType", - "usr": "s:6nfclib8CodeTypeO" - }, - { - "kind": "TypeNominal", - "name": "SecureData", - "printedName": "nfclib.SecureData", - "usr": "s:6nfclib10SecureDataC" - }, - { - "kind": "TypeNominal", - "name": "SecureData", - "printedName": "nfclib.SecureData", - "usr": "s:6nfclib10SecureDataC" } ], - "declKind": "Func", - "usr": "s:6nfclib12CardCommandsP10changeCode_2to06verifyE0yAA0E4TypeO_AA10SecureDataCAJtYaKF", - "mangledName": "$s6nfclib12CardCommandsP10changeCode_2to06verifyE0yAA0E4TypeO_AA10SecureDataCAJtYaKF", - "moduleName": "nfclib", - "genericSig": "<τ_0_0 where τ_0_0 : nfclib.CardCommands>", - "sugared_genericSig": "", - "protocolReq": true, - "declAttributes": [ - "RawDocComment" - ], - "throwing": true, - "reqNewWitnessTableEntry": true, - "funcSelfKind": "NonMutating" + "declKind": "EnumElement", + "usr": "s:6nfclib9CardFieldO9firstNameyA2CmF", + "mangledName": "$s6nfclib9CardFieldO9firstNameyA2CmF", + "moduleName": "nfclib" }, { - "kind": "Function", - "name": "verifyCode", - "printedName": "verifyCode(_:code:)", + "kind": "Var", + "name": "sex", + "printedName": "sex", "children": [ { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "CodeType", - "printedName": "nfclib.CodeType", - "usr": "s:6nfclib8CodeTypeO" - }, - { - "kind": "TypeNominal", - "name": "SecureData", - "printedName": "nfclib.SecureData", - "usr": "s:6nfclib10SecureDataC" + "kind": "TypeFunc", + "name": "Function", + "printedName": "(nfclib.CardField.Type) -> nfclib.CardField", + "children": [ + { + "kind": "TypeNominal", + "name": "CardField", + "printedName": "nfclib.CardField", + "usr": "s:6nfclib9CardFieldO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "nfclib.CardField.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CardField", + "printedName": "nfclib.CardField", + "usr": "s:6nfclib9CardFieldO" + } + ] + } + ] } ], - "declKind": "Func", - "usr": "s:6nfclib12CardCommandsP10verifyCode_4codeyAA0E4TypeO_AA10SecureDataCtYaKF", - "mangledName": "$s6nfclib12CardCommandsP10verifyCode_4codeyAA0E4TypeO_AA10SecureDataCtYaKF", - "moduleName": "nfclib", - "genericSig": "<τ_0_0 where τ_0_0 : nfclib.CardCommands>", - "sugared_genericSig": "", - "protocolReq": true, - "declAttributes": [ - "RawDocComment" - ], - "throwing": true, - "reqNewWitnessTableEntry": true, - "funcSelfKind": "NonMutating" + "declKind": "EnumElement", + "usr": "s:6nfclib9CardFieldO3sexyA2CmF", + "mangledName": "$s6nfclib9CardFieldO3sexyA2CmF", + "moduleName": "nfclib" }, { - "kind": "Function", - "name": "unblockCode", - "printedName": "unblockCode(_:puk:newCode:)", + "kind": "Var", + "name": "citizenship", + "printedName": "citizenship", "children": [ { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "CodeType", - "printedName": "nfclib.CodeType", - "usr": "s:6nfclib8CodeTypeO" - }, - { - "kind": "TypeNominal", - "name": "SecureData", - "printedName": "nfclib.SecureData", - "usr": "s:6nfclib10SecureDataC" - }, - { - "kind": "TypeNominal", - "name": "SecureData", - "printedName": "nfclib.SecureData", - "usr": "s:6nfclib10SecureDataC" + "kind": "TypeFunc", + "name": "Function", + "printedName": "(nfclib.CardField.Type) -> nfclib.CardField", + "children": [ + { + "kind": "TypeNominal", + "name": "CardField", + "printedName": "nfclib.CardField", + "usr": "s:6nfclib9CardFieldO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "nfclib.CardField.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CardField", + "printedName": "nfclib.CardField", + "usr": "s:6nfclib9CardFieldO" + } + ] + } + ] } ], - "declKind": "Func", - "usr": "s:6nfclib12CardCommandsP11unblockCode_3puk03newE0yAA0E4TypeO_AA10SecureDataCAJtYaKF", - "mangledName": "$s6nfclib12CardCommandsP11unblockCode_3puk03newE0yAA0E4TypeO_AA10SecureDataCAJtYaKF", - "moduleName": "nfclib", - "genericSig": "<τ_0_0 where τ_0_0 : nfclib.CardCommands>", - "sugared_genericSig": "", - "protocolReq": true, - "declAttributes": [ - "RawDocComment" - ], - "throwing": true, - "reqNewWitnessTableEntry": true, - "funcSelfKind": "NonMutating" + "declKind": "EnumElement", + "usr": "s:6nfclib9CardFieldO11citizenshipyA2CmF", + "mangledName": "$s6nfclib9CardFieldO11citizenshipyA2CmF", + "moduleName": "nfclib" }, { - "kind": "Function", - "name": "authenticate", - "printedName": "authenticate(for:withPin1:)", + "kind": "Var", + "name": "dateAndPlaceOfBirth", + "printedName": "dateAndPlaceOfBirth", "children": [ { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - }, - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - }, - { - "kind": "TypeNominal", - "name": "SecureData", - "printedName": "nfclib.SecureData", - "usr": "s:6nfclib10SecureDataC" + "kind": "TypeFunc", + "name": "Function", + "printedName": "(nfclib.CardField.Type) -> nfclib.CardField", + "children": [ + { + "kind": "TypeNominal", + "name": "CardField", + "printedName": "nfclib.CardField", + "usr": "s:6nfclib9CardFieldO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "nfclib.CardField.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CardField", + "printedName": "nfclib.CardField", + "usr": "s:6nfclib9CardFieldO" + } + ] + } + ] } ], - "declKind": "Func", - "usr": "s:6nfclib12CardCommandsP12authenticate3for8withPin110Foundation4DataVAI_AA06SecureI0CtYaKF", - "mangledName": "$s6nfclib12CardCommandsP12authenticate3for8withPin110Foundation4DataVAI_AA06SecureI0CtYaKF", - "moduleName": "nfclib", - "genericSig": "<τ_0_0 where τ_0_0 : nfclib.CardCommands>", - "sugared_genericSig": "", - "protocolReq": true, - "declAttributes": [ - "RawDocComment" - ], - "throwing": true, - "reqNewWitnessTableEntry": true, - "funcSelfKind": "NonMutating" + "declKind": "EnumElement", + "usr": "s:6nfclib9CardFieldO19dateAndPlaceOfBirthyA2CmF", + "mangledName": "$s6nfclib9CardFieldO19dateAndPlaceOfBirthyA2CmF", + "moduleName": "nfclib" }, { - "kind": "Function", - "name": "calculateSignature", - "printedName": "calculateSignature(for:withPin2:)", + "kind": "Var", + "name": "personalCode", + "printedName": "personalCode", "children": [ { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - }, - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - }, - { - "kind": "TypeNominal", - "name": "SecureData", - "printedName": "nfclib.SecureData", - "usr": "s:6nfclib10SecureDataC" + "kind": "TypeFunc", + "name": "Function", + "printedName": "(nfclib.CardField.Type) -> nfclib.CardField", + "children": [ + { + "kind": "TypeNominal", + "name": "CardField", + "printedName": "nfclib.CardField", + "usr": "s:6nfclib9CardFieldO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "nfclib.CardField.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CardField", + "printedName": "nfclib.CardField", + "usr": "s:6nfclib9CardFieldO" + } + ] + } + ] } ], - "declKind": "Func", - "usr": "s:6nfclib12CardCommandsP18calculateSignature3for8withPin210Foundation4DataVAI_AA06SecureJ0CtYaKF", - "mangledName": "$s6nfclib12CardCommandsP18calculateSignature3for8withPin210Foundation4DataVAI_AA06SecureJ0CtYaKF", - "moduleName": "nfclib", - "genericSig": "<τ_0_0 where τ_0_0 : nfclib.CardCommands>", - "sugared_genericSig": "", - "protocolReq": true, - "declAttributes": [ - "RawDocComment" - ], - "throwing": true, - "reqNewWitnessTableEntry": true, - "funcSelfKind": "NonMutating" + "declKind": "EnumElement", + "usr": "s:6nfclib9CardFieldO12personalCodeyA2CmF", + "mangledName": "$s6nfclib9CardFieldO12personalCodeyA2CmF", + "moduleName": "nfclib" }, { - "kind": "Function", - "name": "decryptData", - "printedName": "decryptData(_:withPin1:)", + "kind": "Var", + "name": "documentNr", + "printedName": "documentNr", "children": [ { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - }, - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - }, - { - "kind": "TypeNominal", - "name": "SecureData", - "printedName": "nfclib.SecureData", - "usr": "s:6nfclib10SecureDataC" + "kind": "TypeFunc", + "name": "Function", + "printedName": "(nfclib.CardField.Type) -> nfclib.CardField", + "children": [ + { + "kind": "TypeNominal", + "name": "CardField", + "printedName": "nfclib.CardField", + "usr": "s:6nfclib9CardFieldO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "nfclib.CardField.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CardField", + "printedName": "nfclib.CardField", + "usr": "s:6nfclib9CardFieldO" + } + ] + } + ] } ], - "declKind": "Func", - "usr": "s:6nfclib12CardCommandsP11decryptData_8withPin110Foundation0E0VAH_AA06SecureE0CtYaKF", - "mangledName": "$s6nfclib12CardCommandsP11decryptData_8withPin110Foundation0E0VAH_AA06SecureE0CtYaKF", - "moduleName": "nfclib", - "genericSig": "<τ_0_0 where τ_0_0 : nfclib.CardCommands>", - "sugared_genericSig": "", - "protocolReq": true, - "declAttributes": [ - "RawDocComment" - ], - "throwing": true, - "reqNewWitnessTableEntry": true, - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Protocol", - "usr": "s:6nfclib12CardCommandsP", - "mangledName": "$s6nfclib12CardCommandsP", - "moduleName": "nfclib", - "genericSig": "<τ_0_0 : Swift.Sendable>", - "sugared_genericSig": "", - "declAttributes": [ - "AccessControl", - "RawDocComment" - ], - "conformances": [ - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - }, - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" + "declKind": "EnumElement", + "usr": "s:6nfclib9CardFieldO10documentNryA2CmF", + "mangledName": "$s6nfclib9CardFieldO10documentNryA2CmF", + "moduleName": "nfclib" }, { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" + "kind": "Var", + "name": "dateOfExpiry", + "printedName": "dateOfExpiry", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(nfclib.CardField.Type) -> nfclib.CardField", + "children": [ + { + "kind": "TypeNominal", + "name": "CardField", + "printedName": "nfclib.CardField", + "usr": "s:6nfclib9CardFieldO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "nfclib.CardField.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CardField", + "printedName": "nfclib.CardField", + "usr": "s:6nfclib9CardFieldO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:6nfclib9CardFieldO12dateOfExpiryyA2CmF", + "mangledName": "$s6nfclib9CardFieldO12dateOfExpiryyA2CmF", + "moduleName": "nfclib" }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - } - ] - }, - { - "kind": "Import", - "name": "Foundation", - "printedName": "Foundation", - "declKind": "Import", - "moduleName": "nfclib", - "declAttributes": [ - "RawDocComment" - ] - }, - { - "kind": "Import", - "name": "SwiftECC", - "printedName": "SwiftECC", - "declKind": "Import", - "moduleName": "nfclib", - "declAttributes": [ - "AccessControl" - ] - }, - { - "kind": "TypeDecl", - "name": "TKBERTLVRecord", - "printedName": "TKBERTLVRecord", - "children": [ { "kind": "Constructor", "name": "init", - "printedName": "init(tag:bytes:)", + "printedName": "init(rawValue:)", "children": [ { "kind": "TypeNominal", - "name": "TKBERTLVRecord", - "printedName": "CryptoTokenKit.TKBERTLVRecord", - "usr": "c:objc(cs)TKBERTLVRecord" - }, - { - "kind": "TypeNominal", - "name": "UInt64", - "printedName": "Swift.UInt64", - "usr": "s:s6UInt64V" + "name": "Optional", + "printedName": "nfclib.CardField?", + "children": [ + { + "kind": "TypeNominal", + "name": "CardField", + "printedName": "nfclib.CardField", + "usr": "s:6nfclib9CardFieldO" + } + ], + "usr": "s:Sq" }, { "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "τ_0_0" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], "declKind": "Constructor", - "usr": "s:So14TKBERTLVRecordC6nfclibE3tag5bytesABs6UInt64V_xtc10Foundation12DataProtocolRzlufc", - "mangledName": "$sSo14TKBERTLVRecordC6nfclibE3tag5bytesABs6UInt64V_xtc10Foundation12DataProtocolRzlufc", + "usr": "s:6nfclib9CardFieldO8rawValueACSgSi_tcfc", + "mangledName": "$s6nfclib9CardFieldO8rawValueACSgSi_tcfc", "moduleName": "nfclib", - "genericSig": "<τ_0_0 where τ_0_0 : Foundation.DataProtocol>", - "sugared_genericSig": "", - "declAttributes": [ - "Convenience" - ], - "isFromExtension": true, - "init_kind": "Convenience" + "implicit": true, + "init_kind": "Designated" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(tag:publicKey:)", + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", "children": [ { "kind": "TypeNominal", - "name": "TKBERTLVRecord", - "printedName": "CryptoTokenKit.TKBERTLVRecord", - "usr": "c:objc(cs)TKBERTLVRecord" - }, - { - "kind": "TypeNominal", - "name": "UInt64", - "printedName": "Swift.UInt64", - "usr": "s:s6UInt64V" - }, - { - "kind": "TypeNominal", - "name": "ECPublicKey", - "printedName": "SwiftECC.ECPublicKey", - "usr": "s:8SwiftECC11ECPublicKeyC" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], - "declKind": "Constructor", - "usr": "s:So14TKBERTLVRecordC6nfclibE3tag9publicKeyABs6UInt64V_8SwiftECC08ECPublicE0CtKcfc", - "mangledName": "$sSo14TKBERTLVRecordC6nfclibE3tag9publicKeyABs6UInt64V_8SwiftECC08ECPublicE0CtKcfc", + "declKind": "Var", + "usr": "s:6nfclib9CardFieldO8rawValueSivp", + "mangledName": "$s6nfclib9CardFieldO8rawValueSivp", "moduleName": "nfclib", - "declAttributes": [ - "Convenience" - ], - "isFromExtension": true, - "throwing": true, - "init_kind": "Convenience" + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:6nfclib9CardFieldO8rawValueSivg", + "mangledName": "$s6nfclib9CardFieldO8rawValueSivg", + "moduleName": "nfclib", + "implicit": true, + "accessorKind": "get" + } + ] } ], - "declKind": "Class", - "usr": "c:objc(cs)TKBERTLVRecord", - "moduleName": "CryptoTokenKit", - "isOpen": true, - "intro_iOS": "10.0", - "objc_name": "TKBERTLVRecord", + "declKind": "Enum", + "usr": "s:6nfclib9CardFieldO", + "mangledName": "$s6nfclib9CardFieldO", + "moduleName": "nfclib", "declAttributes": [ - "Available", - "ObjC", - "Dynamic" - ], - "superclassUsr": "c:objc(cs)TKTLVRecord", - "isExternal": true, - "inheritsConvenienceInitializers": true, - "superclassNames": [ - "CryptoTokenKit.TKTLVRecord", - "ObjectiveC.NSObject" + "AccessControl" ], + "enumRawTypeName": "Int", "conformances": [ - { - "kind": "Conformance", - "name": "_KeyValueCodingAndObserving", - "printedName": "_KeyValueCodingAndObserving", - "usr": "s:10Foundation27_KeyValueCodingAndObservingP", - "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP" - }, - { - "kind": "Conformance", - "name": "_KeyValueCodingAndObservingPublishing", - "printedName": "_KeyValueCodingAndObservingPublishing", - "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP", - "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP" - }, - { - "kind": "Conformance", - "name": "CVarArg", - "printedName": "CVarArg", - "usr": "s:s7CVarArgP", - "mangledName": "$ss7CVarArgP" - }, { "kind": "Conformance", "name": "Copyable", @@ -13127,20 +6383,6 @@ "usr": "s:s8CopyableP", "mangledName": "$ss8CopyableP" }, - { - "kind": "Conformance", - "name": "CustomDebugStringConvertible", - "printedName": "CustomDebugStringConvertible", - "usr": "s:s28CustomDebugStringConvertibleP", - "mangledName": "$ss28CustomDebugStringConvertibleP" - }, - { - "kind": "Conformance", - "name": "CustomStringConvertible", - "printedName": "CustomStringConvertible", - "usr": "s:s23CustomStringConvertibleP", - "mangledName": "$ss23CustomStringConvertibleP" - }, { "kind": "Conformance", "name": "Equatable", @@ -13161,289 +6403,193 @@ "printedName": "Hashable", "usr": "s:SH", "mangledName": "$sSH" - } - ] - }, - { - "kind": "TypeDecl", - "name": "DataProtocol", - "printedName": "DataProtocol", - "children": [ - { - "kind": "Var", - "name": "hex", - "printedName": "hex", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:10Foundation12DataProtocolP6nfclibE3hexSSvp", - "mangledName": "$s10Foundation12DataProtocolP6nfclibE3hexSSvp", - "moduleName": "nfclib", - "isFromExtension": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Accessor", - "usr": "s:10Foundation12DataProtocolP6nfclibE3hexSSvg", - "mangledName": "$s10Foundation12DataProtocolP6nfclibE3hexSSvg", - "moduleName": "nfclib", - "genericSig": "<τ_0_0 where τ_0_0 : Foundation.DataProtocol>", - "sugared_genericSig": "", - "isFromExtension": true, - "accessorKind": "get" - } - ] }, { - "kind": "Function", - "name": "chunked", - "printedName": "chunked(into:)", + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", "children": [ { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[τ_0_0.SubSequence]", + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", "children": [ { "kind": "TypeNominal", - "name": "DependentMember", - "printedName": "τ_0_0.SubSequence" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } - ], - "usr": "s:Sa" - }, - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + ] } ], - "declKind": "Func", - "usr": "s:10Foundation12DataProtocolP6nfclibE7chunked4intoSay11SubSequenceQzGSi_tF", - "mangledName": "$s10Foundation12DataProtocolP6nfclibE7chunked4intoSay11SubSequenceQzGSi_tF", - "moduleName": "nfclib", - "genericSig": "<τ_0_0 where τ_0_0 : Foundation.DataProtocol>", - "sugared_genericSig": "", - "isFromExtension": true, - "funcSelfKind": "NonMutating" + "usr": "s:SY", + "mangledName": "$sSY" }, { - "kind": "Function", - "name": "removePadding", - "printedName": "removePadding()", - "children": [ - { - "kind": "TypeNominal", - "name": "DependentMember", - "printedName": "τ_0_0.SubSequence" - } - ], - "declKind": "Func", - "usr": "s:10Foundation12DataProtocolP6nfclibE13removePadding11SubSequenceQzyKF", - "mangledName": "$s10Foundation12DataProtocolP6nfclibE13removePadding11SubSequenceQzyKF", - "moduleName": "nfclib", - "genericSig": "<τ_0_0 where τ_0_0 : Foundation.DataProtocol>", - "sugared_genericSig": "", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" }, { - "kind": "Var", - "name": "toHex", - "printedName": "toHex", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:10Foundation12DataProtocolP6nfclibSi5IndexRtzrlE5toHexSSvp", - "mangledName": "$s10Foundation12DataProtocolP6nfclibSi5IndexRtzrlE5toHexSSvp", - "moduleName": "nfclib", - "isFromExtension": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Accessor", - "usr": "s:10Foundation12DataProtocolP6nfclibSi5IndexRtzrlE5toHexSSvg", - "mangledName": "$s10Foundation12DataProtocolP6nfclibSi5IndexRtzrlE5toHexSSvg", - "moduleName": "nfclib", - "genericSig": "<τ_0_0 where τ_0_0 : Foundation.DataProtocol, τ_0_0.Index == Swift.Int>", - "sugared_genericSig": "", - "isFromExtension": true, - "accessorKind": "get" - } - ] - }, + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "nfclib", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "CoreNFC", + "printedName": "CoreNFC", + "declKind": "Import", + "moduleName": "nfclib" + }, + { + "kind": "Import", + "name": "CommonCrypto", + "printedName": "CommonCrypto", + "declKind": "Import", + "moduleName": "nfclib" + }, + { + "kind": "Import", + "name": "CryptoTokenKit", + "printedName": "CryptoTokenKit", + "declKind": "Import", + "moduleName": "nfclib" + }, + { + "kind": "Import", + "name": "SwiftECC", + "printedName": "SwiftECC", + "declKind": "Import", + "moduleName": "nfclib", + "declAttributes": [ + "AccessControl" + ] + }, + { + "kind": "Import", + "name": "BigInt", + "printedName": "BigInt", + "declKind": "Import", + "moduleName": "nfclib" + }, + { + "kind": "TypeDecl", + "name": "OperationReadPublicData", + "printedName": "OperationReadPublicData", + "children": [ { "kind": "Function", - "name": "chunked", - "printedName": "chunked(into:)", + "name": "startReading", + "printedName": "startReading(CAN:)", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[τ_0_0.SubSequence]", - "children": [ - { - "kind": "TypeNominal", - "name": "DependentMember", - "printedName": "τ_0_0.SubSequence" - } - ], - "usr": "s:Sa" + "name": "CardInfo", + "printedName": "nfclib.CardInfo", + "usr": "s:6nfclib8CardInfoV" }, { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Func", - "usr": "s:10Foundation12DataProtocolP6nfclibSi5IndexRtzrlE7chunked4intoSay11SubSequenceQzGSi_tF", - "mangledName": "$s10Foundation12DataProtocolP6nfclibSi5IndexRtzrlE7chunked4intoSay11SubSequenceQzGSi_tF", + "usr": "s:6nfclib23OperationReadPublicDataC12startReading3CANAA8CardInfoVSS_tYaKF", + "mangledName": "$s6nfclib23OperationReadPublicDataC12startReading3CANAA8CardInfoVSS_tYaKF", "moduleName": "nfclib", - "genericSig": "<τ_0_0 where τ_0_0 : Foundation.DataProtocol, τ_0_0.Index == Swift.Int>", - "sugared_genericSig": "", - "isFromExtension": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "removePadding", - "printedName": "removePadding()", - "children": [ - { - "kind": "TypeNominal", - "name": "DependentMember", - "printedName": "τ_0_0.SubSequence" - } + "declAttributes": [ + "Custom", + "Final", + "AccessControl" ], - "declKind": "Func", - "usr": "s:10Foundation12DataProtocolP6nfclibSi5IndexRtzrlE13removePadding11SubSequenceQzyKF", - "mangledName": "$s10Foundation12DataProtocolP6nfclibSi5IndexRtzrlE13removePadding11SubSequenceQzyKF", - "moduleName": "nfclib", - "genericSig": "<τ_0_0 where τ_0_0 : Foundation.DataProtocol, τ_0_0.Index == Swift.Int>", - "sugared_genericSig": "", - "isFromExtension": true, "throwing": true, "funcSelfKind": "NonMutating" }, { "kind": "Constructor", "name": "init", - "printedName": "init(hex:)", + "printedName": "init()", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "τ_0_0?", - "children": [ - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "τ_0_0" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "OperationReadPublicData", + "printedName": "nfclib.OperationReadPublicData", + "usr": "c:@M@nfclib@objc(cs)OperationReadPublicData" } ], "declKind": "Constructor", - "usr": "s:10Foundation12DataProtocolP6nfclibAA07MutablebC0RzSi5IndexRtzrlE3hexxSgSS_tcfc", - "mangledName": "$s10Foundation12DataProtocolP6nfclibAA07MutablebC0RzSi5IndexRtzrlE3hexxSgSS_tcfc", + "usr": "c:@M@nfclib@objc(cs)OperationReadPublicData(im)init", + "mangledName": "$s6nfclib23OperationReadPublicDataCACycfc", "moduleName": "nfclib", - "genericSig": "<τ_0_0 where τ_0_0 : Foundation.MutableDataProtocol, τ_0_0.Index == Swift.Int>", - "sugared_genericSig": "", - "isFromExtension": true, - "init_kind": "Convenience" - }, - { - "kind": "Function", - "name": "addPadding", - "printedName": "addPadding()", - "children": [ - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "τ_0_0" - } + "overriding": true, + "implicit": true, + "objc_name": "init", + "declAttributes": [ + "Dynamic", + "ObjC", + "Custom", + "Override" ], - "declKind": "Func", - "usr": "s:10Foundation12DataProtocolP6nfclibAA07MutablebC0RzSi5IndexRtzrlE10addPaddingxyF", - "mangledName": "$s10Foundation12DataProtocolP6nfclibAA07MutablebC0RzSi5IndexRtzrlE10addPaddingxyF", - "moduleName": "nfclib", - "genericSig": "<τ_0_0 where τ_0_0 : Foundation.MutableDataProtocol, τ_0_0.Index == Swift.Int>", - "sugared_genericSig": "", - "isFromExtension": true, - "funcSelfKind": "NonMutating" + "init_kind": "Designated" }, { "kind": "Function", - "name": "^", - "printedName": "^(_:_:)", + "name": "tagReaderSession", + "printedName": "tagReaderSession(_:didDetect:)", "children": [ { "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "τ_0_0" + "name": "Void", + "printedName": "()" }, { "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "τ_0_0" + "name": "NFCTagReaderSession", + "printedName": "CoreNFC.NFCTagReaderSession", + "usr": "c:objc(cs)NFCTagReaderSession" }, { "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "τ_0_0" + "name": "Array", + "printedName": "[CoreNFC.NFCTag]", + "children": [ + { + "kind": "TypeNominal", + "name": "NFCTag", + "printedName": "CoreNFC.NFCTag", + "usr": "s:7CoreNFC6NFCTagO" + } + ], + "usr": "s:Sa" } ], "declKind": "Func", - "usr": "s:10Foundation12DataProtocolP6nfclibAA07MutablebC0RzSi5IndexRtzrlE1xoiyxx_xtFZ", - "mangledName": "$s10Foundation12DataProtocolP6nfclibAA07MutablebC0RzSi5IndexRtzrlE1xoiyxx_xtFZ", + "usr": "s:6nfclib23OperationReadPublicDataC16tagReaderSession_9didDetectySo06NFCTaggH0C_Say7CoreNFC0K0OGtF", + "mangledName": "$s6nfclib23OperationReadPublicDataC16tagReaderSession_9didDetectySo06NFCTaggH0C_Say7CoreNFC0K0OGtF", "moduleName": "nfclib", - "genericSig": "<τ_0_0 where τ_0_0 : Foundation.MutableDataProtocol, τ_0_0.Index == Swift.Int>", - "sugared_genericSig": "", - "static": true, "declAttributes": [ + "Custom", + "Final", "AccessControl" ], "isFromExtension": true, @@ -13451,244 +6597,105 @@ }, { "kind": "Function", - "name": "^", - "printedName": "^(_:_:)", - "children": [ - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "τ_0_0" - }, - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "τ_0_0" - }, - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "τ_1_0" - } - ], - "declKind": "Func", - "usr": "s:10Foundation12DataProtocolP6nfclibAA07MutablebC0RzSi5IndexRtzrlE1xoiyxx_qd__tSlRd__s5UInt8V7ElementRtd__lFZ", - "mangledName": "$s10Foundation12DataProtocolP6nfclibAA07MutablebC0RzSi5IndexRtzrlE1xoiyxx_qd__tSlRd__s5UInt8V7ElementRtd__lFZ", - "moduleName": "nfclib", - "genericSig": "<τ_0_0, τ_1_0 where τ_0_0 : Foundation.MutableDataProtocol, τ_1_0 : Swift.Collection, τ_0_0.Index == Swift.Int, τ_1_0.Element == Swift.UInt8>", - "sugared_genericSig": "", - "static": true, - "isFromExtension": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "increment", - "printedName": "increment()", - "children": [ - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "τ_0_0" - } - ], - "declKind": "Func", - "usr": "s:10Foundation12DataProtocolP6nfclibAA07MutablebC0RzSi5IndexRtzrlE9incrementxyF", - "mangledName": "$s10Foundation12DataProtocolP6nfclibAA07MutablebC0RzSi5IndexRtzrlE9incrementxyF", - "moduleName": "nfclib", - "genericSig": "<τ_0_0 where τ_0_0 : Foundation.MutableDataProtocol, τ_0_0.Index == Swift.Int>", - "sugared_genericSig": "", - "declAttributes": [ - "Mutating" - ], - "isFromExtension": true, - "funcSelfKind": "Mutating" - }, - { - "kind": "Function", - "name": "leftShiftOneBit", - "printedName": "leftShiftOneBit()", + "name": "tagReaderSessionDidBecomeActive", + "printedName": "tagReaderSessionDidBecomeActive(_:)", "children": [ { "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "τ_0_0" - } - ], - "declKind": "Func", - "usr": "s:10Foundation12DataProtocolP6nfclibAA07MutablebC0RzSi5IndexRtzrlE15leftShiftOneBitxyF", - "mangledName": "$s10Foundation12DataProtocolP6nfclibAA07MutablebC0RzSi5IndexRtzrlE15leftShiftOneBitxyF", - "moduleName": "nfclib", - "genericSig": "<τ_0_0 where τ_0_0 : Foundation.MutableDataProtocol, τ_0_0.Index == Swift.Int>", - "sugared_genericSig": "", - "isFromExtension": true, - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Protocol", - "usr": "s:10Foundation12DataProtocolP", - "mangledName": "$s10Foundation12DataProtocolP", - "moduleName": "Foundation", - "genericSig": "<τ_0_0 : Swift.RandomAccessCollection, τ_0_0.Element == Swift.UInt8, τ_0_0.Regions : Swift.BidirectionalCollection, τ_0_0.SubSequence : Foundation.DataProtocol, τ_0_0.Regions.Element : Foundation.ContiguousBytes, τ_0_0.Regions.Element : Foundation.DataProtocol, τ_0_0.Regions.Element.SubSequence : Foundation.ContiguousBytes>", - "sugared_genericSig": "", - "intro_Macosx": "10.10", - "intro_iOS": "8.0", - "intro_tvOS": "9.0", - "intro_watchOS": "2.0", - "declAttributes": [ - "Available", - "Available", - "Available", - "Available" - ], - "isExternal": true, - "conformances": [ - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - }, - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "RandomAccessCollection", - "printedName": "RandomAccessCollection", - "usr": "s:Sk", - "mangledName": "$sSk" - }, - { - "kind": "Conformance", - "name": "BidirectionalCollection", - "printedName": "BidirectionalCollection", - "usr": "s:SK", - "mangledName": "$sSK" - }, - { - "kind": "Conformance", - "name": "Collection", - "printedName": "Collection", - "usr": "s:Sl", - "mangledName": "$sSl" + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "NFCTagReaderSession", + "printedName": "CoreNFC.NFCTagReaderSession", + "usr": "c:objc(cs)NFCTagReaderSession" + } + ], + "declKind": "Func", + "usr": "s:6nfclib23OperationReadPublicDataC31tagReaderSessionDidBecomeActiveyySo06NFCTaggH0CF", + "mangledName": "$s6nfclib23OperationReadPublicDataC31tagReaderSessionDidBecomeActiveyySo06NFCTaggH0CF", + "moduleName": "nfclib", + "declAttributes": [ + "Custom", + "Final", + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" }, { - "kind": "Conformance", - "name": "Sequence", - "printedName": "Sequence", - "usr": "s:ST", - "mangledName": "$sST" - } - ] - }, - { - "kind": "TypeDecl", - "name": "UInt16", - "printedName": "UInt16", - "children": [ - { - "kind": "Constructor", - "name": "init", - "printedName": "init(_:_:)", + "kind": "Function", + "name": "tagReaderSession", + "printedName": "tagReaderSession(_:didInvalidateWithError:)", "children": [ { "kind": "TypeNominal", - "name": "UInt16", - "printedName": "Swift.UInt16", - "usr": "s:s6UInt16V" + "name": "Void", + "printedName": "()" }, { "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" + "name": "NFCTagReaderSession", + "printedName": "CoreNFC.NFCTagReaderSession", + "usr": "c:objc(cs)NFCTagReaderSession" }, { "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" + "name": "Error", + "printedName": "any Swift.Error", + "usr": "s:s5ErrorP" } ], - "declKind": "Constructor", - "usr": "s:s6UInt16V6nfclibEyABs5UInt8V_AEtcfc", - "mangledName": "$ss6UInt16V6nfclibEyABs5UInt8V_AEtcfc", + "declKind": "Func", + "usr": "s:6nfclib23OperationReadPublicDataC16tagReaderSession_22didInvalidateWithErrorySo06NFCTaggH0C_s0L0_ptF", + "mangledName": "$s6nfclib23OperationReadPublicDataC16tagReaderSession_22didInvalidateWithErrorySo06NFCTaggH0C_s0L0_ptF", "moduleName": "nfclib", + "declAttributes": [ + "Custom", + "Final", + "AccessControl" + ], "isFromExtension": true, - "init_kind": "Designated" + "funcSelfKind": "NonMutating" } ], - "declKind": "Struct", - "usr": "s:s6UInt16V", - "mangledName": "$ss6UInt16V", - "moduleName": "Swift", + "declKind": "Class", + "usr": "c:@M@nfclib@objc(cs)OperationReadPublicData", + "mangledName": "$s6nfclib23OperationReadPublicDataC", + "moduleName": "nfclib", "declAttributes": [ - "Frozen" + "AccessControl", + "Final", + "Custom", + "ObjC" + ], + "superclassUsr": "c:objc(cs)NSObject", + "inheritsConvenienceInitializers": true, + "superclassNames": [ + "ObjectiveC.NSObject" ], - "isExternal": true, "conformances": [ { "kind": "Conformance", - "name": "_FormatSpecifiable", - "printedName": "_FormatSpecifiable", - "children": [ - { - "kind": "TypeWitness", - "name": "_Arg", - "printedName": "_Arg", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt32", - "printedName": "Swift.UInt32", - "usr": "s:s6UInt32V" - } - ] - } - ], - "usr": "s:10Foundation18_FormatSpecifiableP", - "mangledName": "$s10Foundation18_FormatSpecifiableP" - }, - { - "kind": "Conformance", - "name": "AdditiveArithmetic", - "printedName": "AdditiveArithmetic", - "usr": "s:s18AdditiveArithmeticP", - "mangledName": "$ss18AdditiveArithmeticP" + "name": "NFCTagReaderSessionDelegate", + "printedName": "NFCTagReaderSessionDelegate", + "usr": "s:7CoreNFC27NFCTagReaderSessionDelegateP", + "mangledName": "$s7CoreNFC27NFCTagReaderSessionDelegateP" }, { "kind": "Conformance", - "name": "BinaryInteger", - "printedName": "BinaryInteger", - "children": [ - { - "kind": "TypeWitness", - "name": "Words", - "printedName": "Words", - "children": [ - { - "kind": "TypeNominal", - "name": "Words", - "printedName": "Swift.UInt16.Words", - "usr": "s:s6UInt16V5WordsV" - } - ] - } - ], - "usr": "s:Sz", - "mangledName": "$sSz" + "name": "_KeyValueCodingAndObserving", + "printedName": "_KeyValueCodingAndObserving", + "usr": "s:10Foundation27_KeyValueCodingAndObservingP", + "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP" }, { "kind": "Conformance", - "name": "BitwiseCopyable", - "printedName": "BitwiseCopyable", - "usr": "s:s15BitwiseCopyableP", - "mangledName": "$ss15BitwiseCopyableP" + "name": "_KeyValueCodingAndObservingPublishing", + "printedName": "_KeyValueCodingAndObservingPublishing", + "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP", + "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP" }, { "kind": "Conformance", @@ -13697,13 +6704,6 @@ "usr": "s:s7CVarArgP", "mangledName": "$ss7CVarArgP" }, - { - "kind": "Conformance", - "name": "Comparable", - "printedName": "Comparable", - "usr": "s:SL", - "mangledName": "$sSL" - }, { "kind": "Conformance", "name": "Copyable", @@ -13713,10 +6713,10 @@ }, { "kind": "Conformance", - "name": "CustomReflectable", - "printedName": "CustomReflectable", - "usr": "s:s17CustomReflectableP", - "mangledName": "$ss17CustomReflectableP" + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" }, { "kind": "Conformance", @@ -13725,20 +6725,6 @@ "usr": "s:s23CustomStringConvertibleP", "mangledName": "$ss23CustomStringConvertibleP" }, - { - "kind": "Conformance", - "name": "Decodable", - "printedName": "Decodable", - "usr": "s:Se", - "mangledName": "$sSe" - }, - { - "kind": "Conformance", - "name": "Encodable", - "printedName": "Encodable", - "usr": "s:SE", - "mangledName": "$sSE" - }, { "kind": "Conformance", "name": "Equatable", @@ -13753,35 +6739,6 @@ "usr": "s:s9EscapableP", "mangledName": "$ss9EscapableP" }, - { - "kind": "Conformance", - "name": "ExpressibleByIntegerLiteral", - "printedName": "ExpressibleByIntegerLiteral", - "children": [ - { - "kind": "TypeWitness", - "name": "IntegerLiteralType", - "printedName": "IntegerLiteralType", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt16", - "printedName": "Swift.UInt16", - "usr": "s:s6UInt16V" - } - ] - } - ], - "usr": "s:s27ExpressibleByIntegerLiteralP", - "mangledName": "$ss27ExpressibleByIntegerLiteralP" - }, - { - "kind": "Conformance", - "name": "FixedWidthInteger", - "printedName": "FixedWidthInteger", - "usr": "s:s17FixedWidthIntegerP", - "mangledName": "$ss17FixedWidthIntegerP" - }, { "kind": "Conformance", "name": "Hashable", @@ -13791,364 +6748,277 @@ }, { "kind": "Conformance", - "name": "LosslessStringConvertible", - "printedName": "LosslessStringConvertible", - "usr": "s:s25LosslessStringConvertibleP", - "mangledName": "$ss25LosslessStringConvertibleP" - }, + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "nfclib", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "nfclib", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "CodeType", + "printedName": "CodeType", + "children": [ { - "kind": "Conformance", - "name": "Numeric", - "printedName": "Numeric", + "kind": "Var", + "name": "puk", + "printedName": "puk", "children": [ { - "kind": "TypeWitness", - "name": "Magnitude", - "printedName": "Magnitude", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(nfclib.CodeType.Type) -> nfclib.CodeType", "children": [ { "kind": "TypeNominal", - "name": "UInt16", - "printedName": "Swift.UInt16", - "usr": "s:s6UInt16V" + "name": "CodeType", + "printedName": "nfclib.CodeType", + "usr": "s:6nfclib8CodeTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "nfclib.CodeType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodeType", + "printedName": "nfclib.CodeType", + "usr": "s:6nfclib8CodeTypeO" + } + ] } ] } ], - "usr": "s:Sj", - "mangledName": "$sSj" + "declKind": "EnumElement", + "usr": "s:6nfclib8CodeTypeO3pukyA2CmF", + "mangledName": "$s6nfclib8CodeTypeO3pukyA2CmF", + "moduleName": "nfclib" }, { - "kind": "Conformance", - "name": "SIMDScalar", - "printedName": "SIMDScalar", + "kind": "Var", + "name": "pin1", + "printedName": "pin1", "children": [ { - "kind": "TypeWitness", - "name": "SIMDMaskScalar", - "printedName": "SIMDMaskScalar", - "children": [ - { - "kind": "TypeNominal", - "name": "Int16", - "printedName": "Swift.Int16", - "usr": "s:s5Int16V" - } - ] - }, - { - "kind": "TypeWitness", - "name": "SIMD2Storage", - "printedName": "SIMD2Storage", - "children": [ - { - "kind": "TypeNominal", - "name": "SIMD2Storage", - "printedName": "Swift.UInt16.SIMD2Storage", - "usr": "s:s6UInt16V12SIMD2StorageV" - } - ] - }, - { - "kind": "TypeWitness", - "name": "SIMD4Storage", - "printedName": "SIMD4Storage", - "children": [ - { - "kind": "TypeNominal", - "name": "SIMD4Storage", - "printedName": "Swift.UInt16.SIMD4Storage", - "usr": "s:s6UInt16V12SIMD4StorageV" - } - ] - }, - { - "kind": "TypeWitness", - "name": "SIMD8Storage", - "printedName": "SIMD8Storage", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(nfclib.CodeType.Type) -> nfclib.CodeType", "children": [ { "kind": "TypeNominal", - "name": "SIMD8Storage", - "printedName": "Swift.UInt16.SIMD8Storage", - "usr": "s:s6UInt16V12SIMD8StorageV" - } - ] - }, - { - "kind": "TypeWitness", - "name": "SIMD16Storage", - "printedName": "SIMD16Storage", - "children": [ + "name": "CodeType", + "printedName": "nfclib.CodeType", + "usr": "s:6nfclib8CodeTypeO" + }, { "kind": "TypeNominal", - "name": "SIMD16Storage", - "printedName": "Swift.UInt16.SIMD16Storage", - "usr": "s:s6UInt16V13SIMD16StorageV" + "name": "Metatype", + "printedName": "nfclib.CodeType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodeType", + "printedName": "nfclib.CodeType", + "usr": "s:6nfclib8CodeTypeO" + } + ] } ] - }, + } + ], + "declKind": "EnumElement", + "usr": "s:6nfclib8CodeTypeO4pin1yA2CmF", + "mangledName": "$s6nfclib8CodeTypeO4pin1yA2CmF", + "moduleName": "nfclib" + }, + { + "kind": "Var", + "name": "pin2", + "printedName": "pin2", + "children": [ { - "kind": "TypeWitness", - "name": "SIMD32Storage", - "printedName": "SIMD32Storage", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(nfclib.CodeType.Type) -> nfclib.CodeType", "children": [ { "kind": "TypeNominal", - "name": "SIMD32Storage", - "printedName": "Swift.UInt16.SIMD32Storage", - "usr": "s:s6UInt16V13SIMD32StorageV" - } - ] - }, - { - "kind": "TypeWitness", - "name": "SIMD64Storage", - "printedName": "SIMD64Storage", - "children": [ + "name": "CodeType", + "printedName": "nfclib.CodeType", + "usr": "s:6nfclib8CodeTypeO" + }, { "kind": "TypeNominal", - "name": "SIMD64Storage", - "printedName": "Swift.UInt16.SIMD64Storage", - "usr": "s:s6UInt16V13SIMD64StorageV" + "name": "Metatype", + "printedName": "nfclib.CodeType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodeType", + "printedName": "nfclib.CodeType", + "usr": "s:6nfclib8CodeTypeO" + } + ] } ] } ], - "usr": "s:s10SIMDScalarP", - "mangledName": "$ss10SIMDScalarP" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" + "declKind": "EnumElement", + "usr": "s:6nfclib8CodeTypeO4pin2yA2CmF", + "mangledName": "$s6nfclib8CodeTypeO4pin2yA2CmF", + "moduleName": "nfclib" }, { - "kind": "Conformance", - "name": "Strideable", - "printedName": "Strideable", + "kind": "Var", + "name": "name", + "printedName": "name", "children": [ { - "kind": "TypeWitness", - "name": "Stride", - "printedName": "Stride", + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:6nfclib8CodeTypeO4nameSSvp", + "mangledName": "$s6nfclib8CodeTypeO4nameSSvp", + "moduleName": "nfclib", + "declAttributes": [ + "AccessControl" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] + ], + "declKind": "Accessor", + "usr": "s:6nfclib8CodeTypeO4nameSSvg", + "mangledName": "$s6nfclib8CodeTypeO4nameSSvg", + "moduleName": "nfclib", + "accessorKind": "get" } - ], - "usr": "s:Sx", - "mangledName": "$sSx" - }, - { - "kind": "Conformance", - "name": "UnsignedInteger", - "printedName": "UnsignedInteger", - "usr": "s:SU", - "mangledName": "$sSU" - }, - { - "kind": "Conformance", - "name": "_CustomPlaygroundQuickLookable", - "printedName": "_CustomPlaygroundQuickLookable", - "usr": "s:s30_CustomPlaygroundQuickLookableP", - "mangledName": "$ss30_CustomPlaygroundQuickLookableP" - }, - { - "kind": "Conformance", - "name": "_ExpressibleByBuiltinIntegerLiteral", - "printedName": "_ExpressibleByBuiltinIntegerLiteral", - "usr": "s:s35_ExpressibleByBuiltinIntegerLiteralP", - "mangledName": "$ss35_ExpressibleByBuiltinIntegerLiteralP" - }, - { - "kind": "Conformance", - "name": "_HasCustomAnyHashableRepresentation", - "printedName": "_HasCustomAnyHashableRepresentation", - "usr": "s:s35_HasCustomAnyHashableRepresentationP", - "mangledName": "$ss35_HasCustomAnyHashableRepresentationP" + ] }, { - "kind": "Conformance", - "name": "_ObjectiveCBridgeable", - "printedName": "_ObjectiveCBridgeable", + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", "children": [ { - "kind": "TypeWitness", - "name": "_ObjectiveCType", - "printedName": "_ObjectiveCType", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "nfclib.CodeType?", "children": [ { "kind": "TypeNominal", - "name": "NSNumber", - "printedName": "Foundation.NSNumber", - "usr": "c:objc(cs)NSNumber" + "name": "CodeType", + "printedName": "nfclib.CodeType", + "usr": "s:6nfclib8CodeTypeO" } - ] + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "UInt", + "printedName": "Swift.UInt", + "usr": "s:Su" } ], - "usr": "s:s21_ObjectiveCBridgeableP", - "mangledName": "$ss21_ObjectiveCBridgeableP" - }, - { - "kind": "Conformance", - "name": "_StringElement", - "printedName": "_StringElement", - "usr": "s:s14_StringElementP", - "mangledName": "$ss14_StringElementP" + "declKind": "Constructor", + "usr": "s:6nfclib8CodeTypeO8rawValueACSgSu_tcfc", + "mangledName": "$s6nfclib8CodeTypeO8rawValueACSgSu_tcfc", + "moduleName": "nfclib", + "implicit": true, + "init_kind": "Designated" }, { - "kind": "Conformance", - "name": "ASN1IntegerRepresentable", - "printedName": "ASN1IntegerRepresentable", + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", "children": [ { - "kind": "TypeWitness", - "name": "IntegerBytes", - "printedName": "IntegerBytes", + "kind": "TypeNominal", + "name": "UInt", + "printedName": "Swift.UInt", + "usr": "s:Su" + } + ], + "declKind": "Var", + "usr": "s:6nfclib8CodeTypeO8rawValueSuvp", + "mangledName": "$s6nfclib8CodeTypeO8rawValueSuvp", + "moduleName": "nfclib", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "IntegerBytesCollection", - "printedName": "SwiftASN1.IntegerBytesCollection", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt16", - "printedName": "Swift.UInt16", - "usr": "s:s6UInt16V" - } - ], - "usr": "s:9SwiftASN122IntegerBytesCollectionV" + "name": "UInt", + "printedName": "Swift.UInt", + "usr": "s:Su" } - ] + ], + "declKind": "Accessor", + "usr": "s:6nfclib8CodeTypeO8rawValueSuvg", + "mangledName": "$s6nfclib8CodeTypeO8rawValueSuvg", + "moduleName": "nfclib", + "implicit": true, + "accessorKind": "get" } - ], - "usr": "s:9SwiftASN10B20IntegerRepresentableP", - "mangledName": "$s9SwiftASN10B20IntegerRepresentableP" - }, - { - "kind": "Conformance", - "name": "BERImplicitlyTaggable", - "printedName": "BERImplicitlyTaggable", - "usr": "s:9SwiftASN121BERImplicitlyTaggableP", - "mangledName": "$s9SwiftASN121BERImplicitlyTaggableP" - }, - { - "kind": "Conformance", - "name": "BERParseable", - "printedName": "BERParseable", - "usr": "s:9SwiftASN112BERParseableP", - "mangledName": "$s9SwiftASN112BERParseableP" - }, - { - "kind": "Conformance", - "name": "BERSerializable", - "printedName": "BERSerializable", - "usr": "s:9SwiftASN115BERSerializableP", - "mangledName": "$s9SwiftASN115BERSerializableP" - }, - { - "kind": "Conformance", - "name": "DERImplicitlyTaggable", - "printedName": "DERImplicitlyTaggable", - "usr": "s:9SwiftASN121DERImplicitlyTaggableP", - "mangledName": "$s9SwiftASN121DERImplicitlyTaggableP" - }, - { - "kind": "Conformance", - "name": "DERParseable", - "printedName": "DERParseable", - "usr": "s:9SwiftASN112DERParseableP", - "mangledName": "$s9SwiftASN112DERParseableP" - }, - { - "kind": "Conformance", - "name": "DERSerializable", - "printedName": "DERSerializable", - "usr": "s:9SwiftASN115DERSerializableP", - "mangledName": "$s9SwiftASN115DERSerializableP" + ] } - ] - }, - { - "kind": "TypeDecl", - "name": "NFCTagReaderSession", - "printedName": "NFCTagReaderSession", - "declKind": "Class", - "usr": "c:objc(cs)NFCTagReaderSession", - "moduleName": "CoreNFC", - "isOpen": true, - "intro_iOS": "13.0", - "objc_name": "NFCTagReaderSession", - "declAttributes": [ - "Available", - "ObjC", - "Dynamic" ], - "superclassUsr": "c:objc(cs)NFCReaderSession", - "isExternal": true, - "inheritsConvenienceInitializers": true, - "superclassNames": [ - "CoreNFC.NFCReaderSession", - "ObjectiveC.NSObject" + "declKind": "Enum", + "usr": "s:6nfclib8CodeTypeO", + "mangledName": "$s6nfclib8CodeTypeO", + "moduleName": "nfclib", + "declAttributes": [ + "AccessControl" ], + "enumRawTypeName": "UInt", "conformances": [ - { - "kind": "Conformance", - "name": "_KeyValueCodingAndObserving", - "printedName": "_KeyValueCodingAndObserving", - "usr": "s:10Foundation27_KeyValueCodingAndObservingP", - "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP" - }, - { - "kind": "Conformance", - "name": "_KeyValueCodingAndObservingPublishing", - "printedName": "_KeyValueCodingAndObservingPublishing", - "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP", - "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP" - }, - { - "kind": "Conformance", - "name": "CVarArg", - "printedName": "CVarArg", - "usr": "s:s7CVarArgP", - "mangledName": "$ss7CVarArgP" - }, - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "CustomDebugStringConvertible", - "printedName": "CustomDebugStringConvertible", - "usr": "s:s28CustomDebugStringConvertibleP", - "mangledName": "$ss28CustomDebugStringConvertibleP" - }, - { - "kind": "Conformance", - "name": "CustomStringConvertible", - "printedName": "CustomStringConvertible", - "usr": "s:s23CustomStringConvertibleP", - "mangledName": "$ss23CustomStringConvertibleP" + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" }, { "kind": "Conformance", @@ -14171,6 +7041,28 @@ "usr": "s:SH", "mangledName": "$sSH" }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", + "children": [ + { + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "UInt", + "printedName": "Swift.UInt", + "usr": "s:Su" + } + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, { "kind": "Conformance", "name": "Sendable", @@ -14189,134 +7081,430 @@ }, { "kind": "TypeDecl", - "name": "NFCTag", - "printedName": "NFCTag", - "declKind": "Enum", - "usr": "s:7CoreNFC6NFCTagO", - "mangledName": "$s7CoreNFC6NFCTagO", - "moduleName": "CoreNFC", - "intro_iOS": "13.0", - "declAttributes": [ - "Available", - "Available" - ], - "isExternal": true, - "conformances": [ + "name": "CardCommands", + "printedName": "CardCommands", + "children": [ { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" + "kind": "Var", + "name": "canChangePUK", + "printedName": "canChangePUK", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Var", + "usr": "s:6nfclib12CardCommandsP12canChangePUKSbvp", + "mangledName": "$s6nfclib12CardCommandsP12canChangePUKSbvp", + "moduleName": "nfclib", + "protocolReq": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "s:6nfclib12CardCommandsP12canChangePUKSbvg", + "mangledName": "$s6nfclib12CardCommandsP12canChangePUKSbvg", + "moduleName": "nfclib", + "genericSig": "<τ_0_0 where τ_0_0 : nfclib.CardCommands>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "accessorKind": "get" + } + ] }, { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" + "kind": "Function", + "name": "readPublicData", + "printedName": "readPublicData()", + "children": [ + { + "kind": "TypeNominal", + "name": "CardInfo", + "printedName": "nfclib.CardInfo", + "usr": "s:6nfclib8CardInfoV" + } + ], + "declKind": "Func", + "usr": "s:6nfclib12CardCommandsP14readPublicDataAA0B4InfoVyYaKF", + "mangledName": "$s6nfclib12CardCommandsP14readPublicDataAA0B4InfoVyYaKF", + "moduleName": "nfclib", + "genericSig": "<τ_0_0 where τ_0_0 : nfclib.CardCommands>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "RawDocComment" + ], + "throwing": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "readAuthenticationCertificate", + "printedName": "readAuthenticationCertificate()", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Func", + "usr": "s:6nfclib12CardCommandsP29readAuthenticationCertificate10Foundation4DataVyYaKF", + "mangledName": "$s6nfclib12CardCommandsP29readAuthenticationCertificate10Foundation4DataVyYaKF", + "moduleName": "nfclib", + "genericSig": "<τ_0_0 where τ_0_0 : nfclib.CardCommands>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "RawDocComment" + ], + "throwing": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "readSignatureCertificate", + "printedName": "readSignatureCertificate()", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Func", + "usr": "s:6nfclib12CardCommandsP24readSignatureCertificate10Foundation4DataVyYaKF", + "mangledName": "$s6nfclib12CardCommandsP24readSignatureCertificate10Foundation4DataVyYaKF", + "moduleName": "nfclib", + "genericSig": "<τ_0_0 where τ_0_0 : nfclib.CardCommands>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "RawDocComment" + ], + "throwing": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "readCodeTryCounterRecord", + "printedName": "readCodeTryCounterRecord(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(retryCount: Swift.UInt8, pinActive: Swift.Bool)", + "children": [ + { + "kind": "TypeNominal", + "name": "UInt8", + "printedName": "Swift.UInt8", + "usr": "s:s5UInt8V" + }, + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ] + }, + { + "kind": "TypeNominal", + "name": "CodeType", + "printedName": "nfclib.CodeType", + "usr": "s:6nfclib8CodeTypeO" + } + ], + "declKind": "Func", + "usr": "s:6nfclib12CardCommandsP24readCodeTryCounterRecordys5UInt8V10retryCount_Sb9pinActivetAA0E4TypeOYaKF", + "mangledName": "$s6nfclib12CardCommandsP24readCodeTryCounterRecordys5UInt8V10retryCount_Sb9pinActivetAA0E4TypeOYaKF", + "moduleName": "nfclib", + "genericSig": "<τ_0_0 where τ_0_0 : nfclib.CardCommands>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "RawDocComment" + ], + "throwing": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "changeCode", + "printedName": "changeCode(_:to:verifyCode:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "CodeType", + "printedName": "nfclib.CodeType", + "usr": "s:6nfclib8CodeTypeO" + }, + { + "kind": "TypeNominal", + "name": "SecureData", + "printedName": "nfclib.SecureData", + "usr": "s:6nfclib10SecureDataC" + }, + { + "kind": "TypeNominal", + "name": "SecureData", + "printedName": "nfclib.SecureData", + "usr": "s:6nfclib10SecureDataC" + } + ], + "declKind": "Func", + "usr": "s:6nfclib12CardCommandsP10changeCode_2to06verifyE0yAA0E4TypeO_AA10SecureDataCAJtYaKF", + "mangledName": "$s6nfclib12CardCommandsP10changeCode_2to06verifyE0yAA0E4TypeO_AA10SecureDataCAJtYaKF", + "moduleName": "nfclib", + "genericSig": "<τ_0_0 where τ_0_0 : nfclib.CardCommands>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "RawDocComment" + ], + "throwing": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" }, { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" + "kind": "Function", + "name": "verifyCode", + "printedName": "verifyCode(_:code:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "CodeType", + "printedName": "nfclib.CodeType", + "usr": "s:6nfclib8CodeTypeO" + }, + { + "kind": "TypeNominal", + "name": "SecureData", + "printedName": "nfclib.SecureData", + "usr": "s:6nfclib10SecureDataC" + } + ], + "declKind": "Func", + "usr": "s:6nfclib12CardCommandsP10verifyCode_4codeyAA0E4TypeO_AA10SecureDataCtYaKF", + "mangledName": "$s6nfclib12CardCommandsP10verifyCode_4codeyAA0E4TypeO_AA10SecureDataCtYaKF", + "moduleName": "nfclib", + "genericSig": "<τ_0_0 where τ_0_0 : nfclib.CardCommands>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "RawDocComment" + ], + "throwing": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" }, { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "ECPublicKey", - "printedName": "ECPublicKey", - "children": [ + "kind": "Function", + "name": "unblockCode", + "printedName": "unblockCode(_:puk:newCode:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "CodeType", + "printedName": "nfclib.CodeType", + "usr": "s:6nfclib8CodeTypeO" + }, + { + "kind": "TypeNominal", + "name": "SecureData", + "printedName": "nfclib.SecureData", + "usr": "s:6nfclib10SecureDataC" + }, + { + "kind": "TypeNominal", + "name": "SecureData", + "printedName": "nfclib.SecureData", + "usr": "s:6nfclib10SecureDataC" + } + ], + "declKind": "Func", + "usr": "s:6nfclib12CardCommandsP11unblockCode_3puk03newE0yAA0E4TypeO_AA10SecureDataCAJtYaKF", + "mangledName": "$s6nfclib12CardCommandsP11unblockCode_3puk03newE0yAA0E4TypeO_AA10SecureDataCAJtYaKF", + "moduleName": "nfclib", + "genericSig": "<τ_0_0 where τ_0_0 : nfclib.CardCommands>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "RawDocComment" + ], + "throwing": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(domain:point:)", + "kind": "Function", + "name": "authenticate", + "printedName": "authenticate(for:withPin1:)", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "SwiftECC.ECPublicKey?", - "children": [ - { - "kind": "TypeNominal", - "name": "ECPublicKey", - "printedName": "SwiftECC.ECPublicKey", - "usr": "s:8SwiftECC11ECPublicKeyC" - } - ], - "usr": "s:Sq" + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" }, { "kind": "TypeNominal", - "name": "Domain", - "printedName": "SwiftECC.Domain", - "usr": "s:8SwiftECC6DomainC" + "name": "SecureData", + "printedName": "nfclib.SecureData", + "usr": "s:6nfclib10SecureDataC" + } + ], + "declKind": "Func", + "usr": "s:6nfclib12CardCommandsP12authenticate3for8withPin110Foundation4DataVAI_AA06SecureI0CtYaKF", + "mangledName": "$s6nfclib12CardCommandsP12authenticate3for8withPin110Foundation4DataVAI_AA06SecureI0CtYaKF", + "moduleName": "nfclib", + "genericSig": "<τ_0_0 where τ_0_0 : nfclib.CardCommands>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "RawDocComment" + ], + "throwing": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "calculateSignature", + "printedName": "calculateSignature(for:withPin2:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" }, { "kind": "TypeNominal", "name": "Data", "printedName": "Foundation.Data", "usr": "s:10Foundation4DataV" + }, + { + "kind": "TypeNominal", + "name": "SecureData", + "printedName": "nfclib.SecureData", + "usr": "s:6nfclib10SecureDataC" } ], - "declKind": "Constructor", - "usr": "s:8SwiftECC11ECPublicKeyC6nfclibE6domain5pointACSgAA6DomainC_10Foundation4DataVtKcfc", - "mangledName": "$s8SwiftECC11ECPublicKeyC6nfclibE6domain5pointACSgAA6DomainC_10Foundation4DataVtKcfc", + "declKind": "Func", + "usr": "s:6nfclib12CardCommandsP18calculateSignature3for8withPin210Foundation4DataVAI_AA06SecureJ0CtYaKF", + "mangledName": "$s6nfclib12CardCommandsP18calculateSignature3for8withPin210Foundation4DataVAI_AA06SecureJ0CtYaKF", "moduleName": "nfclib", + "genericSig": "<τ_0_0 where τ_0_0 : nfclib.CardCommands>", + "sugared_genericSig": "", + "protocolReq": true, "declAttributes": [ - "Convenience" + "RawDocComment" ], - "isFromExtension": true, "throwing": true, - "init_kind": "Convenience" + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" }, { "kind": "Function", - "name": "x963Representation", - "printedName": "x963Representation()", + "name": "decryptData", + "printedName": "decryptData(_:withPin1:)", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.UInt8]", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "usr": "s:Sa" + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + }, + { + "kind": "TypeNominal", + "name": "SecureData", + "printedName": "nfclib.SecureData", + "usr": "s:6nfclib10SecureDataC" } ], "declKind": "Func", - "usr": "s:8SwiftECC11ECPublicKeyC6nfclibE18x963RepresentationSays5UInt8VGyKF", - "mangledName": "$s8SwiftECC11ECPublicKeyC6nfclibE18x963RepresentationSays5UInt8VGyKF", + "usr": "s:6nfclib12CardCommandsP11decryptData_8withPin110Foundation0E0VAH_AA06SecureE0CtYaKF", + "mangledName": "$s6nfclib12CardCommandsP11decryptData_8withPin110Foundation0E0VAH_AA06SecureE0CtYaKF", "moduleName": "nfclib", - "isOpen": true, - "isFromExtension": true, + "genericSig": "<τ_0_0 where τ_0_0 : nfclib.CardCommands>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "RawDocComment" + ], "throwing": true, + "reqNewWitnessTableEntry": true, "funcSelfKind": "NonMutating" } ], - "declKind": "Class", - "usr": "s:8SwiftECC11ECPublicKeyC", - "mangledName": "$s8SwiftECC11ECPublicKeyC", - "moduleName": "SwiftECC", - "isOpen": true, - "isExternal": true, + "declKind": "Protocol", + "usr": "s:6nfclib12CardCommandsP", + "mangledName": "$s6nfclib12CardCommandsP", + "moduleName": "nfclib", + "genericSig": "<τ_0_0 : Swift.Sendable>", + "sugared_genericSig": "", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], "conformances": [ + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + }, { "kind": "Conformance", "name": "Copyable", @@ -14326,351 +7514,186 @@ }, { "kind": "Conformance", - "name": "CustomStringConvertible", - "printedName": "CustomStringConvertible", - "usr": "s:s23CustomStringConvertibleP", - "mangledName": "$ss23CustomStringConvertibleP" + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" }, { "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" } ] }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "nfclib", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "SwiftECC", + "printedName": "SwiftECC", + "declKind": "Import", + "moduleName": "nfclib", + "declAttributes": [ + "AccessControl" + ] + }, { "kind": "TypeDecl", - "name": "Array", - "printedName": "Array", + "name": "DataProtocol", + "printedName": "DataProtocol", "children": [ { - "kind": "Constructor", - "name": "init", - "printedName": "init(hex:)", + "kind": "Function", + "name": "^", + "printedName": "^(_:_:)", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[τ_0_0]", - "children": [ - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "τ_0_0" - } - ], - "usr": "s:Sa" + "name": "GenericTypeParam", + "printedName": "τ_0_0" }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "GenericTypeParam", + "printedName": "τ_0_0" + }, + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "τ_0_0" } ], - "declKind": "Constructor", - "usr": "s:Sa6nfclibs5UInt8VRszlE3hexSayACGSS_tcfc", - "mangledName": "$sSa6nfclibs5UInt8VRszlE3hexSayACGSS_tcfc", + "declKind": "Func", + "usr": "s:10Foundation12DataProtocolP6nfclibAA07MutablebC0RzSi5IndexRtzrlE1xoiyxx_xtFZ", + "mangledName": "$s10Foundation12DataProtocolP6nfclibAA07MutablebC0RzSi5IndexRtzrlE1xoiyxx_xtFZ", "moduleName": "nfclib", - "genericSig": "<τ_0_0 where τ_0_0 == Swift.UInt8>", - "sugared_genericSig": "", + "genericSig": "<τ_0_0 where τ_0_0 : Foundation.MutableDataProtocol, τ_0_0.Index == Swift.Int>", + "sugared_genericSig": "", + "static": true, + "declAttributes": [ + "AccessControl" + ], "isFromExtension": true, - "init_kind": "Designated" + "funcSelfKind": "NonMutating" } ], - "declKind": "Struct", - "usr": "s:Sa", - "mangledName": "$sSa", - "moduleName": "Swift", - "genericSig": "<τ_0_0>", - "sugared_genericSig": "", + "declKind": "Protocol", + "usr": "s:10Foundation12DataProtocolP", + "mangledName": "$s10Foundation12DataProtocolP", + "moduleName": "Foundation", + "genericSig": "<τ_0_0 : Swift.RandomAccessCollection, τ_0_0.Element == Swift.UInt8, τ_0_0.Regions : Swift.BidirectionalCollection, τ_0_0.SubSequence : Foundation.DataProtocol, τ_0_0.Regions.Element : Foundation.ContiguousBytes, τ_0_0.Regions.Element : Foundation.DataProtocol, τ_0_0.Regions.Element.SubSequence : Foundation.ContiguousBytes>", + "sugared_genericSig": "", + "intro_Macosx": "10.10", + "intro_iOS": "8.0", + "intro_tvOS": "9.0", + "intro_watchOS": "2.0", "declAttributes": [ - "EagerMove", - "Frozen" + "Available", + "Available", + "Available", + "Available" ], "isExternal": true, "conformances": [ { "kind": "Conformance", - "name": "ContiguousBytes", - "printedName": "ContiguousBytes", - "usr": "s:10Foundation15ContiguousBytesP", - "mangledName": "$s10Foundation15ContiguousBytesP" - }, - { - "kind": "Conformance", - "name": "DataProtocol", - "printedName": "DataProtocol", - "children": [ - { - "kind": "TypeWitness", - "name": "Regions", - "printedName": "Regions", - "children": [ - { - "kind": "TypeNominal", - "name": "CollectionOfOne", - "printedName": "Swift.CollectionOfOne<[Swift.UInt8]>", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.UInt8]", - "children": [ - { - "kind": "TypeNominal", - "name": "UInt8", - "printedName": "Swift.UInt8", - "usr": "s:s5UInt8V" - } - ], - "usr": "s:Sa" - } - ], - "usr": "s:s15CollectionOfOneV" - } - ] - } - ], - "usr": "s:10Foundation12DataProtocolP", - "mangledName": "$s10Foundation12DataProtocolP" - }, - { - "kind": "Conformance", - "name": "DecodableWithConfiguration", - "printedName": "DecodableWithConfiguration", - "children": [ - { - "kind": "TypeWitness", - "name": "DecodingConfiguration", - "printedName": "DecodingConfiguration", - "children": [ - { - "kind": "TypeNominal", - "name": "DependentMember", - "printedName": "τ_0_0.DecodingConfiguration" - } - ] - } - ], - "usr": "s:10Foundation26DecodableWithConfigurationP", - "mangledName": "$s10Foundation26DecodableWithConfigurationP" + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" }, { "kind": "Conformance", - "name": "EncodableWithConfiguration", - "printedName": "EncodableWithConfiguration", - "children": [ - { - "kind": "TypeWitness", - "name": "EncodingConfiguration", - "printedName": "EncodingConfiguration", - "children": [ - { - "kind": "TypeNominal", - "name": "DependentMember", - "printedName": "τ_0_0.EncodingConfiguration" - } - ] - } - ], - "usr": "s:10Foundation26EncodableWithConfigurationP", - "mangledName": "$s10Foundation26EncodableWithConfigurationP" + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" }, { "kind": "Conformance", - "name": "MutableDataProtocol", - "printedName": "MutableDataProtocol", - "usr": "s:10Foundation19MutableDataProtocolP", - "mangledName": "$s10Foundation19MutableDataProtocolP" + "name": "RandomAccessCollection", + "printedName": "RandomAccessCollection", + "usr": "s:Sk", + "mangledName": "$sSk" }, { "kind": "Conformance", "name": "BidirectionalCollection", "printedName": "BidirectionalCollection", - "children": [ - { - "kind": "TypeWitness", - "name": "Element", - "printedName": "Element", - "children": [ - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "τ_0_0" - } - ] - }, - { - "kind": "TypeWitness", - "name": "Index", - "printedName": "Index", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ] - }, - { - "kind": "TypeWitness", - "name": "SubSequence", - "printedName": "SubSequence", - "children": [ - { - "kind": "TypeNominal", - "name": "ArraySlice", - "printedName": "Swift.ArraySlice<τ_0_0>", - "children": [ - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "τ_0_0" - } - ], - "usr": "s:s10ArraySliceV" - } - ] - }, - { - "kind": "TypeWitness", - "name": "Indices", - "printedName": "Indices", - "children": [ - { - "kind": "TypeNominal", - "name": "Range", - "printedName": "Swift.Range", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "usr": "s:Sn" - } - ] - } - ], "usr": "s:SK", "mangledName": "$sSK" }, - { - "kind": "Conformance", - "name": "CVarArg", - "printedName": "CVarArg", - "usr": "s:s7CVarArgP", - "mangledName": "$ss7CVarArgP" - }, { "kind": "Conformance", "name": "Collection", "printedName": "Collection", - "children": [ - { - "kind": "TypeWitness", - "name": "Element", - "printedName": "Element", - "children": [ - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "τ_0_0" - } - ] - }, - { - "kind": "TypeWitness", - "name": "Index", - "printedName": "Index", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ] - }, - { - "kind": "TypeWitness", - "name": "Iterator", - "printedName": "Iterator", - "children": [ - { - "kind": "TypeNominal", - "name": "IndexingIterator", - "printedName": "Swift.IndexingIterator<[τ_0_0]>", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[τ_0_0]", - "children": [ - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "τ_0_0" - } - ], - "usr": "s:Sa" - } - ], - "usr": "s:s16IndexingIteratorV" - } - ] - }, - { - "kind": "TypeWitness", - "name": "SubSequence", - "printedName": "SubSequence", - "children": [ - { - "kind": "TypeNominal", - "name": "ArraySlice", - "printedName": "Swift.ArraySlice<τ_0_0>", - "children": [ - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "τ_0_0" - } - ], - "usr": "s:s10ArraySliceV" - } - ] - }, - { - "kind": "TypeWitness", - "name": "Indices", - "printedName": "Indices", - "children": [ - { - "kind": "TypeNominal", - "name": "Range", - "printedName": "Swift.Range", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "usr": "s:Sn" - } - ] - } - ], "usr": "s:Sl", "mangledName": "$sSl" }, + { + "kind": "Conformance", + "name": "Sequence", + "printedName": "Sequence", + "usr": "s:ST", + "mangledName": "$sST" + } + ] + }, + { + "kind": "TypeDecl", + "name": "NFCTagReaderSession", + "printedName": "NFCTagReaderSession", + "declKind": "Class", + "usr": "c:objc(cs)NFCTagReaderSession", + "moduleName": "CoreNFC", + "isOpen": true, + "intro_iOS": "13.0", + "objc_name": "NFCTagReaderSession", + "declAttributes": [ + "Available", + "ObjC", + "Dynamic" + ], + "superclassUsr": "c:objc(cs)NFCReaderSession", + "isExternal": true, + "inheritsConvenienceInitializers": true, + "superclassNames": [ + "CoreNFC.NFCReaderSession", + "ObjectiveC.NSObject" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObserving", + "printedName": "_KeyValueCodingAndObserving", + "usr": "s:10Foundation27_KeyValueCodingAndObservingP", + "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObservingPublishing", + "printedName": "_KeyValueCodingAndObservingPublishing", + "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP", + "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + }, { "kind": "Conformance", "name": "Copyable", @@ -14685,13 +7708,6 @@ "usr": "s:s28CustomDebugStringConvertibleP", "mangledName": "$ss28CustomDebugStringConvertibleP" }, - { - "kind": "Conformance", - "name": "CustomReflectable", - "printedName": "CustomReflectable", - "usr": "s:s17CustomReflectableP", - "mangledName": "$ss17CustomReflectableP" - }, { "kind": "Conformance", "name": "CustomStringConvertible", @@ -14699,20 +7715,6 @@ "usr": "s:s23CustomStringConvertibleP", "mangledName": "$ss23CustomStringConvertibleP" }, - { - "kind": "Conformance", - "name": "Decodable", - "printedName": "Decodable", - "usr": "s:Se", - "mangledName": "$sSe" - }, - { - "kind": "Conformance", - "name": "Encodable", - "printedName": "Encodable", - "usr": "s:SE", - "mangledName": "$sSE" - }, { "kind": "Conformance", "name": "Equatable", @@ -14727,27 +7729,6 @@ "usr": "s:s9EscapableP", "mangledName": "$ss9EscapableP" }, - { - "kind": "Conformance", - "name": "ExpressibleByArrayLiteral", - "printedName": "ExpressibleByArrayLiteral", - "children": [ - { - "kind": "TypeWitness", - "name": "ArrayLiteralElement", - "printedName": "ArrayLiteralElement", - "children": [ - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "τ_0_0" - } - ] - } - ], - "usr": "s:s25ExpressibleByArrayLiteralP", - "mangledName": "$ss25ExpressibleByArrayLiteralP" - }, { "kind": "Conformance", "name": "Hashable", @@ -14755,164 +7736,6 @@ "usr": "s:SH", "mangledName": "$sSH" }, - { - "kind": "Conformance", - "name": "MutableCollection", - "printedName": "MutableCollection", - "children": [ - { - "kind": "TypeWitness", - "name": "Element", - "printedName": "Element", - "children": [ - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "τ_0_0" - } - ] - }, - { - "kind": "TypeWitness", - "name": "Index", - "printedName": "Index", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ] - }, - { - "kind": "TypeWitness", - "name": "SubSequence", - "printedName": "SubSequence", - "children": [ - { - "kind": "TypeNominal", - "name": "ArraySlice", - "printedName": "Swift.ArraySlice<τ_0_0>", - "children": [ - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "τ_0_0" - } - ], - "usr": "s:s10ArraySliceV" - } - ] - } - ], - "usr": "s:SM", - "mangledName": "$sSM" - }, - { - "kind": "Conformance", - "name": "RandomAccessCollection", - "printedName": "RandomAccessCollection", - "children": [ - { - "kind": "TypeWitness", - "name": "Element", - "printedName": "Element", - "children": [ - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "τ_0_0" - } - ] - }, - { - "kind": "TypeWitness", - "name": "Index", - "printedName": "Index", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ] - }, - { - "kind": "TypeWitness", - "name": "SubSequence", - "printedName": "SubSequence", - "children": [ - { - "kind": "TypeNominal", - "name": "ArraySlice", - "printedName": "Swift.ArraySlice<τ_0_0>", - "children": [ - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "τ_0_0" - } - ], - "usr": "s:s10ArraySliceV" - } - ] - }, - { - "kind": "TypeWitness", - "name": "Indices", - "printedName": "Indices", - "children": [ - { - "kind": "TypeNominal", - "name": "Range", - "printedName": "Swift.Range", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "usr": "s:Sn" - } - ] - } - ], - "usr": "s:Sk", - "mangledName": "$sSk" - }, - { - "kind": "Conformance", - "name": "RangeReplaceableCollection", - "printedName": "RangeReplaceableCollection", - "children": [ - { - "kind": "TypeWitness", - "name": "SubSequence", - "printedName": "SubSequence", - "children": [ - { - "kind": "TypeNominal", - "name": "ArraySlice", - "printedName": "Swift.ArraySlice<τ_0_0>", - "children": [ - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "τ_0_0" - } - ], - "usr": "s:s10ArraySliceV" - } - ] - } - ], - "usr": "s:Sm", - "mangledName": "$sSm" - }, { "kind": "Conformance", "name": "Sendable", @@ -14926,127 +7749,51 @@ "printedName": "SendableMetatype", "usr": "s:s16SendableMetatypeP", "mangledName": "$ss16SendableMetatypeP" - }, - { - "kind": "Conformance", - "name": "Sequence", - "printedName": "Sequence", - "children": [ - { - "kind": "TypeWitness", - "name": "Element", - "printedName": "Element", - "children": [ - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "τ_0_0" - } - ] - }, - { - "kind": "TypeWitness", - "name": "Iterator", - "printedName": "Iterator", - "children": [ - { - "kind": "TypeNominal", - "name": "IndexingIterator", - "printedName": "Swift.IndexingIterator<[τ_0_0]>", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[τ_0_0]", - "children": [ - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "τ_0_0" - } - ], - "usr": "s:Sa" - } - ], - "usr": "s:s16IndexingIteratorV" - } - ] - } - ], - "usr": "s:ST", - "mangledName": "$sST" - }, - { - "kind": "Conformance", - "name": "_ArrayProtocol", - "printedName": "_ArrayProtocol", - "children": [ - { - "kind": "TypeWitness", - "name": "_Buffer", - "printedName": "_Buffer", - "children": [ - { - "kind": "TypeNominal", - "name": "_ArrayBuffer", - "printedName": "Swift._ArrayBuffer<τ_0_0>", - "children": [ - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "τ_0_0" - } - ], - "usr": "s:s12_ArrayBufferV" - } - ] - } - ], - "usr": "s:s14_ArrayProtocolP", - "mangledName": "$ss14_ArrayProtocolP" - }, + } + ] + }, + { + "kind": "TypeDecl", + "name": "NFCTag", + "printedName": "NFCTag", + "declKind": "Enum", + "usr": "s:7CoreNFC6NFCTagO", + "mangledName": "$s7CoreNFC6NFCTagO", + "moduleName": "CoreNFC", + "intro_iOS": "13.0", + "declAttributes": [ + "Available", + "Available" + ], + "isExternal": true, + "conformances": [ { "kind": "Conformance", - "name": "_DestructorSafeContainer", - "printedName": "_DestructorSafeContainer", - "usr": "s:s24_DestructorSafeContainerP", - "mangledName": "$ss24_DestructorSafeContainerP" + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" }, { "kind": "Conformance", - "name": "_HasContiguousBytes", - "printedName": "_HasContiguousBytes", - "usr": "s:s19_HasContiguousBytesP", - "mangledName": "$ss19_HasContiguousBytesP" + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" }, { "kind": "Conformance", - "name": "_HasCustomAnyHashableRepresentation", - "printedName": "_HasCustomAnyHashableRepresentation", - "usr": "s:s35_HasCustomAnyHashableRepresentationP", - "mangledName": "$ss35_HasCustomAnyHashableRepresentationP" + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" }, { "kind": "Conformance", - "name": "_ObjectiveCBridgeable", - "printedName": "_ObjectiveCBridgeable", - "children": [ - { - "kind": "TypeWitness", - "name": "_ObjectiveCType", - "printedName": "_ObjectiveCType", - "children": [ - { - "kind": "TypeNominal", - "name": "NSArray", - "printedName": "Foundation.NSArray", - "usr": "c:objc(cs)NSArray" - } - ] - } - ], - "usr": "s:s21_ObjectiveCBridgeableP", - "mangledName": "$ss21_ObjectiveCBridgeableP" + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" } ] } @@ -15100,83 +7847,83 @@ "filePath": "\/Users\/martenr\/Documents\/Github\/MOPP\/Official\/nfc-iOS-lib\/nfc-lib\/nfc-lib\/nfclib\/CardActions\/CardReaderNFC.swift", "kind": "StringLiteral", "offset": 1019, - "length": 27, - "value": "\"ee.ria.digidoc.RIADigiDoc\"" + "length": 20, + "value": "\"ee.ria.nfc-iOS-lib\"" }, { "filePath": "\/Users\/martenr\/Documents\/Github\/MOPP\/Official\/nfc-iOS-lib\/nfc-lib\/nfc-lib\/nfclib\/CardActions\/CardReaderNFC.swift", "kind": "StringLiteral", - "offset": 1058, + "offset": 1051, "length": 15, "value": "\"CardReaderNFC\"" }, { "filePath": "\/Users\/martenr\/Documents\/Github\/MOPP\/Official\/nfc-iOS-lib\/nfc-lib\/nfc-lib\/nfclib\/CardActions\/CardReaderNFC.swift", "kind": "IntegerLiteral", - "offset": 1182, + "offset": 1175, "length": 1, "value": "1" }, { "filePath": "\/Users\/martenr\/Documents\/Github\/MOPP\/Official\/nfc-iOS-lib\/nfc-lib\/nfc-lib\/nfclib\/CardActions\/CardReaderNFC.swift", "kind": "IntegerLiteral", - "offset": 1245, + "offset": 1238, "length": 1, "value": "2" }, { "filePath": "\/Users\/martenr\/Documents\/Github\/MOPP\/Official\/nfc-iOS-lib\/nfc-lib\/nfc-lib\/nfclib\/CardActions\/CardReaderNFC.swift", "kind": "StringLiteral", - "offset": 1562, + "offset": 1555, "length": 22, "value": "\"04007f00070202040204\"" }, { "filePath": "\/Users\/martenr\/Documents\/Github\/MOPP\/Official\/nfc-iOS-lib\/nfc-lib\/nfc-lib\/nfclib\/CardActions\/CardReaderNFC.swift", "kind": "StringLiteral", - "offset": 1660, + "offset": 1653, "length": 22, "value": "\"04007f00070202040404\"" }, { "filePath": "\/Users\/martenr\/Documents\/Github\/MOPP\/Official\/nfc-iOS-lib\/nfc-lib\/nfc-lib\/nfclib\/CardActions\/CardReaderNFC.swift", "kind": "IntegerLiteral", - "offset": 1942, + "offset": 1935, "length": 2, "value": "12" }, { "filePath": "\/Users\/martenr\/Documents\/Github\/MOPP\/Official\/nfc-iOS-lib\/nfc-lib\/nfc-lib\/nfclib\/CardActions\/CardReaderNFC.swift", "kind": "IntegerLiteral", - "offset": 1968, + "offset": 1961, "length": 2, "value": "13" }, { "filePath": "\/Users\/martenr\/Documents\/Github\/MOPP\/Official\/nfc-iOS-lib\/nfc-lib\/nfc-lib\/nfclib\/CardActions\/CardReaderNFC.swift", "kind": "IntegerLiteral", - "offset": 1994, + "offset": 1987, "length": 2, "value": "15" }, { "filePath": "\/Users\/martenr\/Documents\/Github\/MOPP\/Official\/nfc-iOS-lib\/nfc-lib\/nfc-lib\/nfclib\/CardActions\/CardReaderNFC.swift", "kind": "IntegerLiteral", - "offset": 2020, + "offset": 2013, "length": 2, "value": "16" }, { "filePath": "\/Users\/martenr\/Documents\/Github\/MOPP\/Official\/nfc-iOS-lib\/nfc-lib\/nfc-lib\/nfclib\/CardActions\/CardReaderNFC.swift", "kind": "IntegerLiteral", - "offset": 2046, + "offset": 2039, "length": 2, "value": "17" }, { "filePath": "\/Users\/martenr\/Documents\/Github\/MOPP\/Official\/nfc-iOS-lib\/nfc-lib\/nfc-lib\/nfclib\/CardActions\/CardReaderNFC.swift", "kind": "IntegerLiteral", - "offset": 2072, + "offset": 2065, "length": 2, "value": "18" }, @@ -15397,6 +8144,13 @@ "length": 3, "value": "512" }, + { + "filePath": "\/Users\/martenr\/Documents\/Github\/MOPP\/Official\/nfc-iOS-lib\/nfc-lib\/nfc-lib\/nfclib\/Extensions\/Logger+Extensions.swift", + "kind": "BooleanLiteral", + "offset": 912, + "length": 5, + "value": "false" + }, { "filePath": "\/Users\/martenr\/Documents\/Github\/MOPP\/Official\/nfc-iOS-lib\/nfc-lib\/nfc-lib\/nfclib\/CardActions\/CardInfo.swift", "kind": "StringLiteral", diff --git a/Modules/IdCardLib/Frameworks/nfclib.xcframework/ios-arm64_x86_64-simulator/nfclib.framework/Modules/nfclib.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface b/Modules/IdCardLib/Frameworks/nfclib.xcframework/ios-arm64_x86_64-simulator/nfclib.framework/Modules/nfclib.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface index 58bafaa2..7052f892 100644 --- a/Modules/IdCardLib/Frameworks/nfclib.xcframework/ios-arm64_x86_64-simulator/nfclib.framework/Modules/nfclib.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +++ b/Modules/IdCardLib/Frameworks/nfclib.xcframework/ios-arm64_x86_64-simulator/nfclib.framework/Modules/nfclib.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface @@ -1,7 +1,7 @@ // swift-interface-format-version: 1.0 -// swift-compiler-version: Apple Swift version 6.3.2 effective-5.10 (swiftlang-6.3.2.1.108 clang-2100.1.1.101) -// swift-module-flags: -target x86_64-apple-ios16.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -Onone -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name nfclib -// swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.3.2 +// swift-compiler-version: Apple Swift version 6.3.3 effective-5.10 (swiftlang-6.3.3.1.3 clang-2100.1.1.101) +// swift-module-flags: -target x86_64-apple-ios16.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -O -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name nfclib +// swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.3.3 import BigInt import CommonCrypto @preconcurrency import CoreNFC @@ -16,6 +16,7 @@ import _Concurrency import _StringProcessing import _SwiftConcurrencyShims @_exported import nfclib +import os @objc @_inheritsConvenienceInitializers @_Concurrency.MainActor public class OperationSignHash : ObjectiveC.NSObject { @_Concurrency.MainActor public func startSigning(CAN: Swift.String, PIN2: nfclib.SecureData, hash: Foundation.Data) async throws -> Foundation.Data @_Concurrency.MainActor @objc override dynamic public init() @@ -143,6 +144,12 @@ public enum IdCardInternalError : Swift.Error { } public struct PinError : Swift.Error { } +public enum NFCLibLogging { + public static var isEnabled: Swift.Bool { + get + set + } +} public struct CardInfo : Swift.Sendable, Swift.Hashable { public var givenName: Swift.String public var surname: Swift.String diff --git a/Modules/IdCardLib/Frameworks/nfclib.xcframework/ios-arm64_x86_64-simulator/nfclib.framework/Modules/nfclib.swiftmodule/x86_64-apple-ios-simulator.swiftdoc b/Modules/IdCardLib/Frameworks/nfclib.xcframework/ios-arm64_x86_64-simulator/nfclib.framework/Modules/nfclib.swiftmodule/x86_64-apple-ios-simulator.swiftdoc index 688ba95e..d29f1cd7 100644 Binary files a/Modules/IdCardLib/Frameworks/nfclib.xcframework/ios-arm64_x86_64-simulator/nfclib.framework/Modules/nfclib.swiftmodule/x86_64-apple-ios-simulator.swiftdoc and b/Modules/IdCardLib/Frameworks/nfclib.xcframework/ios-arm64_x86_64-simulator/nfclib.framework/Modules/nfclib.swiftmodule/x86_64-apple-ios-simulator.swiftdoc differ diff --git a/Modules/IdCardLib/Frameworks/nfclib.xcframework/ios-arm64_x86_64-simulator/nfclib.framework/Modules/nfclib.swiftmodule/x86_64-apple-ios-simulator.swiftinterface b/Modules/IdCardLib/Frameworks/nfclib.xcframework/ios-arm64_x86_64-simulator/nfclib.framework/Modules/nfclib.swiftmodule/x86_64-apple-ios-simulator.swiftinterface index 58bafaa2..7052f892 100644 --- a/Modules/IdCardLib/Frameworks/nfclib.xcframework/ios-arm64_x86_64-simulator/nfclib.framework/Modules/nfclib.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +++ b/Modules/IdCardLib/Frameworks/nfclib.xcframework/ios-arm64_x86_64-simulator/nfclib.framework/Modules/nfclib.swiftmodule/x86_64-apple-ios-simulator.swiftinterface @@ -1,7 +1,7 @@ // swift-interface-format-version: 1.0 -// swift-compiler-version: Apple Swift version 6.3.2 effective-5.10 (swiftlang-6.3.2.1.108 clang-2100.1.1.101) -// swift-module-flags: -target x86_64-apple-ios16.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -Onone -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name nfclib -// swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.3.2 +// swift-compiler-version: Apple Swift version 6.3.3 effective-5.10 (swiftlang-6.3.3.1.3 clang-2100.1.1.101) +// swift-module-flags: -target x86_64-apple-ios16.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -O -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name nfclib +// swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.3.3 import BigInt import CommonCrypto @preconcurrency import CoreNFC @@ -16,6 +16,7 @@ import _Concurrency import _StringProcessing import _SwiftConcurrencyShims @_exported import nfclib +import os @objc @_inheritsConvenienceInitializers @_Concurrency.MainActor public class OperationSignHash : ObjectiveC.NSObject { @_Concurrency.MainActor public func startSigning(CAN: Swift.String, PIN2: nfclib.SecureData, hash: Foundation.Data) async throws -> Foundation.Data @_Concurrency.MainActor @objc override dynamic public init() @@ -143,6 +144,12 @@ public enum IdCardInternalError : Swift.Error { } public struct PinError : Swift.Error { } +public enum NFCLibLogging { + public static var isEnabled: Swift.Bool { + get + set + } +} public struct CardInfo : Swift.Sendable, Swift.Hashable { public var givenName: Swift.String public var surname: Swift.String diff --git a/Modules/IdCardLib/Frameworks/nfclib.xcframework/ios-arm64_x86_64-simulator/nfclib.framework/_CodeSignature/CodeResources b/Modules/IdCardLib/Frameworks/nfclib.xcframework/ios-arm64_x86_64-simulator/nfclib.framework/_CodeSignature/CodeResources index b5f35331..f3596a0d 100644 --- a/Modules/IdCardLib/Frameworks/nfclib.xcframework/ios-arm64_x86_64-simulator/nfclib.framework/_CodeSignature/CodeResources +++ b/Modules/IdCardLib/Frameworks/nfclib.xcframework/ios-arm64_x86_64-simulator/nfclib.framework/_CodeSignature/CodeResources @@ -6,7 +6,7 @@ Headers/nfclib-Swift.h - YHgWlLirMJ0qs40frz2fMufOoLg= + IXV9srChFCWo/vCKtpssQusvC6Q= Headers/nfclib.h @@ -14,7 +14,7 @@ Info.plist - E7ErYb3LyBuUsMMMQIdp3Q0TqnM= + MI0MrcZCZJ7eA2u7m0daIrXHxcA= Modules/module.modulemap @@ -22,51 +22,51 @@ Modules/nfclib.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo - tzwUKrxbURrZ8sCoqqNqsTO9mag= + RmAlJkz37VwUpClcy7wsiwWiFXg= Modules/nfclib.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo - YzRBvWh7qKZTSV2XDPlSzjx5MRU= + MIYf/OJBnKY+1sukG4BtTV/YfuY= Modules/nfclib.swiftmodule/arm64-apple-ios-simulator.abi.json - SVi7UZ2v57aLOqN0EsOUGIg51qE= + 4OiBWpz5UxEzdl57JsICEQ4F9NA= Modules/nfclib.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface - UdHDRUVwCzXqzcR3MqxDUJuijWI= + 73Idnm7vMpJ9njlA0xdTMNYJn84= Modules/nfclib.swiftmodule/arm64-apple-ios-simulator.swiftdoc - 8hdf3kejetjOA1ubeNn7rFco+Ko= + XJgNsAxxH/tCuwrMuy/RtNycMQM= Modules/nfclib.swiftmodule/arm64-apple-ios-simulator.swiftinterface - UdHDRUVwCzXqzcR3MqxDUJuijWI= + 73Idnm7vMpJ9njlA0xdTMNYJn84= Modules/nfclib.swiftmodule/arm64-apple-ios-simulator.swiftmodule - bioBzv/L1hggfBG1w22tCD9q/No= + UjQ3UoY0VjWMRnXDDFVj7jFijW4= Modules/nfclib.swiftmodule/x86_64-apple-ios-simulator.abi.json - SVi7UZ2v57aLOqN0EsOUGIg51qE= + 4OiBWpz5UxEzdl57JsICEQ4F9NA= Modules/nfclib.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface - s7LptY2DTH4xvpRJsrwFTmuokL0= + xRjOCysMJsSPY+9eTrqRtdFe3KE= Modules/nfclib.swiftmodule/x86_64-apple-ios-simulator.swiftdoc - j2CTp6UO57OG+IQvs+GPT6asaAA= + 4P/4cIlB/Nh8WZzPDTIGyhAPGlo= Modules/nfclib.swiftmodule/x86_64-apple-ios-simulator.swiftinterface - s7LptY2DTH4xvpRJsrwFTmuokL0= + xRjOCysMJsSPY+9eTrqRtdFe3KE= Modules/nfclib.swiftmodule/x86_64-apple-ios-simulator.swiftmodule - IdehuCjZJqgNcUwz4vbI3PCeBsA= + 5HQFgj7fC7m06eXo5Ytu21+oIY0= files2 @@ -75,7 +75,7 @@ hash2 - cewgIJYdcMNLPD7bdMZxGYYtZ20NfrYHLQ+DFATDQ9I= + LSoEIkNY27EfDHwcW7wdwbYH8ONhZ/fSxNT9uVfagVw= Headers/nfclib.h @@ -96,84 +96,84 @@ hash2 - YL0Bw2Szbru+hh1qFjHJwZQgHQmdKQc1e8o7T2Lju2Q= + P/nC9yTAlkhdiWxnQQENi7tKCcPyLgvutCzIYjGlRQ0= Modules/nfclib.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo hash2 - hWjiBaK39jgXtxpLgpWEmjKl11k7XVqpf1NJ753iVIE= + jiYnn+OEOc3oBzTnm5T1orTALg+93cpYy0hZIxDnZMI= Modules/nfclib.swiftmodule/arm64-apple-ios-simulator.abi.json hash2 - cgNI2c7PGM8dGxxlPaZKX4jX8rjsdrQB1MxV97NPVCM= + pjR8TuN+Hj+jWNyWbOm0qGMtirjnK1E1SPaHOrA5s48= Modules/nfclib.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface hash2 - duZg0qCiBc6d0VJt+NL5JhvEXuN0hy0KlhNPjJs4UAM= + NX3+172lBD/L5Zi2zJlKYi3U9mfH3WWAxM9yyN4+uL4= Modules/nfclib.swiftmodule/arm64-apple-ios-simulator.swiftdoc hash2 - IKZMoRH9zaa8wA9zIeES3+rQSJ9hsMXP390PSGeSYzo= + Fj+VBLpM9fD70s/q06gXlboKB6NMB1R9Rfmdt4/be28= Modules/nfclib.swiftmodule/arm64-apple-ios-simulator.swiftinterface hash2 - duZg0qCiBc6d0VJt+NL5JhvEXuN0hy0KlhNPjJs4UAM= + NX3+172lBD/L5Zi2zJlKYi3U9mfH3WWAxM9yyN4+uL4= Modules/nfclib.swiftmodule/arm64-apple-ios-simulator.swiftmodule hash2 - 2knMe3LTneK4JopSXB94pZJCoa8Chc3P4NeLWYZU+/k= + jtLvbe9Pry6hKxL5ThAaY9hQ5Y3Ym7d72x+r/gCih0U= Modules/nfclib.swiftmodule/x86_64-apple-ios-simulator.abi.json hash2 - cgNI2c7PGM8dGxxlPaZKX4jX8rjsdrQB1MxV97NPVCM= + pjR8TuN+Hj+jWNyWbOm0qGMtirjnK1E1SPaHOrA5s48= Modules/nfclib.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface hash2 - hIvRFBxS/xTSAmkA6Fh8mB9f0HVh1iXZqg+uFNAgsKQ= + enXs0QlOxyTXA/ehBE8/xDMwZsRQUiYXIHR6u5vxSwg= Modules/nfclib.swiftmodule/x86_64-apple-ios-simulator.swiftdoc hash2 - us8vNP5SHYIVJqOh0vTZKJuQv133Og0sqdzNK48Gryk= + GtizmZtdTOysZFMGAj536JSdklStYq1VsvEjdTO4jF8= Modules/nfclib.swiftmodule/x86_64-apple-ios-simulator.swiftinterface hash2 - hIvRFBxS/xTSAmkA6Fh8mB9f0HVh1iXZqg+uFNAgsKQ= + enXs0QlOxyTXA/ehBE8/xDMwZsRQUiYXIHR6u5vxSwg= Modules/nfclib.swiftmodule/x86_64-apple-ios-simulator.swiftmodule hash2 - wmB5wN3fsEFIsHK+NvgFamfx/aNYAv0ogaj9M5Yigkw= + BsrnVKUvlDfE8KLipciyI6jfMIfCFMVm3Xj8haGs7Lg= diff --git a/Modules/IdCardLib/Frameworks/nfclib.xcframework/ios-arm64_x86_64-simulator/nfclib.framework/nfclib b/Modules/IdCardLib/Frameworks/nfclib.xcframework/ios-arm64_x86_64-simulator/nfclib.framework/nfclib index c44f6f42..76ee734c 100755 Binary files a/Modules/IdCardLib/Frameworks/nfclib.xcframework/ios-arm64_x86_64-simulator/nfclib.framework/nfclib and b/Modules/IdCardLib/Frameworks/nfclib.xcframework/ios-arm64_x86_64-simulator/nfclib.framework/nfclib differ diff --git a/RIADigiDoc.xcodeproj/project.pbxproj b/RIADigiDoc.xcodeproj/project.pbxproj index d741f1f0..9a85f071 100644 --- a/RIADigiDoc.xcodeproj/project.pbxproj +++ b/RIADigiDoc.xcodeproj/project.pbxproj @@ -28,6 +28,7 @@ DF4E43CB2D0BA38600967997 /* FileImportShareExtension.appex in Embed Foundation Extensions */ = {isa = PBXBuildFile; fileRef = DF4E43C12D0BA38600967997 /* FileImportShareExtension.appex */; settings = {ATTRIBUTES = (RemoveHeadersOnCopy, ); }; }; DF4E6D822D11DE7B00F6111A /* CommonsLib in Frameworks */ = {isa = PBXBuildFile; productRef = DF4E6D812D11DE7B00F6111A /* CommonsLib */; }; DF4E6D842D120CFC00F6111A /* UtilsLib in Frameworks */ = {isa = PBXBuildFile; productRef = DF4E6D832D120CFC00F6111A /* UtilsLib */; }; + DF54F82F2D431BD50021D05A /* X509 in Frameworks */ = {isa = PBXBuildFile; productRef = DF54F82E2D431BD50021D05A /* X509 */; }; DF5903762ECCC41F00D1A278 /* MobileIdLibMocks in Frameworks */ = {isa = PBXBuildFile; productRef = DF5903752ECCC41F00D1A278 /* MobileIdLibMocks */; }; DF5903782ECCC42500D1A278 /* SmartIdLibMocks in Frameworks */ = {isa = PBXBuildFile; productRef = DF5903772ECCC42500D1A278 /* SmartIdLibMocks */; }; DF5C54272E82F07A006E2251 /* Alamofire in Frameworks */ = {isa = PBXBuildFile; productRef = DFA3EE5C2D14C9B7001D951B /* Alamofire */; }; @@ -53,7 +54,6 @@ DFB663A22F16917E00804545 /* SwiftUI.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = DFB663A12F16917E00804545 /* SwiftUI.framework */; }; DFB663AF2F16918100804545 /* WidgetExtensionExtension.appex in Embed Foundation Extensions */ = {isa = PBXBuildFile; fileRef = DFB6639E2F16917D00804545 /* WidgetExtensionExtension.appex */; settings = {ATTRIBUTES = (RemoveHeadersOnCopy, ); }; }; DFBD09F62CE3FBDC006AF9C2 /* LibdigidocLib in Frameworks */ = {isa = PBXBuildFile; productRef = DFBD09F52CE3FBDC006AF9C2 /* LibdigidocLib */; }; - DF54F82F2D431BD50021D05A /* X509 in Frameworks */ = {isa = PBXBuildFile; productRef = DF54F82E2D431BD50021D05A /* X509 */; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ @@ -1704,6 +1704,14 @@ version = 12.12.1; }; }; + DF54F82D2D431BD50021D05A /* XCRemoteSwiftPackageReference "swift-certificates" */ = { + isa = XCRemoteSwiftPackageReference; + repositoryURL = "https://github.com/apple/swift-certificates.git"; + requirement = { + kind = exactVersion; + version = 1.19.0; + }; + }; DF9AFE902E00D30A0062C64D /* XCRemoteSwiftPackageReference "Factory" */ = { isa = XCRemoteSwiftPackageReference; repositoryURL = "https://github.com/hmlongco/Factory"; @@ -1728,14 +1736,6 @@ version = 0.63.2; }; }; - DF54F82D2D431BD50021D05A /* XCRemoteSwiftPackageReference "swift-certificates" */ = { - isa = XCRemoteSwiftPackageReference; - repositoryURL = "https://github.com/apple/swift-certificates.git"; - requirement = { - kind = exactVersion; - version = 1.19.0; - }; - }; /* End XCRemoteSwiftPackageReference section */ /* Begin XCSwiftPackageProductDependency section */ @@ -1818,6 +1818,11 @@ isa = XCSwiftPackageProductDependency; productName = UtilsLib; }; + DF54F82E2D431BD50021D05A /* X509 */ = { + isa = XCSwiftPackageProductDependency; + package = DF54F82D2D431BD50021D05A /* XCRemoteSwiftPackageReference "swift-certificates" */; + productName = X509; + }; DF5903752ECCC41F00D1A278 /* MobileIdLibMocks */ = { isa = XCSwiftPackageProductDependency; productName = MobileIdLibMocks; @@ -1917,11 +1922,6 @@ isa = XCSwiftPackageProductDependency; productName = LibdigidocLib; }; - DF54F82E2D431BD50021D05A /* X509 */ = { - isa = XCSwiftPackageProductDependency; - package = DF54F82D2D431BD50021D05A /* XCRemoteSwiftPackageReference "swift-certificates" */; - productName = X509; - }; /* End XCSwiftPackageProductDependency section */ }; rootObject = DFDB14732CC97B0E00153876 /* Project object */; diff --git a/RIADigiDoc/Domain/NFC/NFCOperationBase.swift b/RIADigiDoc/Domain/NFC/NFCOperationBase.swift index 262e3455..ad222dac 100644 --- a/RIADigiDoc/Domain/NFC/NFCOperationBase.swift +++ b/RIADigiDoc/Domain/NFC/NFCOperationBase.swift @@ -26,11 +26,8 @@ import UtilsLib @MainActor public class NFCOperationBase: NSObject, Loggable, @MainActor NFCTagReaderSessionDelegate { var session: NFCTagReaderSession? - var isFinished = false - var canNumber: String = "" var nfcError: String = "" var strings: NFCSessionStrings? - var didCompleteSuccessfully = false var operationError: Error? let connection = NFCConnection() @@ -53,7 +50,6 @@ public class NFCOperationBase: NSObject, Loggable, @MainActor NFCTagReaderSessio } func success() { - didCompleteSuccessfully = true session?.alertMessage = strings?.successMessage ?? "" session?.invalidate() } @@ -149,20 +145,115 @@ public class NFCOperationBase: NSObject, Loggable, @MainActor NFCTagReaderSessio session: NFCTagReaderSession ) { Self.logger().error("NFC: Unknown error type: \(type(of: error))") - Self.logger().error("NFC: Error details: \(error.localizedDescription)") + Self.logger().error("NFC: Error details: \(String(describing: error))") operationError = error session.invalidate(errorMessage: strings?.sessionErrorMessage ?? "") } + func handleNFCError(_ error: Error, session: NFCTagReaderSession) -> Bool { + if (error as NSError).localizedDescription == "Failed to find lock for cert" { + handleNoCertLockError(error: error, session: session) + return true + } + if let idCardInternalError = error as? IdCardInternalError { + handleIdCardInternalError(idCardInternalError, session: session) + return true + } + if let nfcIdCardError = error as? nfclib.IdCardInternalError { + handleIdCardInternalError(nfcIdCardError, session: session) + return true + } + return false + } + + func handleSessionError(_ error: Error, session: NFCTagReaderSession) -> Error { + if let nfcError = error as? NFCReaderError, + nfcError.code == .readerSessionInvalidationErrorUserCanceled { + return IdCardInternalError.cancelledByUser + } + if handleNFCError(error, session: session) { + return operationError ?? error + } + if let digiDocError = error as? DigiDocError { + handleDigiDocError(digiDocError, session: session) + return digiDocError + } + handleUnknownError(error, session: session) + return error + } + + private var tagContinuation: CheckedContinuation<[NFCTag], Error>? + + func waitForTag() async throws -> [NFCTag] { + try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<[NFCTag], Error>) in + guard NFCTagReaderSession.readingAvailable else { + continuation.resume(throwing: IdCardInternalError.nfcNotSupported) + return + } + tagContinuation = continuation + session = NFCTagReaderSession(pollingOption: .iso14443, delegate: self, queue: DispatchQueue.main) + updateAlertMessage(step: 0) + session?.begin() + } + } + + func withCardCommands( + canNumber: String, + strings: NFCSessionStrings, + _ body: (any CardCommands) async throws -> T + ) async throws -> T { + self.strings = strings + return try await withTaskCancellationHandler { + do { + try Task.checkCancellation() + let tags = try await waitForTag() + guard let session else { + Self.logger().error("Unable to get session") + throw IdCardInternalError.nfcNotSupported + } + updateAlertMessage(step: 1) + let tag = try await connection.setup(session, tags: tags) + updateAlertMessage(step: 2) + let cardCommands = try await connection.getCardCommands(session, tag: tag, CAN: canNumber) + let result = try await body(cardCommands) + success() + return result + } catch { + if Task.isCancelled { + throw IdCardInternalError.cancelledByUser + } + Self.logger().error("Unable to complete NFC operation: \(String(describing: error))") + if let session { + throw handleSessionError(error, session: session) + } + throw error + } + } onCancel: { + Task { @MainActor in + self.session?.invalidate() + } + } + } + // MARK: - NFCTagReaderSessionDelegate public func tagReaderSessionDidBecomeActive(_: NFCTagReaderSession) { } - public func tagReaderSession(_: NFCTagReaderSession, didDetect _: [NFCTag]) { - // Override in subclasses + public func tagReaderSession(_: NFCTagReaderSession, didDetect tags: [NFCTag]) { + tagContinuation?.resume(returning: tags) + tagContinuation = nil } - public func tagReaderSession(_: NFCTagReaderSession, didInvalidateWithError _: Error) { - // Override in subclasses + public func tagReaderSession(_: NFCTagReaderSession, didInvalidateWithError error: Error) { + Self.logger().info("NFC: Reader session finished with error: \(String(describing: error))") + session = nil + guard let tagContinuation else { return } + self.tagContinuation = nil + if let nfcError = error as? NFCReaderError, + nfcError.code == .readerSessionInvalidationErrorUserCanceled { + tagContinuation.resume(throwing: IdCardInternalError.cancelledByUser) + } else { + tagContinuation.resume(throwing: error) + } } } diff --git a/RIADigiDoc/Domain/NFC/OperationChangePin.swift b/RIADigiDoc/Domain/NFC/OperationChangePin.swift index 75f51cbf..d7cc8c17 100644 --- a/RIADigiDoc/Domain/NFC/OperationChangePin.swift +++ b/RIADigiDoc/Domain/NFC/OperationChangePin.swift @@ -24,11 +24,6 @@ import nfclib @MainActor public class OperationChangePin: NFCOperationBase, OperationChangePinProtocol { - private var codeType: CodeType? - private var currentPin: SecureData? - private var newPin: SecureData? - private var continuation: CheckedContinuation? - public func startChanging( canNumber: String, codeType: CodeType, @@ -36,116 +31,14 @@ public class OperationChangePin: NFCOperationBase, OperationChangePinProtocol { newPin: SecureData, strings: NFCSessionStrings, ) async throws { - self.canNumber = canNumber - self.codeType = codeType - self.currentPin = currentPin - self.newPin = newPin - self.strings = strings - - return try await withCheckedThrowingContinuation { continuation in - self.continuation = continuation - - guard NFCTagReaderSession.readingAvailable else { - continuation.resume(throwing: IdCardInternalError.nfcNotSupported) - return - } - - session = NFCTagReaderSession(pollingOption: .iso14443, delegate: self) - updateAlertMessage(step: 0) - session?.begin() - } - } - - // MARK: - NFCTagReaderSessionDelegate - - public override func tagReaderSession(_ session: NFCTagReaderSession, didDetect tags: [NFCTag]) { - Task { @MainActor in - defer { - self.session = nil - } - - guard let codeType = self.codeType, - let currentPin = self.currentPin, - let newPin = self.newPin else { - let error = ChangePinError.missingRequiredParameter - operationError = error - OperationChangePin.logger().error("NFC: \(error.localizedDescription)") - session.invalidate(errorMessage: strings?.technicalErrorMessage ?? - "Missing required parameters") - return - } - - do { - updateAlertMessage(step: 1) - OperationChangePin.logger().info("NFC: Setting up NFC connection for PIN change...") - let tag = try await self.connection.setup(session, tags: tags) - - updateAlertMessage(step: 2) - let cardCommands = try await self.connection.getCardCommands(session, tag: tag, CAN: self.canNumber) - - updateAlertMessage(step: 3) - OperationChangePin.logger().info("NFC: Changing \(codeType.name)...") - try await cardCommands.changeCode(codeType, to: newPin, verifyCode: currentPin) - OperationChangePin.logger().info("NFC: \(codeType.name) changed successfully") - - success() - } catch { - if (error as NSError).localizedDescription == "Failed to find lock for cert" { - handleNoCertLockError(error: error, session: session) - return - } - - if let idCardInternalError = error as? IdCardInternalError { - handleIdCardInternalError(idCardInternalError, session: session) - return - } - - if let nfcIdCardError = error as? nfclib.IdCardInternalError { - handleIdCardInternalError(nfcIdCardError, session: session) - return - } - - if let changePinError = error as? ChangePinError { - operationError = changePinError - OperationChangePin.logger() - .error("NFC: changePinError: \(changePinError.localizedDescription)") - session.invalidate(errorMessage: strings?.technicalErrorMessage ?? "") - return - } - - handleUnknownError(error, session: session) - } + defer { + currentPin.secureZero() + newPin.secureZero() } - } - - public override func tagReaderSession(_: NFCTagReaderSession, didInvalidateWithError error: Error) { - Self.logger().info("NFC: Reader session finished with error: \(error)") - self.session = nil - - guard let continuationToResume = self.continuation else { return } - self.continuation = nil - if didCompleteSuccessfully { - continuationToResume.resume(with: .success(())) - return + try await withCardCommands(canNumber: canNumber, strings: strings) { cardCommands in + updateAlertMessage(step: 3) + try await cardCommands.changeCode(codeType, to: newPin, verifyCode: currentPin) } - - if let storedError = self.operationError { - continuationToResume.resume(throwing: storedError) - return - } - - if let nfcError = error as? NFCReaderError { - switch nfcError.code { - case .readerSessionInvalidationErrorUserCanceled: - continuationToResume.resume(throwing: IdCardInternalError.cancelledByUser) - return - - default: - break - } - } - - continuationToResume.resume(throwing: error) } } diff --git a/RIADigiDoc/Domain/NFC/OperationDecrypt.swift b/RIADigiDoc/Domain/NFC/OperationDecrypt.swift index 418c812c..4f7790ab 100644 --- a/RIADigiDoc/Domain/NFC/OperationDecrypt.swift +++ b/RIADigiDoc/Domain/NFC/OperationDecrypt.swift @@ -29,12 +29,6 @@ import UtilsLib @MainActor public class OperationDecrypt: NFCOperationBase, OperationDecryptProtocol { - private var containerFile: URL? - private var recipients: [Addressee] = [] - private var pin1Number: SecureData = SecureData([0x00]) - private var continuation: CheckedContinuation? - private var returnData: CryptoContainerProtocol? - public func processDecrypt( canNumber: String, pin1Number: SecureData, @@ -42,145 +36,35 @@ public class OperationDecrypt: NFCOperationBase, OperationDecryptProtocol { recipients: [Addressee], strings: NFCSessionStrings, ) async throws -> CryptoContainerProtocol { - - self.canNumber = canNumber - self.pin1Number = pin1Number - self.containerFile = containerFile - self.recipients = recipients - self.strings = strings - - return try await withCheckedThrowingContinuation { continuation in - self.continuation = continuation - - guard NFCTagReaderSession.readingAvailable else { - continuation.resume(throwing: IdCardInternalError.nfcNotSupported) - return - } - - session = NFCTagReaderSession(pollingOption: .iso14443, delegate: self) - updateAlertMessage(step: 0) - session?.begin() + defer { + pin1Number.secureZero() } - } - - // MARK: - NFCTagReaderSessionDelegate - - public override func tagReaderSession(_ session: NFCTagReaderSession, didDetect tags: [NFCTag]) { - Task { @MainActor in - defer { - self.session = nil - } - - guard let containerFile else { - let error = DecryptError.containerFileInvalid - OperationDecrypt.logger().error("NFC: \(error.localizedDescription)") - operationError = error - session.invalidate(errorMessage: strings?.technicalErrorMessage ?? - "Failed to read container file") - return - } - - if containerFile.path.isEmpty { - let error = DecryptError.containerFileInvalid - OperationDecrypt.logger().error("NFC: Container file path is empty") - operationError = error - session.invalidate(errorMessage: strings?.technicalErrorMessage ?? - "Failed to read container file") - return - } - - if recipients.isEmpty { - let error = DecryptError.recipientsEmpty - OperationDecrypt.logger().error("NFC: \(error.localizedDescription)") - operationError = error - session.invalidate(errorMessage: strings?.technicalErrorMessage ?? - "Person or company does not own a valid certificate") - return - } - - OperationDecrypt.logger().info("NFC: Checks complete starting decryption") - - do { - updateAlertMessage(step: 1) - let tag = try await connection.setup(session, tags: tags) - updateAlertMessage(step: 2) - let cardCommands = try await connection.getCardCommands(session, tag: tag, CAN: canNumber) - updateAlertMessage(step: 3) - let (retryCount, _) = try await cardCommands.readCodeTryCounterRecord(.pin1) - - if retryCount == 0 { - throw IdCardInternalError.remainingPinRetryCount(Int(retryCount)) - } - - let cert = try await cardCommands.readAuthenticationCertificate() - updateAlertMessage(step: 4) - returnData = try await CryptoContainer.decrypt( - containerFile: containerFile, - recipients: recipients, - cert: cert, - cardCommands: cardCommands, - pin: pin1Number, - ) - - success() - } catch { - if (error as NSError).localizedDescription == "Failed to find lock for cert" { - handleNoCertLockError(error: error, session: session) - return - } - - if let idCardInternalError = error as? IdCardInternalError { - handleIdCardInternalError(idCardInternalError, session: session) - return - } - - if let nfcIdCardError = error as? nfclib.IdCardInternalError { - handleIdCardInternalError(nfcIdCardError, session: session) - return - } - - if let decryptError = error as? DecryptError { - OperationDecrypt.logger() - .error("NFC: DecryptError: \(decryptError.localizedDescription)") - operationError = decryptError - session.invalidate(errorMessage: strings?.technicalErrorMessage ?? "") - return - } - - handleUnknownError(error, session: session) - } + guard !containerFile.path.isEmpty else { + OperationDecrypt.logger().error("NFC: Container file path is empty") + throw DecryptError.containerFileInvalid } - } - - public override func tagReaderSession(_: NFCTagReaderSession, didInvalidateWithError error: Error) { - Self.logger().info("NFC: Reader session finished with error: \(error)") - self.session = nil - - guard let continuationToResume = self.continuation else { return } - self.continuation = nil - - if let returnData, didCompleteSuccessfully { - continuationToResume.resume(with: .success(returnData)) - return - } - - if let storedError = self.operationError { - continuationToResume.resume(throwing: storedError) - return + guard !recipients.isEmpty else { + OperationDecrypt.logger().error("NFC: \(DecryptError.recipientsEmpty.localizedDescription)") + throw DecryptError.recipientsEmpty } - if let nfcError = error as? NFCReaderError { - switch nfcError.code { - case .readerSessionInvalidationErrorUserCanceled: - continuationToResume.resume(throwing: IdCardInternalError.cancelledByUser) - return - - default: - break + return try await withCardCommands(canNumber: canNumber, strings: strings) { cardCommands in + updateAlertMessage(step: 3) + let (retryCount, _) = try await cardCommands.readCodeTryCounterRecord(.pin1) + if retryCount == 0 { + throw IdCardInternalError.remainingPinRetryCount(Int(retryCount)) } - } - continuationToResume.resume(throwing: error) + let cert = try await cardCommands.readAuthenticationCertificate() + updateAlertMessage(step: 4) + return try await CryptoContainer.decrypt( + containerFile: containerFile, + recipients: recipients, + cert: cert, + cardCommands: cardCommands, + pin: pin1Number, + ) + } } } diff --git a/RIADigiDoc/Domain/NFC/OperationReadCardData.swift b/RIADigiDoc/Domain/NFC/OperationReadCardData.swift index aa4547be..d6abbeec 100644 --- a/RIADigiDoc/Domain/NFC/OperationReadCardData.swift +++ b/RIADigiDoc/Domain/NFC/OperationReadCardData.swift @@ -24,142 +24,43 @@ import UtilsLib @MainActor final public class OperationReadCardData: NFCOperationBase, OperationReadCardDataProtocol { - private var continuation: CheckedContinuation? - private var returnData: NFCCardData? - public func startReading( canNumber: String, strings: NFCSessionStrings, ) async throws -> NFCCardData { - return try await withCheckedThrowingContinuation { continuation in - self.continuation = continuation - - guard NFCTagReaderSession.readingAvailable else { - continuation.resume(throwing: IdCardInternalError.nfcNotSupported) - return - } - - self.canNumber = canNumber - self.strings = strings - - session = NFCTagReaderSession(pollingOption: .iso14443, delegate: self) - updateAlertMessage(step: 0) - session?.begin() + return try await withCardCommands(canNumber: canNumber, strings: strings) { cardCommands in + OperationReadCardData.logger().info("Reading public data...") + let cardInfo = try await cardCommands.readPublicData() + + updateAlertMessage(step: 3) + OperationReadCardData.logger().info("Reading authentication certificate") + let authenticationCertificate = try await cardCommands.readAuthenticationCertificate() + + OperationReadCardData.logger().info("Reading signature certificate") + let signatureCertificate = try await cardCommands.readSignatureCertificate() + + updateAlertMessage(step: 4) + OperationReadCardData.logger().info("Reading PIN retry counts...") + let pin1Response = try await cardCommands.readCodeTryCounterRecord(.pin1) + let pin2Response = try await cardCommands.readCodeTryCounterRecord(.pin2) + let pukResponse = try await cardCommands.readCodeTryCounterRecord(.puk) + + let pinResponse = PinResponse( + pin1RetryCount: pin1Response.retryCount, + pin1Active: pin1Response.pinActive, + pin2RetryCount: pin2Response.retryCount, + pin2Active: pin2Response.pinActive, + pukRetryCount: pukResponse.retryCount, + pukActive: pukResponse.pinActive, + ) + + return NFCCardData( + publicData: cardInfo, + authenticationCertificate: authenticationCertificate, + signatureCertificate: signatureCertificate, + pinResponse: pinResponse, + isPUKChangable: cardCommands.canChangePUK + ) } } - - // MARK: - NFCTagReaderSessionDelegate - - public override func tagReaderSession(_ session: NFCTagReaderSession, didDetect tags: [NFCTag]) { - Task { - defer { - self.session = nil - } - - do { - updateAlertMessage(step: 1) - OperationReadCardData.logger().info("Setting up NFC connection...") - let tag = try await connection.setup(session, tags: tags) - - updateAlertMessage(step: 2) - OperationReadCardData.logger().info("Establishing secure channel with CAN...") - let cardCommands = try await connection.getCardCommands(session, tag: tag, CAN: canNumber) - - OperationReadCardData.logger().info("Reading public data...") - let cardInfo = try await cardCommands.readPublicData() - OperationReadCardData.logger().info("Public data read successfully") - - updateAlertMessage(step: 3) - OperationReadCardData.logger().info("Reading authentication certificate") - let authenticationCertificate = try await cardCommands.readAuthenticationCertificate() - - OperationReadCardData.logger().info("Reading signature certificate") - let signatureCertificate = try await cardCommands.readSignatureCertificate() - - updateAlertMessage(step: 4) - OperationReadCardData.logger().info("Reading PIN retry counts...") - - let pin1Response = try await cardCommands.readCodeTryCounterRecord(.pin1) - OperationReadCardData.logger().info("PIN1 retry count: \(pin1Response.retryCount)") - OperationReadCardData.logger().info("PIN1 active: \(pin1Response.pinActive)") - let pin2Response = try await cardCommands.readCodeTryCounterRecord(.pin2) - OperationReadCardData.logger().info("PIN2 retry count: \(pin2Response.retryCount)") - OperationReadCardData.logger().info("PIN2 active: \(pin2Response.pinActive)") - let pukResponse = try await cardCommands.readCodeTryCounterRecord(.puk) - OperationReadCardData.logger().info("PUK retry count: \(pukResponse.retryCount)") - OperationReadCardData.logger().info("PUK active: \(pukResponse.pinActive)") - - let pinResponse = PinResponse( - pin1RetryCount: pin1Response.retryCount, - pin1Active: pin1Response.pinActive, - pin2RetryCount: pin2Response.retryCount, - pin2Active: pin2Response.pinActive, - pukRetryCount: pukResponse.retryCount, - pukActive: pukResponse.pinActive, - ) - - OperationReadCardData.logger().info("NFC: reading can change PUK") - let canChangePUK = cardCommands.canChangePUK - OperationReadCardData.logger().info("NFC: can change PUK: \(canChangePUK)") - - returnData = NFCCardData( - publicData: cardInfo, - authenticationCertificate: authenticationCertificate, - signatureCertificate: signatureCertificate, - pinResponse: pinResponse, - isPUKChangable: canChangePUK - ) - - success() - } catch { - if (error as NSError).localizedDescription == "Failed to find lock for cert" { - handleNoCertLockError(error: error, session: session) - return - } - - if let idCardInternalError = error as? IdCardInternalError { - handleIdCardInternalError(idCardInternalError, session: session) - return - } - - if let nfcIdCardError = error as? nfclib.IdCardInternalError { - handleIdCardInternalError(nfcIdCardError, session: session) - return - } - - handleUnknownError(error, session: session) - } - } - } - - public override func tagReaderSession(_: NFCTagReaderSession, didInvalidateWithError error: Error) { - Self.logger().info("NFC: Reader session finished with error: \(error)") - self.session = nil - - guard let continuationToResume = self.continuation else { return } - self.continuation = nil - - if let returnData, didCompleteSuccessfully { - continuationToResume.resume(with: .success(returnData)) - return - } - - if let storedError = self.operationError { - continuationToResume.resume(throwing: storedError) - return - } - - if let nfcError = error as? NFCReaderError { - switch nfcError.code { - case .readerSessionInvalidationErrorUserCanceled: - continuationToResume.resume(throwing: IdCardInternalError.cancelledByUser) - return - - default: - break - } - } - - continuationToResume.resume(throwing: error) - } } diff --git a/RIADigiDoc/Domain/NFC/OperationReadCertAndSign.swift b/RIADigiDoc/Domain/NFC/OperationReadCertAndSign.swift index 00a9fe86..1d586903 100644 --- a/RIADigiDoc/Domain/NFC/OperationReadCertAndSign.swift +++ b/RIADigiDoc/Domain/NFC/OperationReadCertAndSign.swift @@ -29,15 +29,6 @@ import UtilsLib @MainActor public class OperationReadCertAndSign: NFCOperationBase, OperationReadCertAndSignProtocol { - private var pin2Number: SecureData = SecureData([0x00]) - private var signedContainer: SignedContainerProtocol? - private var containerPath: URL? - private var roleData: RoleData? - private var userAgent: String = "" - private var returnData: SignedContainerProtocol? - - private var continuation: CheckedContinuation? - // swiftlint:disable:next function_parameter_count public func startOperation( canNumber: String, @@ -48,170 +39,41 @@ public class OperationReadCertAndSign: NFCOperationBase, OperationReadCertAndSig userAgent: String, strings: NFCSessionStrings ) async throws -> SignedContainerProtocol { - - self.canNumber = canNumber - self.pin2Number = pin2Number - self.signedContainer = signedContainer - self.containerPath = containerPath - self.roleData = roleData - self.userAgent = userAgent - self.strings = strings - - return try await withCheckedThrowingContinuation { continuation in - self.continuation = continuation - - guard NFCTagReaderSession.readingAvailable else { - continuation.resume(throwing: IdCardInternalError.nfcNotSupported) - return - } - - session = NFCTagReaderSession(pollingOption: .iso14443, delegate: self) - updateAlertMessage(step: 0) - session?.begin() + defer { + pin2Number.secureZero() } - } - // MARK: - NFCTagReaderSessionDelegate - - // swiftlint:disable:next cyclomatic_complexity - public override func tagReaderSession(_ session: NFCTagReaderSession, didDetect tags: [NFCTag]) { - Task { @MainActor in - defer { - self.session = nil - } + guard !userAgent.isEmpty else { + OperationReadCertAndSign.logger().error("NFC: \(ReadCertAndSignError.userAgentEmpty.localizedDescription)") + throw ReadCertAndSignError.userAgentEmpty + } - guard let signedContainer else { - let error = ReadCertAndSignError.signedContainerNil - OperationReadCertAndSign.logger().error("NFC: \(error.localizedDescription)") - operationError = error - session.invalidate(errorMessage: strings?.technicalErrorMessage ?? - "Failed to read container data") - return - } - guard let roleData else { - let error = ReadCertAndSignError.roleDataNil - OperationReadCertAndSign.logger().error("NFC: \(error.localizedDescription)") - operationError = error - session.invalidate(errorMessage: strings?.technicalErrorMessage ?? - "Failed to read role data") - return - } - guard let containerPath else { - let error = ReadCertAndSignError.containerPathNil - OperationReadCertAndSign.logger().error("NFC: \(error.localizedDescription)") - operationError = error - session.invalidate(errorMessage: strings?.technicalErrorMessage ?? - "Failed to read container path") - return + return try await withCardCommands(canNumber: canNumber, strings: strings) { cardCommands in + updateAlertMessage(step: 3) + let (retryCount, pinActive) = try await cardCommands.readCodeTryCounterRecord(.pin2) + if retryCount == 0 { + throw IdCardInternalError.remainingPinRetryCount(Int(retryCount)) } - if userAgent.isEmpty { - let error = ReadCertAndSignError.userAgentEmpty - OperationReadCertAndSign.logger().error("NFC: \(error.localizedDescription)") - operationError = error - session.invalidate(errorMessage: strings?.technicalErrorMessage ?? - "Failed to initialize user agent") - return - } - - OperationReadCertAndSign.logger().info("NFC: Checks complete starting signing") - - do { - updateAlertMessage(step: 1) - let tag = try await connection.setup(session, tags: tags) - - updateAlertMessage(step: 2) - let cardCommands = try await connection.getCardCommands(session, tag: tag, CAN: canNumber) - - updateAlertMessage(step: 3) - - let (retryCount, pinActive) = try await cardCommands.readCodeTryCounterRecord(.pin2) - - if retryCount == 0 { - throw IdCardInternalError.remainingPinRetryCount(Int(retryCount)) - } - if !pinActive { - throw IdCardInternalError.pinLocked - } - - let cert = try await cardCommands.readSignatureCertificate() - let hashToSign = try await signedContainer.prepareSignature( - cert: cert, - containerPath: containerPath, - roleData: roleData, - userAgent: userAgent - ) - - let signatureValue = try await cardCommands.calculateSignature(for: hashToSign, withPin2: pin2Number) - - updateAlertMessage(step: 4) - returnData = try await signedContainer.addSignature( - signature: signatureValue, - containerFile: containerPath - ) - - success() - } catch { - if (error as NSError).localizedDescription == "Failed to find lock for cert" { - handleNoCertLockError(error: error, session: session) - return - } - - if let idCardInternalError = error as? IdCardInternalError { - handleIdCardInternalError(idCardInternalError, session: session) - return - } - - if let nfcIdCardError = error as? nfclib.IdCardInternalError { - handleIdCardInternalError(nfcIdCardError, session: session) - return - } - - if let readCertSignError = error as? ReadCertAndSignError { - OperationReadCertAndSign.logger() - .error("NFC: ReadCertAndSignError: \(readCertSignError.localizedDescription)") - operationError = readCertSignError - session.invalidate(errorMessage: strings?.technicalErrorMessage ?? "") - return - } - - if let digiDocError = error as? DigiDocError { - handleDigiDocError(digiDocError, session: session) - return - } - - handleUnknownError(error, session: session) + if !pinActive { + throw IdCardInternalError.pinLocked } - } - } - - public override func tagReaderSession(_: NFCTagReaderSession, didInvalidateWithError error: Error) { - Self.logger().info("NFC: Reader session finished with error: \(error)") - self.session = nil - - guard let continuationToResume = self.continuation else { return } - self.continuation = nil - - if let returnData, didCompleteSuccessfully { - continuationToResume.resume(with: .success(returnData)) - return - } - if let storedError = self.operationError { - continuationToResume.resume(throwing: storedError) - return + let cert = try await cardCommands.readSignatureCertificate() + let hashToSign = try await signedContainer.prepareSignature( + cert: cert, + containerPath: containerPath, + roleData: roleData, + userAgent: userAgent + ) + + let signatureValue = try await cardCommands.calculateSignature(for: hashToSign, withPin2: pin2Number) + pin2Number.secureZero() + + updateAlertMessage(step: 4) + return try await signedContainer.addSignature( + signature: signatureValue, + containerFile: containerPath + ) } - - if let nfcError = error as? NFCReaderError { - switch nfcError.code { - case .readerSessionInvalidationErrorUserCanceled: - continuationToResume.resume(throwing: IdCardInternalError.cancelledByUser) - return - - default: - break - } - } - - continuationToResume.resume(throwing: error) } } diff --git a/RIADigiDoc/Domain/NFC/OperationUnblockPin.swift b/RIADigiDoc/Domain/NFC/OperationUnblockPin.swift index 64f4f766..657e3cd4 100644 --- a/RIADigiDoc/Domain/NFC/OperationUnblockPin.swift +++ b/RIADigiDoc/Domain/NFC/OperationUnblockPin.swift @@ -26,11 +26,6 @@ import nfclib @MainActor public class OperationUnblockPin: NFCOperationBase, OperationUnblockPinProtocol { - private var codeType: CodeType? - private var puk: SecureData? - private var newPin: SecureData? - private var continuation: CheckedContinuation? - public func startReading( canNumber: String, codeType: CodeType, @@ -38,112 +33,14 @@ public class OperationUnblockPin: NFCOperationBase, OperationUnblockPinProtocol newPin: SecureData, strings: NFCSessionStrings ) async throws { - self.canNumber = canNumber - self.codeType = codeType - self.puk = puk - self.newPin = newPin - self.strings = strings - - return try await withCheckedThrowingContinuation { continuation in - self.continuation = continuation - - guard NFCTagReaderSession.readingAvailable else { - continuation.resume(throwing: IdCardInternalError.nfcNotSupported) - return - } - - session = NFCTagReaderSession(pollingOption: .iso14443, delegate: self) - updateAlertMessage(step: 0) - session?.begin() + defer { + puk.secureZero() + newPin.secureZero() } - } - - // MARK: - NFCTagReaderSessionDelegate - - public override func tagReaderSession(_ session: NFCTagReaderSession, didDetect tags: [NFCTag]) { - Task { @MainActor in - defer { - self.session = nil - } - - guard let codeType = self.codeType, - let puk = self.puk, - let newPin = self.newPin else { - let error = UnblockPINError.missingRequiredParameter - operationError = error - OperationUnblockPin.logger().error("NFC: \(error.localizedDescription)") - session.invalidate(errorMessage: strings?.technicalErrorMessage ?? - "Missing required parameters") - return - } - do { - updateAlertMessage(step: 1) - let tag = try await self.connection.setup(session, tags: tags) - - updateAlertMessage(step: 2) - let cardCommands = try await self.connection.getCardCommands(session, tag: tag, CAN: self.canNumber) - - updateAlertMessage(step: 3) - try await cardCommands.unblockCode(codeType, puk: puk, newCode: newPin) - - success() - } catch { - if (error as NSError).localizedDescription == "Failed to find lock for cert" { - handleNoCertLockError(error: error, session: session) - return - } - - if let idCardInternalError = error as? IdCardInternalError { - handleIdCardInternalError(idCardInternalError, session: session) - return - } - - if let nfcIdCardError = error as? nfclib.IdCardInternalError { - handleIdCardInternalError(nfcIdCardError, session: session) - return - } - if let unblockPINError = error as? UnblockPINError { - operationError = unblockPINError - OperationReadCertAndSign.logger() - .error("NFC: UnblockPINError: \(unblockPINError.localizedDescription)") - session.invalidate(errorMessage: strings?.technicalErrorMessage ?? "") - return - } - - handleUnknownError(error, session: session) - } - } - } - - public override func tagReaderSession(_: NFCTagReaderSession, didInvalidateWithError error: Error) { - Self.logger().info("NFC: Reader session finished with error: \(error)") - self.session = nil - - guard let continuationToResume = self.continuation else { return } - self.continuation = nil - - if didCompleteSuccessfully { - continuationToResume.resume(with: .success(())) - return + try await withCardCommands(canNumber: canNumber, strings: strings) { cardCommands in + updateAlertMessage(step: 3) + try await cardCommands.unblockCode(codeType, puk: puk, newCode: newPin) } - - if let storedError = self.operationError { - continuationToResume.resume(throwing: storedError) - return - } - - if let nfcError = error as? NFCReaderError { - switch nfcError.code { - case .readerSessionInvalidationErrorUserCanceled: - continuationToResume.resume(throwing: IdCardInternalError.cancelledByUser) - return - - default: - break - } - } - - continuationToResume.resume(throwing: error) } } diff --git a/RIADigiDoc/UI/Component/Container/Signing/NFC/NFCView.swift b/RIADigiDoc/UI/Component/Container/Signing/NFC/NFCView.swift index 22dc6389..fe7edf97 100644 --- a/RIADigiDoc/UI/Component/Container/Signing/NFC/NFCView.swift +++ b/RIADigiDoc/UI/Component/Container/Signing/NFC/NFCView.swift @@ -28,6 +28,7 @@ struct NFCView: View { @Environment(\.accessibilityVoiceOverEnabled) private var voiceOverEnabled @Environment(\.dismiss) private var dismiss @Environment(\.openURL) private var openURL + @Environment(\.scenePhase) private var scenePhase @Environment(LanguageSettings.self) private var languageSettings @Environment(NavigationPathManager.self) private var pathManager @@ -266,7 +267,22 @@ struct NFCView: View { } .onDisappear { cancelSigning() + cancelDecrypt() + cancelMyeid() } + .onChange(of: scenePhase) { _, newPhase in + if newPhase == .background { + cancelSigning() + cancelDecrypt() + cancelMyeid() + } + } + } + + private func resetPinState() { + pinNumber.removeAll() + isActionEnabled = viewModel + .isActionEnabled(canNumber: canNumber, pinNumber: pinNumber, pinType: pinType) } func saveInputData() { @@ -317,17 +333,13 @@ struct NFCView: View { } private func cancelDecrypt() { - pinNumber.isEmpty ? () : (pinNumber.removeAll()) - isActionEnabled = viewModel - .isActionEnabled(canNumber: canNumber, pinNumber: pinNumber, pinType: pinType) + resetPinState() taskDecrypt?.cancel() taskDecrypt = nil } private func cancelSigning() { - pinNumber.isEmpty ? () : (pinNumber.removeAll()) - isActionEnabled = viewModel - .isActionEnabled(canNumber: canNumber, pinNumber: pinNumber, pinType: pinType) + resetPinState() taskSign?.cancel() taskSign = nil } diff --git a/RIADigiDoc/UI/Component/My eID/MyEidPinChangeView.swift b/RIADigiDoc/UI/Component/My eID/MyEidPinChangeView.swift index 2e8f1128..f2670010 100644 --- a/RIADigiDoc/UI/Component/My eID/MyEidPinChangeView.swift +++ b/RIADigiDoc/UI/Component/My eID/MyEidPinChangeView.swift @@ -25,6 +25,7 @@ import CommonsLib struct MyEidPinChangeView: View { @Environment(\.accessibilityVoiceOverEnabled) private var voiceOverEnabled @Environment(\.dismiss) private var dismiss + @Environment(\.scenePhase) private var scenePhase @Environment(LanguageSettings.self) private var languageSettings @AccessibilityFocusState private var flowTitleFocused: Bool @@ -290,6 +291,11 @@ struct MyEidPinChangeView: View { stepTitleFocused = true } } + .onChange(of: scenePhase) { _, newPhase in + if newPhase == .background { + viewModel.clearSensitiveDataOnBackground() + } + } } ) } diff --git a/RIADigiDoc/UI/Component/Shared/FloatingLabelTextField.swift b/RIADigiDoc/UI/Component/Shared/FloatingLabelTextField.swift index bd2cee94..aa6e1b38 100644 --- a/RIADigiDoc/UI/Component/Shared/FloatingLabelTextField.swift +++ b/RIADigiDoc/UI/Component/Shared/FloatingLabelTextField.swift @@ -341,6 +341,7 @@ struct FloatingLabelTextField: View { onDone() } ) + .privacySensitive(isSecure) .toolbar { keyboardToolbar } .accessibilitySortPriority(sortPriority) .accessibilityLabel(Text(verbatim: title)) diff --git a/RIADigiDoc/ViewModel/MyEid/MyEidPinChangeViewModel.swift b/RIADigiDoc/ViewModel/MyEid/MyEidPinChangeViewModel.swift index 15cda380..471914e8 100644 --- a/RIADigiDoc/ViewModel/MyEid/MyEidPinChangeViewModel.swift +++ b/RIADigiDoc/ViewModel/MyEid/MyEidPinChangeViewModel.swift @@ -104,6 +104,7 @@ final class MyEidPinChangeViewModel: MyEidPinChangeViewModelProtocol, Loggable { guard verifyRepeatedCode() else { handleConfirmStepError() clearPinCodes() + input = "" return } guard let currentPinCode = currentCode, let newPinCode = newCode else { @@ -134,6 +135,12 @@ final class MyEidPinChangeViewModel: MyEidPinChangeViewModelProtocol, Loggable { isSuccess = false } + func clearSensitiveDataOnBackground() { + input = "" + clearPinCodes() + resetErrors() + } + func handleConfirmStepError() { if step == .confirm && !verifyRepeatedCode() && !isSuccess { inputErrorMessage = "PIN repeat error" diff --git a/RIADigiDoc/ViewModel/Protocols/MyEid/MyEidPinChangeViewModelProtocol.swift b/RIADigiDoc/ViewModel/Protocols/MyEid/MyEidPinChangeViewModelProtocol.swift index db28e38a..00191bb9 100644 --- a/RIADigiDoc/ViewModel/Protocols/MyEid/MyEidPinChangeViewModelProtocol.swift +++ b/RIADigiDoc/ViewModel/Protocols/MyEid/MyEidPinChangeViewModelProtocol.swift @@ -32,6 +32,7 @@ protocol MyEidPinChangeViewModelProtocol: Sendable { func submit(nfcStringsUtil: NFCSessionStringsUtil) async func resetErrors() + func clearSensitiveDataOnBackground() func verifyNewCode() func verifyRepeatedCode() -> Bool