HsmClientCertificate.fromXml constructor

HsmClientCertificate.fromXml(
  1. XmlElement elem
)

Implementation

factory HsmClientCertificate.fromXml(_s.XmlElement elem) {
  return HsmClientCertificate(
    hsmClientCertificateIdentifier:
        _s.extractXmlStringValue(elem, 'HsmClientCertificateIdentifier'),
    hsmClientCertificatePublicKey:
        _s.extractXmlStringValue(elem, 'HsmClientCertificatePublicKey'),
    tags: _s.extractXmlChild(elem, 'Tags')?.let((elem) =>
        elem.findElements('Tag').map((c) => Tag.fromXml(c)).toList()),
  );
}