Table of Contents

Class AdvancedSignatureInfo

Namespace
SimpleSign.Brasil.Signing
Assembly
SimpleSign.Brasil.dll

Metadata for an Advanced Electronic Signature (AEA) per Lei 14.063/2020. The organization issues its own X.509 certificates and uses SimpleSign to embed CAdES attributes (commitment-type-indication, signature-policy-identifier) and a visual seal identifying the signature as AEA.

public sealed class AdvancedSignatureInfo
Inheritance
AdvancedSignatureInfo
Inherited Members

Properties

AuthMethod

Authentication method used to identify the signer.

public required AuthenticationMethod AuthMethod { get; init; }

Property Value

AuthenticationMethod

CommitmentType

CAdES commitment type. Default: ProofOfApproval.

public CommitmentType CommitmentType { get; init; }

Property Value

CommitmentType

Cpf

CPF of the signer (11 digits, no punctuation). Will be masked in the visual seal: "12345678901" → "*.456.789-".

public required string Cpf { get; init; }

Property Value

string

Email

E-mail address of the signer.

public string? Email { get; init; }

Property Value

string

InstitutionCnpj

CNPJ of the issuing institution (14 digits).

public string? InstitutionCnpj { get; init; }

Property Value

string

InstitutionName

Name of the issuing institution (e.g., "TCE-ES").

public string? InstitutionName { get; init; }

Property Value

string

IpAddress

IP address of the signer at the time of signing.

public string? IpAddress { get; init; }

Property Value

string

PolicyOid

OID of the signature policy. When null, no signature-policy-identifier attribute is added. Organizations can define their own policy OIDs.

public string? PolicyOid { get; init; }

Property Value

string

PolicyUri

URI of the signature policy document.

public string? PolicyUri { get; init; }

Property Value

string

SignerName

Full name of the signer (e.g., "André Almeida").

public required string SignerName { get; init; }

Property Value

string

Methods

MaskCpf(string)

Masks a CPF for display: "12345678901" → "*.456.789-". Shows only the 6 central digits for privacy.

public static string MaskCpf(string cpf)

Parameters

cpf string

Returns

string