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
CommitmentType
CAdES commitment type. Default: ProofOfApproval.
public CommitmentType CommitmentType { get; init; }
Property Value
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
E-mail address of the signer.
public string? Email { get; init; }
Property Value
InstitutionCnpj
CNPJ of the issuing institution (14 digits).
public string? InstitutionCnpj { get; init; }
Property Value
InstitutionName
Name of the issuing institution (e.g., "TCE-ES").
public string? InstitutionName { get; init; }
Property Value
IpAddress
IP address of the signer at the time of signing.
public string? IpAddress { get; init; }
Property Value
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
PolicyUri
URI of the signature policy document.
public string? PolicyUri { get; init; }
Property Value
SignerName
Full name of the signer (e.g., "André Almeida").
public required string SignerName { get; init; }
Property Value
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
cpfstring