Skip to main content
Version: 2.1.0

Sign Record

Sign Record

IPNS Sign Record Signs an existing IPNS record data structure using a private key. This function requires inputs as follows:

  • Record 1 : Record structure reference, a mutable reference to the IPNS record instance being signed.
  • Private Key (PEM) 2 : Byte array, they private key in PEM encoding. Used to sign the record.

There's also an optional input Password 3 : UTF-8 String, pass-phrase used to decrypt the private key (should stay empty if the key is not encrypted).

IPNS Sign Record