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,
      );