/* *ThisSourceCodeFormissubjecttothetermsoftheMozillaPublic *License,v.2.0.IfacopyoftheMPLwasnotdistributedwiththis
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
class PKCS11Token : public nsIPKCS11Token {
public:
NS_DECL_ISUPPORTS
NS_DECL_NSIPKCS11TOKEN
explicit PKCS11Token(PK11SlotInfo* slot);
PKCS11Token();
nsresult Init();
protected:
virtual ~PKCS11Token() = default;
private:
nsresult refreshTokenInfo();
nsCString mTokenName;
nsCString mTokenManufacturerID;
nsCString mTokenHWVersion;
nsCString mTokenFWVersion;
nsCString mTokenSerialNum;
mozilla::UniquePK11SlotInfo mSlot; // True if this is the "PKCS#11 token" that provides cryptographic functions. bool mIsInternalCryptoToken; // True if this is the "PKCS#11 token" where private keys are stored. bool mIsInternalKeyToken; int mSeries;
nsCOMPtr<nsIInterfaceRequestor> mUIContext;
nsresult GetAttributeHelper(const nsACString& attribute, /*out*/ nsACString& xpcomOutParam);
};
#endif// PKCS11Token_h
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.17 Sekunden
(vorverarbeitet am 2026-08-25)
¤
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 und die Messung sind noch experimentell.