Class SignedStatement
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
statementStatementThe Statement with the signature Attachment object added to its Attachments.
signatureAttachmentPayloadThe 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
Statement
The Statement with the signature Attachment object added to its Attachments.
public Statement Statement { get; init; }