def _parse_pem_key(raw_key_input):
    offset = raw_key_input.find(b'-----BEGIN ')
    if offset != -1:
        return raw_key_input[offset:]
Identify and extract PEM keys.
dataset/ETHPy150Open google/oauth2client/oauth2client/_helpers.py/_parse_pem_key