# Functions
GetSpiffeIdFromCert will search a x509 certificate for a trust domain encoded as a spiffe:// URI SAN.
GetSpiffeIdFromCertChain cycles through a slice of certificates that goes from leaf up CAs.
GetSpiffeIdFromTlsCertChain will search a tls certificate chain for a trust domain encoded as a spiffe:// URI SAN.