ProteusAutoPrekeyBundle

public struct ProteusAutoPrekeyBundle
extension ProteusAutoPrekeyBundle: Sendable
extension ProteusAutoPrekeyBundle: Equatable, Hashable

Encapsulates a prekey id and a cbor-serialized prekey

  • id

    Prekey id (automatically incremented)

    Declaration

    Swift

    public var id: UInt16
  • pkb

    CBOR serialization of prekey

    Declaration

    Swift

    public var pkb: Data
  • Undocumented

    Declaration

    Swift

    public init(
        /**
         * Prekey id (automatically incremented)
         */id: UInt16, 
        /**
         * CBOR serialization of prekey
         */pkb: Data)
  • Declaration

    Swift

    public static func == (lhs: ProteusAutoPrekeyBundle, rhs: ProteusAutoPrekeyBundle) -> Bool
  • Declaration

    Swift

    public func hash(into hasher: inout Hasher)