ServerCertificate.fromXml constructor

ServerCertificate.fromXml(
  1. XmlElement elem
)

Implementation

factory ServerCertificate.fromXml(_s.XmlElement elem) {
  return ServerCertificate(
    certificateBody: _s.extractXmlStringValue(elem, 'CertificateBody')!,
    serverCertificateMetadata: ServerCertificateMetadata.fromXml(
        _s.extractXmlChild(elem, 'ServerCertificateMetadata')!),
    certificateChain: _s.extractXmlStringValue(elem, 'CertificateChain'),
  );
}