diff options
Diffstat (limited to 'xmlsecurity/source/xmlsec/nss/ciphercontext.hxx')
-rw-r--r-- | xmlsecurity/source/xmlsec/nss/ciphercontext.hxx | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/xmlsecurity/source/xmlsec/nss/ciphercontext.hxx b/xmlsecurity/source/xmlsec/nss/ciphercontext.hxx index 2ad8fc4ba62d..1574a6238bd4 100644 --- a/xmlsecurity/source/xmlsec/nss/ciphercontext.hxx +++ b/xmlsecurity/source/xmlsec/nss/ciphercontext.hxx @@ -43,8 +43,14 @@ private: PK11SymKey* m_pSymKey; SECItem* m_pSecParam; PK11Context* m_pContext; + sal_Int32 m_nBlockSize; + ::com::sun::star::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; @@ -56,8 +62,11 @@ private: , m_pSymKey( NULL ) , m_pSecParam( NULL ) , m_pContext( NULL ) - , m_bPadding( false ) , m_nBlockSize( 0 ) + , m_bEncryption( false ) + , m_bPadding( false ) + , m_bW3CPadding( false ) + , m_nConverted( 0 ) , m_bDisposed( false ) , m_bBroken( false ) {} @@ -69,7 +78,7 @@ public: Dispose(); } - static ::com::sun::star::uno::Reference< ::com::sun::star::xml::crypto::XCipherContext > Create( CK_MECHANISM_TYPE nNSSCipherID, const ::com::sun::star::uno::Sequence< ::sal_Int8 >& aKey, const ::com::sun::star::uno::Sequence< ::sal_Int8 >& aInitializationVector, bool bEncryption ); + static ::com::sun::star::uno::Reference< ::com::sun::star::xml::crypto::XCipherContext > Create( CK_MECHANISM_TYPE nNSSCipherID, const ::com::sun::star::uno::Sequence< ::sal_Int8 >& aKey, const ::com::sun::star::uno::Sequence< ::sal_Int8 >& aInitializationVector, bool bEncryption, bool bW3CPadding ); // XCipherContext virtual ::com::sun::star::uno::Sequence< ::sal_Int8 > SAL_CALL convertWithCipherContext( const ::com::sun::star::uno::Sequence< ::sal_Int8 >& aData ) throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::DisposedException, ::com::sun::star::uno::RuntimeException); |