'We used to map key types to public key blobs as strings.'

def getPublicKeys(self):

    keys = MockFactory.getPublicKeys(self)
    for (name, key) in keys.items()[:]:
        keys[name] = key.blob()
    return keys
