Pular para o conteúdo principal

Name

Namespace: Lacuna.RestPki.Client
Assembly: Lacuna.RestPki.Client
Class

public class Name

Hierarquia: object → Name

Propriedades​

CommonName​

public string CommonName { get; set; }

Retorno

string


Country​

public string Country { get; set; }

Retorno

string


DNQualifier​

public string DNQualifier { get; set; }

Retorno

string


EmailAddress​

public string EmailAddress { get; set; }

Retorno

string


GenerationQualifier​

public string GenerationQualifier { get; set; }

Retorno

string


GivenName​

public string GivenName { get; set; }

Retorno

string


Initials​

public string Initials { get; set; }

Retorno

string


Locality​

public string Locality { get; set; }

Retorno

string


Organization​

public string Organization { get; set; }

Retorno

string


OrganizationUnit​

public string OrganizationUnit { get; set; }

Retorno

string


Pseudonym​

public string Pseudonym { get; set; }

Retorno

string


SerialNumber​

public string SerialNumber { get; set; }

Retorno

string


StateName​

public string StateName { get; set; }

Retorno

string


Surname​

public string Surname { get; set; }

Retorno

string


TelephoneNumber​

The telephone number, as defined by X.520 (id-at-telephoneNumber)

public string TelephoneNumber { get; }

Retorno

string


Title​

public string Title { get; set; }

Retorno

string


Métodos​

GetAllValues()​

Returns all the values present on this Name

public Dictionary<string, List<string>> GetAllValues()

Retorno

Dictionary<string, List<string>>


GetValue(string)​

Returns the value associated with a given key OID.

public string GetValue(string oid)

Parâmetros

NomeTipoDescrição
oidstring

Retorno

string — The value associated with the given key OID. If the given key is not present, returns null. If multiple values are present, returns a concatenation of the values separated by ", "

Comentários

See class Name.Oids for the known key OIDs.


GetValues(string)​

Returns the collection of values associated with a given key OID

public List<string> GetValues(string oid)

Parâmetros

NomeTipoDescrição
oidstring

Retorno

List<string> — The values associated with the given key OID. If the given key is not present, an empty list is returned.


Membros herdados​

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

Ver em Markdown