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