Lines Matching refs:eHash
43 bool ScPassHashHelper::needsPassHashRegen(const ScDocument& rDoc, ScPasswordHash eHash) in needsPassHashRegen() argument
48 if (!p->isPasswordEmpty() && !p->hasPasswordHash(eHash)) in needsPassHashRegen()
60 if (!p->isPasswordEmpty() && !p->hasPasswordHash(eHash)) in needsPassHashRegen()
78 …uno::Sequence<sal_Int8> hashPassword(const String& aPassText, ScPasswordHash eHash = PASSHASH_OOO);
88 bool hasPasswordHash(ScPasswordHash eHash) const;
90 ::com::sun::star::uno::Sequence<sal_Int8> getPasswordHash(ScPasswordHash eHash) const;
91 …h(const ::com::sun::star::uno::Sequence<sal_Int8>& aPassword, ScPasswordHash eHash = PASSHASH_OOO);
106 …quence<sal_Int8> ScTableProtectionImpl::hashPassword(const String& aPassText, ScPasswordHash eHash) in hashPassword() argument
109 switch (eHash) in hashPassword()
180 bool ScTableProtectionImpl::hasPasswordHash(ScPasswordHash eHash) const in hasPasswordHash()
188 if (meHash == eHash) in hasPasswordHash()
194 Sequence<sal_Int8> ScTableProtectionImpl::getPasswordHash(ScPasswordHash eHash) const in getPasswordHash()
202 return hashPassword(maPassText, eHash); in getPasswordHash()
204 if (meHash == eHash) in getPasswordHash()
212 …ableProtectionImpl::setPasswordHash(const uno::Sequence<sal_Int8>& aPassword, ScPasswordHash eHash) in setPasswordHash() argument
216 meHash = eHash; in setPasswordHash()
316 bool ScDocProtection::hasPasswordHash(ScPasswordHash eHash) const in hasPasswordHash()
318 return mpImpl->hasPasswordHash(eHash); in hasPasswordHash()
326 uno::Sequence<sal_Int8> ScDocProtection::getPasswordHash(ScPasswordHash eHash) const in getPasswordHash()
328 return mpImpl->getPasswordHash(eHash); in getPasswordHash()
331 …id ScDocProtection::setPasswordHash(const uno::Sequence<sal_Int8>& aPassword, ScPasswordHash eHash) in setPasswordHash() argument
333 mpImpl->setPasswordHash(aPassword, eHash); in setPasswordHash()
391 bool ScTableProtection::hasPasswordHash(ScPasswordHash eHash) const in hasPasswordHash()
393 return mpImpl->hasPasswordHash(eHash); in hasPasswordHash()
401 Sequence<sal_Int8> ScTableProtection::getPasswordHash(ScPasswordHash eHash) const in getPasswordHash()
403 return mpImpl->getPasswordHash(eHash); in getPasswordHash()
406 … ScTableProtection::setPasswordHash(const uno::Sequence<sal_Int8>& aPassword, ScPasswordHash eHash) in setPasswordHash() argument
408 mpImpl->setPasswordHash(aPassword, eHash); in setPasswordHash()