CertificateConfig.fromJson constructor

CertificateConfig.fromJson(
  1. Map json_
)

Implementation

CertificateConfig.fromJson(core.Map json_)
    : this(
        publicKey: json_.containsKey('publicKey')
            ? PublicKey.fromJson(
                json_['publicKey'] as core.Map<core.String, core.dynamic>)
            : null,
        subjectConfig: json_.containsKey('subjectConfig')
            ? SubjectConfig.fromJson(
                json_['subjectConfig'] as core.Map<core.String, core.dynamic>)
            : null,
        subjectKeyId: json_.containsKey('subjectKeyId')
            ? CertificateConfigKeyId.fromJson(
                json_['subjectKeyId'] as core.Map<core.String, core.dynamic>)
            : null,
        x509Config: json_.containsKey('x509Config')
            ? X509Parameters.fromJson(
                json_['x509Config'] as core.Map<core.String, core.dynamic>)
            : null,
      );