- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for checkSHA256 (0.27 sec)
-
cmd/kubeadm/app/util/pubkeypin/pubkeypin.go
} // in the end, just store the original hex string in memory (in lowercase) s.sha256Hashes[strings.ToLower(hash)] = true return nil } // checkSHA256 returns true if the certificate's "sha256" hash is pinned in the Set func (s *Set) checkSHA256(certificate *x509.Certificate) bool { actualHash := sha256.Sum256(certificate.RawSubjectPublicKeyInfo) actualHashHex := strings.ToLower(hex.EncodeToString(actualHash[:]))
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 13 11:38:39 UTC 2021 - 3.8K bytes - Viewed (0)