KeyUsage.fromJson constructor
KeyUsage.fromJson(
- Map<String, dynamic> json
)
Implementation
factory KeyUsage.fromJson(Map<String, dynamic> json) {
return KeyUsage(
cRLSign: json['CRLSign'] as bool?,
dataEncipherment: json['DataEncipherment'] as bool?,
decipherOnly: json['DecipherOnly'] as bool?,
digitalSignature: json['DigitalSignature'] as bool?,
encipherOnly: json['EncipherOnly'] as bool?,
keyAgreement: json['KeyAgreement'] as bool?,
keyCertSign: json['KeyCertSign'] as bool?,
keyEncipherment: json['KeyEncipherment'] as bool?,
nonRepudiation: json['NonRepudiation'] as bool?,
);
}