Table of Contents

Class SignedStatement

Namespace
Xapi.Client
Assembly
Xapi.Client.dll

A Statement signed by StatementSigner, ready to send with its signature.

public sealed record SignedStatement : IEquatable<SignedStatement>
Inheritance
SignedStatement
Implements
Inherited Members

Examples

var signed = StatementSigner.Sign(statement, rsa, XapiVersion.V2_0_0);
await client.SaveStatementAsync(signed.Statement, [signed.Signature]);

Constructors

SignedStatement(Statement, AttachmentPayload)

Creates a signed Statement.

public SignedStatement(Statement statement, AttachmentPayload signature)

Parameters

statement Statement

The Statement with the signature Attachment object added to its Attachments.

signature AttachmentPayload

The JWS, to send as attachment data with the Statement.

Properties

Signature

The JWS, to send as attachment data with the Statement.

public AttachmentPayload Signature { get; init; }

Property Value

AttachmentPayload

Statement

The Statement with the signature Attachment object added to its Attachments.

public Statement Statement { get; init; }

Property Value

Statement