Module: Miscellaneous
Definition in file PKIFNSSUtils.h.
#include "PKIFNSSConfig.h"
#include "ToolkitUtils.h"
Go to the source code of this file.
Functions | |
SECOidTag | NSSHashAlg (PKIFCRYPTO::HASH_ALG ha) |
SECOidTag NSSHashAlg | ( | PKIFCRYPTO::HASH_ALG | ha | ) |
Interface: Module
Map a PKIF hash algorithm to one for NSS
Not currently needed, but will be once we move off the verification call that NSS 3.12 deprecates. I did not realize that its replacement was not in 3.11.4 when I wrote this function, but it can live anyway.
Definition at line 21 of file PKIFNSSUtils.cpp.
References PKIFCRYPTO::MD5, PKIFCRYPTO::SHA1, PKIFCRYPTO::SHA256, PKIFCRYPTO::SHA384, and PKIFCRYPTO::SHA512.
Referenced by CPKIFNSS::Sign().