summaryrefslogtreecommitdiff
path: root/xmlsecurity/source/framework/xmlencryptiontemplateimpl.cxx
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2004-11-26 13:55:17 +0000
committerRüdiger Timm <rt@openoffice.org>2004-11-26 13:55:17 +0000
commita1fb0e060c96b7a032672ebe7ab6d556274329f0 (patch)
tree37f45d9895ea96c00a4dc467965af00bae27cbd2 /xmlsecurity/source/framework/xmlencryptiontemplateimpl.cxx
parent57849918d5c7f877dcc3ee1f6cbd125f373b3dc7 (diff)
INTEGRATION: CWS xmlsec06 (1.1.1.1.2); FILE MERGED
2004/10/12 08:30:49 mmi 1.1.1.1.2.1: add error detail information Issue number: Submitted by: Reviewed by:
Diffstat (limited to 'xmlsecurity/source/framework/xmlencryptiontemplateimpl.cxx')
-rw-r--r--xmlsecurity/source/framework/xmlencryptiontemplateimpl.cxx23
1 files changed, 20 insertions, 3 deletions
diff --git a/xmlsecurity/source/framework/xmlencryptiontemplateimpl.cxx b/xmlsecurity/source/framework/xmlencryptiontemplateimpl.cxx
index b32f11caeeb8..72e8635137b8 100644
--- a/xmlsecurity/source/framework/xmlencryptiontemplateimpl.cxx
+++ b/xmlsecurity/source/framework/xmlencryptiontemplateimpl.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: xmlencryptiontemplateimpl.cxx,v $
*
- * $Revision: 1.1.1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: mt $ $Date: 2004-07-12 13:15:23 $
+ * last change: $Author: rt $ $Date: 2004-11-26 14:54:49 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -79,7 +79,11 @@ using ::rtl::OUString ;
using ::com::sun::star::xml::wrapper::XXMLElementWrapper ;
using ::com::sun::star::xml::crypto::XXMLEncryptionTemplate ;
-XMLEncryptionTemplateImpl :: XMLEncryptionTemplateImpl( const Reference< XMultiServiceFactory >& aFactory ) : m_xServiceManager( aFactory ) , m_xTemplate( NULL ) , m_xTarget( NULL ) {
+XMLEncryptionTemplateImpl :: XMLEncryptionTemplateImpl( const Reference< XMultiServiceFactory >& aFactory )
+ : m_xServiceManager( aFactory ),
+ m_xTemplate( NULL ),
+ m_xTarget( NULL ),
+ m_nStatus ( ::com::sun::star::xml::crypto::SecurityOperationStatus_STATUS_UNKNOWN ) {
}
XMLEncryptionTemplateImpl :: ~XMLEncryptionTemplateImpl() {
@@ -112,6 +116,19 @@ throw (com::sun::star::uno::RuntimeException)
return m_xTarget ;
}
+void SAL_CALL XMLEncryptionTemplateImpl::setStatus(
+ ::com::sun::star::xml::crypto::SecurityOperationStatus status )
+ throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException)
+{
+ m_nStatus = status;
+}
+
+::com::sun::star::xml::crypto::SecurityOperationStatus SAL_CALL XMLEncryptionTemplateImpl::getStatus( )
+ throw (::com::sun::star::uno::RuntimeException)
+{
+ return m_nStatus;
+}
+
/* XInitialization */
void SAL_CALL XMLEncryptionTemplateImpl :: initialize( const Sequence< Any >& aArguments ) throw( Exception, RuntimeException ) {
// TBD