LibreOffice Module xmlsecurity (master) 1
|
#include <ciphercontext.hxx>
Public Member Functions | |
virtual | ~OCipherContext () override |
virtual css::uno::Sequence< ::sal_Int8 > SAL_CALL | convertWithCipherContext (const css::uno::Sequence< ::sal_Int8 > &aData) override |
virtual css::uno::Sequence< ::sal_Int8 > SAL_CALL | finalizeCipherContextAndDispose () override |
Static Public Member Functions | |
static css::uno::Reference< css::xml::crypto::XCipherContext > | Create (CK_MECHANISM_TYPE nNSSCipherID, const css::uno::Sequence< ::sal_Int8 > &aKey, const css::uno::Sequence< ::sal_Int8 > &aInitializationVector, bool bEncryption, bool bW3CPadding) |
Private Member Functions | |
void | Dispose () |
OCipherContext () | |
Private Attributes | |
std::mutex | m_aMutex |
PK11SlotInfo * | m_pSlot |
PK11SymKey * | m_pSymKey |
SECItem * | m_pSecParam |
PK11Context * | m_pContext |
sal_Int32 | m_nBlockSize |
css::uno::Sequence< sal_Int8 > | m_aLastBlock |
bool | m_bEncryption |
bool | m_bPadding |
bool | m_bW3CPadding |
sal_Int64 | m_nConverted |
bool | m_bDisposed |
bool | m_bBroken |
Definition at line 29 of file ciphercontext.hxx.
|
inlineprivate |
Definition at line 52 of file ciphercontext.hxx.
Referenced by Create().
|
inlineoverridevirtual |
Definition at line 68 of file ciphercontext.hxx.
References Dispose().
|
overridevirtual |
Definition at line 93 of file ciphercontext.cxx.
References aData, Dispose(), m_aLastBlock, m_aMutex, m_bBroken, m_bDisposed, m_bEncryption, m_bW3CPadding, m_nBlockSize, m_nConverted, and m_pContext.
|
static |
Definition at line 32 of file ciphercontext.cxx.
References OCipherContext(), and SAL_MAX_INT8.
Referenced by ONSSInitializer::getCipherContext().
|
private |
Definition at line 64 of file ciphercontext.cxx.
References m_bDisposed, m_pContext, m_pSecParam, m_pSlot, and m_pSymKey.
Referenced by convertWithCipherContext(), finalizeCipherContextAndDispose(), and ~OCipherContext().
|
overridevirtual |
Definition at line 173 of file ciphercontext.cxx.
References Dispose(), m_aLastBlock, m_aMutex, m_bBroken, m_bDisposed, m_bEncryption, m_bPadding, m_bW3CPadding, m_nBlockSize, m_nConverted, m_pContext, and SAL_MAX_INT8.
|
private |
Definition at line 40 of file ciphercontext.hxx.
Referenced by convertWithCipherContext(), and finalizeCipherContextAndDispose().
|
private |
Definition at line 32 of file ciphercontext.hxx.
Referenced by convertWithCipherContext(), and finalizeCipherContextAndDispose().
|
private |
Definition at line 48 of file ciphercontext.hxx.
Referenced by convertWithCipherContext(), and finalizeCipherContextAndDispose().
|
private |
Definition at line 47 of file ciphercontext.hxx.
Referenced by convertWithCipherContext(), Dispose(), and finalizeCipherContextAndDispose().
|
private |
Definition at line 42 of file ciphercontext.hxx.
Referenced by convertWithCipherContext(), and finalizeCipherContextAndDispose().
|
private |
Definition at line 43 of file ciphercontext.hxx.
Referenced by finalizeCipherContextAndDispose().
|
private |
Definition at line 44 of file ciphercontext.hxx.
Referenced by convertWithCipherContext(), and finalizeCipherContextAndDispose().
|
private |
Definition at line 39 of file ciphercontext.hxx.
Referenced by convertWithCipherContext(), and finalizeCipherContextAndDispose().
|
private |
Definition at line 45 of file ciphercontext.hxx.
Referenced by convertWithCipherContext(), and finalizeCipherContextAndDispose().
|
private |
Definition at line 37 of file ciphercontext.hxx.
Referenced by convertWithCipherContext(), Dispose(), and finalizeCipherContextAndDispose().
|
private |
Definition at line 36 of file ciphercontext.hxx.
Referenced by Dispose().
|
private |
Definition at line 34 of file ciphercontext.hxx.
Referenced by Dispose().
|
private |
Definition at line 35 of file ciphercontext.hxx.
Referenced by Dispose().