ASN1Subject.fromJson constructor

ASN1Subject.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory ASN1Subject.fromJson(Map<String, dynamic> json) {
  return ASN1Subject(
    commonName: json['CommonName'] as String?,
    country: json['Country'] as String?,
    distinguishedNameQualifier: json['DistinguishedNameQualifier'] as String?,
    generationQualifier: json['GenerationQualifier'] as String?,
    givenName: json['GivenName'] as String?,
    initials: json['Initials'] as String?,
    locality: json['Locality'] as String?,
    organization: json['Organization'] as String?,
    organizationalUnit: json['OrganizationalUnit'] as String?,
    pseudonym: json['Pseudonym'] as String?,
    serialNumber: json['SerialNumber'] as String?,
    state: json['State'] as String?,
    surname: json['Surname'] as String?,
    title: json['Title'] as String?,
  );
}