Home
last modified time | relevance | path

Searched refs:aSecret (Results 1 – 25 of 37) sorted by relevance

12

/dports/www/firefox-esr/firefox-91.8.0/security/manager/ssl/
H A DCredentialManagerSecret.cpp53 nsresult CredentialManagerSecret::StoreSecret(const nsACString& aSecret, in StoreSecret() argument
55 if (aSecret.Length() > CRED_MAX_CREDENTIAL_BLOB_SIZE) { in StoreSecret()
60 aSecret.Length())); in StoreSecret()
67 cred.CredentialBlobSize = aSecret.Length(); in StoreSecret()
68 const nsCString& secret = PromiseFlatCString(aSecret); in StoreSecret()
98 /* out */ nsACString& aSecret) { in RetrieveSecret() argument
99 aSecret.Truncate(); in RetrieveSecret()
111 aSecret.Assign(reinterpret_cast<const char*>(pcred->CredentialBlob), in RetrieveSecret()
H A DNSSKeyStore.cpp106 nsresult NSSKeyStore::StoreSecret(const nsACString& aSecret, in StoreSecret() argument
124 uint8_t* p = BitwiseCast<uint8_t*, const char*>(aSecret.BeginReading()); in StoreSecret()
125 UniqueSECItem key(SECITEM_AllocItem(nullptr, nullptr, aSecret.Length())); in StoreSecret()
130 memcpy(key->data, p, aSecret.Length()); in StoreSecret()
131 key->len = aSecret.Length(); in StoreSecret()
223 /* out */ nsACString& aSecret) { in RetrieveSecret() argument
H A DKeychainSecret.cpp58 nsresult KeychainSecret::StoreSecret(const nsACString& aSecret, in StoreSecret() argument
90 nullptr, reinterpret_cast<const UInt8*>(aSecret.BeginReading()), in StoreSecret()
91 aSecret.Length())); in StoreSecret()
141 /* out */ nsACString& aSecret) { in RetrieveSecret() argument
183 aSecret.Assign(reinterpret_cast<const char*>(CFDataGetBytePtr(secret)), in RetrieveSecret()
H A DLibSecret.cpp305 nsresult LibSecret::StoreSecret(const nsACString& aSecret, in StoreSecret() argument
314 nsresult rv = Base64Encode(aSecret, base64); in StoreSecret()
355 /* out */ nsACString& aSecret) { in RetrieveSecret() argument
361 aSecret.Truncate(); in RetrieveSecret()
376 nsresult rv = Base64Decode(base64Encoded, aSecret); in RetrieveSecret()
H A DNSSKeyStore.h18 /* out */ nsACString& aSecret) override;
H A DOSKeyStore.h25 /* out */ nsACString& aSecret) = 0;
/dports/www/firefox/firefox-99.0/security/manager/ssl/
H A DCredentialManagerSecret.cpp53 nsresult CredentialManagerSecret::StoreSecret(const nsACString& aSecret, in StoreSecret() argument
55 if (aSecret.Length() > CRED_MAX_CREDENTIAL_BLOB_SIZE) { in StoreSecret()
60 aSecret.Length())); in StoreSecret()
67 cred.CredentialBlobSize = aSecret.Length(); in StoreSecret()
68 const nsCString& secret = PromiseFlatCString(aSecret); in StoreSecret()
98 /* out */ nsACString& aSecret) { in RetrieveSecret() argument
99 aSecret.Truncate(); in RetrieveSecret()
111 aSecret.Assign(reinterpret_cast<const char*>(pcred->CredentialBlob), in RetrieveSecret()
H A DNSSKeyStore.cpp106 nsresult NSSKeyStore::StoreSecret(const nsACString& aSecret, in StoreSecret() argument
124 uint8_t* p = BitwiseCast<uint8_t*, const char*>(aSecret.BeginReading()); in StoreSecret()
125 UniqueSECItem key(SECITEM_AllocItem(nullptr, nullptr, aSecret.Length())); in StoreSecret()
130 memcpy(key->data, p, aSecret.Length()); in StoreSecret()
131 key->len = aSecret.Length(); in StoreSecret()
223 /* out */ nsACString& aSecret) { in RetrieveSecret() argument
H A DKeychainSecret.cpp58 nsresult KeychainSecret::StoreSecret(const nsACString& aSecret, in StoreSecret() argument
90 nullptr, reinterpret_cast<const UInt8*>(aSecret.BeginReading()), in StoreSecret()
91 aSecret.Length())); in StoreSecret()
141 /* out */ nsACString& aSecret) { in RetrieveSecret() argument
183 aSecret.Assign(reinterpret_cast<const char*>(CFDataGetBytePtr(secret)), in RetrieveSecret()
H A DLibSecret.cpp305 nsresult LibSecret::StoreSecret(const nsACString& aSecret, in StoreSecret() argument
314 nsresult rv = Base64Encode(aSecret, base64); in StoreSecret()
355 /* out */ nsACString& aSecret) { in RetrieveSecret() argument
361 aSecret.Truncate(); in RetrieveSecret()
376 nsresult rv = Base64Decode(base64Encoded, aSecret); in RetrieveSecret()
H A DNSSKeyStore.h18 /* out */ nsACString& aSecret) override;
H A DOSKeyStore.h25 /* out */ nsACString& aSecret) = 0;
/dports/mail/thunderbird/thunderbird-91.8.0/security/manager/ssl/
H A DCredentialManagerSecret.cpp53 nsresult CredentialManagerSecret::StoreSecret(const nsACString& aSecret, in StoreSecret() argument
55 if (aSecret.Length() > CRED_MAX_CREDENTIAL_BLOB_SIZE) { in StoreSecret()
60 aSecret.Length())); in StoreSecret()
67 cred.CredentialBlobSize = aSecret.Length(); in StoreSecret()
68 const nsCString& secret = PromiseFlatCString(aSecret); in StoreSecret()
98 /* out */ nsACString& aSecret) { in RetrieveSecret() argument
99 aSecret.Truncate(); in RetrieveSecret()
111 aSecret.Assign(reinterpret_cast<const char*>(pcred->CredentialBlob), in RetrieveSecret()
H A DNSSKeyStore.cpp106 nsresult NSSKeyStore::StoreSecret(const nsACString& aSecret, in StoreSecret() argument
124 uint8_t* p = BitwiseCast<uint8_t*, const char*>(aSecret.BeginReading()); in StoreSecret()
125 UniqueSECItem key(SECITEM_AllocItem(nullptr, nullptr, aSecret.Length())); in StoreSecret()
130 memcpy(key->data, p, aSecret.Length()); in StoreSecret()
131 key->len = aSecret.Length(); in StoreSecret()
223 /* out */ nsACString& aSecret) { in RetrieveSecret() argument
H A DKeychainSecret.cpp58 nsresult KeychainSecret::StoreSecret(const nsACString& aSecret, in StoreSecret() argument
90 nullptr, reinterpret_cast<const UInt8*>(aSecret.BeginReading()), in StoreSecret()
91 aSecret.Length())); in StoreSecret()
141 /* out */ nsACString& aSecret) { in RetrieveSecret() argument
183 aSecret.Assign(reinterpret_cast<const char*>(CFDataGetBytePtr(secret)), in RetrieveSecret()
H A DLibSecret.cpp305 nsresult LibSecret::StoreSecret(const nsACString& aSecret, in StoreSecret() argument
314 nsresult rv = Base64Encode(aSecret, base64); in StoreSecret()
355 /* out */ nsACString& aSecret) { in RetrieveSecret() argument
361 aSecret.Truncate(); in RetrieveSecret()
376 nsresult rv = Base64Decode(base64Encoded, aSecret); in RetrieveSecret()
H A DNSSKeyStore.h18 /* out */ nsACString& aSecret) override;
H A DOSKeyStore.h25 /* out */ nsACString& aSecret) = 0;
/dports/lang/spidermonkey78/firefox-78.9.0/security/manager/ssl/
H A DCredentialManagerSecret.cpp53 nsresult CredentialManagerSecret::StoreSecret(const nsACString& aSecret, in StoreSecret() argument
55 if (aSecret.Length() > CRED_MAX_CREDENTIAL_BLOB_SIZE) { in StoreSecret()
60 aSecret.Length())); in StoreSecret()
67 cred.CredentialBlobSize = aSecret.Length(); in StoreSecret()
68 const nsCString& secret = PromiseFlatCString(aSecret); in StoreSecret()
98 /* out */ nsACString& aSecret) { in RetrieveSecret() argument
99 aSecret.Truncate(); in RetrieveSecret()
111 aSecret.Assign(reinterpret_cast<const char*>(pcred->CredentialBlob), in RetrieveSecret()
H A DNSSKeyStore.cpp106 nsresult NSSKeyStore::StoreSecret(const nsACString& aSecret, in StoreSecret() argument
126 uint8_t* p = BitwiseCast<uint8_t*, const char*>(aSecret.BeginReading()); in StoreSecret()
127 UniqueSECItem key(SECITEM_AllocItem(nullptr, nullptr, aSecret.Length())); in StoreSecret()
132 memcpy(key->data, p, aSecret.Length()); in StoreSecret()
133 key->len = aSecret.Length(); in StoreSecret()
225 /* out */ nsACString& aSecret) { in RetrieveSecret() argument
H A DKeychainSecret.cpp58 nsresult KeychainSecret::StoreSecret(const nsACString& aSecret, in StoreSecret() argument
90 nullptr, reinterpret_cast<const UInt8*>(aSecret.BeginReading()), in StoreSecret()
91 aSecret.Length())); in StoreSecret()
141 /* out */ nsACString& aSecret) { in RetrieveSecret() argument
183 aSecret.Assign(reinterpret_cast<const char*>(CFDataGetBytePtr(secret)), in RetrieveSecret()
H A DLibSecret.cpp305 nsresult LibSecret::StoreSecret(const nsACString& aSecret, in StoreSecret() argument
314 nsresult rv = Base64Encode(aSecret, base64); in StoreSecret()
355 /* out */ nsACString& aSecret) { in RetrieveSecret() argument
361 aSecret.Truncate(); in RetrieveSecret()
376 nsresult rv = Base64Decode(base64Encoded, aSecret); in RetrieveSecret()
H A DNSSKeyStore.h18 /* out */ nsACString& aSecret) override;
H A DOSKeyStore.h25 /* out */ nsACString& aSecret) = 0;
/dports/www/firefox-legacy/firefox-52.8.0esr/netwerk/cache2/
H A DCacheEntry.h143 bool aReadOnly, bool aCheckOnAnyThread, bool aSecret);

12