Show / Hide Table of Contents

Class IcpBrasilCertificateFields

Inheritance
Object
IcpBrasilCertificateFields
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: Lacuna.Pki
Assembly: Lacuna.Pki.dll
Syntax
public class IcpBrasilCertificateFields

Constructors

IcpBrasilCertificateFields(PKCertificate)

Declaration
public IcpBrasilCertificateFields(PKCertificate certificate)
Parameters
Type Name Description
PKCertificate certificate

Properties

Cei

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

Declaration
public string Cei { get; }
Property Value
Type Description
String

CertificateType

The ICP-Brasil certificate type

Declaration
public IcpBrasilCertificateFields.CertificateTypes CertificateType { get; }
Property Value
Type Description
IcpBrasilCertificateFields.CertificateTypes

Cnpj

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

Declaration
public string Cnpj { get; }
Property Value
Type Description
String

CnpjFormatted

The Cnpj property formatted 00.000.000/0000-00

Declaration
public string CnpjFormatted { get; }
Property Value
Type Description
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.

Declaration
public string CompanyName { get; }
Property Value
Type Description
String

CPF

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

Declaration
public string CPF { get; }
Property Value
Type Description
String

CpfFormatted

The CPF property formatted 000.000.000-00

Declaration
public string CpfFormatted { get; }
Property Value
Type Description
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.

Declaration
public DateTime? DateOfBirth { get; }
Property Value
Type Description
Nullable<DateTime>

IsAplicacao

If it is an application certificate

Declaration
public bool IsAplicacao { get; }
Property Value
Type Description
Boolean

IsPessoaFisica

If it is a personal certificate

Declaration
public bool IsPessoaFisica { get; }
Property Value
Type Description
Boolean

IsPessoaJuridica

If it is a company certificate

Declaration
public bool IsPessoaJuridica { get; }
Property Value
Type Description
Boolean

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.

Declaration
public string NIS { get; }
Property Value
Type Description
String

OabNumero

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

Declaration
public string OabNumero { get; }
Property Value
Type Description
String

OabUF

OAB's "sigla do Estado da Seccional"

Declaration
public string OabUF { get; }
Property Value
Type Description
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.

Declaration
public string Responsavel { get; }
Property Value
Type Description
String

RGEmissor

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

Declaration
public string RGEmissor { get; }
Property Value
Type Description
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).

Declaration
public string RGEmissorUF { get; }
Property Value
Type Description
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.

Declaration
public string RGNumero { get; }
Property Value
Type Description
String

Ric

Número de Registro de Identidade Civil.

Declaration
public string Ric { get; }
Property Value
Type Description
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.

Declaration
public string SigepeNumero { get; }
Property Value
Type Description
String

TituloEleitorMunicipio

Declaration
public string TituloEleitorMunicipio { get; }
Property Value
Type Description
String

TituloEleitorNumero

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

Declaration
public string TituloEleitorNumero { get; }
Property Value
Type Description
String

TituloEleitorSecao

Seção Eleitoral

Declaration
public string TituloEleitorSecao { get; }
Property Value
Type Description
String

TituloEleitorUF

Declaration
public string TituloEleitorUF { get; }
Property Value
Type Description
String

TituloEleitorZona

Zona Eleitoral

Declaration
public string TituloEleitorZona { get; }
Property Value
Type Description
String
Back to top Copyright © 2015-2020 Lacuna Software