Home
last modified time | relevance | path

Searched refs:rpIdHash (Results 1 – 25 of 26) sorted by relevance

12

/dports/security/nextcloud-twofactor_webauthn/twofactor_webauthn/vendor/web-auth/webauthn-lib/src/
H A DAuthenticatorData.php38 protected $rpIdHash; variable in Webauthn\\AuthenticatorData
60 …public function __construct(string $authData, string $rpIdHash, string $flags, int $signCount, ?At… argument
62 $this->rpIdHash = $rpIdHash;
77 return $this->rpIdHash;
H A DAuthenticatorAssertionResponseValidator.php169 $rpIdHash = hash('sha256', $facetId, true);
170 …Assertion::true(hash_equals($rpIdHash, $authenticatorAssertionResponse->getAuthenticatorData()->ge…
H A DAuthenticatorAttestationResponseValidator.php169 $rpIdHash = hash('sha256', $facetId, true);
170 …Assertion::true(hash_equals($rpIdHash, $attestationObject->getAuthData()->getRpIdHash()), 'rpId ha…
/dports/sysutils/ldap-account-manager/ldap-account-manager-7.3/lib/3rdParty/composer/web-auth/webauthn-lib/src/
H A DAuthenticatorData.php31 protected $rpIdHash; variable in Webauthn\\AuthenticatorData
60 …public function __construct(string $authData, string $rpIdHash, string $flags, int $signCount, ?At… argument
62 $this->rpIdHash = $rpIdHash;
77 return $this->rpIdHash;
H A DAuthenticatorAttestationResponseValidator.php95 $rpIdHash = hash('sha256', $rpId, true);
96 …Assertion::true(hash_equals($rpIdHash, $attestationObject->getAuthData()->getRpIdHash()), 'rpId ha…
H A DAuthenticatorAssertionResponseValidator.php137 $rpIdHash = hash('sha256', $rpId, true);
138 …Assertion::true(hash_equals($rpIdHash, $authenticatorAssertionResponse->getAuthenticatorData()->ge…
/dports/www/nextcloud/nextcloud/3rdparty/web-auth/webauthn-lib/src/
H A DAuthenticatorData.php38 protected $rpIdHash; variable in Webauthn\\AuthenticatorData
60 …public function __construct(string $authData, string $rpIdHash, string $flags, int $signCount, ?At… argument
62 $this->rpIdHash = $rpIdHash;
77 return $this->rpIdHash;
H A DAuthenticatorAssertionResponseValidator.php169 $rpIdHash = hash('sha256', $facetId, true);
170 …Assertion::true(hash_equals($rpIdHash, $authenticatorAssertionResponse->getAuthenticatorData()->ge…
H A DAuthenticatorAttestationResponseValidator.php169 $rpIdHash = hash('sha256', $facetId, true);
170 …Assertion::true(hash_equals($rpIdHash, $attestationObject->getAuthData()->getRpIdHash()), 'rpId ha…
/dports/www/firefox-esr/firefox-91.8.0/dom/webauthn/
H A DU2FHIDTokenManager.cpp168 CryptoBuffer rpIdHash, clientDataHash; in Register() local
170 nsresult rv = BuildTransactionHashes(rpId, aInfo.ClientDataJSON(), rpIdHash, in Register()
182 rpIdHash.Elements(), rpIdHash.Length(), in Register()
191 tid, rpIdHash, Nothing(), aInfo.ClientDataJSON(), aForceNoneAttestation)); in Register()
216 CryptoBuffer rpIdHash, clientDataHash; in Sign() local
218 nsresult rv = BuildTransactionHashes(rpId, aInfo.ClientDataJSON(), rpIdHash, in Sign()
226 appIds.AppendElement(rpIdHash.InfallibleClone()); in Sign()
261 Some(Transaction(tid, std::move(rpIdHash), std::move(appIdHashExt), in Sign()
H A DU2FSoftTokenManager.cpp632 CryptoBuffer rpIdHash, clientDataHash; in Register() local
634 nsresult rv = BuildTransactionHashes(rpId, aInfo.ClientDataJSON(), rpIdHash, in Register()
644 nsresult rv = IsRegistered(cred.id(), rpIdHash, isRegistered); in Register()
680 slot, mWrappingKey, const_cast<uint8_t*>(rpIdHash.Elements()), in Register()
681 rpIdHash.Length(), privKey); in Register()
689 1 + rpIdHash.Length() + clientDataHash.Length() + keyHandleItem->len + in Register()
699 (void)signedDataBuf.AppendElements(rpIdHash, mozilla::fallible); in Register()
751 rv = AssembleAttestationObject(rpIdHash, pubKeyBuf, keyHandleBuf, in Register()
810 CryptoBuffer rpIdHash, clientDataHash; in Sign() local
812 nsresult rv = BuildTransactionHashes(rpId, aInfo.ClientDataJSON(), rpIdHash, in Sign()
[all …]
H A DWebAuthnManager.cpp517 CryptoBuffer rpIdHash; in GetAssertion() local
518 if (!rpIdHash.SetLength(SHA256_LENGTH, fallible)) { in GetAssertion()
/dports/lang/spidermonkey78/firefox-78.9.0/dom/webauthn/
H A DU2FHIDTokenManager.cpp168 CryptoBuffer rpIdHash, clientDataHash; in Register() local
170 nsresult rv = BuildTransactionHashes(rpId, aInfo.ClientDataJSON(), rpIdHash, in Register()
182 rpIdHash.Elements(), rpIdHash.Length(), in Register()
191 tid, rpIdHash, Nothing(), aInfo.ClientDataJSON(), aForceNoneAttestation)); in Register()
216 CryptoBuffer rpIdHash, clientDataHash; in Sign() local
218 nsresult rv = BuildTransactionHashes(rpId, aInfo.ClientDataJSON(), rpIdHash, in Sign()
226 appIds.AppendElement(rpIdHash.InfallibleClone()); in Sign()
261 Some(Transaction(tid, std::move(rpIdHash), std::move(appIdHashExt), in Sign()
H A DU2FSoftTokenManager.cpp631 CryptoBuffer rpIdHash, clientDataHash; in Register() local
633 nsresult rv = BuildTransactionHashes(rpId, aInfo.ClientDataJSON(), rpIdHash, in Register()
643 nsresult rv = IsRegistered(cred.id(), rpIdHash, isRegistered); in Register()
679 slot, mWrappingKey, const_cast<uint8_t*>(rpIdHash.Elements()), in Register()
680 rpIdHash.Length(), privKey); in Register()
688 1 + rpIdHash.Length() + clientDataHash.Length() + keyHandleItem->len + in Register()
698 (void)signedDataBuf.AppendElements(rpIdHash, mozilla::fallible); in Register()
750 rv = AssembleAttestationObject(rpIdHash, pubKeyBuf, keyHandleBuf, in Register()
809 CryptoBuffer rpIdHash, clientDataHash; in Sign() local
811 nsresult rv = BuildTransactionHashes(rpId, aInfo.ClientDataJSON(), rpIdHash, in Sign()
[all …]
H A DWebAuthnManager.cpp512 CryptoBuffer rpIdHash; in GetAssertion() local
513 if (!rpIdHash.SetLength(SHA256_LENGTH, fallible)) { in GetAssertion()
/dports/www/firefox/firefox-99.0/dom/webauthn/
H A DU2FHIDTokenManager.cpp168 CryptoBuffer rpIdHash, clientDataHash; in Register() local
170 nsresult rv = BuildTransactionHashes(rpId, aInfo.ClientDataJSON(), rpIdHash, in Register()
182 rpIdHash.Elements(), rpIdHash.Length(), in Register()
191 tid, rpIdHash, Nothing(), aInfo.ClientDataJSON(), aForceNoneAttestation)); in Register()
216 CryptoBuffer rpIdHash, clientDataHash; in Sign() local
218 nsresult rv = BuildTransactionHashes(rpId, aInfo.ClientDataJSON(), rpIdHash, in Sign()
226 appIds.AppendElement(rpIdHash.InfallibleClone()); in Sign()
261 Some(Transaction(tid, std::move(rpIdHash), std::move(appIdHashExt), in Sign()
H A DU2FSoftTokenManager.cpp632 CryptoBuffer rpIdHash, clientDataHash; in Register() local
634 nsresult rv = BuildTransactionHashes(rpId, aInfo.ClientDataJSON(), rpIdHash, in Register()
644 nsresult rv = IsRegistered(cred.id(), rpIdHash, isRegistered); in Register()
680 slot, mWrappingKey, const_cast<uint8_t*>(rpIdHash.Elements()), in Register()
681 rpIdHash.Length(), privKey); in Register()
689 1 + rpIdHash.Length() + clientDataHash.Length() + keyHandleItem->len + in Register()
699 (void)signedDataBuf.AppendElements(rpIdHash, mozilla::fallible); in Register()
751 rv = AssembleAttestationObject(rpIdHash, pubKeyBuf, keyHandleBuf, in Register()
810 CryptoBuffer rpIdHash, clientDataHash; in Sign() local
812 nsresult rv = BuildTransactionHashes(rpId, aInfo.ClientDataJSON(), rpIdHash, in Sign()
[all …]
H A DWebAuthnManager.cpp515 CryptoBuffer rpIdHash; in GetAssertion() local
516 if (!rpIdHash.SetLength(SHA256_LENGTH, fallible)) { in GetAssertion()
/dports/mail/thunderbird/thunderbird-91.8.0/dom/webauthn/
H A DU2FHIDTokenManager.cpp168 CryptoBuffer rpIdHash, clientDataHash; in Register() local
170 nsresult rv = BuildTransactionHashes(rpId, aInfo.ClientDataJSON(), rpIdHash, in Register()
182 rpIdHash.Elements(), rpIdHash.Length(), in Register()
191 tid, rpIdHash, Nothing(), aInfo.ClientDataJSON(), aForceNoneAttestation)); in Register()
216 CryptoBuffer rpIdHash, clientDataHash; in Sign() local
218 nsresult rv = BuildTransactionHashes(rpId, aInfo.ClientDataJSON(), rpIdHash, in Sign()
226 appIds.AppendElement(rpIdHash.InfallibleClone()); in Sign()
261 Some(Transaction(tid, std::move(rpIdHash), std::move(appIdHashExt), in Sign()
H A DU2FSoftTokenManager.cpp632 CryptoBuffer rpIdHash, clientDataHash; in Register() local
634 nsresult rv = BuildTransactionHashes(rpId, aInfo.ClientDataJSON(), rpIdHash, in Register()
644 nsresult rv = IsRegistered(cred.id(), rpIdHash, isRegistered); in Register()
680 slot, mWrappingKey, const_cast<uint8_t*>(rpIdHash.Elements()), in Register()
681 rpIdHash.Length(), privKey); in Register()
689 1 + rpIdHash.Length() + clientDataHash.Length() + keyHandleItem->len + in Register()
699 (void)signedDataBuf.AppendElements(rpIdHash, mozilla::fallible); in Register()
751 rv = AssembleAttestationObject(rpIdHash, pubKeyBuf, keyHandleBuf, in Register()
810 CryptoBuffer rpIdHash, clientDataHash; in Sign() local
812 nsresult rv = BuildTransactionHashes(rpId, aInfo.ClientDataJSON(), rpIdHash, in Sign()
[all …]
H A DWebAuthnManager.cpp517 CryptoBuffer rpIdHash; in GetAssertion() local
518 if (!rpIdHash.SetLength(SHA256_LENGTH, fallible)) { in GetAssertion()
/dports/lang/spidermonkey60/firefox-60.9.0/dom/webauthn/
H A DWebAuthnManager.cpp280 CryptoBuffer rpIdHash; in MakeCredential() local
281 if (!rpIdHash.SetLength(SHA256_LENGTH, fallible)) { in MakeCredential()
294 srv = HashCString(hashService, rpId, rpIdHash); in MakeCredential()
420 WebAuthnMakeCredentialInfo info(origin, rpIdHash, clientDataHash, in MakeCredential()
433 mTransaction = Some(WebAuthnTransaction(promise, rpIdHash, clientDataJSON, in MakeCredential()
498 CryptoBuffer rpIdHash; in GetAssertion() local
499 if (!rpIdHash.SetLength(SHA256_LENGTH, fallible)) { in GetAssertion()
512 srv = HashCString(hashService, rpId, rpIdHash); in GetAssertion()
621 WebAuthnGetAssertionInfo info(origin, rpIdHash, clientDataHash, in GetAssertion()
635 Some(WebAuthnTransaction(promise, rpIdHash, clientDataJSON, in GetAssertion()
/dports/www/gitea/gitea-1.16.5/vendor/github.com/duo-labs/webauthn/protocol/
H A Dauthenticator.go221 func (a *AuthenticatorData) Verify(rpIdHash, appIDHash []byte, userVerificationRequired bool) error…
226 if !bytes.Equal(a.RPIDHash[:], rpIdHash) && !bytes.Equal(a.RPIDHash[:], appIDHash) {
227 …tion.WithInfo(fmt.Sprintf("RP Hash mismatch. Expected %x and Received %x\n", a.RPIDHash, rpIdHash))
H A Dattestation_u2f.go91 rpIdHash := att.AuthData.RPIDHash
122 verificationData.Write(rpIdHash)
/dports/lang/spidermonkey60/firefox-60.9.0/dom/u2f/
H A DU2F.cpp305 CryptoBuffer rpIdHash, clientDataHash; in Register() local
306 if (NS_FAILED(BuildTransactionHashes(cAppId, clientData, rpIdHash, in Register()
336 mOrigin, rpIdHash, clientDataHash, adjustedTimeoutMillis, excludeList, in Register()
447 CryptoBuffer rpIdHash, clientDataHash; in Sign() local
448 if (NS_FAILED(BuildTransactionHashes(cAppId, clientData, rpIdHash, in Sign()
472 WebAuthnGetAssertionInfo info(mOrigin, rpIdHash, clientDataHash, in Sign()

12