@dfinity/vetkeys - v0.3.0
    Preparing search index...

    Class TransportSecretKey

    Transport Secret Key

    Applications using VetKD create an ephemeral transport secret key and send the public key to the IC as part of their VetKD request. The returned VetKey is encrypted, and can only be decrypted using the transport secret key.

    Index

    Methods

    • Return the encoding of the transport public key; this value is sent to the IC

      Returns Uint8Array

    • Return the transport secret key value

      Applications would not normally need to call this

      Returns Uint8Array

    • Deserialize TransportSecretKey from a bytestring

      The passed value would typically be a string previously returned by calling serialize on a randomly-created TransportSecretKey.

      Parameters

      • sk: Uint8Array

      Returns TransportSecretKey