Pular para o conteúdo principal

IcpBrasilCertificateFields

Namespace: Lacuna.Pki
Assembly: Lacuna.Pki
Class

public class IcpBrasilCertificateFields

Hierarquia: objectIcpBrasilCertificateFields

Construtores

IcpBrasilCertificateFields(PKCertificate)

public IcpBrasilCertificateFields(PKCertificate certificate)

Parâmetros

NomeTipoDescrição
certificatePKCertificate

Propriedades

Cei

Número do Cadastro Especifico do INSS (CEI).

public string Cei { get; }

Retorno

string


CertificateType

The ICP-Brasil certificate type

public IcpBrasilCertificateFields.CertificateTypes CertificateType { get; }

Retorno

IcpBrasilCertificateFields.CertificateTypes


Cnpj

The company CNPJ if present and it is an company or application certificate. Returns null otherwise

public string Cnpj { get; }

Retorno

string


CnpjFormatted

The Cnpj property formatted 00.000.000/0000-00

public string CnpjFormatted { get; }

Retorno

string


CompanyName

The responsible company name if it is an ICP-Brasil application certificate. The subject's common name without end id numbers if it is an ICP-Brasil company certificate. Null otherwise.

public string CompanyName { get; }

Retorno

string


CPF

The certificate holder CPF (fiscal code) if it is a personal certificate (pessoa física). The responsible CPF otherwise.

public string CPF { get; }

Retorno

string


CpfFormatted

The CPF property formatted 000.000.000-00

public string CpfFormatted { get; }

Retorno

string


DateOfBirth

The certificate holder date of birth if it is a personal certificate ("PF"). The responsible date of birth if it is a company or application certificate.

public DateTime? DateOfBirth { get; }

Retorno

DateTime?


IsAplicacao

If it is an application certificate

public bool IsAplicacao { get; }

Retorno

bool


IsPessoaFisica

If it is a personal certificate

public bool IsPessoaFisica { get; }

Retorno

bool


IsPessoaJuridica

If it is a company certificate

public bool IsPessoaJuridica { get; }

Retorno

bool


NIS

The certificate holder's "Número de Identificação Social - NIS (PIS, PASEP ou CI)". Returns value without leading zeroes. Returns null if information is not present.

public string NIS { get; }

Retorno

string


OabNumero

OAB's "Número de Inscrição junto a Seccional". Returns value without leading zeroes. Returns null if information is not present.

public string OabNumero { get; }

Retorno

string


OabUF

OAB's "sigla do Estado da Seccional"

public string OabUF { get; }

Retorno

string


Responsavel

Name of the certificate's holder ("responsável"). Use this property instead of SubjectDisplayName to obtain the holder's name, because, in case the certificate is a company certificate ("PJ"), the property SubjectDisplayName will return the company's name, not the holder's. Also, even if the certificate is a personal certificate ("PF"), the property SubjectDisplayName may return the subject's CPF number, while this property returns only the holder's name.

public string Responsavel { get; }

Retorno

string


RGEmissor

The issuing entity of the certificate holder's identity (órgão emissor do RG do titular/responsável).

public string RGEmissor { get; }

Retorno

string


RGEmissorUF

The state code of the issuing entity of the certificate holder's identity (UF do órgão emissor do RG do titular/responsável).

public string RGEmissorUF { get; }

Retorno

string


RGNumero

The certificate holder's identity number (número do RG do titular/responsável). Returns value without leading zeroes. Returns null if information is not present.

public string RGNumero { get; }

Retorno

string


Ric

Número de Registro de Identidade Civil.

public string Ric { get; }

Retorno

string


SigepeNumero

Número do cadastro único do servidor público da ativa e militares da União constante no Sistema de Gestão de Pessoal(SIGEPE) mantido pelo Ministério do Planejamento ou nos sistemas correlatos, no âmbito da esfera estadual e do Distrito Federal, e nos Sistemas de Gestão de Pessoal das Forças Armadas.

public string SigepeNumero { get; }

Retorno

string


TituloEleitorMunicipio

public string TituloEleitorMunicipio { get; }

Retorno

string


TituloEleitorNumero

Número de inscrição do Título de Eleitor

public string TituloEleitorNumero { get; }

Retorno

string


TituloEleitorSecao

Seção Eleitoral

public string TituloEleitorSecao { get; }

Retorno

string


TituloEleitorUF

public string TituloEleitorUF { get; }

Retorno

string


TituloEleitorZona

Zona Eleitoral

public string TituloEleitorZona { get; }

Retorno

string


Membros herdados

ToString(), Equals(object), Equals(object, object), ReferenceEquals(object, object), GetHashCode(), GetType(), MemberwiseClone()