Table of Contents

Class StandaloneDigitalSignatureWriter

Namespace
EncDotNet.S100.ExchangeSets.Protection
Assembly
EncDotNet.S100.ExchangeSets.dll

Writes Part 15 standalone digital-signature documents, the form of PERMIT.SIGN and CATALOG.SIGN.

public static class StandaloneDigitalSignatureWriter
Inheritance
StandaloneDigitalSignatureWriter
Inherited Members

Remarks

S-100 Edition 5.2.1 Part 15 ยง15-8.11.2. The inverse of StandaloneDigitalSignatureReader; create the document with SignStandalone(ReadOnlySpan<byte>, string, string).

Methods

Write(StandaloneDigitalSignature, Stream)

Writes a standalone signature document to a stream.

public static void Write(StandaloneDigitalSignature signature, Stream destination)

Parameters

signature StandaloneDigitalSignature

The signature document.

destination Stream

The stream to write to; it is left open.

Remarks

This method is synchronous.

Exceptions

ArgumentException

The document names no Scheme Administrator or carries no certificate.