Add mapping from algo OID to x509 SignatureAlgorithm for DSAWithSHA1
This commit is contained in:
Родитель
119fef08a0
Коммит
051715c972
|
@ -121,6 +121,7 @@ var SignatureAlgorithmToX509SignatureAlgorithm = map[string]x509.SignatureAlgori
|
|||
SignatureAlgorithmECDSAWithSHA256.String(): x509.ECDSAWithSHA256,
|
||||
SignatureAlgorithmECDSAWithSHA384.String(): x509.ECDSAWithSHA384,
|
||||
SignatureAlgorithmECDSAWithSHA512.String(): x509.ECDSAWithSHA512,
|
||||
SignatureAlgorithmDSAWithSHA1.String(): x509.DSAWithSHA1,
|
||||
}
|
||||
|
||||
// X509PublicKeyAlgorithmToPKIXAlgorithmIdentifier maps certificate public key
|
||||
|
|
Загрузка…
Ссылка в новой задаче