Table of Contents

Class SecomExchangeMetadata

Namespace
EncDotNet.S100.Collections.Secom
Assembly
EncDotNet.S100.Collections.dll

The SECOM exchangeMetadata of a data object.

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

Constructors

SecomExchangeMetadata(bool, string?, string?, bool, IReadOnlyList<string>, string?, string?)

The SECOM exchangeMetadata of a data object.

public SecomExchangeMetadata(bool DataProtection, string? ProtectionScheme, string? SignatureReference, bool Compressed, IReadOnlyList<string> PublicCertificates, string? RootCertificateThumbprint, string? Signature)

Parameters

DataProtection bool

True when the data is encrypted.

ProtectionScheme string

The protection scheme (SECOM or S100), if stated.

SignatureReference string

The signature algorithm (digitalSignatureReference, e.g. ecdsa-384-sha2).

Compressed bool

True when the data is compressed (compressionFlag).

PublicCertificates IReadOnlyList<string>

The signer's certificate first, then any others, as the service sent them (base64 DER or PEM).

RootCertificateThumbprint string

The hex thumbprint of the signer's root certificate, if stated.

Signature string

The hex-encoded signature over the data, if any.

Properties

Compressed

True when the data is compressed (compressionFlag).

public bool Compressed { get; init; }

Property Value

bool

DataProtection

True when the data is encrypted.

public bool DataProtection { get; init; }

Property Value

bool

ProtectionScheme

The protection scheme (SECOM or S100), if stated.

public string? ProtectionScheme { get; init; }

Property Value

string

PublicCertificates

The signer's certificate first, then any others, as the service sent them (base64 DER or PEM).

public IReadOnlyList<string> PublicCertificates { get; init; }

Property Value

IReadOnlyList<string>

RootCertificateThumbprint

The hex thumbprint of the signer's root certificate, if stated.

public string? RootCertificateThumbprint { get; init; }

Property Value

string

Signature

The hex-encoded signature over the data, if any.

public string? Signature { get; init; }

Property Value

string

SignatureReference

The signature algorithm (digitalSignatureReference, e.g. ecdsa-384-sha2).

public string? SignatureReference { get; init; }

Property Value

string