awaitvalidate(publicKey, marshalledRecord) // if no error thrown, the record is valid
Example: Validate record against routing key
This is useful when validating IPNS names that use RSA keys, whose public key is embedded in the record (rather than in the routing key as with Ed25519).
Implements parsing and serialization of IPNS Records.
Example: Create record
Example: Validate record against public key
Example: Validate record against routing key
This is useful when validating IPNS names that use RSA keys, whose public key is embedded in the record (rather than in the routing key as with Ed25519).
Example: Extract public key from record
Example: Marshal data with proto buffer
Returns the record data serialized.
Example: Unmarshal data from proto buffer
Returns the
IPNSRecord
after being deserialized.