# Functions
ConsumeEnvelope unmarshals a serialized Envelope and validates its signature using the provided 'domain' string.
ConsumeTypedEnvelope unmarshals a serialized Envelope and validates its signature.
RegisterType associates a binary payload type identifier with a concrete Record type.
Seal marshals the given Record, places the marshaled bytes inside an Envelope, and signs with the given private key.
UnmarshalEnvelope unmarshals a serialized Envelope protobuf message, without validating its contents.
# Variables
Deprecated: use github.com/libp2p/go-libp2p/core/record.ErrEmptyDomain instead.
Deprecated: use github.com/libp2p/go-libp2p/core/record.ErrEmptyPayloadType instead.
Deprecated: use github.com/libp2p/go-libp2p/core/record.ErrInvalidSignature instead.
ErrPayloadTypeNotRegistered is returned from ConsumeEnvelope when the Envelope's PayloadType does not match any registered Record types.