michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: #ifndef _NSNSSCERTHELPER_H_ michael@0: #define _NSNSSCERTHELPER_H_ michael@0: michael@0: #ifndef INET6_ADDRSTRLEN michael@0: #define INET6_ADDRSTRLEN 46 michael@0: #endif michael@0: michael@0: #include "certt.h" michael@0: #include "nsString.h" michael@0: michael@0: uint32_t michael@0: getCertType(CERTCertificate *cert); michael@0: michael@0: CERTCertNicknames * michael@0: getNSSCertNicknamesFromCertList(CERTCertList *certList); michael@0: michael@0: nsresult michael@0: GetCertFingerprintByOidTag(CERTCertificate* nsscert, michael@0: SECOidTag aOidTag, michael@0: nsCString &fp); michael@0: michael@0: #endif