nsNSSCertHelper.h 589 B

123456789101112131415161718192021222324
  1. /* This Source Code Form is subject to the terms of the Mozilla Public
  2. * License, v. 2.0. If a copy of the MPL was not distributed with this
  3. * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
  4. #ifndef nsNSSCertHelper_h
  5. #define nsNSSCertHelper_h
  6. #ifndef INET6_ADDRSTRLEN
  7. #define INET6_ADDRSTRLEN 46
  8. #endif
  9. #include "certt.h"
  10. #include "nsString.h"
  11. uint32_t
  12. getCertType(CERTCertificate *cert);
  13. nsresult
  14. GetCertFingerprintByOidTag(CERTCertificate* nsscert,
  15. SECOidTag aOidTag,
  16. nsCString &fp);
  17. #endif // nsNSSCertHelper_h