Lines Matching refs:rsa
20 from rsa._compat import is_bytes
21 from rsa.pem import _markers
22 import rsa.key
60 key = rsa.key.PublicKey.load_pkcs1_openssl_pem(public_key_pem)
64 key = rsa.key.PublicKey.load_pkcs1_openssl_pem(public_key_pem.encode('ascii'))
68 key = rsa.key.PrivateKey.load_pkcs1(private_key_pem)
72 key = rsa.key.PrivateKey.load_pkcs1(private_key_pem.encode('ascii'))
81 key = rsa.key.PublicKey.load_pkcs1_openssl_pem(public_key_pem)
86 key = rsa.key.PrivateKey.load_pkcs1(private_key_pem)
95 key = rsa.key.PublicKey.load_pkcs1_openssl_pem(public_key_pem.encode('ascii'))
100 key = rsa.key.PrivateKey.load_pkcs1(private_key_pem.encode('ascii'))