SubjectDescription.fromJson constructor

SubjectDescription.fromJson(
  1. Map json_
)

Implementation

SubjectDescription.fromJson(core.Map json_)
    : this(
        hexSerialNumber: json_['hexSerialNumber'] as core.String?,
        lifetime: json_['lifetime'] as core.String?,
        notAfterTime: json_['notAfterTime'] as core.String?,
        notBeforeTime: json_['notBeforeTime'] as core.String?,
        subject: json_.containsKey('subject')
            ? Subject.fromJson(
                json_['subject'] as core.Map<core.String, core.dynamic>)
            : null,
        subjectAltName: json_.containsKey('subjectAltName')
            ? SubjectAltNames.fromJson(json_['subjectAltName']
                as core.Map<core.String, core.dynamic>)
            : null,
      );