LibreOffice Module sc (master) 1
Public Member Functions | Public Attributes | List of all members
ScOoxPasswordHash Struct Reference

OOXML password definitions: algorithmName, hashValue, saltValue, spinCount. More...

#include <tabprotection.hxx>

Public Member Functions

 ScOoxPasswordHash ()
 spin count, iteration runs More...
 
bool hasPassword () const
 
void clear ()
 
bool verifyPassword (const OUString &aPassText) const
 

Public Attributes

OUString maAlgorithmName
 
OUString maHashValue
 "SHA-512", ... More...
 
OUString maSaltValue
 base64 encoded hash value More...
 
sal_uInt32 mnSpinCount
 base64 encoded salt value More...
 

Detailed Description

OOXML password definitions: algorithmName, hashValue, saltValue, spinCount.

Definition at line 41 of file tabprotection.hxx.

Constructor & Destructor Documentation

◆ ScOoxPasswordHash()

ScOoxPasswordHash::ScOoxPasswordHash ( )
inline

spin count, iteration runs

Definition at line 48 of file tabprotection.hxx.

Member Function Documentation

◆ clear()

void ScOoxPasswordHash::clear ( )
inline

Definition at line 50 of file tabprotection.hxx.

References maHashValue, and maSaltValue.

Referenced by ScTableProtectionImpl::setPassword().

◆ hasPassword()

bool ScOoxPasswordHash::hasPassword ( ) const
inline

◆ verifyPassword()

bool ScOoxPasswordHash::verifyPassword ( const OUString &  aPassText) const

Member Data Documentation

◆ maAlgorithmName

OUString ScOoxPasswordHash::maAlgorithmName

◆ maHashValue

OUString ScOoxPasswordHash::maHashValue

◆ maSaltValue

OUString ScOoxPasswordHash::maSaltValue

◆ mnSpinCount

sal_uInt32 ScOoxPasswordHash::mnSpinCount

The documentation for this struct was generated from the following files: