code: func CalculateSPKI(cert *x509.Certificate) string {
  	sum := sha256.Sum256(cert.RawSubjectPublicKeyInfo)
  	return "sha256:" + hex.EncodeToString(sum[:])
  }
docs: // CalculateSPKI the hash value of the SPKI header in a certificate.