KeyUsageOptions.fromJson constructor

KeyUsageOptions.fromJson(
  1. Map _json
)

Implementation

KeyUsageOptions.fromJson(core.Map _json)
    : this(
        certSign: _json.containsKey('certSign')
            ? _json['certSign'] as core.bool
            : null,
        contentCommitment: _json.containsKey('contentCommitment')
            ? _json['contentCommitment'] as core.bool
            : null,
        crlSign: _json.containsKey('crlSign')
            ? _json['crlSign'] as core.bool
            : null,
        dataEncipherment: _json.containsKey('dataEncipherment')
            ? _json['dataEncipherment'] as core.bool
            : null,
        decipherOnly: _json.containsKey('decipherOnly')
            ? _json['decipherOnly'] as core.bool
            : null,
        digitalSignature: _json.containsKey('digitalSignature')
            ? _json['digitalSignature'] as core.bool
            : null,
        encipherOnly: _json.containsKey('encipherOnly')
            ? _json['encipherOnly'] as core.bool
            : null,
        keyAgreement: _json.containsKey('keyAgreement')
            ? _json['keyAgreement'] as core.bool
            : null,
        keyEncipherment: _json.containsKey('keyEncipherment')
            ? _json['keyEncipherment'] as core.bool
            : null,
      );