/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
nsCString mAsciiHost;
int32_t mPort;
mozilla::OriginAttributes mOriginAttributes; bool mIsTemporary; // true: session only, false: stored on disk
nsCString mFingerprint;
private:
~nsCertOverride() = default;
};
// hash entry class class nsCertOverrideEntry final : public PLDHashEntryHdr { public: // Hash methods typedefconstchar* KeyType; typedefconstchar* KeyTypePointer;
// do nothing with aHost - we require mHead to be set before we're live! explicit nsCertOverrideEntry(KeyTypePointer aHostWithPortUTF8) {}
class nsCertOverrideService final : public nsICertOverrideService, public nsIObserver, public nsSupportsWeakReference, public nsIAsyncShutdownBlocker { public:
NS_DECL_THREADSAFE_ISUPPORTS
NS_DECL_NSICERTOVERRIDESERVICE
NS_DECL_NSIOBSERVER
NS_DECL_NSIASYNCSHUTDOWNBLOCKER
// Concatenates host name and the port number. If the port number is -1 then // port 443 is automatically used. This method ensures there is always a port // number separated with colon. staticvoid GetHostWithPort(const nsACString& aHostName, int32_t aPort,
nsACString& aRetval);
// Concatenates host name, port number, and origin attributes. staticvoid GetKeyString(const nsACString& aHostName, int32_t aPort, const mozilla::OriginAttributes& aOriginAttributes,
nsACString& aRetval);
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung ist noch experimentell.