@classmethod
def from_pem_data(cls, data=None, filename=None):
    """Alternative constructor for loading from PEM format data."""
    msg = 'PEM data loading is not implemented for pure-python crypto.'
    msg += '  Please install M2Crypto to access this functionality.'
    raise NotImplementedError(msg)
