Class RAMFMessage<Payload>Abstract

Relaynet Abstract Message Format, version 1.

Type Parameters

Hierarchy (view full)

Constructors

Properties

creationDate: Date
id: string
payloadSerialized: Buffer
recipient: Recipient
senderCaCertificateChain: readonly Certificate[]
senderCertificate: Certificate
ttl: number

Accessors

Methods

  • Return RAMF serialization of message.

    Parameters

    Returns Promise<ArrayBuffer>

  • Report whether the message is valid.

    This doesn't check whether the sender is authorised.

    Returns Promise<null>

  • Report whether the message is valid and the sender was authorised by one of the trustedCertificates.

    Parameters

    Returns Promise<readonly Certificate[]>

    The certification path from the sender to one of the trustedCertificates

Generated using TypeDoc