@wireapp/core-crypto
    Preparing search index...

    Class ExternalSenderKey

    The raw public key of an external sender.

    This can be used to initialize a subconversation.

    Hierarchy

    • UniffiAbstractObject
      • ExternalSenderKey

    Implements

    Index

    Constructors

    • Construct a new instance, transferring data from the client layer to Rust.

      Parameters

      • bytes: ArrayBuffer

      Returns ExternalSenderKey

    Properties

    "[destructorGuardSymbol]": UniffiRustArcPtr
    "[pointerLiteralSymbol]": bigint
    "[uniffiTypeNameSymbol]": "ExternalSenderKey"

    Methods

    • 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.

      Returns ArrayBuffer

    • Calls into the == method of ExternalSenderKeyInterface (the native Rust peer).

      Returns true if and only if the two instance of ExternalSenderKeyInterface are equivalent on the Rust side.

      Generated by deriving the Eq trait in Rust.

      Parameters

      Returns boolean

    • Calls into the hash method of ExternalSenderKeyInterface (the native Rust peer).

      Generated by deriving the Hash trait in Rust.

      Returns bigint

    • Calls into the ExternalSenderKeyInterface::to_string() method of the native Rust peer.

      Generated by deriving the Display trait in Rust.

      Returns string

    • {@inheritDoc uniffi-bindgen-react-native#UniffiAbstractObject.uniffiDestroy}

      Returns void

    • A convenience method to use this object, then destroy it after its use.

      Type Parameters

      • T

      Parameters

      • block: (obj: this) => T

      Returns T