Class SignatureManifest
- Namespace
- SimpleSign.Brasil.Signing
- Assembly
- SimpleSign.Brasil.dll
Signature Manifest — structured evidence embedded in the CMS signed attributes as a tamper-proof record of the signing act. Contains signer identity, authentication evidence, and institution data. Serialized as JSON and wrapped in a CMS attribute with OID 2.16.76.1.12.1.1.
public sealed class SignatureManifest
- Inheritance
-
SignatureManifest
- Inherited Members
Properties
Commitment
CAdES commitment type name.
[JsonPropertyName("commitment")]
public string Commitment { get; init; }
Property Value
Evidence
Authentication and evidence data.
[JsonPropertyName("evidence")]
public required ManifestEvidence Evidence { get; init; }
Property Value
Institution
Issuing institution (optional).
[JsonPropertyName("institution")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public ManifestInstitution? Institution { get; init; }
Property Value
Law
Legal basis.
[JsonPropertyName("law")]
public string Law { get; init; }
Property Value
Signer
Signer information.
[JsonPropertyName("signer")]
public required ManifestSigner Signer { get; init; }
Property Value
Type
Signature type identifier.
[JsonPropertyName("type")]
public string Type { get; init; }
Property Value
Version
Manifest version.
[JsonPropertyName("v")]
public int Version { get; init; }
Property Value
Methods
FromJsonUtf8(ReadOnlySpan<byte>)
Deserializes from UTF-8 JSON bytes (AOT-safe).
public static SignatureManifest? FromJsonUtf8(ReadOnlySpan<byte> utf8Json)
Parameters
utf8JsonReadOnlySpan<byte>
Returns
ToJsonUtf8()
Serializes to compact JSON (AOT-safe).
public byte[] ToJsonUtf8()
Returns
- byte[]