toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final keyAlgorithm = this.keyAlgorithm;
  final signingAlgorithm = this.signingAlgorithm;
  final subject = this.subject;
  final csrExtensions = this.csrExtensions;
  return {
    'KeyAlgorithm': keyAlgorithm.toValue(),
    'SigningAlgorithm': signingAlgorithm.toValue(),
    'Subject': subject,
    if (csrExtensions != null) 'CsrExtensions': csrExtensions,
  };
}