toMap method
Implementation
Map<String, dynamic> toMap() {
return {
"basicConstraints": basicConstraints?.toMap(),
"subjectAlternativeNames": subjectAlternativeNames,
"issuerAlternativeNames": issuerAlternativeNames,
"extendedKeyUsage": extendedKeyUsage,
"issuerDistinguishedName": issuerDistinguishedName,
"keyUsage": keyUsage,
"notAfter": notAfter,
"notBefore": notBefore,
"serialNumber": serialNumber,
"sigAlgName": sigAlgName,
"sigAlgOID": sigAlgOID,
"sigAlgParams": sigAlgParams,
"signature": signature,
"subjectDistinguishedName": subjectDistinguishedName,
"version": version,
"criticalExtensionOIDs": criticalExtensionOIDs,
"nonCriticalExtensionOIDs": nonCriticalExtensionOIDs,
"encoded": encoded,
"publicKey": publicKey?.toMap(),
"subjectKeyIdentifier": subjectKeyIdentifier?.toMap(),
"authorityKeyIdentifier": authorityKeyIdentifier?.toMap(),
"certificatePolicies": certificatePolicies?.toMap(),
"cRLDistributionPoints": cRLDistributionPoints?.toMap(),
"authorityInfoAccess": authorityInfoAccess?.toMap(),
};
}