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

@classmethod
def peerFromTransport(Class, transport):

    return _handleattrhelper(Class, transport, 'peer')
