KeyPackage
open class KeyPackage : KeyPackageProtocol, @unchecked Sendable
extension KeyPackage: CustomStringConvertible
extension KeyPackage: Equatable
extension KeyPackage: Hashable
A signed object describing a client’s identity and capabilities.
Includes a public key that can be used to encrypt to that client. Other clients can use a client’s KeyPackage to introduce that client to a new group.
-
Construct a new instance, transferring data from the client layer to Rust.
Declaration
Swift
public convenience init(bytes: Data)
-
Get the raw bytes from this type, transferring data from Rust to the client layer.
This does not consume the newtype, instead copying the internal data across the FFI boundary.
Declaration
Swift
open func copyBytes() -> Data
-
Declaration
Swift
open var description: String { get }
-
Declaration
Swift
public static func == (self: KeyPackage, other: KeyPackage) -> Bool
-
Declaration
Swift
open func hash(into hasher: inout Hasher)