net/data/ssl/scripts/crlsetutil.py
def pem_cert_file_to_spki_hash(pem_filename):
  """Gets the SHA-256 hash of the subjectPublicKeyInfo of a cert in a file

  Args:
    pem_filename: A file containing a PEM-encoded certificate.

  Returns:
    The SHA-256 hash of the first certificate in the file, as a byte sequence
  """
  return der_cert_to_spki_hash(_pem_cert_to_binary(pem_filename))
Gets the SHA-256 hash of the subjectPublicKeyInfo of a cert in a file

  Args:
    pem_filename: A file containing a PEM-encoded certificate.

  Returns:
    The SHA-256 hash of the first certificate in the file, as a byte sequence
  
Gets the SHA-256 hash of the subjectPublicKeyInfo of a cert in a file
Gets the SHA - 256 hash of the subjectPublicKeyInfo of a cert in a file
def pem_cert_file_to_spki_hash(pem_filename):
  return der_cert_to_spki_hash(_pem_cert_to_binary(pem_filename))
def pem_cert_file_to_spki_hash ( pem_filename ) : return der_cert_to_spki_hash ( _pem_cert_to_binary ( pem_filename ) )
Gets the SHA-256 hash of the subjectPublicKeyInfo of a cert in a file
Gets the SHA - 256 hash of the subjectPublicKeyInfo of a cert in a file
"""Gets the SHA-256 hash of the subjectPublicKeyInfo of a cert in a file

  Args:
    pem_filename: A file containing a PEM-encoded certificate.

  Returns:
    The SHA-256 hash of the first certificate in the file, as a byte sequence
  """
The SHA-256 hash of the first certificate in the file, as a byte sequence
The SHA - 256 hash of the first certificate in the file as a byte sequence
pem_filename
A file containing a PEM-encoded certificate.
A file containing a PEM - encoded certificate .