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
DataProtectionboolTrue when the data is encrypted.
ProtectionSchemestringThe protection scheme (
SECOMorS100), if stated.SignatureReferencestringThe signature algorithm (
digitalSignatureReference, e.g.ecdsa-384-sha2).CompressedboolTrue when the data is compressed (
compressionFlag).PublicCertificatesIReadOnlyList<string>The signer's certificate first, then any others, as the service sent them (base64 DER or PEM).
RootCertificateThumbprintstringThe hex thumbprint of the signer's root certificate, if stated.
SignaturestringThe hex-encoded signature over the data, if any.
Properties
Compressed
True when the data is compressed (compressionFlag).
public bool Compressed { get; init; }
Property Value
DataProtection
True when the data is encrypted.
public bool DataProtection { get; init; }
Property Value
ProtectionScheme
The protection scheme (SECOM or S100), if stated.
public string? ProtectionScheme { get; init; }
Property Value
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
RootCertificateThumbprint
The hex thumbprint of the signer's root certificate, if stated.
public string? RootCertificateThumbprint { get; init; }
Property Value
Signature
The hex-encoded signature over the data, if any.
public string? Signature { get; init; }
Property Value
SignatureReference
The signature algorithm (digitalSignatureReference, e.g. ecdsa-384-sha2).
public string? SignatureReference { get; init; }