go
go copied to clipboard
`getSignatureAlgorithm` returns based on the intermediate certificate
getSignatureAlgorithm should return the signature algorithm of a certificate, but returns the signature algorithm of the certificate's parent (the intermediate cert.)
It also doesn't support RSA leaf certificates at all.