toJson method
Implementation
Map<String, dynamic> toJson() {
final cRLSign = this.cRLSign;
final dataEncipherment = this.dataEncipherment;
final decipherOnly = this.decipherOnly;
final digitalSignature = this.digitalSignature;
final encipherOnly = this.encipherOnly;
final keyAgreement = this.keyAgreement;
final keyCertSign = this.keyCertSign;
final keyEncipherment = this.keyEncipherment;
final nonRepudiation = this.nonRepudiation;
return {
if (cRLSign != null) 'CRLSign': cRLSign,
if (dataEncipherment != null) 'DataEncipherment': dataEncipherment,
if (decipherOnly != null) 'DecipherOnly': decipherOnly,
if (digitalSignature != null) 'DigitalSignature': digitalSignature,
if (encipherOnly != null) 'EncipherOnly': encipherOnly,
if (keyAgreement != null) 'KeyAgreement': keyAgreement,
if (keyCertSign != null) 'KeyCertSign': keyCertSign,
if (keyEncipherment != null) 'KeyEncipherment': keyEncipherment,
if (nonRepudiation != null) 'NonRepudiation': nonRepudiation,
};
}