Blame view

HHMedicSDK/HHSDKBase.framework/Modules/HHSDKBase.swiftmodule/arm64-apple-ios.swiftinterface 109 KB
chengyanfang authored
1
// swift-interface-format-version: 1.0
chengyanfang authored
2
// swift-compiler-version: Apple Swift version 5.4 (swiftlang-1205.0.26.9 clang-1205.0.19.55)
chengyanfang authored
3
// swift-module-flags: -target arm64-apple-ios10.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name HHSDKBase
chengyanfang authored
4 5 6
import AVFoundation
import Darwin
import Dispatch
chengyanfang authored
7 8
import Foundation
@_exported import HHSDKBase
chengyanfang authored
9 10 11 12
import LocalAuthentication
import MobileCoreServices
import Photos
import Security
chengyanfang authored
13
import SecurityKit
chengyanfang authored
14
import Swift
chengyanfang authored
15 16 17 18 19 20
import SystemConfiguration
import UIKit
public protocol AEAD {
  static var kLen: Swift.Int { get }
  static var ivRange: Swift.Range<Swift.Int> { get }
}
chengyanfang authored
21
@_hasMissingDesignatedInitializers final public class AEADChaCha20Poly1305 : HHSDKBase.AEAD {
chengyanfang authored
22 23 24 25 26
  public static let kLen: Swift.Int
  public static var ivRange: Swift.Range<Swift.Int>
  public static func encrypt(_ plainText: Swift.Array<Swift.UInt8>, key: Swift.Array<Swift.UInt8>, iv: Swift.Array<Swift.UInt8>, authenticationHeader: Swift.Array<Swift.UInt8>) throws -> (cipherText: Swift.Array<Swift.UInt8>, authenticationTag: Swift.Array<Swift.UInt8>)
  public static func decrypt(_ cipherText: Swift.Array<Swift.UInt8>, key: Swift.Array<Swift.UInt8>, iv: Swift.Array<Swift.UInt8>, authenticationHeader: Swift.Array<Swift.UInt8>, authenticationTag: Swift.Array<Swift.UInt8>) throws -> (plainText: Swift.Array<Swift.UInt8>, success: Swift.Bool)
  @objc deinit
chengyanfang authored
27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
}
public typealias onSDKProgress = ((CoreGraphics.CGFloat, Swift.String) -> Swift.Void)
public typealias onSDKUploadOnce = ((Swift.Bool, HHSDKBase.SDKUploadModel) -> Swift.Void)
public typealias onSDKFinished = (() -> Swift.Void)
public class SDKUploadConfig {
  public var progress: HHSDKBase.onSDKProgress?
  public var uploadOnce: HHSDKBase.onSDKUploadOnce?
  public var finished: HHSDKBase.onSDKFinished?
  public var orderId: Swift.String?
  public init()
  @objc deinit
}
public class SDKUploadModel {
  public var clouldKey: Swift.String?
  public var filePath: Swift.String? {
    get
    set
  }
  public var smallImage: Swift.String
  public var state: HHSDKBase.SDKUploadState?
  public init()
  public init(full: Swift.String?, scale: Swift.String)
  public init(clouldKey: Swift.String?, filePath: Swift.String?, uploadTime: Foundation.TimeInterval?, name: Swift.String?, smallImage: Swift.String)
  @objc deinit
}
chengyanfang authored
52
@_hasMissingDesignatedInitializers public class SDKUploadState {
chengyanfang authored
53 54 55 56 57 58 59 60 61 62 63
  public var file: Swift.String?
  public var isSelect: Swift.Bool
  public var changed: (() -> Swift.Void)?
  public var progress: Swift.Float {
    get
    set
  }
  public func isSuccess() -> Swift.Bool
  public func isFail() -> Swift.Bool
  @objc deinit
}
chengyanfang authored
64 65
extension AES {
  convenience public init(key: Swift.String, iv: Swift.String, padding: HHSDKBase.Padding = .pkcs7) throws
chengyanfang authored
66
}
chengyanfang authored
67 68 69
extension AES : HHSDKBase.Cryptors {
  final public func makeEncryptor() throws -> HHSDKBase.Cryptor & HHSDKBase.Updatable
  final public func makeDecryptor() throws -> HHSDKBase.Cryptor & HHSDKBase.Updatable
chengyanfang authored
70
}
chengyanfang authored
71 72 73 74 75 76
final public class AES {
  public enum Error : Swift.Error {
    case invalidKeySize
    case dataPaddingRequired
    case invalidData
    public static func == (a: HHSDKBase.AES.Error, b: HHSDKBase.AES.Error) -> Swift.Bool
chengyanfang authored
77
    public func hash(into hasher: inout Swift.Hasher)
chengyanfang authored
78 79 80 81 82 83 84
    public var hashValue: Swift.Int {
      get
    }
  }
  public enum Variant : Swift.Int {
    case aes128, aes192, aes256
    public init?(rawValue: Swift.Int)
chengyanfang authored
85
    public typealias RawValue = Swift.Int
chengyanfang authored
86 87 88 89 90 91 92 93
    public var rawValue: Swift.Int {
      get
    }
  }
  public static let blockSize: Swift.Int
  final public let keySize: Swift.Int
  final public let variant: HHSDKBase.AES.Variant
  public init(key: Swift.Array<Swift.UInt8>, blockMode: HHSDKBase.BlockMode, padding: HHSDKBase.Padding = .pkcs7) throws
chengyanfang authored
94 95
  @objc deinit
}
chengyanfang authored
96 97 98
extension AES : HHSDKBase.Cipher {
  final public func encrypt(_ bytes: Swift.ArraySlice<Swift.UInt8>) throws -> Swift.Array<Swift.UInt8>
  final public func decrypt(_ bytes: Swift.ArraySlice<Swift.UInt8>) throws -> Swift.Array<Swift.UInt8>
chengyanfang authored
99
}
chengyanfang authored
100 101 102
extension Array where Element == Swift.UInt8 {
  public init(hex: Swift.String)
  public func toHexString() -> Swift.String
chengyanfang authored
103
}
chengyanfang authored
104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120
extension Array where Element == Swift.UInt8 {
  @available(*, deprecated)
  public func chunks(size chunksize: Swift.Int) -> Swift.Array<Swift.Array<Element>>
  public func md5() -> [Element]
  public func sha1() -> [Element]
  public func sha224() -> [Element]
  public func sha256() -> [Element]
  public func sha384() -> [Element]
  public func sha512() -> [Element]
  public func sha2(_ variant: HHSDKBase.SHA2.Variant) -> [Element]
  public func sha3(_ variant: HHSDKBase.SHA3.Variant) -> [Element]
  public func crc32(seed: Swift.UInt32? = nil, reflect: Swift.Bool = true) -> Swift.UInt32
  public func crc32c(seed: Swift.UInt32? = nil, reflect: Swift.Bool = true) -> Swift.UInt32
  public func crc16(seed: Swift.UInt16? = nil) -> Swift.UInt16
  public func encrypt(cipher: HHSDKBase.Cipher) throws -> [Element]
  public func decrypt(cipher: HHSDKBase.Cipher) throws -> [Element]
  public func authenticate<A>(with authenticator: A) throws -> [Element] where A : HHSDKBase.CryptoAuthenticator
chengyanfang authored
121 122 123 124 125
}
extension Array where Element == Swift.UInt8 {
  public func toBase64() -> Swift.String?
  public init(base64: Swift.String)
}
chengyanfang authored
126 127 128 129 130 131 132
public protocol CryptoAuthenticator {
  func authenticate(_ bytes: Swift.Array<Swift.UInt8>) throws -> Swift.Array<Swift.UInt8>
}
public enum Bit : Swift.Int {
  case zero
  case one
  public init?(rawValue: Swift.Int)
chengyanfang authored
133
  public typealias RawValue = Swift.Int
chengyanfang authored
134 135 136 137 138 139 140 141 142 143 144 145 146
  public var rawValue: Swift.Int {
    get
  }
}
open class HHDataController<T> where T : HHSDKBase.Mappable {
  open var mData: T?
  public init()
  open func request(api: HHSDKBase.HHBaseApi, data: HHSDKBase.HHRequestData? = nil, result: HHSDKBase.NetResult?)
  open func emptyRequest(api: HHSDKBase.HHBaseApi, data: HHSDKBase.HHRequestData? = nil, result: HHSDKBase.NetResult?)
  open func noDataRequest(api: HHSDKBase.HHBaseApi, data: HHSDKBase.HHRequestData? = nil, result: HHSDKBase.NetResult?)
  open func request<E>(api: HHSDKBase.HHBaseApi, data: HHSDKBase.HHRequestData? = nil, result: ((E) -> Swift.Void)?, fail: HHSDKBase.HHNetError? = nil) where E : HHSDKBase.Mappable
  @objc deinit
}
chengyanfang authored
147
@_hasMissingDesignatedInitializers public class BlockDecryptor : HHSDKBase.Cryptor, HHSDKBase.Updatable {
chengyanfang authored
148 149 150 151 152 153 154 155 156 157 158 159 160
  public func update(withBytes bytes: Swift.ArraySlice<Swift.UInt8>, isLast: Swift.Bool = false) throws -> Swift.Array<Swift.UInt8>
  public func seek(to position: Swift.Int) throws
  @objc deinit
}
public typealias CipherOperationOnBlock = (Swift.ArraySlice<Swift.UInt8>) -> Swift.Array<Swift.UInt8>?
public protocol BlockMode {
  var options: HHSDKBase.BlockModeOption { get }
  func worker(blockSize: Swift.Int, cipherOperation: @escaping HHSDKBase.CipherOperationOnBlock, encryptionOperation: @escaping HHSDKBase.CipherOperationOnBlock) throws -> HHSDKBase.CipherModeWorker
}
public struct BlockModeOption : Swift.OptionSet {
  public let rawValue: Swift.Int
  public init(rawValue: Swift.Int)
  public typealias ArrayLiteralElement = HHSDKBase.BlockModeOption
chengyanfang authored
161
  public typealias Element = HHSDKBase.BlockModeOption
chengyanfang authored
162 163 164 165 166 167
  public typealias RawValue = Swift.Int
}
extension Blowfish {
  convenience public init(key: Swift.String, iv: Swift.String, padding: HHSDKBase.Padding = .pkcs7) throws
}
final public class Blowfish {
chengyanfang authored
168
  public enum Error : Swift.Error {
chengyanfang authored
169 170
    case dataPaddingRequired
    case invalidKeyOrInitializationVector
chengyanfang authored
171
    case invalidInitializationVector
chengyanfang authored
172 173
    case invalidBlockMode
    public static func == (a: HHSDKBase.Blowfish.Error, b: HHSDKBase.Blowfish.Error) -> Swift.Bool
chengyanfang authored
174
    public func hash(into hasher: inout Swift.Hasher)
chengyanfang authored
175 176 177 178
    public var hashValue: Swift.Int {
      get
    }
  }
chengyanfang authored
179 180 181 182
  public static let blockSize: Swift.Int
  final public let keySize: Swift.Int
  public init(key: Swift.Array<Swift.UInt8>, blockMode: HHSDKBase.BlockMode = CBC(iv: Array<UInt8>(repeating: 0, count: Blowfish.blockSize)), padding: HHSDKBase.Padding) throws
  @objc deinit
chengyanfang authored
183
}
chengyanfang authored
184 185 186
extension Blowfish : HHSDKBase.Cipher {
  final public func encrypt<C>(_ bytes: C) throws -> Swift.Array<Swift.UInt8> where C : Swift.Collection, C.Element == Swift.UInt8, C.Index == Swift.Int
  final public func decrypt<C>(_ bytes: C) throws -> Swift.Array<Swift.UInt8> where C : Swift.Collection, C.Element == Swift.UInt8, C.Index == Swift.Int
chengyanfang authored
187
}
chengyanfang authored
188 189 190
public protocol HHDNSProtocal {
  func changeHost(_ hostDomain: Swift.String) -> Swift.String
  func requestHost(_ host: Swift.String, challenge: Foundation.URLAuthenticationChallenge, completion: @escaping (Foundation.URLSession.AuthChallengeDisposition, Foundation.URLCredential?) -> Swift.Void)
chengyanfang authored
191
}
chengyanfang authored
192 193 194 195
public struct CBC : HHSDKBase.BlockMode {
  public enum Error : Swift.Error {
    case invalidInitializationVector
    public static func == (a: HHSDKBase.CBC.Error, b: HHSDKBase.CBC.Error) -> Swift.Bool
chengyanfang authored
196
    public func hash(into hasher: inout Swift.Hasher)
chengyanfang authored
197 198 199
    public var hashValue: Swift.Int {
      get
    }
chengyanfang authored
200
  }
chengyanfang authored
201 202 203
  public let options: HHSDKBase.BlockModeOption
  public init(iv: Swift.Array<Swift.UInt8>)
  public func worker(blockSize: Swift.Int, cipherOperation: @escaping HHSDKBase.CipherOperationOnBlock, encryptionOperation: @escaping HHSDKBase.CipherOperationOnBlock) throws -> HHSDKBase.CipherModeWorker
chengyanfang authored
204
}
chengyanfang authored
205
@_inheritsConvenienceInitializers final public class CBCMAC : HHSDKBase.CMAC {
chengyanfang authored
206 207 208 209 210 211 212 213 214 215
  override final public func authenticate(_ bytes: Swift.Array<Swift.UInt8>) throws -> Swift.Array<Swift.UInt8>
  override public init(key: Swift.Array<Swift.UInt8>) throws
  @objc deinit
}
public struct CCM {
  public enum Error : Swift.Error {
    case invalidInitializationVector
    case invalidParameter
    case fail
    public static func == (a: HHSDKBase.CCM.Error, b: HHSDKBase.CCM.Error) -> Swift.Bool
chengyanfang authored
216
    public func hash(into hasher: inout Swift.Hasher)
chengyanfang authored
217 218 219
    public var hashValue: Swift.Int {
      get
    }
chengyanfang authored
220
  }
chengyanfang authored
221 222 223 224 225 226 227 228 229 230
  public let options: HHSDKBase.BlockModeOption
  public var authenticationTag: Swift.Array<Swift.UInt8>?
  public init(iv: Swift.Array<Swift.UInt8>, tagLength: Swift.Int, messageLength: Swift.Int, additionalAuthenticatedData: Swift.Array<Swift.UInt8>? = nil)
  public init(iv: Swift.Array<Swift.UInt8>, tagLength: Swift.Int, messageLength: Swift.Int, authenticationTag: Swift.Array<Swift.UInt8>, additionalAuthenticatedData: Swift.Array<Swift.UInt8>? = nil)
  public func worker(blockSize: Swift.Int, cipherOperation: @escaping HHSDKBase.CipherOperationOnBlock, encryptionOperation: @escaping HHSDKBase.CipherOperationOnBlock) throws -> HHSDKBase.CipherModeWorker
}
public struct CFB : HHSDKBase.BlockMode {
  public enum Error : Swift.Error {
    case invalidInitializationVector
    public static func == (a: HHSDKBase.CFB.Error, b: HHSDKBase.CFB.Error) -> Swift.Bool
chengyanfang authored
231
    public func hash(into hasher: inout Swift.Hasher)
chengyanfang authored
232 233 234
    public var hashValue: Swift.Int {
      get
    }
chengyanfang authored
235
  }
chengyanfang authored
236 237 238
  public let options: HHSDKBase.BlockModeOption
  public init(iv: Swift.Array<Swift.UInt8>)
  public func worker(blockSize: Swift.Int, cipherOperation: @escaping HHSDKBase.CipherOperationOnBlock, encryptionOperation: @escaping HHSDKBase.CipherOperationOnBlock) throws -> HHSDKBase.CipherModeWorker
chengyanfang authored
239
}
chengyanfang authored
240 241
extension ChaCha20 {
  convenience public init(key: Swift.String, iv: Swift.String) throws
chengyanfang authored
242 243 244 245 246 247
}
final public class ChaCha20 {
  public enum Error : Swift.Error {
    case invalidKeyOrInitializationVector
    case notSupported
    public static func == (a: HHSDKBase.ChaCha20.Error, b: HHSDKBase.ChaCha20.Error) -> Swift.Bool
chengyanfang authored
248
    public func hash(into hasher: inout Swift.Hasher)
chengyanfang authored
249 250 251 252 253 254 255 256 257 258 259 260 261 262 263
    public var hashValue: Swift.Int {
      get
    }
  }
  public static let blockSize: Swift.Int
  final public let keySize: Swift.Int
  public init(key: Swift.Array<Swift.UInt8>, iv nonce: Swift.Array<Swift.UInt8>) throws
  @objc deinit
}
extension ChaCha20 : HHSDKBase.Cipher {
  final public func encrypt(_ bytes: Swift.ArraySlice<Swift.UInt8>) throws -> Swift.Array<Swift.UInt8>
  final public func decrypt(_ bytes: Swift.ArraySlice<Swift.UInt8>) throws -> Swift.Array<Swift.UInt8>
}
extension ChaCha20 {
  public struct ChaChaEncryptor : HHSDKBase.Cryptor, HHSDKBase.Updatable {
chengyanfang authored
264
    public mutating func update(withBytes bytes: Swift.ArraySlice<Swift.UInt8>, isLast: Swift.Bool = false) throws -> Swift.Array<Swift.UInt8>
chengyanfang authored
265 266 267 268 269
    public func seek(to: Swift.Int) throws
  }
}
extension ChaCha20 {
  public struct ChaChaDecryptor : HHSDKBase.Cryptor, HHSDKBase.Updatable {
chengyanfang authored
270
    public mutating func update(withBytes bytes: Swift.ArraySlice<Swift.UInt8>, isLast: Swift.Bool = true) throws -> Swift.Array<Swift.UInt8>
chengyanfang authored
271 272 273 274 275 276 277
    public func seek(to: Swift.Int) throws
  }
}
extension ChaCha20 : HHSDKBase.Cryptors {
  final public func makeEncryptor() -> HHSDKBase.Cryptor & HHSDKBase.Updatable
  final public func makeDecryptor() -> HHSDKBase.Cryptor & HHSDKBase.Updatable
}
chengyanfang authored
278
@_hasMissingDesignatedInitializers final public class Checksum {
chengyanfang authored
279 280
  @objc deinit
}
chengyanfang authored
281 282 283 284
extension Checksum {
  public static func crc32(_ message: Swift.Array<Swift.UInt8>, seed: Swift.UInt32? = nil, reflect: Swift.Bool = true) -> Swift.UInt32
  public static func crc32c(_ message: Swift.Array<Swift.UInt8>, seed: Swift.UInt32? = nil, reflect: Swift.Bool = true) -> Swift.UInt32
  public static func crc16(_ message: Swift.Array<Swift.UInt8>, seed: Swift.UInt16? = nil) -> Swift.UInt16
chengyanfang authored
285
}
chengyanfang authored
286 287 288 289
public enum CipherError : Swift.Error {
  case encrypt
  case decrypt
  public static func == (a: HHSDKBase.CipherError, b: HHSDKBase.CipherError) -> Swift.Bool
chengyanfang authored
290
  public func hash(into hasher: inout Swift.Hasher)
chengyanfang authored
291 292
  public var hashValue: Swift.Int {
    get
chengyanfang authored
293 294
  }
}
chengyanfang authored
295 296 297 298 299 300
public protocol Cipher : AnyObject {
  var keySize: Swift.Int { get }
  func encrypt(_ bytes: Swift.ArraySlice<Swift.UInt8>) throws -> Swift.Array<Swift.UInt8>
  func encrypt(_ bytes: Swift.Array<Swift.UInt8>) throws -> Swift.Array<Swift.UInt8>
  func decrypt(_ bytes: Swift.ArraySlice<Swift.UInt8>) throws -> Swift.Array<Swift.UInt8>
  func decrypt(_ bytes: Swift.Array<Swift.UInt8>) throws -> Swift.Array<Swift.UInt8>
chengyanfang authored
301
}
chengyanfang authored
302 303 304
extension Cipher {
  public func encrypt(_ bytes: Swift.Array<Swift.UInt8>) throws -> Swift.Array<Swift.UInt8>
  public func decrypt(_ bytes: Swift.Array<Swift.UInt8>) throws -> Swift.Array<Swift.UInt8>
chengyanfang authored
305
}
chengyanfang authored
306 307 308 309 310
public protocol CipherModeWorker {
  var cipherOperation: HHSDKBase.CipherOperationOnBlock { get }
  var additionalBufferSize: Swift.Int { get }
  mutating func encrypt(block plaintext: Swift.ArraySlice<Swift.UInt8>) -> Swift.Array<Swift.UInt8>
  mutating func decrypt(block ciphertext: Swift.ArraySlice<Swift.UInt8>) -> Swift.Array<Swift.UInt8>
chengyanfang authored
311
}
chengyanfang authored
312 313
public protocol BlockModeWorker : HHSDKBase.CipherModeWorker {
  var blockSize: Swift.Int { get }
chengyanfang authored
314
}
chengyanfang authored
315 316 317
public protocol CounterModeWorker : HHSDKBase.CipherModeWorker {
  associatedtype Counter
  var counter: Self.Counter { get set }
chengyanfang authored
318
}
chengyanfang authored
319 320
public protocol SeekableModeWorker : HHSDKBase.CipherModeWorker {
  mutating func seek(to position: Swift.Int) throws
chengyanfang authored
321
}
chengyanfang authored
322
public protocol StreamModeWorker : HHSDKBase.CipherModeWorker {
chengyanfang authored
323
}
chengyanfang authored
324 325
public protocol FinalizingEncryptModeWorker : HHSDKBase.CipherModeWorker {
  mutating func finalize(encrypt ciphertext: Swift.ArraySlice<Swift.UInt8>) throws -> Swift.ArraySlice<Swift.UInt8>
chengyanfang authored
326
}
chengyanfang authored
327 328 329 330 331
public protocol FinalizingDecryptModeWorker : HHSDKBase.CipherModeWorker {
  @discardableResult
  mutating func willDecryptLast(bytes ciphertext: Swift.ArraySlice<Swift.UInt8>) throws -> Swift.ArraySlice<Swift.UInt8>
  mutating func didDecryptLast(bytes plaintext: Swift.ArraySlice<Swift.UInt8>) throws -> Swift.ArraySlice<Swift.UInt8>
  mutating func finalize(decrypt plaintext: Swift.ArraySlice<Swift.UInt8>) throws -> Swift.ArraySlice<Swift.UInt8>
chengyanfang authored
332
}
chengyanfang authored
333 334 335 336
public class CMAC : HHSDKBase.CryptoAuthenticator {
  public enum Error : Swift.Error {
    case wrongKeyLength
    public static func == (a: HHSDKBase.CMAC.Error, b: HHSDKBase.CMAC.Error) -> Swift.Bool
chengyanfang authored
337
    public func hash(into hasher: inout Swift.Hasher)
chengyanfang authored
338 339 340 341 342 343 344 345
    public var hashValue: Swift.Int {
      get
    }
  }
  public init(key: Swift.Array<Swift.UInt8>) throws
  public func authenticate(_ bytes: Swift.Array<Swift.UInt8>) throws -> Swift.Array<Swift.UInt8>
  public func authenticate(_ bytes: Swift.Array<Swift.UInt8>, cipher: HHSDKBase.Cipher) throws -> Swift.Array<Swift.UInt8>
  @objc deinit
chengyanfang authored
346
}
chengyanfang authored
347 348 349 350 351 352 353
open class CodableTransform<T> : HHSDKBase.TransformType where T : Swift.Decodable, T : Swift.Encodable {
  public typealias Object = T
  public typealias JSON = Any
  public init()
  open func transformFromJSON(_ value: Any?) -> HHSDKBase.CodableTransform<T>.Object?
  open func transformToJSON(_ value: T?) -> HHSDKBase.CodableTransform<T>.JSON?
  @objc deinit
chengyanfang authored
354
}
chengyanfang authored
355 356
public protocol Cryptor {
  mutating func seek(to: Swift.Int) throws
chengyanfang authored
357
}
chengyanfang authored
358 359 360 361
public protocol Cryptors : AnyObject {
  func makeEncryptor() throws -> HHSDKBase.Cryptor & HHSDKBase.Updatable
  func makeDecryptor() throws -> HHSDKBase.Cryptor & HHSDKBase.Updatable
  static func randomIV(_ blockSize: Swift.Int) -> Swift.Array<Swift.UInt8>
chengyanfang authored
362
}
chengyanfang authored
363 364
extension Cryptors {
  public static func randomIV(_ count: Swift.Int) -> Swift.Array<Swift.UInt8>
chengyanfang authored
365
}
chengyanfang authored
366
public struct CTR {
chengyanfang authored
367
  public enum Error : Swift.Error {
chengyanfang authored
368 369
    case invalidInitializationVector
    public static func == (a: HHSDKBase.CTR.Error, b: HHSDKBase.CTR.Error) -> Swift.Bool
chengyanfang authored
370
    public func hash(into hasher: inout Swift.Hasher)
chengyanfang authored
371 372 373 374
    public var hashValue: Swift.Int {
      get
    }
  }
chengyanfang authored
375 376 377
  public let options: HHSDKBase.BlockModeOption
  public init(iv: Swift.Array<Swift.UInt8>, counter: Swift.Int = 0)
  public func worker(blockSize: Swift.Int, cipherOperation: @escaping HHSDKBase.CipherOperationOnBlock, encryptionOperation: @escaping HHSDKBase.CipherOperationOnBlock) throws -> HHSDKBase.CipherModeWorker
chengyanfang authored
378
}
chengyanfang authored
379 380 381 382
open class CustomDateFormatTransform : HHSDKBase.DateFormatterTransform {
  public init(formatString: Swift.String)
  override public init(dateFormatter: Foundation.DateFormatter)
  @objc deinit
chengyanfang authored
383
}
chengyanfang authored
384 385 386 387 388 389 390 391 392 393 394 395 396 397 398
extension Data {
  public func checksum() -> Swift.UInt16
  public func md5() -> Foundation.Data
  public func sha1() -> Foundation.Data
  public func sha224() -> Foundation.Data
  public func sha256() -> Foundation.Data
  public func sha384() -> Foundation.Data
  public func sha512() -> Foundation.Data
  public func sha3(_ variant: HHSDKBase.SHA3.Variant) -> Foundation.Data
  public func crc32(seed: Swift.UInt32? = nil, reflect: Swift.Bool = true) -> Foundation.Data
  public func crc32c(seed: Swift.UInt32? = nil, reflect: Swift.Bool = true) -> Foundation.Data
  public func crc16(seed: Swift.UInt16? = nil) -> Foundation.Data
  public func encrypt(cipher: HHSDKBase.Cipher) throws -> Foundation.Data
  public func decrypt(cipher: HHSDKBase.Cipher) throws -> Foundation.Data
  public func authenticate(with authenticator: HHSDKBase.CryptoAuthenticator) throws -> Foundation.Data
chengyanfang authored
399
}
chengyanfang authored
400 401 402
extension Data {
  public init(hex: Swift.String)
  public var bytes: Swift.Array<Swift.UInt8> {
chengyanfang authored
403 404
    get
  }
chengyanfang authored
405
  public func toHexString() -> Swift.String
chengyanfang authored
406
}
chengyanfang authored
407 408 409
open class DataTransform : HHSDKBase.TransformType {
  public typealias Object = Foundation.Data
  public typealias JSON = Swift.String
chengyanfang authored
410
  public init()
chengyanfang authored
411 412
  open func transformFromJSON(_ value: Any?) -> Foundation.Data?
  open func transformToJSON(_ value: Foundation.Data?) -> Swift.String?
chengyanfang authored
413 414
  @objc deinit
}
chengyanfang authored
415 416 417 418 419 420 421 422
open class DateFormatterTransform : HHSDKBase.TransformType {
  public typealias Object = Foundation.Date
  public typealias JSON = Swift.String
  final public let dateFormatter: Foundation.DateFormatter
  public init(dateFormatter: Foundation.DateFormatter)
  open func transformFromJSON(_ value: Any?) -> Foundation.Date?
  open func transformToJSON(_ value: Foundation.Date?) -> Swift.String?
  @objc deinit
chengyanfang authored
423
}
chengyanfang authored
424 425 426 427 428 429 430
open class DateTransform : HHSDKBase.TransformType {
  public typealias Object = Foundation.Date
  public typealias JSON = Swift.Double
  public enum Unit : Foundation.TimeInterval {
    case seconds
    case milliseconds
    public init?(rawValue: Foundation.TimeInterval)
chengyanfang authored
431
    public typealias RawValue = Foundation.TimeInterval
chengyanfang authored
432 433 434
    public var rawValue: Foundation.TimeInterval {
      get
    }
chengyanfang authored
435
  }
chengyanfang authored
436 437 438 439
  public init(unit: HHSDKBase.DateTransform.Unit = .seconds)
  open func transformFromJSON(_ value: Any?) -> Foundation.Date?
  open func transformToJSON(_ value: Foundation.Date?) -> Swift.Double?
  @objc deinit
chengyanfang authored
440
}
chengyanfang authored
441 442 443 444 445
public struct DictionaryTransform<Key, Value> : HHSDKBase.TransformType where Key : Swift.Hashable, Key : Swift.RawRepresentable, Value : HHSDKBase.Mappable, Key.RawValue == Swift.String {
  public init()
  public func transformFromJSON(_ value: Any?) -> [Key : Value]?
  public func transformToJSON(_ value: [Key : Value]?) -> Any?
  public typealias JSON = Any
chengyanfang authored
446
  public typealias Object = Swift.Dictionary<Key, Value>
chengyanfang authored
447
}
chengyanfang authored
448 449 450 451 452 453 454 455 456 457 458
@available(*, renamed: "Digest")
public typealias Hash = HHSDKBase.Digest
public struct Digest {
  public static func md5(_ bytes: Swift.Array<Swift.UInt8>) -> Swift.Array<Swift.UInt8>
  public static func sha1(_ bytes: Swift.Array<Swift.UInt8>) -> Swift.Array<Swift.UInt8>
  public static func sha224(_ bytes: Swift.Array<Swift.UInt8>) -> Swift.Array<Swift.UInt8>
  public static func sha256(_ bytes: Swift.Array<Swift.UInt8>) -> Swift.Array<Swift.UInt8>
  public static func sha384(_ bytes: Swift.Array<Swift.UInt8>) -> Swift.Array<Swift.UInt8>
  public static func sha512(_ bytes: Swift.Array<Swift.UInt8>) -> Swift.Array<Swift.UInt8>
  public static func sha2(_ bytes: Swift.Array<Swift.UInt8>, variant: HHSDKBase.SHA2.Variant) -> Swift.Array<Swift.UInt8>
  public static func sha3(_ bytes: Swift.Array<Swift.UInt8>, variant: HHSDKBase.SHA3.Variant) -> Swift.Array<Swift.UInt8>
chengyanfang authored
459
}
chengyanfang authored
460 461
public struct ECB : HHSDKBase.BlockMode {
  public let options: HHSDKBase.BlockModeOption
chengyanfang authored
462
  public init()
chengyanfang authored
463
  public func worker(blockSize: Swift.Int, cipherOperation: @escaping HHSDKBase.CipherOperationOnBlock, encryptionOperation: @escaping HHSDKBase.CipherOperationOnBlock) throws -> HHSDKBase.CipherModeWorker
chengyanfang authored
464
}
chengyanfang authored
465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482
public func <- <T>(left: inout T, right: HHSDKBase.Map) where T : Swift.RawRepresentable
public func >>> <T>(left: T, right: HHSDKBase.Map) where T : Swift.RawRepresentable
public func <- <T>(left: inout T?, right: HHSDKBase.Map) where T : Swift.RawRepresentable
public func >>> <T>(left: T?, right: HHSDKBase.Map) where T : Swift.RawRepresentable
public func <- <T>(left: inout [T], right: HHSDKBase.Map) where T : Swift.RawRepresentable
public func >>> <T>(left: [T], right: HHSDKBase.Map) where T : Swift.RawRepresentable
public func <- <T>(left: inout [T]?, right: HHSDKBase.Map) where T : Swift.RawRepresentable
public func >>> <T>(left: [T]?, right: HHSDKBase.Map) where T : Swift.RawRepresentable
public func <- <T>(left: inout [Swift.String : T], right: HHSDKBase.Map) where T : Swift.RawRepresentable
public func >>> <T>(left: [Swift.String : T], right: HHSDKBase.Map) where T : Swift.RawRepresentable
public func <- <T>(left: inout [Swift.String : T]?, right: HHSDKBase.Map) where T : Swift.RawRepresentable
public func >>> <T>(left: [Swift.String : T]?, right: HHSDKBase.Map) where T : Swift.RawRepresentable
open class EnumTransform<T> : HHSDKBase.TransformType where T : Swift.RawRepresentable {
  public typealias Object = T
  public typealias JSON = T.RawValue
  public init()
  open func transformFromJSON(_ value: Any?) -> T?
  open func transformToJSON(_ value: T?) -> T.RawValue?
chengyanfang authored
483 484
  @objc deinit
}
chengyanfang authored
485 486 487 488 489
final public class GCM : HHSDKBase.BlockMode {
  public enum Mode {
    case combined
    case detached
    public static func == (a: HHSDKBase.GCM.Mode, b: HHSDKBase.GCM.Mode) -> Swift.Bool
chengyanfang authored
490
    public func hash(into hasher: inout Swift.Hasher)
chengyanfang authored
491 492 493 494 495 496 497 498 499
    public var hashValue: Swift.Int {
      get
    }
  }
  final public let options: HHSDKBase.BlockModeOption
  public enum Error : Swift.Error {
    case invalidInitializationVector
    case fail
    public static func == (a: HHSDKBase.GCM.Error, b: HHSDKBase.GCM.Error) -> Swift.Bool
chengyanfang authored
500
    public func hash(into hasher: inout Swift.Hasher)
chengyanfang authored
501 502 503 504 505 506 507 508 509
    public var hashValue: Swift.Int {
      get
    }
  }
  final public var authenticationTag: Swift.Array<Swift.UInt8>?
  public init(iv: Swift.Array<Swift.UInt8>, additionalAuthenticatedData: Swift.Array<Swift.UInt8>? = nil, tagLength: Swift.Int = 16, mode: HHSDKBase.GCM.Mode = .detached)
  convenience public init(iv: Swift.Array<Swift.UInt8>, authenticationTag: Swift.Array<Swift.UInt8>, additionalAuthenticatedData: Swift.Array<Swift.UInt8>? = nil, mode: HHSDKBase.GCM.Mode = .detached)
  final public func worker(blockSize: Swift.Int, cipherOperation: @escaping HHSDKBase.CipherOperationOnBlock, encryptionOperation: @escaping HHSDKBase.CipherOperationOnBlock) throws -> HHSDKBase.CipherModeWorker
  @objc deinit
chengyanfang authored
510
}
chengyanfang authored
511 512 513 514 515 516 517
open class HexColorTransform : HHSDKBase.TransformType {
  public typealias Object = UIKit.UIColor
  public typealias JSON = Swift.String
  public init(prefixToJSON: Swift.Bool = false, alphaToJSON: Swift.Bool = false)
  open func transformFromJSON(_ value: Any?) -> HHSDKBase.HexColorTransform.Object?
  open func transformToJSON(_ value: HHSDKBase.HexColorTransform.Object?) -> HHSDKBase.HexColorTransform.JSON?
  @objc deinit
chengyanfang authored
518
}
chengyanfang authored
519 520 521 522
extension Array {
  public subscript(safe index: Swift.Int) -> Element? {
    get
  }
chengyanfang authored
523
}
chengyanfang authored
524
public struct HHBaseApi {
chengyanfang authored
525
}
chengyanfang authored
526 527 528 529 530
@propertyWrapper public struct ApiConfig {
  public var wrappedValue: HHSDKBase.HHBaseApi {
    get
  }
  public init(path: Swift.String, method: HHSDKBase.HHRequestMethod = .post, host: Swift.String = HHUrl.baseUrl(), domain: Swift.String = HHUrl.urlForFamily(), needUserInfo: Swift.Bool = true, needEncrypt: Swift.Bool = true, needDNS: Swift.Bool = true)
chengyanfang authored
531
}
chengyanfang authored
532 533 534
public typealias HHLoginHandler = ((Swift.Error?) -> Swift.Void)
public var HMHudManager: HHSDKBase.HHHUDable {
  get
chengyanfang authored
535
}
chengyanfang authored
536
@_inheritsConvenienceInitializers @objc public class HHBaseSDK : ObjectiveC.NSObject {
chengyanfang authored
537
  @objc public static let `default`: HHSDKBase.HHBaseSDK
chengyanfang authored
538
  public var dnsCallback: HHSDKBase.HHDNSProtocal?
chengyanfang authored
539
  @objc public func start()
chengyanfang authored
540 541 542 543
  @objc public func login(userToken: Swift.String, completion: @escaping HHSDKBase.HHLoginHandler)
  @objc public func logout(_ callback: ((Swift.String?) -> Swift.Void)? = nil)
  @objc override dynamic public init()
  @objc deinit
chengyanfang authored
544
}
chengyanfang authored
545 546
public let HHSDKScreenWidth: CoreGraphics.CGFloat
public let HHSDKScreenHeight: CoreGraphics.CGFloat
chengyanfang authored
547 548 549 550
public let China_Flag: Swift.String
public struct HHDimens {
  public static func isPad() -> Swift.Bool
  public static func isPlus() -> Swift.Bool
chengyanfang authored
551
}
chengyanfang authored
552
public func HHColor(_ red: CoreGraphics.CGFloat, green: CoreGraphics.CGFloat, blue: CoreGraphics.CGFloat, alpha: CoreGraphics.CGFloat = 1.0) -> UIKit.UIColor
chengyanfang authored
553 554 555 556 557
public func HHUISingleColor(_ value: CoreGraphics.CGFloat, alpha: CoreGraphics.CGFloat = 1.0) -> UIKit.UIColor
public func visibleWindow() -> UIKit.UIWindow?
public func delayFunc(_ time: Swift.Double, block: @escaping () -> Swift.Void)
public func appLanguage() -> Swift.String
public func isChina() -> Swift.Bool
chengyanfang authored
558
@_hasMissingDesignatedInitializers public class HHDevice {
chengyanfang authored
559
  public static func isIphoneX() -> Swift.Bool
chengyanfang authored
560
  public static func botOffset() -> CoreGraphics.CGFloat
chengyanfang authored
561
  public static func tOffset() -> CoreGraphics.CGFloat
chengyanfang authored
562
  public class func isSml() -> Swift.Bool
chengyanfang authored
563 564 565
  public class func isMid() -> Swift.Bool
  public class func isPlus() -> Swift.Bool
  public class func isX() -> Swift.Bool
chengyanfang authored
566
  public static func iphoneType() -> Swift.String
chengyanfang authored
567 568
  @objc deinit
}
chengyanfang authored
569 570
extension Date {
  public static func currentDate() -> Foundation.Date
chengyanfang authored
571 572 573 574 575 576 577 578 579 580 581
}
public enum DateFormat : Swift.String {
  case Full
  case SingleDate
  case Single
  case WithoutSecond
  case WithoutYearAndSecond
  case HourMinute
  case CN_Month_Day
  case CN_Hour_Minute
  public init?(rawValue: Swift.String)
chengyanfang authored
582
  public typealias RawValue = Swift.String
chengyanfang authored
583 584 585 586
  public var rawValue: Swift.String {
    get
  }
}
chengyanfang authored
587
@objc @_inheritsConvenienceInitializers public class HHDateUtils : ObjectiveC.NSObject {
chengyanfang authored
588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606
  public class func getDateForChinaStr() -> Swift.String
  public static func stringWithDurationFromSeconds(_ seconds: Foundation.TimeInterval) -> Swift.String
  public static func component(_ date: Foundation.Date) -> Foundation.DateComponents
  @objc override dynamic public init()
  @objc deinit
}
extension HHDateUtils {
  public class func date2String(_ date: Foundation.Date, format: Swift.String) -> Swift.String
  public class func date2String(_ date: Foundation.Date, format: HHSDKBase.DateFormat) -> Swift.String
}
extension HHDateUtils {
  public class func string2Date(_ str: Swift.String, format: HHSDKBase.DateFormat) -> Foundation.Date?
  public class func string2Date(_ str: Swift.String, format: Swift.String) -> Foundation.Date?
}
extension HHDateUtils {
  public static func dateStringFromNow(_ date: Swift.Int) -> Swift.String
  public static func dateStringFromInt(_ date: Swift.Int) -> Swift.String
  public static func dateYearStringFromInt(_ date: Swift.Int) -> Swift.String
}
chengyanfang authored
607
@objc @_inheritsConvenienceInitializers open class HHDeviceManager : ObjectiveC.NSObject {
chengyanfang authored
608 609
  public static func jailBrokend() -> Swift.Bool
  @objc override dynamic public init()
chengyanfang authored
610 611
  @objc deinit
}
chengyanfang authored
612 613 614
public struct HHEmptyModel : HHSDKBase.Mappable {
  public init()
  public init?(map: HHSDKBase.Map)
chengyanfang authored
615
  public mutating func mapping(map: HHSDKBase.Map)
chengyanfang authored
616
}
chengyanfang authored
617
@_hasMissingDesignatedInitializers public class HHEncryptUtils {
chengyanfang authored
618 619 620 621 622 623
  public static func encrypto(key: Swift.String, content: Swift.String) -> Swift.String?
  public static func decrypto(key: Swift.String, content: Swift.String) -> Swift.String?
  public static func encrypto(key: Swift.String, content: Foundation.Data) -> Foundation.Data?
  public static func decrypto(key: Swift.String, content: Foundation.Data) -> Foundation.Data?
  @objc deinit
}
chengyanfang authored
624
@objc @_inheritsConvenienceInitializers public class HHFileCacheManager : ObjectiveC.NSObject {
chengyanfang authored
625 626 627 628 629 630 631 632 633
  public enum HHAssetPathType {
    case image
    case video
    case sound
    case dicom
    case fb
    case other
    case dataBase
    public static func == (a: HHSDKBase.HHFileCacheManager.HHAssetPathType, b: HHSDKBase.HHFileCacheManager.HHAssetPathType) -> Swift.Bool
chengyanfang authored
634
    public func hash(into hasher: inout Swift.Hasher)
chengyanfang authored
635 636 637 638
    public var hashValue: Swift.Int {
      get
    }
  }
chengyanfang authored
639 640 641 642 643 644
  public enum HHFileFormat : Swift.String {
    case Jpg
    case Png
    case Jpeg
    case webp
    public init?(rawValue: Swift.String)
chengyanfang authored
645
    public typealias RawValue = Swift.String
chengyanfang authored
646
    public var rawValue: Swift.String {
chengyanfang authored
647 648 649
      get
    }
  }
chengyanfang authored
650
  @objc override dynamic public init()
chengyanfang authored
651 652
  @objc deinit
}
chengyanfang authored
653 654 655 656 657 658 659 660 661 662
extension HHFileCacheManager {
  public class func getFileFormat(_ name: Swift.String) -> HHSDKBase.HHFileCacheManager.HHAssetPathType
  public class func createSoundFilePath(_ aPath: Swift.String) -> Swift.String
  public class func createDBPath(_ aPath: Swift.String) -> Swift.String
  public class func assetsCachePath(_ pathType: HHSDKBase.HHFileCacheManager.HHAssetPathType) -> Swift.String
  public class func createImageFilePath(_ format: HHSDKBase.HHFileCacheManager.HHFileFormat = .Jpg) -> Swift.String
  public class func createVideoFilePath() -> Swift.String
  public class func isWriteCache(_ path: Swift.String?, data: Foundation.Data?) -> Swift.Bool
  public class func isWriteCache(_ path: Swift.String?, image: UIKit.UIImage, quality: CoreGraphics.CGFloat = 1.0) -> Swift.Bool
  public class func getFilePath(_ name: Swift.String) -> Swift.String?
chengyanfang authored
663
}
chengyanfang authored
664 665 666
extension HHFileCacheManager {
  public static func saveString2File(_ string: Swift.String?, fileName: Swift.String)
  public static func stringFromFile(_ fileName: Swift.String) -> Swift.String?
chengyanfang authored
667
}
chengyanfang authored
668 669
extension FileManager {
  public func addSkipBackupAttributeToItemAtURL(_ url: Foundation.URL) -> Swift.Bool
chengyanfang authored
670
}
chengyanfang authored
671 672 673 674 675 676 677
public protocol HHHUDable {
  var autoDismissDuration: Foundation.TimeInterval { get }
  func showHUD()
  func dismissHUD()
  func showSuccess(_ message: Swift.String?)
  func showError(_ messgae: Swift.String?)
  func setDismissDuration(_ duraion: Foundation.TimeInterval)
chengyanfang authored
678
}
chengyanfang authored
679 680
extension HHHUDable {
  public var autoDismissDuration: Foundation.TimeInterval {
chengyanfang authored
681 682
    get
  }
chengyanfang authored
683
  public func setDismissDuration(_ duraion: Foundation.TimeInterval)
chengyanfang authored
684
}
chengyanfang authored
685 686 687 688 689 690 691
public enum HHLogMode : Swift.Int {
  case error
  case warn
  case info
  case debug
  case verbose
  public init?(rawValue: Swift.Int)
chengyanfang authored
692
  public typealias RawValue = Swift.Int
chengyanfang authored
693
  public var rawValue: Swift.Int {
chengyanfang authored
694 695 696
    get
  }
}
chengyanfang authored
697
public func logging(type: HHSDKBase.HHLogMode = .info, _ tip: Swift.String)
chengyanfang authored
698
@objc @_inheritsConvenienceInitializers open class HHMediaStatusCheckUtils : ObjectiveC.NSObject {
chengyanfang authored
699 700 701 702 703 704
  open class func checkCameraAccess() -> Swift.Bool
  open class func checkCameraVideoPermission() -> Swift.Bool
  open class func checkAlbumAccess() -> Swift.Bool
  open class func checkAudioAccess() -> Swift.Bool
  @objc override dynamic public init()
  @objc deinit
chengyanfang authored
705
}
chengyanfang authored
706
@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers open class HHMedicNetObserver : ObjectiveC.NSObject {
chengyanfang authored
707 708 709 710 711
  public static let sharedInstance: HHSDKBase.HHMedicNetObserver
  open func createReachability()
  open func currentInWifi() -> Swift.Bool
  open func haveNetWork() -> Swift.Bool
  @objc deinit
chengyanfang authored
712
}
chengyanfang authored
713 714 715 716 717
public enum HHServerType {
  case pay
  case pacs
  case weixin
  public static func == (a: HHSDKBase.HHServerType, b: HHSDKBase.HHServerType) -> Swift.Bool
chengyanfang authored
718
  public func hash(into hasher: inout Swift.Hasher)
chengyanfang authored
719 720 721 722 723 724 725 726
  public var hashValue: Swift.Int {
    get
  }
}
public enum HHRequestMethod {
  case get
  case post
  public static func == (a: HHSDKBase.HHRequestMethod, b: HHSDKBase.HHRequestMethod) -> Swift.Bool
chengyanfang authored
727
  public func hash(into hasher: inout Swift.Hasher)
chengyanfang authored
728 729 730 731 732 733 734 735 736 737
  public var hashValue: Swift.Int {
    get
  }
}
public let HH_RELOGIN_NOTIFICATION_STR: Swift.String
public struct HHRequestData {
  public init(body: [Swift.String : Any] = ["default_sw":"default"], param: [Swift.String : Any] = ["default_sw":"default"])
  public var mHttpBody: [Swift.String : Any]
  public var mParameters: [Swift.String : Any]
}
chengyanfang authored
738
@_hasMissingDesignatedInitializers public class HHNetFetch {
chengyanfang authored
739 740 741 742
  public static func request<E>(api: HHSDKBase.HHBaseApi, data: HHSDKBase.HHRequestData? = nil, result: ((E) -> Swift.Void)?, fail: HHSDKBase.HHNetError? = nil) where E : HHSDKBase.Mappable
  public static func requestArray<E>(api: HHSDKBase.HHBaseApi, data: HHSDKBase.HHRequestData? = nil, result: (([E]) -> Swift.Void)?, fail: HHSDKBase.HHNetError? = nil) where E : HHSDKBase.Mappable
  public static func noDataRequest(api: HHSDKBase.HHBaseApi, data: HHSDKBase.HHRequestData? = nil, result: HHSDKBase.NetResult?)
  public static func emptyRequest(api: HHSDKBase.HHBaseApi, data: HHSDKBase.HHRequestData? = nil, result: HHSDKBase.NetResult?)
chengyanfang authored
743 744
  @objc deinit
}
chengyanfang authored
745 746 747 748 749 750 751
public class HHProgressHUD : HHSDKBase.HHHUDable {
  public init()
  public func showHUD()
  public func dismissHUD()
  public func showError(_ messgae: Swift.String?)
  public func showSuccess(_ message: Swift.String?)
  public func hhMessageTips(message: Swift.String?)
chengyanfang authored
752 753
  @objc deinit
}
chengyanfang authored
754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770
public let KeyNetErrorStr: Swift.String
public let KeyNoNetErrorStr: Swift.String
public typealias HHNetError = ((Swift.String) -> (Swift.Void))
public typealias HHNetSuccessNoData = () -> Swift.Void
public typealias NetResult = (Swift.Bool, Swift.String) -> (Swift.Void)
public class HHRequest<T> where T : HHSDKBase.Mappable {
  public typealias HHNetSuccess = (T) -> Swift.Void
  public typealias HHNetSuccessForArray = ([T]) -> Swift.Void
  public var mRequestFail: HHSDKBase.HHNetError?
  public var mRequestSuccess: HHSDKBase.HHRequest<T>.HHNetSuccess?
  public var mRequestSuccessNoData: HHSDKBase.HHNetSuccessNoData?
  public var mRequestSuccessForArray: HHSDKBase.HHRequest<T>.HHNetSuccessForArray?
  public var errorCode: Swift.Int?
  public var mApi: HHSDKBase.HHBaseApi?
  required public init(api: HHSDKBase.HHBaseApi, requestData: HHSDKBase.HHRequestData? = nil)
  public func start()
  public func cancel()
chengyanfang authored
771 772
  @objc deinit
}
chengyanfang authored
773 774 775
extension HHRequest {
  public func startForArray(_ successCallBack: @escaping HHSDKBase.HHRequest<T>.HHNetSuccessForArray, failCallBack: @escaping HHSDKBase.HHNetError)
}
chengyanfang authored
776
@_inheritsConvenienceInitializers @objc public class HHSDKBaseOptions : ObjectiveC.NSObject {
chengyanfang authored
777 778 779 780 781 782
  @objc public static let `default`: HHSDKBase.HHSDKBaseOptions
  @objc public var isDebug: Swift.Bool
  @objc public var isDevelopment: Swift.Bool
  @objc public var isSDK: Swift.Bool
  @objc public var isTRTC: Swift.Bool
  @objc public var sdkProductId: Swift.String
chengyanfang authored
783
  @objc public var appVersion: Swift.String
chengyanfang authored
784
  public var hudManager: HHSDKBase.HHHUDable
chengyanfang authored
785
  @objc public var hudDisTime: Swift.Double {
chengyanfang authored
786 787 788 789 790
    @objc get
    @objc set
  }
  @objc public func setConfig(_ sdkProductId: Swift.String, isDebug: Swift.Bool, isDevelopment: Swift.Bool, isTrtc: Swift.Bool)
  @objc override dynamic public init()
chengyanfang authored
791 792
  @objc deinit
}
chengyanfang authored
793 794 795 796 797 798 799
extension String {
  public func urlEncode() -> Swift.String
  public func stringByAppendingPathComponent(_ pathComponent: Swift.String) -> Swift.String
  public func hh_sha1() -> Swift.String
  public func string2base64String() -> Swift.String
  public func base64String2String() -> Swift.String
  public var lastPathComponent: Swift.String {
chengyanfang authored
800
    get
chengyanfang authored
801 802 803 804
  }
  public var pathExtension: Swift.String {
    get
  }
chengyanfang authored
805
}
chengyanfang authored
806
extension UIAlertController {
chengyanfang authored
807
  public func showAlter()
chengyanfang authored
808
  public func present(animated: Swift.Bool, completion: (() -> Swift.Void)?)
chengyanfang authored
809 810
  public func addAlterActions(_ actions: [UIKit.UIAlertAction])
  public func alterMessageStyle(_ fonsize: CoreGraphics.CGFloat = (HHDimens.isPad()) ? 18 : 16)
chengyanfang authored
811
  public static func closeAlert(_ title: Swift.String = "", msg: Swift.String = "", keyString: Swift.String = "取消", closeBlock: (() -> Swift.Void)? = nil) -> UIKit.UIAlertController
chengyanfang authored
812
}
chengyanfang authored
813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836
extension UIButton {
  public func centerImageTitleVertically(spacing: CoreGraphics.CGFloat = 2)
  public func imageTitleHorizonal(spacing: CoreGraphics.CGFloat = 2)
}
extension UIImage {
  public func rotatedBy(_ degrees: CoreGraphics.CGFloat) -> UIKit.UIImage
}
extension UIImageView {
  public func hh_image(url: Foundation.URL?)
  public func hh_image(url: Foundation.URL?, complete: ((UIKit.UIImage?, Foundation.URL?) -> Swift.Void)?)
  public func hh_image(url: Foundation.URL?, placeHolder: UIKit.UIImage?)
  public func hh_image(url: Foundation.URL?, placeHolder: UIKit.UIImage?, progresses: ((CoreGraphics.CGFloat) -> Swift.Void)?, complete: ((UIKit.UIImage?, Foundation.URL?) -> Swift.Void)?)
}
public func hh_downloadImg(_ url: Foundation.URL?, finish: @escaping ((UIKit.UIImage?, Foundation.Data?, Swift.Error?) -> Swift.Void))
extension UIViewController {
  public func hhAddCloseBtn(_ atLeft: Swift.Bool? = nil, isDismiss: Swift.Bool = true, title: Swift.String = "关闭")
  @objc dynamic public func hhCloseThisController()
  @objc dynamic public func hhPopThisController()
  public func setNavigationTheme()
  public func setNaviBackImg(navi: UIKit.UINavigationController?, color: UIKit.UIColor)
  public func imageFromColor(color: UIKit.UIColor, size: CoreGraphics.CGSize) -> UIKit.UIImage
}
extension UIView {
  public var sj_width: CoreGraphics.CGFloat {
chengyanfang authored
837 838 839
    get
    set
  }
chengyanfang authored
840
  public var sj_height: CoreGraphics.CGFloat {
chengyanfang authored
841 842 843
    get
    set
  }
chengyanfang authored
844 845 846
  public var sj_size: CoreGraphics.CGSize {
    get
    set
chengyanfang authored
847
  }
chengyanfang authored
848 849 850
  public var sj_origin: CoreGraphics.CGPoint {
    get
    set
chengyanfang authored
851
  }
chengyanfang authored
852
  public var sj_x: CoreGraphics.CGFloat {
chengyanfang authored
853 854 855
    get
    set
  }
chengyanfang authored
856
  public var sj_y: CoreGraphics.CGFloat {
chengyanfang authored
857
    get
chengyanfang authored
858
    set
chengyanfang authored
859
  }
chengyanfang authored
860
  public var sj_centerX: CoreGraphics.CGFloat {
chengyanfang authored
861
    get
chengyanfang authored
862
    set
chengyanfang authored
863
  }
chengyanfang authored
864
  public var sj_centerY: CoreGraphics.CGFloat {
chengyanfang authored
865
    get
chengyanfang authored
866
    set
chengyanfang authored
867
  }
chengyanfang authored
868
  public var sj_top: CoreGraphics.CGFloat {
chengyanfang authored
869
    get
chengyanfang authored
870
    set
chengyanfang authored
871
  }
chengyanfang authored
872
  public var sj_bottom: CoreGraphics.CGFloat {
chengyanfang authored
873
    get
chengyanfang authored
874
    set
chengyanfang authored
875
  }
chengyanfang authored
876 877 878 879 880 881 882 883 884 885 886 887
  public var sj_right: CoreGraphics.CGFloat {
    get
    set
  }
  public var sj_left: CoreGraphics.CGFloat {
    get
    set
  }
}
extension UIView {
  public class func viewFromNib<T>(_ aClass: T.Type, frameworkPath: Swift.String) -> T
}
chengyanfang authored
888
@_hasMissingDesignatedInitializers public class HHUrl {
chengyanfang authored
889
  public static func domains() -> [Swift.String]
chengyanfang authored
890 891 892 893 894 895 896 897 898 899 900
  public static func urlForPay() -> Swift.String
  public static func urlForFamily() -> Swift.String
  public static func urlForWeixin() -> Swift.String
  public static func baseUrl() -> Swift.String
  public static func basePayUrl() -> Swift.String
  public static func fileLogUrl(_ name: Swift.String, orderId: Swift.String) -> Foundation.URL
  @objc deinit
}
extension HHUrl {
  public static func headers(host: Swift.String) -> [Swift.String : Swift.String]
}
chengyanfang authored
901
public func languagePrefix() -> Swift.String
chengyanfang authored
902
@_hasMissingDesignatedInitializers public class HHUserDefaults {
chengyanfang authored
903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927
  public class func setString(_ str: Swift.String, key: Swift.String)
  public class func stringValue(_ key: Swift.String) -> Swift.String?
  public class func setArray(_ array: [Swift.AnyObject], key: Swift.String)
  public class func arrayForKey(_ key: Swift.String) -> [Swift.AnyObject]?
  public class func setImage(_ image: UIKit.UIImage, key: Swift.String)
  public class func imageForKey(_ key: Swift.String) -> UIKit.UIImage?
  @objc deinit
}
extension HHUserDefaults {
  public class func setBool(_ flag: Swift.Bool, key: Swift.String)
  public class func boolForKey(_ key: Swift.String) -> Swift.Bool
  public class func setObject(_ obj: Swift.AnyObject, key: Swift.String)
  public class func objectForKey(_ key: Swift.String) -> Swift.AnyObject?
  public class func removeObject(_ key: Swift.String)
}
extension HHUserDefaults {
  public class func setData(_ data: Foundation.Data?, key: Swift.String)
  public class func dataForKey(_ key: Swift.String) -> Foundation.Data?
  public class func userDefaults() -> Foundation.UserDefaults
  public class func synchronize()
  public class func encryptkey(_ key: Swift.String) -> Swift.String
}
public struct HHMemberInfoModel : HHSDKBase.Mappable {
  public var productStatusDescn: Swift.String?
  public init?(map: HHSDKBase.Map)
chengyanfang authored
928
  public mutating func mapping(map: HHSDKBase.Map)
chengyanfang authored
929
}
chengyanfang authored
930
@_hasMissingDesignatedInitializers public class HHUserModel : HHSDKBase.Mappable {
chengyanfang authored
931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950
  public var companyLogo: Swift.String?
  public var name: Swift.String?
  public var photourl: Swift.String?
  public var product: HHSDKBase.HHMemberInfoModel?
  public var uuid: Swift.Int?
  public var userToken: Swift.String?
  public var videoToken: Swift.String?
  public var isMember: Swift.Bool?
  public var isAccount: Swift.Bool?
  public var license: Swift.String?
  public var userSig: Swift.String?
  required public init?(map: HHSDKBase.Map)
  public func mapping(map: HHSDKBase.Map)
  @objc deinit
}
public struct HKDF {
  public enum Error : Swift.Error {
    case invalidInput
    case derivedKeyTooLong
    public static func == (a: HHSDKBase.HKDF.Error, b: HHSDKBase.HKDF.Error) -> Swift.Bool
chengyanfang authored
951
    public func hash(into hasher: inout Swift.Hasher)
chengyanfang authored
952 953 954 955 956 957 958 959 960 961 962 963 964 965 966
    public var hashValue: Swift.Int {
      get
    }
  }
  public init(password: Swift.Array<Swift.UInt8>, salt: Swift.Array<Swift.UInt8>? = nil, info: Swift.Array<Swift.UInt8>? = nil, keyLength: Swift.Int? = nil, variant: HHSDKBase.HMAC.Variant = .sha256) throws
  public func calculate() throws -> Swift.Array<Swift.UInt8>
}
extension HMAC {
  convenience public init(key: Swift.String, variant: HHSDKBase.HMAC.Variant = .md5) throws
}
final public class HMAC : HHSDKBase.CryptoAuthenticator {
  public enum Error : Swift.Error {
    case authenticateError
    case invalidInput
    public static func == (a: HHSDKBase.HMAC.Error, b: HHSDKBase.HMAC.Error) -> Swift.Bool
chengyanfang authored
967
    public func hash(into hasher: inout Swift.Hasher)
chengyanfang authored
968 969 970 971 972 973 974
    public var hashValue: Swift.Int {
      get
    }
  }
  public enum Variant {
    case sha1, sha256, sha384, sha512, md5
    public static func == (a: HHSDKBase.HMAC.Variant, b: HHSDKBase.HMAC.Variant) -> Swift.Bool
chengyanfang authored
975
    public func hash(into hasher: inout Swift.Hasher)
chengyanfang authored
976 977 978 979 980 981 982 983
    public var hashValue: Swift.Int {
      get
    }
  }
  public init(key: Swift.Array<Swift.UInt8>, variant: HHSDKBase.HMAC.Variant = .md5)
  final public func authenticate(_ bytes: Swift.Array<Swift.UInt8>) throws -> Swift.Array<Swift.UInt8>
  @objc deinit
}
chengyanfang authored
984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025
public protocol ImmutableMappable : HHSDKBase.BaseMappable {
  init(map: HHSDKBase.Map) throws
}
extension ImmutableMappable {
  public func mapping(map: HHSDKBase.Map)
  public init(JSONString: Swift.String, context: HHSDKBase.MapContext? = nil) throws
  public init(JSON: [Swift.String : Any], context: HHSDKBase.MapContext? = nil) throws
  public init(JSONObject: Any, context: HHSDKBase.MapContext? = nil) throws
}
extension Map {
  final public func value<T>(_ key: Swift.String, nested: Swift.Bool? = nil, delimiter: Swift.String = ".", file: Swift.StaticString = #file, function: Swift.StaticString = #function, line: Swift.UInt = #line) throws -> T
  final public func value<Transform>(_ key: Swift.String, nested: Swift.Bool? = nil, delimiter: Swift.String = ".", using transform: Transform, file: Swift.StaticString = #file, function: Swift.StaticString = #function, line: Swift.UInt = #line) throws -> Transform.Object where Transform : HHSDKBase.TransformType
  final public func value<T>(_ key: Swift.String, nested: Swift.Bool? = nil, delimiter: Swift.String = ".", file: Swift.StaticString = #file, function: Swift.StaticString = #function, line: Swift.UInt = #line) throws -> T where T : Swift.RawRepresentable
  final public func value<T>(_ key: Swift.String, nested: Swift.Bool? = nil, delimiter: Swift.String = ".", file: Swift.StaticString = #file, function: Swift.StaticString = #function, line: Swift.UInt = #line) throws -> T? where T : Swift.RawRepresentable
  final public func value<T>(_ key: Swift.String, nested: Swift.Bool? = nil, delimiter: Swift.String = ".", file: Swift.StaticString = #file, function: Swift.StaticString = #function, line: Swift.UInt = #line) throws -> [T] where T : Swift.RawRepresentable
  final public func value<T>(_ key: Swift.String, nested: Swift.Bool? = nil, delimiter: Swift.String = ".", file: Swift.StaticString = #file, function: Swift.StaticString = #function, line: Swift.UInt = #line) throws -> [T]? where T : Swift.RawRepresentable
  final public func value<T>(_ key: Swift.String, nested: Swift.Bool? = nil, delimiter: Swift.String = ".", file: Swift.StaticString = #file, function: Swift.StaticString = #function, line: Swift.UInt = #line) throws -> T where T : HHSDKBase.BaseMappable
  final public func value<T>(_ key: Swift.String, nested: Swift.Bool? = nil, delimiter: Swift.String = ".", file: Swift.StaticString = #file, function: Swift.StaticString = #function, line: Swift.UInt = #line) throws -> T? where T : HHSDKBase.BaseMappable
  final public func value<T>(_ key: Swift.String, nested: Swift.Bool? = nil, delimiter: Swift.String = ".", file: Swift.StaticString = #file, function: Swift.StaticString = #function, line: Swift.UInt = #line) throws -> [T] where T : HHSDKBase.BaseMappable
  final public func value<T>(_ key: Swift.String, nested: Swift.Bool? = nil, delimiter: Swift.String = ".", file: Swift.StaticString = #file, function: Swift.StaticString = #function, line: Swift.UInt = #line) throws -> [T]? where T : HHSDKBase.BaseMappable
  final public func value<Transform>(_ key: Swift.String, nested: Swift.Bool? = nil, delimiter: Swift.String = ".", using transform: Transform, file: Swift.StaticString = #file, function: Swift.StaticString = #function, line: Swift.UInt = #line) throws -> [Transform.Object] where Transform : HHSDKBase.TransformType
  final public func value<T>(_ key: Swift.String, nested: Swift.Bool? = nil, delimiter: Swift.String = ".", file: Swift.StaticString = #file, function: Swift.StaticString = #function, line: Swift.UInt = #line) throws -> [Swift.String : T] where T : HHSDKBase.BaseMappable
  final public func value<T>(_ key: Swift.String, nested: Swift.Bool? = nil, delimiter: Swift.String = ".", file: Swift.StaticString = #file, function: Swift.StaticString = #function, line: Swift.UInt = #line) throws -> [Swift.String : T]? where T : HHSDKBase.BaseMappable
  final public func value<Transform>(_ key: Swift.String, nested: Swift.Bool? = nil, delimiter: Swift.String = ".", using transform: Transform, file: Swift.StaticString = #file, function: Swift.StaticString = #function, line: Swift.UInt = #line) throws -> [Swift.String : Transform.Object] where Transform : HHSDKBase.TransformType
  final public func value<T>(_ key: Swift.String, nested: Swift.Bool? = nil, delimiter: Swift.String = ".", file: Swift.StaticString = #file, function: Swift.StaticString = #function, line: Swift.UInt = #line) throws -> [[T]]? where T : HHSDKBase.BaseMappable
  final public func value<T>(_ key: Swift.String, nested: Swift.Bool? = nil, delimiter: Swift.String = ".", file: Swift.StaticString = #file, function: Swift.StaticString = #function, line: Swift.UInt = #line) throws -> [[T]] where T : HHSDKBase.BaseMappable
  final public func value<Transform>(_ key: Swift.String, nested: Swift.Bool? = nil, delimiter: Swift.String = ".", using transform: Transform, file: Swift.StaticString = #file, function: Swift.StaticString = #function, line: Swift.UInt = #line) throws -> [[Transform.Object]] where Transform : HHSDKBase.TransformType
}
extension Mapper where N : HHSDKBase.ImmutableMappable {
  final public func map(JSON: [Swift.String : Any]) throws -> N
  final public func map(JSONString: Swift.String) throws -> N
  final public func map(JSONObject: Any) throws -> N
  final public func mapArray(JSONArray: [[Swift.String : Any]]) throws -> [N]
  final public func mapArray(JSONString: Swift.String) throws -> [N]
  final public func mapArray(JSONObject: Any) throws -> [N]
  final public func mapDictionary(JSONString: Swift.String) throws -> [Swift.String : N]
  final public func mapDictionary(JSONObject: Any?) throws -> [Swift.String : N]
  final public func mapDictionary(JSON: [Swift.String : [Swift.String : Any]]) throws -> [Swift.String : N]
  final public func mapDictionaryOfArrays(JSONObject: Any?) throws -> [Swift.String : [N]]
  final public func mapDictionaryOfArrays(JSON: [Swift.String : [[Swift.String : Any]]]) throws -> [Swift.String : [N]]
  final public func mapArrayOfArrays(JSONObject: Any?) throws -> [[N]]
}
chengyanfang authored
1026 1027 1028 1029 1030 1031
public func <- <T>(left: inout T, right: HHSDKBase.Map) where T : Swift.SignedInteger
public func <- <T>(left: inout T?, right: HHSDKBase.Map) where T : Swift.SignedInteger
public func <- <T>(left: inout T, right: HHSDKBase.Map) where T : Swift.UnsignedInteger
public func <- <T>(left: inout T?, right: HHSDKBase.Map) where T : Swift.UnsignedInteger
extension DateFormatter {
  convenience public init(withFormat format: Swift.String, locale: Swift.String)
chengyanfang authored
1032
}
chengyanfang authored
1033 1034 1035 1036
open class ISO8601DateTransform : HHSDKBase.DateFormatterTransform {
  public init()
  override public init(dateFormatter: Foundation.DateFormatter)
  @objc deinit
chengyanfang authored
1037
}
chengyanfang authored
1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048
open class HHValueObservable<T> {
  public typealias Observer = (T) -> Swift.Void
  open var observer: HHSDKBase.HHValueObservable<T>.Observer?
  open func observe(_ observer: HHSDKBase.HHValueObservable<T>.Observer?)
  open var value: T {
    get
    set
  }
  public init(_ v: T)
  @objc deinit
}
chengyanfang authored
1049 1050 1051 1052
public let KeychainAccessErrorDomain: Swift.String
public enum ItemClass {
  case genericPassword
  case internetPassword
chengyanfang authored
1053
}
chengyanfang authored
1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085
public enum ProtocolType {
  case ftp
  case ftpAccount
  case http
  case irc
  case nntp
  case pop3
  case smtp
  case socks
  case imap
  case ldap
  case appleTalk
  case afp
  case telnet
  case ssh
  case ftps
  case https
  case httpProxy
  case httpsProxy
  case ftpProxy
  case smb
  case rtsp
  case rtspProxy
  case daap
  case eppc
  case ipp
  case nntps
  case ldaps
  case telnetS
  case imaps
  case ircs
  case pop3S
chengyanfang authored
1086
}
chengyanfang authored
1087 1088 1089 1090 1091 1092 1093 1094 1095
public enum AuthenticationType {
  case ntlm
  case msn
  case dpa
  case rpa
  case httpBasic
  case httpDigest
  case htmlForm
  case `default`
chengyanfang authored
1096
}
chengyanfang authored
1097 1098 1099 1100
public enum Accessibility {
  case whenUnlocked
  case afterFirstUnlock
  case always
chengyanfang authored
1101
  @available(iOS 8.0, macOS 10.10, *)
chengyanfang authored
1102 1103 1104 1105
  case whenPasscodeSetThisDeviceOnly
  case whenUnlockedThisDeviceOnly
  case afterFirstUnlockThisDeviceOnly
  case alwaysThisDeviceOnly
chengyanfang authored
1106
}
chengyanfang authored
1107
public struct AuthenticationPolicy : Swift.OptionSet {
chengyanfang authored
1108
  @available(iOS 8.0, macOS 10.10, *)
chengyanfang authored
1109 1110 1111
  @available(watchOS, unavailable)
  public static let userPresence: HHSDKBase.AuthenticationPolicy
  @available(iOS 9.0, *)
chengyanfang authored
1112
  @available(macOS, unavailable)
chengyanfang authored
1113 1114 1115
  @available(watchOS, unavailable)
  public static let touchIDAny: HHSDKBase.AuthenticationPolicy
  @available(iOS 9.0, *)
chengyanfang authored
1116
  @available(macOS, unavailable)
chengyanfang authored
1117 1118
  @available(watchOS, unavailable)
  public static let touchIDCurrentSet: HHSDKBase.AuthenticationPolicy
chengyanfang authored
1119
  @available(iOS 9.0, macOS 10.11, *)
chengyanfang authored
1120 1121 1122
  @available(watchOS, unavailable)
  public static let devicePasscode: HHSDKBase.AuthenticationPolicy
  @available(iOS 9.0, *)
chengyanfang authored
1123
  @available(macOS, unavailable)
chengyanfang authored
1124 1125 1126
  @available(watchOS, unavailable)
  public static let or: HHSDKBase.AuthenticationPolicy
  @available(iOS 9.0, *)
chengyanfang authored
1127
  @available(macOS, unavailable)
chengyanfang authored
1128 1129 1130
  @available(watchOS, unavailable)
  public static let and: HHSDKBase.AuthenticationPolicy
  @available(iOS 9.0, *)
chengyanfang authored
1131
  @available(macOS, unavailable)
chengyanfang authored
1132 1133 1134
  @available(watchOS, unavailable)
  public static let privateKeyUsage: HHSDKBase.AuthenticationPolicy
  @available(iOS 9.0, *)
chengyanfang authored
1135
  @available(macOS, unavailable)
chengyanfang authored
1136 1137 1138 1139 1140
  @available(watchOS, unavailable)
  public static let applicationPassword: HHSDKBase.AuthenticationPolicy
  public let rawValue: Swift.UInt
  public init(rawValue: Swift.UInt)
  public typealias ArrayLiteralElement = HHSDKBase.AuthenticationPolicy
chengyanfang authored
1141
  public typealias Element = HHSDKBase.AuthenticationPolicy
chengyanfang authored
1142 1143 1144 1145
  public typealias RawValue = Swift.UInt
}
public struct Attributes {
  public var `class`: Swift.String? {
chengyanfang authored
1146 1147
    get
  }
chengyanfang authored
1148
  public var data: Foundation.Data? {
chengyanfang authored
1149 1150
    get
  }
chengyanfang authored
1151
  public var ref: Foundation.Data? {
chengyanfang authored
1152 1153
    get
  }
chengyanfang authored
1154
  public var persistentRef: Foundation.Data? {
chengyanfang authored
1155 1156
    get
  }
chengyanfang authored
1157
  public var accessible: Swift.String? {
chengyanfang authored
1158 1159
    get
  }
chengyanfang authored
1160
  public var accessControl: Security.SecAccessControl? {
chengyanfang authored
1161
    get
chengyanfang authored
1162 1163
  }
  public var accessGroup: Swift.String? {
chengyanfang authored
1164
    get
chengyanfang authored
1165 1166
  }
  public var synchronizable: Swift.Bool? {
chengyanfang authored
1167 1168
    get
  }
chengyanfang authored
1169
  public var creationDate: Foundation.Date? {
chengyanfang authored
1170 1171
    get
  }
chengyanfang authored
1172
  public var modificationDate: Foundation.Date? {
chengyanfang authored
1173 1174
    get
  }
chengyanfang authored
1175
  public var attributeDescription: Swift.String? {
chengyanfang authored
1176 1177
    get
  }
chengyanfang authored
1178
  public var comment: Swift.String? {
chengyanfang authored
1179 1180
    get
  }
chengyanfang authored
1181
  public var creator: Swift.String? {
chengyanfang authored
1182 1183
    get
  }
chengyanfang authored
1184
  public var type: Swift.String? {
chengyanfang authored
1185 1186
    get
  }
chengyanfang authored
1187
  public var label: Swift.String? {
chengyanfang authored
1188 1189
    get
  }
chengyanfang authored
1190 1191
  public var isInvisible: Swift.Bool? {
    get
chengyanfang authored
1192
  }
chengyanfang authored
1193
  public var isNegative: Swift.Bool? {
chengyanfang authored
1194 1195
    get
  }
chengyanfang authored
1196
  public var account: Swift.String? {
chengyanfang authored
1197 1198
    get
  }
chengyanfang authored
1199
  public var service: Swift.String? {
chengyanfang authored
1200 1201
    get
  }
chengyanfang authored
1202
  public var generic: Foundation.Data? {
chengyanfang authored
1203 1204
    get
  }
chengyanfang authored
1205
  public var securityDomain: Swift.String? {
chengyanfang authored
1206 1207
    get
  }
chengyanfang authored
1208
  public var server: Swift.String? {
chengyanfang authored
1209 1210
    get
  }
chengyanfang authored
1211
  public var `protocol`: Swift.String? {
chengyanfang authored
1212 1213
    get
  }
chengyanfang authored
1214
  public var authenticationType: Swift.String? {
chengyanfang authored
1215 1216
    get
  }
chengyanfang authored
1217
  public var port: Swift.Int? {
chengyanfang authored
1218 1219
    get
  }
chengyanfang authored
1220
  public var path: Swift.String? {
chengyanfang authored
1221 1222
    get
  }
chengyanfang authored
1223
  public subscript(key: Swift.String) -> Any? {
chengyanfang authored
1224 1225
    get
  }
chengyanfang authored
1226
}
chengyanfang authored
1227
@_hasMissingDesignatedInitializers final public class Keychain {
chengyanfang authored
1228
  final public var itemClass: HHSDKBase.ItemClass {
chengyanfang authored
1229 1230
    get
  }
chengyanfang authored
1231
  final public var service: Swift.String {
chengyanfang authored
1232 1233
    get
  }
chengyanfang authored
1234
  final public var accessGroup: Swift.String? {
chengyanfang authored
1235 1236
    get
  }
chengyanfang authored
1237
  final public var server: Foundation.URL {
chengyanfang authored
1238 1239
    get
  }
chengyanfang authored
1240
  final public var protocolType: HHSDKBase.ProtocolType {
chengyanfang authored
1241 1242
    get
  }
chengyanfang authored
1243
  final public var authenticationType: HHSDKBase.AuthenticationType {
chengyanfang authored
1244 1245
    get
  }
chengyanfang authored
1246
  final public var accessibility: HHSDKBase.Accessibility {
chengyanfang authored
1247 1248
    get
  }
chengyanfang authored
1249
  @available(iOS 8.0, macOS 10.10, *)
chengyanfang authored
1250 1251
  @available(watchOS, unavailable)
  final public var authenticationPolicy: HHSDKBase.AuthenticationPolicy? {
chengyanfang authored
1252 1253
    get
  }
chengyanfang authored
1254
  final public var synchronizable: Swift.Bool {
chengyanfang authored
1255 1256
    get
  }
chengyanfang authored
1257
  final public var label: Swift.String? {
chengyanfang authored
1258 1259
    get
  }
chengyanfang authored
1260
  final public var comment: Swift.String? {
chengyanfang authored
1261 1262
    get
  }
chengyanfang authored
1263
  @available(iOS 8.0, macOS 10.10, *)
chengyanfang authored
1264 1265
  @available(watchOS, unavailable)
  final public var authenticationPrompt: Swift.String? {
chengyanfang authored
1266 1267
    get
  }
chengyanfang authored
1268
  @available(iOS 9.0, macOS 10.11, *)
chengyanfang authored
1269
  final public var authenticationContext: LocalAuthentication.LAContext? {
chengyanfang authored
1270 1271
    get
  }
chengyanfang authored
1272 1273 1274 1275 1276 1277 1278
  convenience public init()
  convenience public init(service: Swift.String)
  convenience public init(accessGroup: Swift.String)
  convenience public init(service: Swift.String, accessGroup: Swift.String)
  convenience public init(server: Swift.String, protocolType: HHSDKBase.ProtocolType, authenticationType: HHSDKBase.AuthenticationType = .default)
  convenience public init(server: Foundation.URL, protocolType: HHSDKBase.ProtocolType, authenticationType: HHSDKBase.AuthenticationType = .default)
  final public func accessibility(_ accessibility: HHSDKBase.Accessibility) -> HHSDKBase.Keychain
chengyanfang authored
1279
  @available(iOS 8.0, macOS 10.10, *)
chengyanfang authored
1280 1281 1282 1283 1284 1285
  @available(watchOS, unavailable)
  final public func accessibility(_ accessibility: HHSDKBase.Accessibility, authenticationPolicy: HHSDKBase.AuthenticationPolicy) -> HHSDKBase.Keychain
  final public func synchronizable(_ synchronizable: Swift.Bool) -> HHSDKBase.Keychain
  final public func label(_ label: Swift.String) -> HHSDKBase.Keychain
  final public func comment(_ comment: Swift.String) -> HHSDKBase.Keychain
  final public func attributes(_ attributes: [Swift.String : Any]) -> HHSDKBase.Keychain
chengyanfang authored
1286
  @available(iOS 8.0, macOS 10.10, *)
chengyanfang authored
1287 1288
  @available(watchOS, unavailable)
  final public func authenticationPrompt(_ authenticationPrompt: Swift.String) -> HHSDKBase.Keychain
chengyanfang authored
1289
  @available(iOS 9.0, macOS 10.11, *)
chengyanfang authored
1290 1291 1292 1293 1294 1295 1296 1297
  final public func authenticationContext(_ authenticationContext: LocalAuthentication.LAContext) -> HHSDKBase.Keychain
  final public func get(_ key: Swift.String) throws -> Swift.String?
  final public func getString(_ key: Swift.String) throws -> Swift.String?
  final public func getData(_ key: Swift.String) throws -> Foundation.Data?
  final public func get<T>(_ key: Swift.String, handler: (HHSDKBase.Attributes?) -> T) throws -> T
  final public func set(_ value: Swift.String, key: Swift.String) throws
  final public func set(_ value: Foundation.Data, key: Swift.String) throws
  final public subscript(key: Swift.String) -> Swift.String? {
chengyanfang authored
1298
    get
chengyanfang authored
1299
    set
chengyanfang authored
1300
  }
chengyanfang authored
1301
  final public subscript(string key: Swift.String) -> Swift.String? {
chengyanfang authored
1302
    get
chengyanfang authored
1303
    set
chengyanfang authored
1304
  }
chengyanfang authored
1305
  final public subscript(data key: Swift.String) -> Foundation.Data? {
chengyanfang authored
1306
    get
chengyanfang authored
1307
    set
chengyanfang authored
1308
  }
chengyanfang authored
1309 1310
  final public subscript(attributes key: Swift.String) -> HHSDKBase.Attributes? {
    get
chengyanfang authored
1311
  }
chengyanfang authored
1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334
  final public func remove(_ key: Swift.String) throws
  final public func removeAll() throws
  final public func contains(_ key: Swift.String) throws -> Swift.Bool
  final public class func allKeys(_ itemClass: HHSDKBase.ItemClass) -> [(Swift.String, Swift.String)]
  final public func allKeys() -> [Swift.String]
  final public class func allItems(_ itemClass: HHSDKBase.ItemClass) -> [[Swift.String : Any]]
  final public func allItems() -> [[Swift.String : Any]]
  @available(iOS 8.0, *)
  final public func getSharedPassword(_ completion: @escaping (Swift.String?, Swift.String?, Swift.Error?) -> () = { account, password, error -> () in })
  @available(iOS 8.0, *)
  final public func getSharedPassword(_ account: Swift.String, completion: @escaping (Swift.String?, Swift.Error?) -> () = { password, error -> () in })
  @available(iOS 8.0, *)
  final public func setSharedPassword(_ password: Swift.String, account: Swift.String, completion: @escaping (Swift.Error?) -> () = { e -> () in })
  @available(iOS 8.0, *)
  final public func removeSharedPassword(_ account: Swift.String, completion: @escaping (Swift.Error?) -> () = { e -> () in })
  @available(iOS 8.0, *)
  final public class func requestSharedWebCredential(_ completion: @escaping ([[Swift.String : Swift.String]], Swift.Error?) -> () = { credentials, error -> () in })
  @available(iOS 8.0, *)
  final public class func requestSharedWebCredential(domain: Swift.String, completion: @escaping ([[Swift.String : Swift.String]], Swift.Error?) -> () = { credentials, error -> () in })
  @available(iOS 8.0, *)
  final public class func requestSharedWebCredential(domain: Swift.String, account: Swift.String, completion: @escaping ([[Swift.String : Swift.String]], Swift.Error?) -> () = { credentials, error -> () in })
  @available(iOS 8.0, *)
  final public class func generatePassword() -> Swift.String
chengyanfang authored
1335 1336
  @objc deinit
}
chengyanfang authored
1337 1338
extension Keychain : Swift.CustomStringConvertible, Swift.CustomDebugStringConvertible {
  final public var description: Swift.String {
chengyanfang authored
1339 1340
    get
  }
chengyanfang authored
1341
  final public var debugDescription: Swift.String {
chengyanfang authored
1342 1343 1344
    get
  }
}
chengyanfang authored
1345 1346
extension Attributes : Swift.CustomStringConvertible, Swift.CustomDebugStringConvertible {
  public var description: Swift.String {
chengyanfang authored
1347 1348
    get
  }
chengyanfang authored
1349
  public var debugDescription: Swift.String {
chengyanfang authored
1350 1351
    get
  }
chengyanfang authored
1352 1353 1354 1355
}
extension ItemClass : Swift.RawRepresentable, Swift.CustomStringConvertible {
  public init?(rawValue: Swift.String)
  public var rawValue: Swift.String {
chengyanfang authored
1356 1357
    get
  }
chengyanfang authored
1358
  public var description: Swift.String {
chengyanfang authored
1359 1360
    get
  }
chengyanfang authored
1361 1362 1363 1364 1365
  public typealias RawValue = Swift.String
}
extension ProtocolType : Swift.RawRepresentable, Swift.CustomStringConvertible {
  public init?(rawValue: Swift.String)
  public var rawValue: Swift.String {
chengyanfang authored
1366 1367
    get
  }
chengyanfang authored
1368
  public var description: Swift.String {
chengyanfang authored
1369 1370
    get
  }
chengyanfang authored
1371 1372 1373 1374 1375
  public typealias RawValue = Swift.String
}
extension AuthenticationType : Swift.RawRepresentable, Swift.CustomStringConvertible {
  public init?(rawValue: Swift.String)
  public var rawValue: Swift.String {
chengyanfang authored
1376 1377
    get
  }
chengyanfang authored
1378
  public var description: Swift.String {
chengyanfang authored
1379 1380
    get
  }
chengyanfang authored
1381 1382 1383 1384 1385
  public typealias RawValue = Swift.String
}
extension Accessibility : Swift.RawRepresentable, Swift.CustomStringConvertible {
  public init?(rawValue: Swift.String)
  public var rawValue: Swift.String {
chengyanfang authored
1386 1387
    get
  }
chengyanfang authored
1388
  public var description: Swift.String {
chengyanfang authored
1389 1390
    get
  }
chengyanfang authored
1391
  public typealias RawValue = Swift.String
chengyanfang authored
1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797
}
public enum Status : Darwin.OSStatus, Swift.Error {
  case success
  case unimplemented
  case diskFull
  case io
  case opWr
  case param
  case wrPerm
  case allocate
  case userCanceled
  case badReq
  case internalComponent
  case notAvailable
  case readOnly
  case authFailed
  case noSuchKeychain
  case invalidKeychain
  case duplicateKeychain
  case duplicateCallback
  case invalidCallback
  case duplicateItem
  case itemNotFound
  case bufferTooSmall
  case dataTooLarge
  case noSuchAttr
  case invalidItemRef
  case invalidSearchRef
  case noSuchClass
  case noDefaultKeychain
  case interactionNotAllowed
  case readOnlyAttr
  case wrongSecVersion
  case keySizeNotAllowed
  case noStorageModule
  case noCertificateModule
  case noPolicyModule
  case interactionRequired
  case dataNotAvailable
  case dataNotModifiable
  case createChainFailed
  case invalidPrefsDomain
  case inDarkWake
  case aclNotSimple
  case policyNotFound
  case invalidTrustSetting
  case noAccessForItem
  case invalidOwnerEdit
  case trustNotAvailable
  case unsupportedFormat
  case unknownFormat
  case keyIsSensitive
  case multiplePrivKeys
  case passphraseRequired
  case invalidPasswordRef
  case invalidTrustSettings
  case noTrustSettings
  case pkcs12VerifyFailure
  case invalidCertificate
  case notSigner
  case policyDenied
  case invalidKey
  case decode
  case `internal`
  case unsupportedAlgorithm
  case unsupportedOperation
  case unsupportedPadding
  case itemInvalidKey
  case itemInvalidKeyType
  case itemInvalidValue
  case itemClassMissing
  case itemMatchUnsupported
  case useItemListUnsupported
  case useKeychainUnsupported
  case useKeychainListUnsupported
  case returnDataUnsupported
  case returnAttributesUnsupported
  case returnRefUnsupported
  case returnPersitentRefUnsupported
  case valueRefUnsupported
  case valuePersistentRefUnsupported
  case returnMissingPointer
  case matchLimitUnsupported
  case itemIllegalQuery
  case waitForCallback
  case missingEntitlement
  case upgradePending
  case mpSignatureInvalid
  case otrTooOld
  case otrIDTooNew
  case serviceNotAvailable
  case insufficientClientID
  case deviceReset
  case deviceFailed
  case appleAddAppACLSubject
  case applePublicKeyIncomplete
  case appleSignatureMismatch
  case appleInvalidKeyStartDate
  case appleInvalidKeyEndDate
  case conversionError
  case appleSSLv2Rollback
  case quotaExceeded
  case fileTooBig
  case invalidDatabaseBlob
  case invalidKeyBlob
  case incompatibleDatabaseBlob
  case incompatibleKeyBlob
  case hostNameMismatch
  case unknownCriticalExtensionFlag
  case noBasicConstraints
  case noBasicConstraintsCA
  case invalidAuthorityKeyID
  case invalidSubjectKeyID
  case invalidKeyUsageForPolicy
  case invalidExtendedKeyUsage
  case invalidIDLinkage
  case pathLengthConstraintExceeded
  case invalidRoot
  case crlExpired
  case crlNotValidYet
  case crlNotFound
  case crlServerDown
  case crlBadURI
  case unknownCertExtension
  case unknownCRLExtension
  case crlNotTrusted
  case crlPolicyFailed
  case idpFailure
  case smimeEmailAddressesNotFound
  case smimeBadExtendedKeyUsage
  case smimeBadKeyUsage
  case smimeKeyUsageNotCritical
  case smimeNoEmailAddress
  case smimeSubjAltNameNotCritical
  case sslBadExtendedKeyUsage
  case ocspBadResponse
  case ocspBadRequest
  case ocspUnavailable
  case ocspStatusUnrecognized
  case endOfData
  case incompleteCertRevocationCheck
  case networkFailure
  case ocspNotTrustedToAnchor
  case recordModified
  case ocspSignatureError
  case ocspNoSigner
  case ocspResponderMalformedReq
  case ocspResponderInternalError
  case ocspResponderTryLater
  case ocspResponderSignatureRequired
  case ocspResponderUnauthorized
  case ocspResponseNonceMismatch
  case codeSigningBadCertChainLength
  case codeSigningNoBasicConstraints
  case codeSigningBadPathLengthConstraint
  case codeSigningNoExtendedKeyUsage
  case codeSigningDevelopment
  case resourceSignBadCertChainLength
  case resourceSignBadExtKeyUsage
  case trustSettingDeny
  case invalidSubjectName
  case unknownQualifiedCertStatement
  case mobileMeRequestQueued
  case mobileMeRequestRedirected
  case mobileMeServerError
  case mobileMeServerNotAvailable
  case mobileMeServerAlreadyExists
  case mobileMeServerServiceErr
  case mobileMeRequestAlreadyPending
  case mobileMeNoRequestPending
  case mobileMeCSRVerifyFailure
  case mobileMeFailedConsistencyCheck
  case notInitialized
  case invalidHandleUsage
  case pvcReferentNotFound
  case functionIntegrityFail
  case internalError
  case memoryError
  case invalidData
  case mdsError
  case invalidPointer
  case selfCheckFailed
  case functionFailed
  case moduleManifestVerifyFailed
  case invalidGUID
  case invalidHandle
  case invalidDBList
  case invalidPassthroughID
  case invalidNetworkAddress
  case crlAlreadySigned
  case invalidNumberOfFields
  case verificationFailure
  case unknownTag
  case invalidSignature
  case invalidName
  case invalidCertificateRef
  case invalidCertificateGroup
  case tagNotFound
  case invalidQuery
  case invalidValue
  case callbackFailed
  case aclDeleteFailed
  case aclReplaceFailed
  case aclAddFailed
  case aclChangeFailed
  case invalidAccessCredentials
  case invalidRecord
  case invalidACL
  case invalidSampleValue
  case incompatibleVersion
  case privilegeNotGranted
  case invalidScope
  case pvcAlreadyConfigured
  case invalidPVC
  case emmLoadFailed
  case emmUnloadFailed
  case addinLoadFailed
  case invalidKeyRef
  case invalidKeyHierarchy
  case addinUnloadFailed
  case libraryReferenceNotFound
  case invalidAddinFunctionTable
  case invalidServiceMask
  case moduleNotLoaded
  case invalidSubServiceID
  case attributeNotInContext
  case moduleManagerInitializeFailed
  case moduleManagerNotFound
  case eventNotificationCallbackNotFound
  case inputLengthError
  case outputLengthError
  case privilegeNotSupported
  case deviceError
  case attachHandleBusy
  case notLoggedIn
  case algorithmMismatch
  case keyUsageIncorrect
  case keyBlobTypeIncorrect
  case keyHeaderInconsistent
  case unsupportedKeyFormat
  case unsupportedKeySize
  case invalidKeyUsageMask
  case unsupportedKeyUsageMask
  case invalidKeyAttributeMask
  case unsupportedKeyAttributeMask
  case invalidKeyLabel
  case unsupportedKeyLabel
  case invalidKeyFormat
  case unsupportedVectorOfBuffers
  case invalidInputVector
  case invalidOutputVector
  case invalidContext
  case invalidAlgorithm
  case invalidAttributeKey
  case missingAttributeKey
  case invalidAttributeInitVector
  case missingAttributeInitVector
  case invalidAttributeSalt
  case missingAttributeSalt
  case invalidAttributePadding
  case missingAttributePadding
  case invalidAttributeRandom
  case missingAttributeRandom
  case invalidAttributeSeed
  case missingAttributeSeed
  case invalidAttributePassphrase
  case missingAttributePassphrase
  case invalidAttributeKeyLength
  case missingAttributeKeyLength
  case invalidAttributeBlockSize
  case missingAttributeBlockSize
  case invalidAttributeOutputSize
  case missingAttributeOutputSize
  case invalidAttributeRounds
  case missingAttributeRounds
  case invalidAlgorithmParms
  case missingAlgorithmParms
  case invalidAttributeLabel
  case missingAttributeLabel
  case invalidAttributeKeyType
  case missingAttributeKeyType
  case invalidAttributeMode
  case missingAttributeMode
  case invalidAttributeEffectiveBits
  case missingAttributeEffectiveBits
  case invalidAttributeStartDate
  case missingAttributeStartDate
  case invalidAttributeEndDate
  case missingAttributeEndDate
  case invalidAttributeVersion
  case missingAttributeVersion
  case invalidAttributePrime
  case missingAttributePrime
  case invalidAttributeBase
  case missingAttributeBase
  case invalidAttributeSubprime
  case missingAttributeSubprime
  case invalidAttributeIterationCount
  case missingAttributeIterationCount
  case invalidAttributeDLDBHandle
  case missingAttributeDLDBHandle
  case invalidAttributeAccessCredentials
  case missingAttributeAccessCredentials
  case invalidAttributePublicKeyFormat
  case missingAttributePublicKeyFormat
  case invalidAttributePrivateKeyFormat
  case missingAttributePrivateKeyFormat
  case invalidAttributeSymmetricKeyFormat
  case missingAttributeSymmetricKeyFormat
  case invalidAttributeWrappedKeyFormat
  case missingAttributeWrappedKeyFormat
  case stagedOperationInProgress
  case stagedOperationNotStarted
  case verifyFailed
  case querySizeUnknown
  case blockSizeMismatch
  case publicKeyInconsistent
  case deviceVerifyFailed
  case invalidLoginName
  case alreadyLoggedIn
  case invalidDigestAlgorithm
  case invalidCRLGroup
  case certificateCannotOperate
  case certificateExpired
  case certificateNotValidYet
  case certificateRevoked
  case certificateSuspended
  case insufficientCredentials
  case invalidAction
  case invalidAuthority
  case verifyActionFailed
  case invalidCertAuthority
  case invaldCRLAuthority
  case invalidCRLEncoding
  case invalidCRLType
  case invalidCRL
  case invalidFormType
  case invalidID
  case invalidIdentifier
  case invalidIndex
  case invalidPolicyIdentifiers
  case invalidTimeString
  case invalidReason
  case invalidRequestInputs
  case invalidResponseVector
  case invalidStopOnPolicy
  case invalidTuple
  case multipleValuesUnsupported
  case notTrusted
  case noDefaultAuthority
  case rejectedForm
  case requestLost
  case requestRejected
  case unsupportedAddressType
  case unsupportedService
  case invalidTupleGroup
  case invalidBaseACLs
  case invalidTupleCredendtials
  case invalidEncoding
  case invalidValidityPeriod
  case invalidRequestor
  case requestDescriptor
  case invalidBundleInfo
  case invalidCRLIndex
  case noFieldValues
  case unsupportedFieldFormat
  case unsupportedIndexInfo
  case unsupportedLocality
  case unsupportedNumAttributes
  case unsupportedNumIndexes
  case unsupportedNumRecordTypes
  case fieldSpecifiedMultiple
  case incompatibleFieldFormat
  case invalidParsingModule
  case databaseLocked
  case datastoreIsOpen
  case missingValue
  case unsupportedQueryLimits
  case unsupportedNumSelectionPreds
  case unsupportedOperator
  case invalidDBLocation
  case invalidAccessRequest
  case invalidIndexInfo
  case invalidNewOwner
  case invalidModifyMode
  case missingRequiredExtension
  case extendedKeyUsageNotCritical
  case timestampMissing
  case timestampInvalid
  case timestampNotTrusted
  case timestampServiceNotAvailable
  case timestampBadAlg
  case timestampBadRequest
  case timestampBadDataFormat
  case timestampTimeNotAvailable
  case timestampUnacceptedPolicy
  case timestampUnacceptedExtension
  case timestampAddInfoNotAvailable
  case timestampSystemFailure
  case signingTimeMissing
  case timestampRejection
  case timestampWaiting
  case timestampRevocationWarning
  case timestampRevocationNotification
  case unexpectedError
}
chengyanfang authored
1798 1799 1800 1801 1802 1803
extension Status : Swift.RawRepresentable, Swift.CustomStringConvertible {
  public init(status: Darwin.OSStatus)
  public var description: Swift.String {
    get
  }
  public init?(rawValue: Darwin.OSStatus)
chengyanfang authored
1804
  public typealias RawValue = Darwin.OSStatus
chengyanfang authored
1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819
  public var rawValue: Darwin.OSStatus {
    get
  }
}
extension Status : Foundation.CustomNSError {
  public static let errorDomain: Swift.String
  public var errorCode: Swift.Int {
    get
  }
  public var errorUserInfo: [Swift.String : Any] {
    get
  }
}
public let HHUUID: Swift.String
public let HHUserToken: Swift.String
chengyanfang authored
1820
@_hasMissingDesignatedInitializers public class LoginManager {
chengyanfang authored
1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848
  public static let `default`: HHSDKBase.LoginManager
  public var mUUID: Swift.Int?
  public var mUserInfo: HHSDKBase.HHUserModel?
  public func loadCache()
  public func removeCache()
  public func getUserInfo(token: Swift.String, success: ((Swift.String?) -> Swift.Void)? = nil, fail: ((Swift.String) -> Swift.Void)? = nil)
  public func getUserInfoRequest(success: ((Swift.String?) -> Swift.Void)? = nil, fail: ((Swift.String) -> Swift.Void)? = nil)
  public func convert2Model() -> Swift.String?
  public func getUserInfo() -> HHSDKBase.HHUserModel?
  public func hasLoginData() -> Swift.Bool
  public func getUUID() -> Swift.Int?
  public func setUUID(uuid: Swift.Int)
  public func getToken() -> Swift.String?
  public func uuidStr() -> Swift.String?
  public func isMemeber() -> Swift.Bool
  public func isVIP() -> Swift.Bool
  public func getUpgradeVIPTips() -> Swift.String?
  public func isBuyProduct() -> Swift.Bool
  public func getMemberDes() -> Swift.String?
  public func isPhoneAccount() -> Swift.Bool
  @objc deinit
}
public protocol MapContext {
}
final public class Map {
  final public let mappingType: HHSDKBase.MappingType
  final public var JSON: [Swift.String : Any] {
    get
chengyanfang authored
1849
  }
chengyanfang authored
1850 1851
  final public var isKeyPresent: Swift.Bool {
    get
chengyanfang authored
1852
  }
chengyanfang authored
1853 1854
  final public var currentValue: Any? {
    get
chengyanfang authored
1855
  }
chengyanfang authored
1856 1857
  final public var currentKey: Swift.String? {
    get
chengyanfang authored
1858
  }
chengyanfang authored
1859 1860
  final public var nestedKeyDelimiter: Swift.String {
    get
chengyanfang authored
1861
  }
chengyanfang authored
1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945
  final public var context: HHSDKBase.MapContext?
  final public var shouldIncludeNilValues: Swift.Bool
  final public let toObject: Swift.Bool
  public init(mappingType: HHSDKBase.MappingType, JSON: [Swift.String : Any], toObject: Swift.Bool = false, context: HHSDKBase.MapContext? = nil, shouldIncludeNilValues: Swift.Bool = false)
  final public subscript(key: Swift.String) -> HHSDKBase.Map {
    get
  }
  final public subscript(key: Swift.String, delimiter delimiter: Swift.String) -> HHSDKBase.Map {
    get
  }
  final public subscript(key: Swift.String, nested nested: Swift.Bool) -> HHSDKBase.Map {
    get
  }
  final public subscript(key: Swift.String, nested nested: Swift.Bool, delimiter delimiter: Swift.String) -> HHSDKBase.Map {
    get
  }
  final public subscript(key: Swift.String, ignoreNil ignoreNil: Swift.Bool) -> HHSDKBase.Map {
    get
  }
  final public subscript(key: Swift.String, delimiter delimiter: Swift.String, ignoreNil ignoreNil: Swift.Bool) -> HHSDKBase.Map {
    get
  }
  final public subscript(key: Swift.String, nested nested: Swift.Bool, ignoreNil ignoreNil: Swift.Bool) -> HHSDKBase.Map {
    get
  }
  final public subscript(key: Swift.String, nested nested: Swift.Bool?, delimiter delimiter: Swift.String, ignoreNil ignoreNil: Swift.Bool) -> HHSDKBase.Map {
    get
  }
  final public func value<T>() -> T?
  @objc deinit
}
extension Map {
  final public func value<T>(_ key: Swift.String, default: T.Object, using transform: T) throws -> T.Object where T : HHSDKBase.TransformType
  final public func value<T>(_ key: Swift.String, default: T) throws -> T
  final public func value<T>(_ key: Swift.String, default: [T]) -> [T] where T : HHSDKBase.BaseMappable
  final public func value<T>(_ key: Swift.String, default: T) throws -> T where T : HHSDKBase.BaseMappable
}
public struct MapError : Swift.Error {
  public var key: Swift.String?
  public var currentValue: Any?
  public var reason: Swift.String?
  public var file: Swift.StaticString?
  public var function: Swift.StaticString?
  public var line: Swift.UInt?
  public init(key: Swift.String?, currentValue: Any?, reason: Swift.String?, file: Swift.StaticString? = nil, function: Swift.StaticString? = nil, line: Swift.UInt? = nil)
}
extension MapError : Swift.CustomStringConvertible {
  public var description: Swift.String {
    get
  }
}
public protocol BaseMappable {
  mutating func mapping(map: HHSDKBase.Map)
}
public protocol Mappable : HHSDKBase.BaseMappable {
  init?(map: HHSDKBase.Map)
}
public protocol StaticMappable : HHSDKBase.BaseMappable {
  static func objectForMapping(map: HHSDKBase.Map) -> HHSDKBase.BaseMappable?
}
extension Mappable {
  public init?(JSONString: Swift.String, context: HHSDKBase.MapContext? = nil)
  public init?(JSON: [Swift.String : Any], context: HHSDKBase.MapContext? = nil)
}
extension BaseMappable {
  public func toJSON() -> [Swift.String : Any]
  public func toJSONString(prettyPrint: Swift.Bool = false) -> Swift.String?
}
extension Array where Element : HHSDKBase.BaseMappable {
  public init?(JSONString: Swift.String, context: HHSDKBase.MapContext? = nil)
  public init(JSONArray: [[Swift.String : Any]], context: HHSDKBase.MapContext? = nil)
  public func toJSON() -> [[Swift.String : Any]]
  public func toJSONString(prettyPrint: Swift.Bool = false) -> Swift.String?
}
extension Set where Element : HHSDKBase.BaseMappable {
  public init?(JSONString: Swift.String, context: HHSDKBase.MapContext? = nil)
  public init?(JSONArray: [[Swift.String : Any]], context: HHSDKBase.MapContext? = nil)
  public func toJSON() -> [[Swift.String : Any]]
  public func toJSONString(prettyPrint: Swift.Bool = false) -> Swift.String?
}
public enum MappingType {
  case fromJSON
  case toJSON
  public static func == (a: HHSDKBase.MappingType, b: HHSDKBase.MappingType) -> Swift.Bool
chengyanfang authored
1946
  public func hash(into hasher: inout Swift.Hasher)
chengyanfang authored
1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015
  public var hashValue: Swift.Int {
    get
  }
}
final public class Mapper<N> where N : HHSDKBase.BaseMappable {
  final public var context: HHSDKBase.MapContext?
  final public var shouldIncludeNilValues: Swift.Bool
  public init(context: HHSDKBase.MapContext? = nil, shouldIncludeNilValues: Swift.Bool = false)
  final public func map(JSONObject: Any?, toObject object: N) -> N
  final public func map(JSONString: Swift.String, toObject object: N) -> N
  final public func map(JSON: [Swift.String : Any], toObject object: N) -> N
  final public func map(JSONString: Swift.String) -> N?
  final public func map(JSONObject: Any?) -> N?
  final public func map(JSON: [Swift.String : Any]) -> N?
  final public func mapArray(JSONString: Swift.String) -> [N]?
  final public func mapArray(JSONObject: Any?) -> [N]?
  final public func mapArray(JSONArray: [[Swift.String : Any]]) -> [N]
  final public func mapDictionary(JSONString: Swift.String) -> [Swift.String : N]?
  final public func mapDictionary(JSONObject: Any?) -> [Swift.String : N]?
  final public func mapDictionary(JSON: [Swift.String : [Swift.String : Any]]) -> [Swift.String : N]?
  final public func mapDictionary(JSONObject: Any?, toDictionary dictionary: [Swift.String : N]) -> [Swift.String : N]
  final public func mapDictionary(JSON: [Swift.String : [Swift.String : Any]], toDictionary dictionary: [Swift.String : N]) -> [Swift.String : N]
  final public func mapDictionaryOfArrays(JSONObject: Any?) -> [Swift.String : [N]]?
  final public func mapDictionaryOfArrays(JSON: [Swift.String : [[Swift.String : Any]]]) -> [Swift.String : [N]]?
  final public func mapArrayOfArrays(JSONObject: Any?) -> [[N]]?
  public static func parseJSONStringIntoDictionary(JSONString: Swift.String) -> [Swift.String : Any]?
  public static func parseJSONString(JSONString: Swift.String) -> Any?
  @objc deinit
}
extension Mapper {
  final public func map(JSONfile: Swift.String) -> N?
  final public func mapArray(JSONfile: Swift.String) -> [N]?
}
extension Mapper {
  final public func toJSON(_ object: N) -> [Swift.String : Any]
  final public func toJSONArray(_ array: [N]) -> [[Swift.String : Any]]
  final public func toJSONDictionary(_ dictionary: [Swift.String : N]) -> [Swift.String : [Swift.String : Any]]
  final public func toJSONDictionaryOfArrays(_ dictionary: [Swift.String : [N]]) -> [Swift.String : [[Swift.String : Any]]]
  final public func toJSONString(_ object: N, prettyPrint: Swift.Bool = false) -> Swift.String?
  final public func toJSONString(_ array: [N], prettyPrint: Swift.Bool = false) -> Swift.String?
  public static func toJSONString(_ JSONObject: Any, prettyPrint: Swift.Bool) -> Swift.String?
  public static func toJSONData(_ JSONObject: Any, options: Foundation.JSONSerialization.WritingOptions) -> Foundation.Data?
}
extension Mapper where N : Swift.Hashable {
  final public func mapSet(JSONString: Swift.String) -> Swift.Set<N>?
  final public func mapSet(JSONObject: Any?) -> Swift.Set<N>?
  final public func mapSet(JSONArray: [[Swift.String : Any]]) -> Swift.Set<N>
  final public func toJSONSet(_ set: Swift.Set<N>) -> [[Swift.String : Any]]
  final public func toJSONString(_ set: Swift.Set<N>, prettyPrint: Swift.Bool = false) -> Swift.String?
}
final public class MD5 {
  public init()
  final public func calculate(for bytes: Swift.Array<Swift.UInt8>) -> Swift.Array<Swift.UInt8>
  @objc deinit
}
extension MD5 : HHSDKBase.Updatable {
  final public func update(withBytes bytes: Swift.ArraySlice<Swift.UInt8>, isLast: Swift.Bool = false) throws -> Swift.Array<Swift.UInt8>
}
open class NSDecimalNumberTransform : HHSDKBase.TransformType {
  public typealias Object = Foundation.NSDecimalNumber
  public typealias JSON = Swift.String
  public init()
  open func transformFromJSON(_ value: Any?) -> Foundation.NSDecimalNumber?
  open func transformToJSON(_ value: Foundation.NSDecimalNumber?) -> Swift.String?
  @objc deinit
}
public var uploadManager: HHSDKBase.UploadQueue {
  get
}
chengyanfang authored
2016
@_hasMissingDesignatedInitializers public class UploadQueue {
chengyanfang authored
2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037
  @discardableResult
  public func upload(files: [Swift.String], config: HHSDKBase.SDKUploadConfig) -> HHSDKBase.HHFileUploadManager
  public func cancelAll(_ finished: (() -> Swift.Void)? = nil)
  @objc deinit
}
public class HHFileUploadManager {
  public var mFileQueue: [Swift.String]
  public var config: HHSDKBase.SDKUploadConfig!
  public var mTransFile: Swift.String?
  public var isUploading: Swift.Bool
  public init(files: [Swift.String], config: HHSDKBase.SDKUploadConfig)
  public func uploadFile(_ file: [Swift.String])
  public func cancalFiles(_ files: [Swift.String], cancelFinish: ((Swift.String) -> Swift.Void)? = nil)
  public func cancelAll(_ finished: (() -> Swift.Void)? = nil)
  @objc deinit
}
final public class OCB : HHSDKBase.BlockMode {
  public enum Mode {
    case combined
    case detached
    public static func == (a: HHSDKBase.OCB.Mode, b: HHSDKBase.OCB.Mode) -> Swift.Bool
chengyanfang authored
2038
    public func hash(into hasher: inout Swift.Hasher)
chengyanfang authored
2039 2040 2041 2042 2043 2044 2045 2046 2047
    public var hashValue: Swift.Int {
      get
    }
  }
  final public let options: HHSDKBase.BlockModeOption
  public enum Error : Swift.Error {
    case invalidNonce
    case fail
    public static func == (a: HHSDKBase.OCB.Error, b: HHSDKBase.OCB.Error) -> Swift.Bool
chengyanfang authored
2048
    public func hash(into hasher: inout Swift.Hasher)
chengyanfang authored
2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062
    public var hashValue: Swift.Int {
      get
    }
  }
  final public var authenticationTag: Swift.Array<Swift.UInt8>?
  public init(nonce N: Swift.Array<Swift.UInt8>, additionalAuthenticatedData: Swift.Array<Swift.UInt8>? = nil, tagLength: Swift.Int = 16, mode: HHSDKBase.OCB.Mode = .detached)
  convenience public init(nonce N: Swift.Array<Swift.UInt8>, authenticationTag: Swift.Array<Swift.UInt8>, additionalAuthenticatedData: Swift.Array<Swift.UInt8>? = nil, mode: HHSDKBase.OCB.Mode = .detached)
  final public func worker(blockSize: Swift.Int, cipherOperation: @escaping HHSDKBase.CipherOperationOnBlock, encryptionOperation: @escaping HHSDKBase.CipherOperationOnBlock) throws -> HHSDKBase.CipherModeWorker
  @objc deinit
}
public struct OFB : HHSDKBase.BlockMode {
  public enum Error : Swift.Error {
    case invalidInitializationVector
    public static func == (a: HHSDKBase.OFB.Error, b: HHSDKBase.OFB.Error) -> Swift.Bool
chengyanfang authored
2063
    public func hash(into hasher: inout Swift.Hasher)
chengyanfang authored
2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110
    public var hashValue: Swift.Int {
      get
    }
  }
  public let options: HHSDKBase.BlockModeOption
  public init(iv: Swift.Array<Swift.UInt8>)
  public func worker(blockSize: Swift.Int, cipherOperation: @escaping HHSDKBase.CipherOperationOnBlock, encryptionOperation: @escaping HHSDKBase.CipherOperationOnBlock) throws -> HHSDKBase.CipherModeWorker
}
infix operator <- : DefaultPrecedence
infix operator >>> : DefaultPrecedence
public func <- <T>(left: inout T, right: HHSDKBase.Map)
public func >>> <T>(left: T, right: HHSDKBase.Map)
public func <- <T>(left: inout T?, right: HHSDKBase.Map)
public func >>> <T>(left: T?, right: HHSDKBase.Map)
public func <- <T>(left: inout T, right: HHSDKBase.Map) where T : HHSDKBase.BaseMappable
public func >>> <T>(left: T, right: HHSDKBase.Map) where T : HHSDKBase.BaseMappable
public func <- <T>(left: inout T?, right: HHSDKBase.Map) where T : HHSDKBase.BaseMappable
public func >>> <T>(left: T?, right: HHSDKBase.Map) where T : HHSDKBase.BaseMappable
public func <- <T>(left: inout Swift.Dictionary<Swift.String, T>, right: HHSDKBase.Map) where T : HHSDKBase.BaseMappable
public func >>> <T>(left: Swift.Dictionary<Swift.String, T>, right: HHSDKBase.Map) where T : HHSDKBase.BaseMappable
public func <- <T>(left: inout Swift.Dictionary<Swift.String, T>?, right: HHSDKBase.Map) where T : HHSDKBase.BaseMappable
public func >>> <T>(left: Swift.Dictionary<Swift.String, T>?, right: HHSDKBase.Map) where T : HHSDKBase.BaseMappable
public func <- <T>(left: inout Swift.Dictionary<Swift.String, [T]>, right: HHSDKBase.Map) where T : HHSDKBase.BaseMappable
public func >>> <T>(left: Swift.Dictionary<Swift.String, [T]>, right: HHSDKBase.Map) where T : HHSDKBase.BaseMappable
public func <- <T>(left: inout Swift.Dictionary<Swift.String, [T]>?, right: HHSDKBase.Map) where T : HHSDKBase.BaseMappable
public func >>> <T>(left: Swift.Dictionary<Swift.String, [T]>?, right: HHSDKBase.Map) where T : HHSDKBase.BaseMappable
public func <- <T>(left: inout Swift.Array<T>, right: HHSDKBase.Map) where T : HHSDKBase.BaseMappable
public func >>> <T>(left: Swift.Array<T>, right: HHSDKBase.Map) where T : HHSDKBase.BaseMappable
public func <- <T>(left: inout Swift.Array<T>?, right: HHSDKBase.Map) where T : HHSDKBase.BaseMappable
public func >>> <T>(left: Swift.Array<T>?, right: HHSDKBase.Map) where T : HHSDKBase.BaseMappable
public func <- <T>(left: inout Swift.Array<Swift.Array<T>>, right: HHSDKBase.Map) where T : HHSDKBase.BaseMappable
public func >>> <T>(left: Swift.Array<Swift.Array<T>>, right: HHSDKBase.Map) where T : HHSDKBase.BaseMappable
public func <- <T>(left: inout Swift.Array<Swift.Array<T>>?, right: HHSDKBase.Map) where T : HHSDKBase.BaseMappable
public func >>> <T>(left: Swift.Array<Swift.Array<T>>?, right: HHSDKBase.Map) where T : HHSDKBase.BaseMappable
public func <- <T>(left: inout Swift.Set<T>, right: HHSDKBase.Map) where T : HHSDKBase.BaseMappable, T : Swift.Hashable
public func >>> <T>(left: Swift.Set<T>, right: HHSDKBase.Map) where T : HHSDKBase.BaseMappable, T : Swift.Hashable
public func <- <T>(left: inout Swift.Set<T>?, right: HHSDKBase.Map) where T : HHSDKBase.BaseMappable, T : Swift.Hashable
public func >>> <T>(left: Swift.Set<T>?, right: HHSDKBase.Map) where T : HHSDKBase.BaseMappable, T : Swift.Hashable
public protocol PaddingProtocol {
  func add(to: Swift.Array<Swift.UInt8>, blockSize: Swift.Int) -> Swift.Array<Swift.UInt8>
  func remove(from: Swift.Array<Swift.UInt8>, blockSize: Swift.Int?) -> Swift.Array<Swift.UInt8>
}
public enum Padding : HHSDKBase.PaddingProtocol {
  case noPadding, zeroPadding, pkcs7, pkcs5, iso78164
  public func add(to: Swift.Array<Swift.UInt8>, blockSize: Swift.Int) -> Swift.Array<Swift.UInt8>
  public func remove(from: Swift.Array<Swift.UInt8>, blockSize: Swift.Int?) -> Swift.Array<Swift.UInt8>
  public static func == (a: HHSDKBase.Padding, b: HHSDKBase.Padding) -> Swift.Bool
chengyanfang authored
2111
  public func hash(into hasher: inout Swift.Hasher)
chengyanfang authored
2112 2113 2114 2115 2116 2117 2118 2119 2120 2121
  public var hashValue: Swift.Int {
    get
  }
}
extension PKCS5 {
  public struct PBKDF1 {
    public enum Error : Swift.Error {
      case invalidInput
      case derivedKeyTooLong
      public static func == (a: HHSDKBase.PKCS5.PBKDF1.Error, b: HHSDKBase.PKCS5.PBKDF1.Error) -> Swift.Bool
chengyanfang authored
2122
      public func hash(into hasher: inout Swift.Hasher)
chengyanfang authored
2123 2124 2125 2126 2127 2128 2129
      public var hashValue: Swift.Int {
        get
      }
    }
    public enum Variant {
      case md5, sha1
      public static func == (a: HHSDKBase.PKCS5.PBKDF1.Variant, b: HHSDKBase.PKCS5.PBKDF1.Variant) -> Swift.Bool
chengyanfang authored
2130
      public func hash(into hasher: inout Swift.Hasher)
chengyanfang authored
2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144
      public var hashValue: Swift.Int {
        get
      }
    }
    public init(password: Swift.Array<Swift.UInt8>, salt: Swift.Array<Swift.UInt8>, variant: HHSDKBase.PKCS5.PBKDF1.Variant = .sha1, iterations: Swift.Int = 4096, keyLength: Swift.Int? = nil) throws
    public func calculate() -> Swift.Array<Swift.UInt8>
  }
}
extension PKCS5 {
  public struct PBKDF2 {
    public enum Error : Swift.Error {
      case invalidInput
      case derivedKeyTooLong
      public static func == (a: HHSDKBase.PKCS5.PBKDF2.Error, b: HHSDKBase.PKCS5.PBKDF2.Error) -> Swift.Bool
chengyanfang authored
2145
      public func hash(into hasher: inout Swift.Hasher)
chengyanfang authored
2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157
      public var hashValue: Swift.Int {
        get
      }
    }
    public init(password: Swift.Array<Swift.UInt8>, salt: Swift.Array<Swift.UInt8>, iterations: Swift.Int = 4096, keyLength: Swift.Int? = nil, variant: HHSDKBase.HMAC.Variant = .sha256) throws
    public func calculate() throws -> Swift.Array<Swift.UInt8>
  }
}
public struct PCBC : HHSDKBase.BlockMode {
  public enum Error : Swift.Error {
    case invalidInitializationVector
    public static func == (a: HHSDKBase.PCBC.Error, b: HHSDKBase.PCBC.Error) -> Swift.Bool
chengyanfang authored
2158
    public func hash(into hasher: inout Swift.Hasher)
chengyanfang authored
2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174
    public var hashValue: Swift.Int {
      get
    }
  }
  public let options: HHSDKBase.BlockModeOption
  public init(iv: Swift.Array<Swift.UInt8>)
  public func worker(blockSize: Swift.Int, cipherOperation: @escaping HHSDKBase.CipherOperationOnBlock, encryptionOperation: @escaping HHSDKBase.CipherOperationOnBlock) throws -> HHSDKBase.CipherModeWorker
}
public enum PKCS5 {
}
public enum PKCS7 {
}
final public class Poly1305 : HHSDKBase.CryptoAuthenticator {
  public enum Error : Swift.Error {
    case authenticateError
    public static func == (a: HHSDKBase.Poly1305.Error, b: HHSDKBase.Poly1305.Error) -> Swift.Bool
chengyanfang authored
2175
    public func hash(into hasher: inout Swift.Hasher)
chengyanfang authored
2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192
    public var hashValue: Swift.Int {
      get
    }
  }
  public static let blockSize: Swift.Int
  public init(key: Swift.Array<Swift.UInt8>)
  final public func authenticate(_ bytes: Swift.Array<Swift.UInt8>) throws -> Swift.Array<Swift.UInt8>
  @objc deinit
}
extension Rabbit {
  convenience public init(key: Swift.String) throws
  convenience public init(key: Swift.String, iv: Swift.String) throws
}
final public class Rabbit {
  public enum Error : Swift.Error {
    case invalidKeyOrInitializationVector
    public static func == (a: HHSDKBase.Rabbit.Error, b: HHSDKBase.Rabbit.Error) -> Swift.Bool
chengyanfang authored
2193
    public func hash(into hasher: inout Swift.Hasher)
chengyanfang authored
2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227
    public var hashValue: Swift.Int {
      get
    }
  }
  public static let ivSize: Swift.Int
  public static let keySize: Swift.Int
  public static let blockSize: Swift.Int
  final public var keySize: Swift.Int {
    get
  }
  convenience public init(key: Swift.Array<Swift.UInt8>) throws
  public init(key: Swift.Array<Swift.UInt8>, iv: Swift.Array<Swift.UInt8>?) throws
  @objc deinit
}
extension Rabbit : HHSDKBase.Cipher {
  final public func encrypt(_ bytes: Swift.ArraySlice<Swift.UInt8>) throws -> Swift.Array<Swift.UInt8>
  final public func decrypt(_ bytes: Swift.ArraySlice<Swift.UInt8>) throws -> Swift.Array<Swift.UInt8>
}
public enum ReachabilityError : Swift.Error {
  case FailedToCreateWithAddress(Darwin.sockaddr_in)
  case FailedToCreateWithHostname(Swift.String)
  case UnableToSetCallback
  case UnableToSetDispatchQueue
}
public let ReachabilityChangedNotification: Foundation.NSNotification.Name
public class Reachability {
  public typealias NetworkReachable = (HHSDKBase.Reachability) -> ()
  public typealias NetworkUnreachable = (HHSDKBase.Reachability) -> ()
  public enum NetworkStatus : Swift.CustomStringConvertible {
    case notReachable, reachableViaWiFi, reachableViaWWAN
    public var description: Swift.String {
      get
    }
    public static func == (a: HHSDKBase.Reachability.NetworkStatus, b: HHSDKBase.Reachability.NetworkStatus) -> Swift.Bool
chengyanfang authored
2228
    public func hash(into hasher: inout Swift.Hasher)
chengyanfang authored
2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262
    public var hashValue: Swift.Int {
      get
    }
  }
  public var whenReachable: HHSDKBase.Reachability.NetworkReachable?
  public var whenUnreachable: HHSDKBase.Reachability.NetworkUnreachable?
  public var reachableOnWWAN: Swift.Bool
  public var currentReachabilityString: Swift.String {
    get
  }
  public var currentReachabilityStatus: HHSDKBase.Reachability.NetworkStatus {
    get
  }
  required public init(reachabilityRef: SystemConfiguration.SCNetworkReachability)
  convenience public init?(hostname: Swift.String)
  convenience public init?()
  @objc deinit
}
extension Reachability {
  public func startNotifier() throws
  public func stopNotifier()
  public var isReachable: Swift.Bool {
    get
  }
  public var isReachableViaWWAN: Swift.Bool {
    get
  }
  public var isReachableViaWiFi: Swift.Bool {
    get
  }
  public var description: Swift.String {
    get
  }
}
chengyanfang authored
2263 2264 2265 2266
final public class Scrypt {
  public init(password: Swift.Array<Swift.UInt8>, salt: Swift.Array<Swift.UInt8>, dkLen: Swift.Int, N: Swift.Int, r: Swift.Int, p: Swift.Int) throws
  final public func calculate() throws -> [Swift.UInt8]
  @objc deinit
chengyanfang authored
2267
}
chengyanfang authored
2268 2269 2270 2271
final public class SHA1 {
  public init()
  final public func calculate(for bytes: Swift.Array<Swift.UInt8>) -> Swift.Array<Swift.UInt8>
  @objc deinit
chengyanfang authored
2272
}
chengyanfang authored
2273 2274 2275
extension SHA1 : HHSDKBase.Updatable {
  @discardableResult
  final public func update(withBytes bytes: Swift.ArraySlice<Swift.UInt8>, isLast: Swift.Bool = false) throws -> Swift.Array<Swift.UInt8>
chengyanfang authored
2276
}
chengyanfang authored
2277 2278 2279 2280
final public class SHA2 {
  public enum Variant : Swift.RawRepresentable {
    case sha224, sha256, sha384, sha512
    public var digestLength: Swift.Int {
chengyanfang authored
2281 2282
      get
    }
chengyanfang authored
2283 2284
    public var blockSize: Swift.Int {
      get
chengyanfang authored
2285
    }
chengyanfang authored
2286 2287 2288 2289 2290
    public typealias RawValue = Swift.Int
    public var rawValue: HHSDKBase.SHA2.Variant.RawValue {
      get
    }
    public init?(rawValue: HHSDKBase.SHA2.Variant.RawValue)
chengyanfang authored
2291
  }
chengyanfang authored
2292 2293
  public init(variant: HHSDKBase.SHA2.Variant)
  final public func calculate(for bytes: Swift.Array<Swift.UInt8>) -> Swift.Array<Swift.UInt8>
chengyanfang authored
2294 2295
  @objc deinit
}
chengyanfang authored
2296 2297
extension SHA2 : HHSDKBase.Updatable {
  final public func update(withBytes bytes: Swift.ArraySlice<Swift.UInt8>, isLast: Swift.Bool = false) throws -> Swift.Array<Swift.UInt8>
chengyanfang authored
2298
}
chengyanfang authored
2299 2300 2301 2302 2303 2304 2305 2306 2307 2308
final public class SHA3 {
  final public let blockSize: Swift.Int
  final public let digestLength: Swift.Int
  final public let markByte: Swift.UInt8
  public enum Variant {
    case sha224, sha256, sha384, sha512, keccak224, keccak256, keccak384, keccak512
    public var outputLength: Swift.Int {
      get
    }
    public static func == (a: HHSDKBase.SHA3.Variant, b: HHSDKBase.SHA3.Variant) -> Swift.Bool
chengyanfang authored
2309
    public func hash(into hasher: inout Swift.Hasher)
chengyanfang authored
2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322
    public var hashValue: Swift.Int {
      get
    }
  }
  public init(variant: HHSDKBase.SHA3.Variant)
  final public func calculate(for bytes: Swift.Array<Swift.UInt8>) -> Swift.Array<Swift.UInt8>
  @objc deinit
}
extension SHA3 : HHSDKBase.Updatable {
  final public func update(withBytes bytes: Swift.ArraySlice<Swift.UInt8>, isLast: Swift.Bool = false) throws -> Swift.Array<Swift.UInt8>
}
extension String {
  public var bytes: Swift.Array<Swift.UInt8> {
chengyanfang authored
2323 2324
    get
  }
chengyanfang authored
2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341
  public func md5() -> Swift.String
  public func sha1() -> Swift.String
  public func sha224() -> Swift.String
  public func sha256() -> Swift.String
  public func sha384() -> Swift.String
  public func sha512() -> Swift.String
  public func sha3(_ variant: HHSDKBase.SHA3.Variant) -> Swift.String
  public func crc32(seed: Swift.UInt32? = nil, reflect: Swift.Bool = true) -> Swift.String
  public func crc32c(seed: Swift.UInt32? = nil, reflect: Swift.Bool = true) -> Swift.String
  public func crc16(seed: Swift.UInt16? = nil) -> Swift.String
  public func encrypt(cipher: HHSDKBase.Cipher) throws -> Swift.String
  public func encryptToBase64(cipher: HHSDKBase.Cipher) throws -> Swift.String?
  public func authenticate<A>(with authenticator: A) throws -> Swift.String where A : HHSDKBase.CryptoAuthenticator
}
extension String {
  public func decryptBase64ToString(cipher: HHSDKBase.Cipher) throws -> Swift.String
  public func decryptBase64(cipher: HHSDKBase.Cipher) throws -> Swift.Array<Swift.UInt8>
chengyanfang authored
2342 2343 2344 2345 2346 2347 2348 2349 2350
}
open class TransformOf<ObjectType, JSONType> : HHSDKBase.TransformType {
  public typealias Object = ObjectType
  public typealias JSON = JSONType
  public init(fromJSON: @escaping (JSONType?) -> ObjectType?, toJSON: @escaping (ObjectType?) -> JSONType?)
  open func transformFromJSON(_ value: Any?) -> ObjectType?
  open func transformToJSON(_ value: ObjectType?) -> JSONType?
  @objc deinit
}
chengyanfang authored
2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386
public func <- <Transform>(left: inout Transform.Object, right: (HHSDKBase.Map, Transform)) where Transform : HHSDKBase.TransformType
public func >>> <Transform>(left: Transform.Object, right: (HHSDKBase.Map, Transform)) where Transform : HHSDKBase.TransformType
public func <- <Transform>(left: inout Transform.Object?, right: (HHSDKBase.Map, Transform)) where Transform : HHSDKBase.TransformType
public func >>> <Transform>(left: Transform.Object?, right: (HHSDKBase.Map, Transform)) where Transform : HHSDKBase.TransformType
public func <- <Transform>(left: inout [Transform.Object], right: (HHSDKBase.Map, Transform)) where Transform : HHSDKBase.TransformType
public func >>> <Transform>(left: [Transform.Object], right: (HHSDKBase.Map, Transform)) where Transform : HHSDKBase.TransformType
public func <- <Transform>(left: inout [Transform.Object]?, right: (HHSDKBase.Map, Transform)) where Transform : HHSDKBase.TransformType
public func >>> <Transform>(left: [Transform.Object]?, right: (HHSDKBase.Map, Transform)) where Transform : HHSDKBase.TransformType
public func <- <Transform>(left: inout [Swift.String : Transform.Object], right: (HHSDKBase.Map, Transform)) where Transform : HHSDKBase.TransformType
public func >>> <Transform>(left: [Swift.String : Transform.Object], right: (HHSDKBase.Map, Transform)) where Transform : HHSDKBase.TransformType
public func <- <Transform>(left: inout [Swift.String : Transform.Object]?, right: (HHSDKBase.Map, Transform)) where Transform : HHSDKBase.TransformType
public func >>> <Transform>(left: [Swift.String : Transform.Object]?, right: (HHSDKBase.Map, Transform)) where Transform : HHSDKBase.TransformType
public func <- <Transform>(left: inout Transform.Object, right: (HHSDKBase.Map, Transform)) where Transform : HHSDKBase.TransformType, Transform.Object : HHSDKBase.BaseMappable
public func >>> <Transform>(left: Transform.Object, right: (HHSDKBase.Map, Transform)) where Transform : HHSDKBase.TransformType, Transform.Object : HHSDKBase.BaseMappable
public func <- <Transform>(left: inout Transform.Object?, right: (HHSDKBase.Map, Transform)) where Transform : HHSDKBase.TransformType, Transform.Object : HHSDKBase.BaseMappable
public func >>> <Transform>(left: Transform.Object?, right: (HHSDKBase.Map, Transform)) where Transform : HHSDKBase.TransformType, Transform.Object : HHSDKBase.BaseMappable
public func <- <Transform>(left: inout Swift.Dictionary<Swift.String, Transform.Object>, right: (HHSDKBase.Map, Transform)) where Transform : HHSDKBase.TransformType, Transform.Object : HHSDKBase.BaseMappable
public func >>> <Transform>(left: Swift.Dictionary<Swift.String, Transform.Object>, right: (HHSDKBase.Map, Transform)) where Transform : HHSDKBase.TransformType, Transform.Object : HHSDKBase.BaseMappable
public func <- <Transform>(left: inout Swift.Dictionary<Swift.String, Transform.Object>?, right: (HHSDKBase.Map, Transform)) where Transform : HHSDKBase.TransformType, Transform.Object : HHSDKBase.BaseMappable
public func >>> <Transform>(left: Swift.Dictionary<Swift.String, Transform.Object>?, right: (HHSDKBase.Map, Transform)) where Transform : HHSDKBase.TransformType, Transform.Object : HHSDKBase.BaseMappable
public func <- <Transform>(left: inout Swift.Dictionary<Swift.String, [Transform.Object]>, right: (HHSDKBase.Map, Transform)) where Transform : HHSDKBase.TransformType, Transform.Object : HHSDKBase.BaseMappable
public func >>> <Transform>(left: Swift.Dictionary<Swift.String, [Transform.Object]>, right: (HHSDKBase.Map, Transform)) where Transform : HHSDKBase.TransformType, Transform.Object : HHSDKBase.BaseMappable
public func <- <Transform>(left: inout Swift.Dictionary<Swift.String, [Transform.Object]>?, right: (HHSDKBase.Map, Transform)) where Transform : HHSDKBase.TransformType, Transform.Object : HHSDKBase.BaseMappable
public func >>> <Transform>(left: Swift.Dictionary<Swift.String, [Transform.Object]>?, right: (HHSDKBase.Map, Transform)) where Transform : HHSDKBase.TransformType, Transform.Object : HHSDKBase.BaseMappable
public func <- <Transform>(left: inout Swift.Array<Transform.Object>, right: (HHSDKBase.Map, Transform)) where Transform : HHSDKBase.TransformType, Transform.Object : HHSDKBase.BaseMappable
public func >>> <Transform>(left: Swift.Array<Transform.Object>, right: (HHSDKBase.Map, Transform)) where Transform : HHSDKBase.TransformType, Transform.Object : HHSDKBase.BaseMappable
public func <- <Transform>(left: inout Swift.Array<Transform.Object>?, right: (HHSDKBase.Map, Transform)) where Transform : HHSDKBase.TransformType, Transform.Object : HHSDKBase.BaseMappable
public func >>> <Transform>(left: Swift.Array<Transform.Object>?, right: (HHSDKBase.Map, Transform)) where Transform : HHSDKBase.TransformType, Transform.Object : HHSDKBase.BaseMappable
public func <- <Transform>(left: inout [[Transform.Object]], right: (HHSDKBase.Map, Transform)) where Transform : HHSDKBase.TransformType
public func >>> <Transform>(left: [[Transform.Object]], right: (HHSDKBase.Map, Transform)) where Transform : HHSDKBase.TransformType
public func <- <Transform>(left: inout [[Transform.Object]]?, right: (HHSDKBase.Map, Transform)) where Transform : HHSDKBase.TransformType
public func >>> <Transform>(left: [[Transform.Object]]?, right: (HHSDKBase.Map, Transform)) where Transform : HHSDKBase.TransformType
public func <- <Transform>(left: inout Swift.Set<Transform.Object>, right: (HHSDKBase.Map, Transform)) where Transform : HHSDKBase.TransformType, Transform.Object : HHSDKBase.BaseMappable, Transform.Object : Swift.Hashable
public func >>> <Transform>(left: Swift.Set<Transform.Object>, right: (HHSDKBase.Map, Transform)) where Transform : HHSDKBase.TransformType, Transform.Object : HHSDKBase.BaseMappable, Transform.Object : Swift.Hashable
public func <- <Transform>(left: inout Swift.Set<Transform.Object>?, right: (HHSDKBase.Map, Transform)) where Transform : HHSDKBase.TransformType, Transform.Object : HHSDKBase.BaseMappable, Transform.Object : Swift.Hashable
public func >>> <Transform>(left: Swift.Set<Transform.Object>?, right: (HHSDKBase.Map, Transform)) where Transform : HHSDKBase.TransformType, Transform.Object : HHSDKBase.BaseMappable, Transform.Object : Swift.Hashable
chengyanfang authored
2387 2388 2389 2390 2391 2392
public protocol TransformType {
  associatedtype Object
  associatedtype JSON
  func transformFromJSON(_ value: Any?) -> Self.Object?
  func transformToJSON(_ value: Self.Object?) -> Self.JSON?
}
chengyanfang authored
2393
public protocol _UInt8Type {
chengyanfang authored
2394
}
chengyanfang authored
2395
extension UInt8 : HHSDKBase._UInt8Type {
chengyanfang authored
2396
}
chengyanfang authored
2397 2398 2399
extension UInt8 {
  public func bits() -> [HHSDKBase.Bit]
  public func bits() -> Swift.String
chengyanfang authored
2400
}
chengyanfang authored
2401 2402 2403
public protocol Updatable {
  mutating func update(withBytes bytes: Swift.ArraySlice<Swift.UInt8>, isLast: Swift.Bool) throws -> Swift.Array<Swift.UInt8>
  mutating func update(withBytes bytes: Swift.ArraySlice<Swift.UInt8>, isLast: Swift.Bool, output: (Swift.Array<Swift.UInt8>) -> Swift.Void) throws
chengyanfang authored
2404
}
chengyanfang authored
2405
extension Updatable {
chengyanfang authored
2406 2407 2408 2409 2410 2411 2412 2413 2414 2415
  public mutating func update(withBytes bytes: Swift.ArraySlice<Swift.UInt8>, isLast: Swift.Bool = false, output: (Swift.Array<Swift.UInt8>) -> Swift.Void) throws
  public mutating func update(withBytes bytes: Swift.ArraySlice<Swift.UInt8>, isLast: Swift.Bool = false) throws -> Swift.Array<Swift.UInt8>
  public mutating func update(withBytes bytes: Swift.Array<Swift.UInt8>, isLast: Swift.Bool = false) throws -> Swift.Array<Swift.UInt8>
  public mutating func update(withBytes bytes: Swift.Array<Swift.UInt8>, isLast: Swift.Bool = false, output: (Swift.Array<Swift.UInt8>) -> Swift.Void) throws
  public mutating func finish(withBytes bytes: Swift.ArraySlice<Swift.UInt8>) throws -> Swift.Array<Swift.UInt8>
  public mutating func finish(withBytes bytes: Swift.Array<Swift.UInt8>) throws -> Swift.Array<Swift.UInt8>
  public mutating func finish() throws -> Swift.Array<Swift.UInt8>
  public mutating func finish(withBytes bytes: Swift.ArraySlice<Swift.UInt8>, output: (Swift.Array<Swift.UInt8>) -> Swift.Void) throws
  public mutating func finish(withBytes bytes: Swift.Array<Swift.UInt8>, output: (Swift.Array<Swift.UInt8>) -> Swift.Void) throws
  public mutating func finish(output: (Swift.Array<Swift.UInt8>) -> Swift.Void) throws
chengyanfang authored
2416
}
chengyanfang authored
2417 2418
open class URLTransform : HHSDKBase.TransformType {
  public typealias Object = Foundation.URL
chengyanfang authored
2419
  public typealias JSON = Swift.String
chengyanfang authored
2420 2421 2422
  public init(shouldEncodeURLString: Swift.Bool = false, allowedCharacterSet: Foundation.CharacterSet = .urlQueryAllowed)
  open func transformFromJSON(_ value: Any?) -> Foundation.URL?
  open func transformToJSON(_ value: Foundation.URL?) -> Swift.String?
chengyanfang authored
2423 2424
  @objc deinit
}
chengyanfang authored
2425
public struct UserApi {
chengyanfang authored
2426
}
chengyanfang authored
2427 2428 2429 2430 2431 2432
public class WeakArray<T> {
  public func add(_ delegate: T)
  public func remove(_ delegate: T)
  public func excute(_ block: @escaping ((T?) -> Swift.Void))
  public init()
  @objc deinit
chengyanfang authored
2433 2434 2435 2436 2437 2438 2439 2440 2441
}
extension HHSDKBase.AES.Error : Swift.Equatable {}
extension HHSDKBase.AES.Error : Swift.Hashable {}
extension HHSDKBase.AES.Variant : Swift.Equatable {}
extension HHSDKBase.AES.Variant : Swift.Hashable {}
extension HHSDKBase.AES.Variant : Swift.RawRepresentable {}
extension HHSDKBase.Bit : Swift.Equatable {}
extension HHSDKBase.Bit : Swift.Hashable {}
extension HHSDKBase.Bit : Swift.RawRepresentable {}
chengyanfang authored
2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462
extension HHSDKBase.Blowfish.Error : Swift.Equatable {}
extension HHSDKBase.Blowfish.Error : Swift.Hashable {}
extension HHSDKBase.CBC.Error : Swift.Equatable {}
extension HHSDKBase.CBC.Error : Swift.Hashable {}
extension HHSDKBase.CCM : HHSDKBase.BlockMode {}
extension HHSDKBase.CCM.Error : Swift.Equatable {}
extension HHSDKBase.CCM.Error : Swift.Hashable {}
extension HHSDKBase.CFB.Error : Swift.Equatable {}
extension HHSDKBase.CFB.Error : Swift.Hashable {}
extension HHSDKBase.ChaCha20.Error : Swift.Equatable {}
extension HHSDKBase.ChaCha20.Error : Swift.Hashable {}
extension HHSDKBase.CipherError : Swift.Equatable {}
extension HHSDKBase.CipherError : Swift.Hashable {}
extension HHSDKBase.CMAC.Error : Swift.Equatable {}
extension HHSDKBase.CMAC.Error : Swift.Hashable {}
extension HHSDKBase.CTR : HHSDKBase.BlockMode {}
extension HHSDKBase.CTR.Error : Swift.Equatable {}
extension HHSDKBase.CTR.Error : Swift.Hashable {}
extension HHSDKBase.DateTransform.Unit : Swift.Equatable {}
extension HHSDKBase.DateTransform.Unit : Swift.Hashable {}
extension HHSDKBase.DateTransform.Unit : Swift.RawRepresentable {}
chengyanfang authored
2463 2464 2465 2466
extension HHSDKBase.GCM.Mode : Swift.Equatable {}
extension HHSDKBase.GCM.Mode : Swift.Hashable {}
extension HHSDKBase.GCM.Error : Swift.Equatable {}
extension HHSDKBase.GCM.Error : Swift.Hashable {}
chengyanfang authored
2467 2468 2469
extension HHSDKBase.DateFormat : Swift.Equatable {}
extension HHSDKBase.DateFormat : Swift.Hashable {}
extension HHSDKBase.DateFormat : Swift.RawRepresentable {}
chengyanfang authored
2470 2471 2472 2473 2474
extension HHSDKBase.HHFileCacheManager.HHAssetPathType : Swift.Equatable {}
extension HHSDKBase.HHFileCacheManager.HHAssetPathType : Swift.Hashable {}
extension HHSDKBase.HHFileCacheManager.HHFileFormat : Swift.Equatable {}
extension HHSDKBase.HHFileCacheManager.HHFileFormat : Swift.Hashable {}
extension HHSDKBase.HHFileCacheManager.HHFileFormat : Swift.RawRepresentable {}
chengyanfang authored
2475 2476 2477 2478 2479 2480 2481 2482 2483
extension HHSDKBase.HHLogMode : Swift.Equatable {}
extension HHSDKBase.HHLogMode : Swift.Hashable {}
extension HHSDKBase.HHLogMode : Swift.RawRepresentable {}
extension HHSDKBase.HHServerType : Swift.Equatable {}
extension HHSDKBase.HHServerType : Swift.Hashable {}
extension HHSDKBase.HHRequestMethod : Swift.Equatable {}
extension HHSDKBase.HHRequestMethod : Swift.Hashable {}
extension HHSDKBase.HKDF.Error : Swift.Equatable {}
extension HHSDKBase.HKDF.Error : Swift.Hashable {}
chengyanfang authored
2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497
extension HHSDKBase.HMAC.Error : Swift.Equatable {}
extension HHSDKBase.HMAC.Error : Swift.Hashable {}
extension HHSDKBase.HMAC.Variant : Swift.Equatable {}
extension HHSDKBase.HMAC.Variant : Swift.Hashable {}
extension HHSDKBase.ItemClass : Swift.Equatable {}
extension HHSDKBase.ItemClass : Swift.Hashable {}
extension HHSDKBase.ProtocolType : Swift.Equatable {}
extension HHSDKBase.ProtocolType : Swift.Hashable {}
extension HHSDKBase.AuthenticationType : Swift.Equatable {}
extension HHSDKBase.AuthenticationType : Swift.Hashable {}
extension HHSDKBase.Accessibility : Swift.Equatable {}
extension HHSDKBase.Accessibility : Swift.Hashable {}
extension HHSDKBase.Status : Swift.Equatable {}
extension HHSDKBase.Status : Swift.Hashable {}
chengyanfang authored
2498
extension HHSDKBase.MappingType : Swift.Equatable {}
chengyanfang authored
2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517
extension HHSDKBase.MappingType : Swift.Hashable {}
extension HHSDKBase.OCB.Mode : Swift.Equatable {}
extension HHSDKBase.OCB.Mode : Swift.Hashable {}
extension HHSDKBase.OCB.Error : Swift.Equatable {}
extension HHSDKBase.OCB.Error : Swift.Hashable {}
extension HHSDKBase.OFB.Error : Swift.Equatable {}
extension HHSDKBase.OFB.Error : Swift.Hashable {}
extension HHSDKBase.Padding : Swift.Equatable {}
extension HHSDKBase.Padding : Swift.Hashable {}
extension HHSDKBase.PKCS5.PBKDF1.Error : Swift.Equatable {}
extension HHSDKBase.PKCS5.PBKDF1.Error : Swift.Hashable {}
extension HHSDKBase.PKCS5.PBKDF1.Variant : Swift.Equatable {}
extension HHSDKBase.PKCS5.PBKDF1.Variant : Swift.Hashable {}
extension HHSDKBase.PKCS5.PBKDF2.Error : Swift.Equatable {}
extension HHSDKBase.PKCS5.PBKDF2.Error : Swift.Hashable {}
extension HHSDKBase.PCBC.Error : Swift.Equatable {}
extension HHSDKBase.PCBC.Error : Swift.Hashable {}
extension HHSDKBase.Poly1305.Error : Swift.Equatable {}
extension HHSDKBase.Poly1305.Error : Swift.Hashable {}
chengyanfang authored
2518 2519
extension HHSDKBase.Rabbit.Error : Swift.Equatable {}
extension HHSDKBase.Rabbit.Error : Swift.Hashable {}
chengyanfang authored
2520
extension HHSDKBase.Reachability.NetworkStatus : Swift.Equatable {}
chengyanfang authored
2521 2522 2523 2524 2525
extension HHSDKBase.Reachability.NetworkStatus : Swift.Hashable {}
extension HHSDKBase.SHA2.Variant : Swift.Equatable {}
extension HHSDKBase.SHA2.Variant : Swift.Hashable {}
extension HHSDKBase.SHA3.Variant : Swift.Equatable {}
extension HHSDKBase.SHA3.Variant : Swift.Hashable {}