'Get the certificate for the local end of the given transport.
@param transport: an L{ISystemHandle} provider; the transport we will
@rtype: C{Class}
@raise: L{CertificateError}, if the given transport does not have a host
certificate.'

@classmethod
def hostFromTransport(Class, transport):

    return _handleattrhelper(Class, transport, 'host')
