Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(1)  |  Call(0)  |  Derive(1)  |  Import(0)
Provides PubKey instances based on username. Please note that the
username provided is not sanity checked and may be provided by an
untrusted user. 

src/c/r/crtauth-HEAD/test/roundtrip_test.py   crtauth(Download)
class DummyKeyProvider(key_provider.KeyProvider):
    def get_key(self, username):
        if username == 'noa':
            return rsa.RSAPublicKey(s)
        elif username == 'test':