ExtendedKeyUsageOptions.fromJson constructor

ExtendedKeyUsageOptions.fromJson(
  1. Map _json
)

Implementation

ExtendedKeyUsageOptions.fromJson(core.Map _json)
    : this(
        clientAuth: _json.containsKey('clientAuth')
            ? _json['clientAuth'] as core.bool
            : null,
        codeSigning: _json.containsKey('codeSigning')
            ? _json['codeSigning'] as core.bool
            : null,
        emailProtection: _json.containsKey('emailProtection')
            ? _json['emailProtection'] as core.bool
            : null,
        ocspSigning: _json.containsKey('ocspSigning')
            ? _json['ocspSigning'] as core.bool
            : null,
        serverAuth: _json.containsKey('serverAuth')
            ? _json['serverAuth'] as core.bool
            : null,
        timeStamping: _json.containsKey('timeStamping')
            ? _json['timeStamping'] as core.bool
            : null,
      );