@blockchaincommons/envelope - v1.0.0-beta.4
    Preparing search index...

    Function unseal

    • decryptToRecipient(recipient) then verify(sender), the reference's unseal: verify checks the signature and unwraps the layer sign added, as decryptToRecipient unwrapped the one encryptToRecipient added.

      Parameters

      • envelope: Envelope
      • senderPublicKey: Verifier
      • recipient: Decrypter

      Returns Envelope