toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return {
    'hash': hash,
    'signature': signature,
    'subjectDN': subjectDN,
    'issuerDN': issuerDN,
    'serialNumber': serialNumber,
    'notBefore': notBefore?.toIso8601String(),
    'notAfter': notAfter?.toIso8601String(),
    'publicKeyAlgorithm': publicKeyAlgorithm,
    'publicKeyFormat': publicKeyFormat,
    'publicKeyEncoded': publicKeyEncoded,
    'publicKey': publicKey,
    'publicKeyHash': publicKeyHash,
  };
}