LibreOffice Module package (master) 1
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
CorrectSHA1DigestContext Class Reference

#include <sha1context.hxx>

Inheritance diagram for CorrectSHA1DigestContext:
[legend]
Collaboration diagram for CorrectSHA1DigestContext:
[legend]

Public Member Functions

virtual ~CorrectSHA1DigestContext () override
 
virtual void SAL_CALL updateDigest (const css::uno::Sequence<::sal_Int8 > &rData) override
 
virtual css::uno::Sequence<::sal_Int8 > SAL_CALL finalizeDigestAndDispose () override
 

Static Public Member Functions

static css::uno::Reference< css::xml::crypto::XDigestContext > Create ()
 

Private Member Functions

 CorrectSHA1DigestContext ()
 

Private Attributes

std::mutex m_Mutex
 
::comphelper::Hash m_Hash {::comphelper::HashType::SHA1}
 
bool m_bDisposed {false}
 

Detailed Description

Definition at line 49 of file sha1context.hxx.

Constructor & Destructor Documentation

◆ CorrectSHA1DigestContext()

CorrectSHA1DigestContext::CorrectSHA1DigestContext ( )
private

Definition at line 91 of file sha1context.cxx.

Referenced by Create().

◆ ~CorrectSHA1DigestContext()

CorrectSHA1DigestContext::~CorrectSHA1DigestContext ( )
overridevirtual

Definition at line 95 of file sha1context.cxx.

Member Function Documentation

◆ Create()

uno::Reference< xml::crypto::XDigestContext > CorrectSHA1DigestContext::Create ( )
static

Definition at line 86 of file sha1context.cxx.

References CorrectSHA1DigestContext().

◆ finalizeDigestAndDispose()

uno::Sequence<::sal_Int8 > SAL_CALL CorrectSHA1DigestContext::finalizeDigestAndDispose ( )
overridevirtual

Definition at line 108 of file sha1context.cxx.

References comphelper::Hash::finalize(), m_bDisposed, m_Hash, and m_Mutex.

◆ updateDigest()

void SAL_CALL CorrectSHA1DigestContext::updateDigest ( const css::uno::Sequence<::sal_Int8 > &  rData)
overridevirtual

Definition at line 99 of file sha1context.cxx.

References m_bDisposed, m_Hash, m_Mutex, and comphelper::Hash::update().

Member Data Documentation

◆ m_bDisposed

bool CorrectSHA1DigestContext::m_bDisposed {false}
private

Definition at line 54 of file sha1context.hxx.

Referenced by finalizeDigestAndDispose(), and updateDigest().

◆ m_Hash

::comphelper::Hash CorrectSHA1DigestContext::m_Hash {::comphelper::HashType::SHA1}
private

Definition at line 53 of file sha1context.hxx.

Referenced by finalizeDigestAndDispose(), and updateDigest().

◆ m_Mutex

std::mutex CorrectSHA1DigestContext::m_Mutex
private

Definition at line 52 of file sha1context.hxx.

Referenced by finalizeDigestAndDispose(), and updateDigest().


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