summaryrefslogtreecommitdiff
path: root/offapi/com/sun/star/xml/crypto
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2012-01-28 20:57:40 +0100
committerMichael Stahl <mstahl@redhat.com>2012-01-28 20:57:40 +0100
commit2716f7dce26f16a2b677c178aa7d01cea096ae47 (patch)
tree9e9f67205cd5b72f1031721273e1534a3a1e5b0f /offapi/com/sun/star/xml/crypto
parent10ac9e750447fd57e3cef7993b0ad6c6538d6269 (diff)
replace obsolete "master" branch with README that points at new repoHEADmaster-deletedmaster
Diffstat (limited to 'offapi/com/sun/star/xml/crypto')
-rw-r--r--offapi/com/sun/star/xml/crypto/CipherID.idl60
-rw-r--r--offapi/com/sun/star/xml/crypto/DigestID.idl72
-rw-r--r--offapi/com/sun/star/xml/crypto/SEInitializer.idl50
-rw-r--r--offapi/com/sun/star/xml/crypto/SecurityEnvironment.idl58
-rw-r--r--offapi/com/sun/star/xml/crypto/SecurityOperationStatus.idl150
-rw-r--r--offapi/com/sun/star/xml/crypto/XCipherContext.idl89
-rw-r--r--offapi/com/sun/star/xml/crypto/XCipherContextSupplier.idl91
-rw-r--r--offapi/com/sun/star/xml/crypto/XDigestContext.idl74
-rw-r--r--offapi/com/sun/star/xml/crypto/XDigestContextSupplier.idl83
-rw-r--r--offapi/com/sun/star/xml/crypto/XMLEncryption.idl55
-rw-r--r--offapi/com/sun/star/xml/crypto/XMLEncryptionException.idl53
-rw-r--r--offapi/com/sun/star/xml/crypto/XMLEncryptionTemplate.idl56
-rw-r--r--offapi/com/sun/star/xml/crypto/XMLSecurityContext.idl56
-rw-r--r--offapi/com/sun/star/xml/crypto/XMLSignature.idl56
-rw-r--r--offapi/com/sun/star/xml/crypto/XMLSignatureException.idl53
-rw-r--r--offapi/com/sun/star/xml/crypto/XMLSignatureTemplate.idl56
-rw-r--r--offapi/com/sun/star/xml/crypto/XSEInitializer.idl65
-rw-r--r--offapi/com/sun/star/xml/crypto/XSecurityEnvironment.idl115
-rw-r--r--offapi/com/sun/star/xml/crypto/XUriBinding.idl72
-rw-r--r--offapi/com/sun/star/xml/crypto/XXMLEncryption.idl85
-rw-r--r--offapi/com/sun/star/xml/crypto/XXMLEncryptionTemplate.idl96
-rw-r--r--offapi/com/sun/star/xml/crypto/XXMLSecurityContext.idl82
-rw-r--r--offapi/com/sun/star/xml/crypto/XXMLSecurityTemplate.idl88
-rw-r--r--offapi/com/sun/star/xml/crypto/XXMLSignature.idl87
-rw-r--r--offapi/com/sun/star/xml/crypto/XXMLSignatureTemplate.idl84
-rw-r--r--offapi/com/sun/star/xml/crypto/makefile.mk72
-rw-r--r--offapi/com/sun/star/xml/crypto/sax/ConstOfSecurityId.idl48
-rw-r--r--offapi/com/sun/star/xml/crypto/sax/Decryptor.idl64
-rw-r--r--offapi/com/sun/star/xml/crypto/sax/ElementMarkPriority.idl64
-rw-r--r--offapi/com/sun/star/xml/crypto/sax/ElementMarkType.idl53
-rw-r--r--offapi/com/sun/star/xml/crypto/sax/ElementStackItem.idl64
-rw-r--r--offapi/com/sun/star/xml/crypto/sax/Encryptor.idl66
-rw-r--r--offapi/com/sun/star/xml/crypto/sax/SAXEventKeeper.idl62
-rw-r--r--offapi/com/sun/star/xml/crypto/sax/SignatureCreator.idl65
-rw-r--r--offapi/com/sun/star/xml/crypto/sax/SignatureVerifier.idl66
-rw-r--r--offapi/com/sun/star/xml/crypto/sax/XBlockerMonitor.idl60
-rw-r--r--offapi/com/sun/star/xml/crypto/sax/XDecryptionResultBroadcaster.idl75
-rw-r--r--offapi/com/sun/star/xml/crypto/sax/XDecryptionResultListener.idl64
-rw-r--r--offapi/com/sun/star/xml/crypto/sax/XElementStackKeeper.idl74
-rw-r--r--offapi/com/sun/star/xml/crypto/sax/XEncryptionResultBroadcaster.idl75
-rw-r--r--offapi/com/sun/star/xml/crypto/sax/XEncryptionResultListener.idl64
-rw-r--r--offapi/com/sun/star/xml/crypto/sax/XKeyCollector.idl61
-rw-r--r--offapi/com/sun/star/xml/crypto/sax/XMissionTaker.idl60
-rw-r--r--offapi/com/sun/star/xml/crypto/sax/XReferenceCollector.idl70
-rw-r--r--offapi/com/sun/star/xml/crypto/sax/XReferenceResolvedBroadcaster.idl82
-rw-r--r--offapi/com/sun/star/xml/crypto/sax/XReferenceResolvedListener.idl61
-rw-r--r--offapi/com/sun/star/xml/crypto/sax/XSAXEventKeeper.idl146
-rw-r--r--offapi/com/sun/star/xml/crypto/sax/XSAXEventKeeperStatusChangeBroadcaster.idl76
-rw-r--r--offapi/com/sun/star/xml/crypto/sax/XSAXEventKeeperStatusChangeListener.idl78
-rw-r--r--offapi/com/sun/star/xml/crypto/sax/XSecurityController.idl55
-rw-r--r--offapi/com/sun/star/xml/crypto/sax/XSecuritySAXEventKeeper.idl93
-rw-r--r--offapi/com/sun/star/xml/crypto/sax/XSignatureCreationResultBroadcaster.idl76
-rw-r--r--offapi/com/sun/star/xml/crypto/sax/XSignatureCreationResultListener.idl64
-rw-r--r--offapi/com/sun/star/xml/crypto/sax/XSignatureVerifyResultBroadcaster.idl76
-rw-r--r--offapi/com/sun/star/xml/crypto/sax/XSignatureVerifyResultListener.idl64
55 files changed, 0 insertions, 3984 deletions
diff --git a/offapi/com/sun/star/xml/crypto/CipherID.idl b/offapi/com/sun/star/xml/crypto/CipherID.idl
deleted file mode 100644
index 10b058167..000000000
--- a/offapi/com/sun/star/xml/crypto/CipherID.idl
+++ /dev/null
@@ -1,60 +0,0 @@
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-#ifndef __com_sun_star_xml_crypto_CipherID_idl__
-#define __com_sun_star_xml_crypto_CipherID_idl__
-
-
-//============================================================================
-
-module com { module sun { module star { module xml { module crypto {
-
-//============================================================================
-/** The constant set contains identifiers of supported cipher-creation
- algorithms.
-
- @see <type>XCipherContextSupplier</type>
- @since OOo 3.4
-*/
-constants CipherID
-{
- //------------------------------------------------------------------------
- /** identifier of AES algorithm in CBC mode with W3C padding
- */
- const long AES_CBC_W3C_PADDING = 1;
-
- //------------------------------------------------------------------------
- /** identifier of the Blowfish algorithm in 8-bit CFB mode
- */
- const long BLOWFISH_CFB_8 = 2;
-};
-
-//============================================================================
-
-}; }; }; }; };
-
-#endif
-
diff --git a/offapi/com/sun/star/xml/crypto/DigestID.idl b/offapi/com/sun/star/xml/crypto/DigestID.idl
deleted file mode 100644
index 14eb822de..000000000
--- a/offapi/com/sun/star/xml/crypto/DigestID.idl
+++ /dev/null
@@ -1,72 +0,0 @@
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-#ifndef __com_sun_star_xml_crypto_DigestID_idl__
-#define __com_sun_star_xml_crypto_DigestID_idl__
-
-
-//============================================================================
-
-module com { module sun { module star { module xml { module crypto {
-
-//============================================================================
-/** The constant set contains identifiers of supported digest-creation
- algorithms.
-
- @see <type>XDigestContextSupplier</type>
- @since OOo 3.4
-*/
-constants DigestID
-{
- //------------------------------------------------------------------------
- /** identifier of SHA-1 algorithm
- */
- const long SHA1 = 1;
-
- //------------------------------------------------------------------------
- /** identifier of SHA-256 algorithm
- */
- const long SHA256 = 2;
-
- //------------------------------------------------------------------------
- /** identifier of SHA-1 algorithm that is applied to the first kilobyte
- of data.
- */
- const long SHA1_1K = 3;
-
- //------------------------------------------------------------------------
- /** identifier of SHA-256 algorithm that is applied to the first kilobyte
- of data.
- */
- const long SHA256_1K = 4;
-};
-
-//============================================================================
-
-}; }; }; }; };
-
-#endif
-
diff --git a/offapi/com/sun/star/xml/crypto/SEInitializer.idl b/offapi/com/sun/star/xml/crypto/SEInitializer.idl
deleted file mode 100644
index fb415bd9b..000000000
--- a/offapi/com/sun/star/xml/crypto/SEInitializer.idl
+++ /dev/null
@@ -1,50 +0,0 @@
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-#ifndef __com_sun_star_xml_crypto_seinitializer_idl_
-#define __com_sun_star_xml_crypto_seinitializer_idl_
-
-#include <com/sun/star/xml/crypto/XSEInitializer.idl>
-#include <com/sun/star/xml/crypto/XCipherContextSupplier.idl>
-#include <com/sun/star/xml/crypto/XDigestContextSupplier.idl>
-
-module com { module sun { module star { module xml { module crypto {
-
-/**
- * Service of SEInitializer
- */
-service SEInitializer {
- interface ::com::sun::star::xml::crypto::XSEInitializer;
- interface ::com::sun::star::xml::crypto::XDigestContextSupplier;
- interface ::com::sun::star::xml::crypto::XCipherContextSupplier;
-};
-
-} ; } ; } ; } ; } ;
-
-
-#endif
-
diff --git a/offapi/com/sun/star/xml/crypto/SecurityEnvironment.idl b/offapi/com/sun/star/xml/crypto/SecurityEnvironment.idl
deleted file mode 100644
index aff74e5f5..000000000
--- a/offapi/com/sun/star/xml/crypto/SecurityEnvironment.idl
+++ /dev/null
@@ -1,58 +0,0 @@
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-//i20156 - new file for XML security module
-
-/** -- idl definition -- **/
-
-#ifndef __com_sun_star_xml_crypto_securityenvironment_idl_
-#define __com_sun_star_xml_crypto_securityenvironment_idl_
-
-#include <com/sun/star/uno/XInterface.idl>
-#include <com/sun/star/uno/Exception.idl>
-#include <com/sun/star/xml/crypto/XSecurityEnvironment.idl>
-#include <com/sun/star/lang/XUnoTunnel.idl>
-#include <com/sun/star/lang/XInitialization.idl>
-#include <com/sun/star/lang/XServiceInfo.idl>
-
-module com { module sun { module star { module xml { module crypto {
-
-/**
- * Service of XSecurityEnvironment
- */
-service SecurityEnvironment {
- interface com::sun::star::xml::crypto::XSecurityEnvironment ;
- interface com::sun::star::lang::XInitialization ;
- interface com::sun::star::lang::XUnoTunnel;
- interface com::sun::star::lang::XServiceInfo ;
-} ;
-
-} ; } ; } ; } ; } ;
-
-
-#endif
-
diff --git a/offapi/com/sun/star/xml/crypto/SecurityOperationStatus.idl b/offapi/com/sun/star/xml/crypto/SecurityOperationStatus.idl
deleted file mode 100644
index fd2529068..000000000
--- a/offapi/com/sun/star/xml/crypto/SecurityOperationStatus.idl
+++ /dev/null
@@ -1,150 +0,0 @@
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-//i20156 - new file for XML security module
-
-/** -- idl definition -- **/
-
-#ifndef __com_sun_star_xml_crypto_securityoperationstatus_idl_
-#define __com_sun_star_xml_crypto_securityoperationstatus_idl_
-
-module com { module sun { module star { module xml { module crypto {
-
-/**
- * Defines results for security operation.
- */
-enum SecurityOperationStatus
-{
- UNKNOWN,
- OPERATION_SUCCEEDED,
- RUNTIMEERROR_FAILED,
-/**
- * The following constants are derived from XMLSec error definitions, as following:
- *
- * XMLSEC_ERRORS_R_XMLSEC_FAILED
- * XMLSEC_ERRORS_R_MALLOC_FAILED
- * XMLSEC_ERRORS_R_STRDUP_FAILED
- * XMLSEC_ERRORS_R_CRYPTO_FAILED
- * XMLSEC_ERRORS_R_XML_FAILED
- * XMLSEC_ERRORS_R_XSLT_FAILED
- * XMLSEC_ERRORS_R_IO_FAILED
- * XMLSEC_ERRORS_R_DISABLED
- * XMLSEC_ERRORS_R_NOT_IMPLEMENTED
- * XMLSEC_ERRORS_R_INVALID_SIZE
- * XMLSEC_ERRORS_R_INVALID_DATA
- * XMLSEC_ERRORS_R_INVALID_RESULT
- * XMLSEC_ERRORS_R_INVALID_TYPE
- * XMLSEC_ERRORS_R_INVALID_OPERATION
- * XMLSEC_ERRORS_R_INVALID_STATUS
- * XMLSEC_ERRORS_R_INVALID_FORMAT
- * XMLSEC_ERRORS_R_DATA_NOT_MATCH
- * XMLSEC_ERRORS_R_INVALID_NODE
- * XMLSEC_ERRORS_R_INVALID_NODE_CONTENT
- * XMLSEC_ERRORS_R_INVALID_NODE_ATTRIBUTE
- * XMLSEC_ERRORS_R_MISSING_NODE_ATTRIBUTE
- * XMLSEC_ERRORS_R_NODE_ALREADY_PRESENT
- * XMLSEC_ERRORS_R_UNEXPECTED_NODE
- * XMLSEC_ERRORS_R_NODE_NOT_FOUND
- * XMLSEC_ERRORS_R_INVALID_TRANSFORM
- * XMLSEC_ERRORS_R_INVALID_TRANSFORM_KEY
- * XMLSEC_ERRORS_R_INVALID_URI_TYPE
- * XMLSEC_ERRORS_R_TRANSFORM_SAME_DOCUMENT_REQUIRED
- * XMLSEC_ERRORS_R_TRANSFORM_DISABLED
- * XMLSEC_ERRORS_R_INVALID_KEY_DATA
- * XMLSEC_ERRORS_R_KEY_DATA_NOT_FOUND
- * XMLSEC_ERRORS_R_KEY_DATA_ALREADY_EXIST
- * XMLSEC_ERRORS_R_INVALID_KEY_DATA_SIZE
- * XMLSEC_ERRORS_R_KEY_NOT_FOUND
- * XMLSEC_ERRORS_R_KEYDATA_DISABLED
- * XMLSEC_ERRORS_R_MAX_RETRIEVALS_LEVEL
- * XMLSEC_ERRORS_R_MAX_RETRIEVAL_TYPE_MISMATCH
- * XMLSEC_ERRORS_R_MAX_ENCKEY_LEVEL
- * XMLSEC_ERRORS_R_CERT_VERIFY_FAILED
- * XMLSEC_ERRORS_R_CERT_NOT_FOUND
- * XMLSEC_ERRORS_R_CERT_REVOKED
- * XMLSEC_ERRORS_R_CERT_ISSUER_FAILED
- * XMLSEC_ERRORS_R_CERT_NOT_YET_VALID
- * XMLSEC_ERRORS_R_CERT_HAS_EXPIRED
- * XMLSEC_ERRORS_R_DSIG_NO_REFERENCES
- * XMLSEC_ERRORS_R_DSIG_INVALID_REFERENCE
- * XMLSEC_ERRORS_R_ASSERTION
- * XMLSEC_ERRORS_MAX_NUMBER
- */
- ENGINE_FAILED,
- MALLOC_FAILED,
- STRDUP_FAILED,
- CRYPTO_FAILED,
- XML_FAILED,
- XSLT_FAILED,
- IO_FAILED,
- DISABLED,
- NOT_IMPLEMENTED,
- INVALID_SIZE,
- INVALID_DATA,
- INVALID_RESULT,
- INVALID_TYPE,
- INVALID_OPERATION,
- INVALID_STATUS,
- INVALID_FORMAT,
- DATA_NOT_MATCH,
- INVALID_NODE,
- INVALID_NODE_CONTENT,
- INVALID_NODE_ATTRIBUTE,
- MISSING_NODE_ATTRIBUTE,
- NODE_ALREADY_PRESENT,
- UNEXPECTED_NODE,
- NODE_NOT_FOUND,
- INVALID_TRANSFORM,
- INVALID_TRANSFORM_KEY,
- INVALID_URI_TYPE,
- TRANSFORM_SAME_DOCUMENT_REQUIRED,
- TRANSFORM_DISABLED,
- INVALID_KEY_DATA,
- KEY_DATA_NOT_FOUND,
- KEY_DATA_ALREADY_EXIST,
- INVALID_KEY_DATA_SIZE,
- KEY_NOT_FOUND,
- KEYDATA_DISABLED,
- MAX_RETRIEVALS_LEVEL,
- MAX_RETRIEVAL_TYPE_MISMATCH,
- MAX_ENCKEY_LEVEL,
- CERT_VERIFY_FAILED,
- CERT_NOT_FOUND,
- CERT_REVOKED,
- CERT_ISSUER_FAILED,
- CERT_NOT_YET_VALID,
- CERT_HAS_EXPIRED,
- DSIG_NO_REFERENCES,
- DSIG_INVALID_REFERENCE,
- ASSERTION
-};
-
-} ; } ; } ; } ; } ;
-
-
-#endif
-
diff --git a/offapi/com/sun/star/xml/crypto/XCipherContext.idl b/offapi/com/sun/star/xml/crypto/XCipherContext.idl
deleted file mode 100644
index d2c086163..000000000
--- a/offapi/com/sun/star/xml/crypto/XCipherContext.idl
+++ /dev/null
@@ -1,89 +0,0 @@
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-#ifndef __com_sun_star_xml_crypto_xciphercontext_idl_
-#define __com_sun_star_xml_crypto_xciphercontext_idl_
-
-#ifndef __com_sun_star_uno_XInterface_idl__
-#include <com/sun/star/uno/XInterface.idl>
-#endif
-
-#ifndef __com_sun_star_lang_IllegalArgumentException_idl__
-#include <com/sun/star/lang/IllegalArgumentException.idl>
-#endif
-
-#ifndef __com_sun_star_lang_DisposedException_idl__
-#include <com/sun/star/lang/DisposedException.idl>
-#endif
-
-//============================================================================
-
- module com { module sun { module star { module xml { module crypto {
-
-//============================================================================
-/** This interface allows to encrypt/decrypt data using the cipher context.
- <p>
- The algorithm as well as encryption data are specified on object creation.
- </p>
-
- @see <type>XCipherContextSupplier</type>
- @since OOo 3.4
- */
-interface XCipherContext : com::sun::star::uno::XInterface
-{
- //------------------------------------------------------------------------
- /** encrypts/decrypts the data using the cipher.
- <p>
- Please have in mind, the cipher object state might depend from the
- already encrypted/decrypted data ( it depends from the used
- algorithm ).
- </p>
-
- <p>
- Whether the object does encryption or decryption is specified by
- creation of the object.
- </p>
-
- @param aData
- data that should be encrypted/decrypted
- */
- sequence<byte> convertWithCipherContext( [in] sequence< byte > aData )
- raises( ::com::sun::star::lang::IllegalArgumentException,
- ::com::sun::star::lang::DisposedException );
-
- //------------------------------------------------------------------------
- /** finalizes cipher and disposes context.
- */
- sequence<byte> finalizeCipherContextAndDispose()
- raises( ::com::sun::star::lang::DisposedException );
-};
-
-//============================================================================
-
-}; }; }; }; };
-
-#endif
-
diff --git a/offapi/com/sun/star/xml/crypto/XCipherContextSupplier.idl b/offapi/com/sun/star/xml/crypto/XCipherContextSupplier.idl
deleted file mode 100644
index 115cf7b0e..000000000
--- a/offapi/com/sun/star/xml/crypto/XCipherContextSupplier.idl
+++ /dev/null
@@ -1,91 +0,0 @@
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-#ifndef __com_sun_star_xml_crypto_xciphercontextsupplier_idl_
-#define __com_sun_star_xml_crypto_xciphercontextsupplier_idl_
-
-#ifndef __com_sun_star_uno_XInterface_idl__
-#include <com/sun/star/uno/XInterface.idl>
-#endif
-
-#ifndef __com_sun_star_beans_NamedValue_idl__
-#include <com/sun/star/beans/NamedValue.idl>
-#endif
-
-#ifndef __com_sun_star_xml_crypto_XCipherContext_idl__
-#include <com/sun/star/xml/crypto/XCipherContext.idl>
-#endif
-
-#ifndef __com_sun_star_lang_IllegalArgumentException_idl__
-#include <com/sun/star/lang/IllegalArgumentException.idl>
-#endif
-
-//============================================================================
-
- module com { module sun { module star { module xml { module crypto {
-
-//============================================================================
-/** This interface allows to get an object that allows to encrypt/decrypt data
- using the specified algorithm.
-
- @since OOo 3.4
- */
-interface XCipherContextSupplier : com::sun::star::uno::XInterface
-{
- //------------------------------------------------------------------------
- /** returns an object that allows to encrypt/decrypt data.
-
- @param nCipherID
- the internal ID specifying the algorithm,
- should take value from <type>CipherID</type>
-
- @param aKey
- the key that should be used for the encryption
-
- @param aInitializationVector
- the initialization vector that should be used for the encryption
-
- @param bEncryption
- whether an encryption or decryption cipher should be created
- <TRUE/> - Encryption
- <FALSE/> - Decryption
-
- @param aParams
- optional parameters that could be used to initialize the cipher,
-
- @throws ::com::sun::star::lang::IllegalArgumentException
- one of provided arguments is illegal
- */
-
- XCipherContext getCipherContext( [in] long nCipherID, [in] sequence< byte > aKey, [in] sequence< byte > aInitializationVector, [in] boolean bEncryption, [in] sequence< ::com::sun::star::beans::NamedValue > aParams )
- raises( ::com::sun::star::lang::IllegalArgumentException );
-};
-
-//============================================================================
-
-}; }; }; }; };
-
-#endif
diff --git a/offapi/com/sun/star/xml/crypto/XDigestContext.idl b/offapi/com/sun/star/xml/crypto/XDigestContext.idl
deleted file mode 100644
index f6218d9b6..000000000
--- a/offapi/com/sun/star/xml/crypto/XDigestContext.idl
+++ /dev/null
@@ -1,74 +0,0 @@
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-#ifndef __com_sun_star_xml_crypto_xdigestcontext_idl_
-#define __com_sun_star_xml_crypto_xdigestcontext_idl_
-
-#ifndef __com_sun_star_uno_XInterface_idl__
-#include <com/sun/star/uno/XInterface.idl>
-#endif
-
-#ifndef __com_sun_star_lang_DisposedException_idl__
-#include <com/sun/star/lang/DisposedException.idl>
-#endif
-
-//============================================================================
-
- module com { module sun { module star { module xml { module crypto {
-
-//============================================================================
-/** This interface allows to generate the digest.
- <p>
- The algorithm to generate the digest is specified on object creation.
- </p>
-
- @see <type>XDigestContextSupplier</type>
- @since OOo 3.4
- */
-interface XDigestContext : com::sun::star::uno::XInterface
-{
- //------------------------------------------------------------------------
- /** update the digest with the given data.
-
- @param aData
- data that should be used to update the digest
- */
- void updateDigest( [in] sequence< byte > aData )
- raises( ::com::sun::star::lang::DisposedException );
-
- //------------------------------------------------------------------------
- /** finalizes digest and disposes context.
- */
- sequence<byte> finalizeDigestAndDispose()
- raises( ::com::sun::star::lang::DisposedException );
-};
-
-//============================================================================
-
-}; }; }; }; };
-
-#endif
-
diff --git a/offapi/com/sun/star/xml/crypto/XDigestContextSupplier.idl b/offapi/com/sun/star/xml/crypto/XDigestContextSupplier.idl
deleted file mode 100644
index f421d8ff9..000000000
--- a/offapi/com/sun/star/xml/crypto/XDigestContextSupplier.idl
+++ /dev/null
@@ -1,83 +0,0 @@
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-#ifndef __com_sun_star_xml_crypto_xdigestcontextsupplier_idl_
-#define __com_sun_star_xml_crypto_xdigestcontextsupplier_idl_
-
-#ifndef __com_sun_star_uno_XInterface_idl__
-#include <com/sun/star/uno/XInterface.idl>
-#endif
-
-#ifndef __com_sun_star_beans_NamedValue_idl__
-#include <com/sun/star/beans/NamedValue.idl>
-#endif
-
-#ifndef __com_sun_star_xml_crypto_XDigestContext_idl__
-#include <com/sun/star/xml/crypto/XDigestContext.idl>
-#endif
-
-#ifndef __com_sun_star_lang_IllegalArgumentException_idl__
-#include <com/sun/star/lang/IllegalArgumentException.idl>
-#endif
-
-//============================================================================
-
- module com { module sun { module star { module xml { module crypto {
-
-//============================================================================
-/** This interface allows to get an object to generate a digest of a specified
- format.
-
- @since OOo 3.4
- */
-interface XDigestContextSupplier : com::sun::star::uno::XInterface
-{
- //------------------------------------------------------------------------
- /** returns an object that allows to generate the specified digest.
-
- @param nDigestID
- the internal ID specifying the algorithm,
- should take value from <type>DigestID</type>
-
- @param aParams
- optional parameters that could be used to initialize the digest,
- for example, it could contain a key and etc.
-
- @throws ::com::sun::star::lang::IllegalArgumentException
- one of provided arguments is illegal
- */
- XDigestContext getDigestContext(
- [in] long nDigestID,
- [in] sequence< ::com::sun::star::beans::NamedValue > aParams )
- raises( ::com::sun::star::lang::IllegalArgumentException );
-};
-
-//============================================================================
-
-}; }; }; }; };
-
-#endif
-
diff --git a/offapi/com/sun/star/xml/crypto/XMLEncryption.idl b/offapi/com/sun/star/xml/crypto/XMLEncryption.idl
deleted file mode 100644
index 83b9edf1c..000000000
--- a/offapi/com/sun/star/xml/crypto/XMLEncryption.idl
+++ /dev/null
@@ -1,55 +0,0 @@
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-//i20156 - new file for XML security module
-
-/** -- idl definition -- **/
-
-#ifndef __com_sun_star_xml_crypto_xmlencryption_idl_
-#define __com_sun_star_xml_crypto_xmlencryption_idl_
-
-#include <com/sun/star/uno/XInterface.idl>
-#include <com/sun/star/uno/Exception.idl>
-#include <com/sun/star/xml/crypto/XXMLEncryption.idl>
-#include <com/sun/star/lang/XInitialization.idl>
-#include <com/sun/star/lang/XServiceInfo.idl>
-
-module com { module sun { module star { module xml { module crypto {
-
-/**
- * Service of XMLEncryption
- */
-service XMLEncryption {
- interface com::sun::star::xml::crypto::XXMLEncryption ;
- interface com::sun::star::lang::XInitialization ;
- interface com::sun::star::lang::XServiceInfo ;
-} ;
-
-} ; } ; } ; } ; } ;
-
-#endif
-
diff --git a/offapi/com/sun/star/xml/crypto/XMLEncryptionException.idl b/offapi/com/sun/star/xml/crypto/XMLEncryptionException.idl
deleted file mode 100644
index 8123473ce..000000000
--- a/offapi/com/sun/star/xml/crypto/XMLEncryptionException.idl
+++ /dev/null
@@ -1,53 +0,0 @@
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-//i20156 - new file for XML security module
-
-/** -- idl definition -- **/
-
-#ifndef __com_sun_star_xml_crypto_XMLEncryptionException_idl__
-#define __com_sun_star_xml_crypto_XMLEncryptionException_idl__
-
-#include <com/sun/star/security/EncryptionException.idl>
-
-
-//=============================================================================
-
-module com { module sun { module star { module xml { module crypto {
-
-//=============================================================================
-
-exception XMLEncryptionException : com::sun::star::security::EncryptionException
-{
-};
-
-//=============================================================================
-
-}; }; }; }; };
-
-#endif
-
diff --git a/offapi/com/sun/star/xml/crypto/XMLEncryptionTemplate.idl b/offapi/com/sun/star/xml/crypto/XMLEncryptionTemplate.idl
deleted file mode 100644
index 6c5a0b9bc..000000000
--- a/offapi/com/sun/star/xml/crypto/XMLEncryptionTemplate.idl
+++ /dev/null
@@ -1,56 +0,0 @@
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-//i20156 - new file for XML security module
-
-/** -- idl definition -- **/
-
-#ifndef __com_sun_star_xml_crypto_xmlencryptiontemplate_idl_
-#define __com_sun_star_xml_crypto_xmlencryptiontemplate_idl_
-
-#include <com/sun/star/uno/XInterface.idl>
-#include <com/sun/star/uno/Exception.idl>
-#include <com/sun/star/xml/crypto/XXMLEncryptionTemplate.idl>
-#include <com/sun/star/lang/XInitialization.idl>
-#include <com/sun/star/lang/XServiceInfo.idl>
-
-module com { module sun { module star { module xml { module crypto {
-
-/**
- * Service of XMLEncryptionTemplate
- */
-service XMLEncryptionTemplate {
- interface com::sun::star::xml::crypto::XXMLEncryptionTemplate ;
- interface com::sun::star::lang::XInitialization ;
- interface com::sun::star::lang::XServiceInfo ;
-} ;
-
-
-} ; } ; } ; } ; } ;
-
-#endif
-
diff --git a/offapi/com/sun/star/xml/crypto/XMLSecurityContext.idl b/offapi/com/sun/star/xml/crypto/XMLSecurityContext.idl
deleted file mode 100644
index 1ecc1ae1a..000000000
--- a/offapi/com/sun/star/xml/crypto/XMLSecurityContext.idl
+++ /dev/null
@@ -1,56 +0,0 @@
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-//i20156 - new file for XML security module
-
-/** -- idl definition -- **/
-
-#ifndef __com_sun_star_xml_crypto_xmlsecuritycontext_idl_
-#define __com_sun_star_xml_crypto_xmlsecuritycontext_idl_
-
-#include <com/sun/star/uno/XInterface.idl>
-#include <com/sun/star/uno/Exception.idl>
-#include <com/sun/star/xml/crypto/XXMLSecurityContext.idl>
-#include <com/sun/star/lang/XInitialization.idl>
-#include <com/sun/star/lang/XServiceInfo.idl>
-
-module com { module sun { module star { module xml { module crypto {
-
-/**
- * Service of XMLSecurityContext
- */
-service XMLSecurityContext {
- interface com::sun::star::xml::crypto::XXMLSecurityContext ;
- interface com::sun::star::lang::XInitialization ;
- interface com::sun::star::lang::XServiceInfo ;
-} ;
-
-} ; } ; } ; } ; } ;
-
-
-#endif
-
diff --git a/offapi/com/sun/star/xml/crypto/XMLSignature.idl b/offapi/com/sun/star/xml/crypto/XMLSignature.idl
deleted file mode 100644
index 551ae4de0..000000000
--- a/offapi/com/sun/star/xml/crypto/XMLSignature.idl
+++ /dev/null
@@ -1,56 +0,0 @@
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-//i20156 - new file for XML security module
-
-/** -- idl definition -- **/
-
-#ifndef __com_sun_star_xml_crypto_xmlsignature_idl_
-#define __com_sun_star_xml_crypto_xmlsignature_idl_
-
-#include <com/sun/star/uno/XInterface.idl>
-#include <com/sun/star/uno/Exception.idl>
-#include <com/sun/star/xml/crypto/XXMLSignature.idl>
-#include <com/sun/star/lang/XInitialization.idl>
-#include <com/sun/star/lang/XServiceInfo.idl>
-
-module com { module sun { module star { module xml { module crypto {
-
-/**
- * Service of XMLSignature
- */
-service XMLSignature {
- interface com::sun::star::xml::crypto::XXMLSignature ;
- interface com::sun::star::lang::XInitialization ;
- interface com::sun::star::lang::XServiceInfo ;
-} ;
-
-} ; } ; } ; } ; } ;
-
-
-#endif
-
diff --git a/offapi/com/sun/star/xml/crypto/XMLSignatureException.idl b/offapi/com/sun/star/xml/crypto/XMLSignatureException.idl
deleted file mode 100644
index 72e552b1e..000000000
--- a/offapi/com/sun/star/xml/crypto/XMLSignatureException.idl
+++ /dev/null
@@ -1,53 +0,0 @@
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-//i20156 - new file for XML security module
-
-/** -- idl definition -- **/
-
-#ifndef __com_sun_star_xml_crypto_XMLSignatureException_idl__
-#define __com_sun_star_xml_crypto_XMLSignatureException_idl__
-
-#include <com/sun/star/security/SignatureException.idl>
-
-
-//=============================================================================
-
-module com { module sun { module star { module xml { module crypto {
-
-//=============================================================================
-
-exception XMLSignatureException : com::sun::star::security::SignatureException
-{
-};
-
-//=============================================================================
-
-}; }; }; }; };
-
-#endif
-
diff --git a/offapi/com/sun/star/xml/crypto/XMLSignatureTemplate.idl b/offapi/com/sun/star/xml/crypto/XMLSignatureTemplate.idl
deleted file mode 100644
index 110321bf2..000000000
--- a/offapi/com/sun/star/xml/crypto/XMLSignatureTemplate.idl
+++ /dev/null
@@ -1,56 +0,0 @@
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-//i20156 - new file for XML security module
-
-/** -- idl definition -- **/
-
-#ifndef __com_sun_star_xml_crypto_xmlsignaturetemplate_idl_
-#define __com_sun_star_xml_crypto_xmlsignaturetemplate_idl_
-
-#include <com/sun/star/uno/XInterface.idl>
-#include <com/sun/star/uno/Exception.idl>
-#include <com/sun/star/xml/crypto/XXMLSignatureTemplate.idl>
-#include <com/sun/star/lang/XInitialization.idl>
-#include <com/sun/star/lang/XServiceInfo.idl>
-
-module com { module sun { module star { module xml { module crypto {
-
-/**
- * Service of XMLSignatureTemplate
- */
-service XMLSignatureTemplate {
- interface com::sun::star::xml::crypto::XXMLSignatureTemplate ;
- interface com::sun::star::lang::XInitialization ;
- interface com::sun::star::lang::XServiceInfo ;
-} ;
-
-} ; } ; } ; } ; } ;
-
-
-#endif
-
diff --git a/offapi/com/sun/star/xml/crypto/XSEInitializer.idl b/offapi/com/sun/star/xml/crypto/XSEInitializer.idl
deleted file mode 100644
index bb0422148..000000000
--- a/offapi/com/sun/star/xml/crypto/XSEInitializer.idl
+++ /dev/null
@@ -1,65 +0,0 @@
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-#ifndef __com_sun_star_xml_crypto_xseinitializer_idl_
-#define __com_sun_star_xml_crypto_xseinitializer_idl_
-
-#include <com/sun/star/uno/XInterface.idl>
-#include <com/sun/star/uno/Exception.idl>
-
-module com { module sun { module star { module xml { module crypto {
-
-published interface XXMLSecurityContext;
-
-/**
- * Interface to manipulate Security Environment
- */
-published interface XSEInitializer : com::sun::star::uno::XInterface
-{
- /**
- Creates a security context.
-
- @param aString
- reserved for internal use.
-
- @return the security context created
- */
- ::com::sun::star::xml::crypto::XXMLSecurityContext createSecurityContext( [in] string aString );
-
- /**
- * Frees a security context.
- *
- * @param securityContext the security context to be freed
- */
- void freeSecurityContext([in] com::sun::star::xml::crypto::XXMLSecurityContext securityContext);
-};
-
-} ; } ; } ; } ; } ;
-
-
-#endif
-
diff --git a/offapi/com/sun/star/xml/crypto/XSecurityEnvironment.idl b/offapi/com/sun/star/xml/crypto/XSecurityEnvironment.idl
deleted file mode 100644
index 1e8575c00..000000000
--- a/offapi/com/sun/star/xml/crypto/XSecurityEnvironment.idl
+++ /dev/null
@@ -1,115 +0,0 @@
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-#ifndef __com_sun_star_xml_crypto_xsecurityenvironment_idl_
-#define __com_sun_star_xml_crypto_xsecurityenvironment_idl_
-
-#include <com/sun/star/uno/SecurityException.idl>
-#include <com/sun/star/uno/XInterface.idl>
-#include <com/sun/star/uno/Exception.idl>
-#include <com/sun/star/security/XCertificate.idl>
-#include <com/sun/star/security/CertificateCharacters.idl>
-#include <com/sun/star/security/CertificateValidity.idl>
-
-module com { module sun { module star { module xml { module crypto {
-
-/**
- * Interface of Security Environment
- */
-published interface XSecurityEnvironment : com::sun::star::uno::XInterface
-{
- /**
- * Get personal certificate from the environment
- */
- sequence< com::sun::star::security::XCertificate > getPersonalCertificates() raises( com::sun::star::uno::SecurityException ) ;
-
- /**
- * Get certificate from the environment by issuer name and serial number
- */
- com::sun::star::security::XCertificate getCertificate( [in] string issuerName, [in] sequence< byte > serialNumber ) raises( com::sun::star::uno::SecurityException ) ;
-
- /**
- * build certificate path from a certain certificate
- */
- sequence< com::sun::star::security::XCertificate > buildCertificatePath( [in] com::sun::star::security::XCertificate beginCert ) raises( com::sun::star::uno::SecurityException ) ;
-
- /**
- * Create certificate interface from raw DER encoded certificate
- */
- com::sun::star::security::XCertificate createCertificateFromRaw( [in] sequence< byte > rawCertificate ) raises( com::sun::star::uno::SecurityException ) ;
-
- /**
- * Create certificate interface from a Base64 encoded certificate.
- */
- com::sun::star::security::XCertificate createCertificateFromAscii( [in] string asciiCertificate ) raises( com::sun::star::uno::SecurityException ) ;
-
- /**
- Verify a certificate.
-
- The method provides a way to verify a certificate.
- @param xEECertificate
- The certificate which is to be validated.
-
- @param intermediateCertificates
- Additional certificates which can be used by the method in constructing
- the certificate chain. The root certificate may also be contained. However,
- the implementation must check if the root certificate is indeed trusted by
- the user.
- All entries of the sequence must be non-null references.
-
- @return
- The validation status will returned as a bit-wise long, please refer to
- CertificateValidity definition.
- */
- long verifyCertificate( [in] com::sun::star::security::XCertificate xEECertificate,
- [in] sequence< com::sun::star::security::XCertificate > intermediateCertificates)
- raises( com::sun::star::uno::SecurityException ) ;
-
- /**
- * Get a certificate characters.
- *
- * The method provides a way to get certificate characters like:
- * 1. Whether or not the certificate have a private key in the user profile.
- * 2. Whether or not the certificate is a trusted certificate.
- * 3. Whether or not the certificate is a self-signed certificate.
- *
- * The certificate characters is defined as bit-wise long, please refer to
- * CertificateCharacters definition.
- */
- long getCertificateCharacters( [in] com::sun::star::security::XCertificate xCertificate ) raises( com::sun::star::uno::SecurityException ) ;
-
- /**
- * Get the Environment detail infos
- */
- string getSecurityEnvironmentInformation ( );
-
-} ;
-
-} ; } ; } ; } ; } ;
-
-#endif
-
diff --git a/offapi/com/sun/star/xml/crypto/XUriBinding.idl b/offapi/com/sun/star/xml/crypto/XUriBinding.idl
deleted file mode 100644
index c808da55d..000000000
--- a/offapi/com/sun/star/xml/crypto/XUriBinding.idl
+++ /dev/null
@@ -1,72 +0,0 @@
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-//i20156 - new file for XML security module
-
-/** -- idl definition -- **/
-
-#ifndef __com_sun_star_xml_crypto_xuribinding_idl_
-#define __com_sun_star_xml_crypto_xuribinding_idl_
-
-#include <com/sun/star/uno/XInterface.idl>
-#include <com/sun/star/uno/Exception.idl>
-#include <com/sun/star/io/XInputStream.idl>
-
-module com { module sun { module star { module xml { module crypto {
-
-/**
- * Interface of Uri Binding.
- * <p>
- * This interface is used to dynamically bind a uri with a
- * XInputStream interface.
- */
-interface XUriBinding : com::sun::star::uno::XInterface
-{
- /**
- * Sets the XInputStream interface for a uri.
- *
- * @param uri the uri to bind
- * @param aStream the XInputStream to be binded
- */
- void setUriBinding([in] string uri, [in] com::sun::star::io::XInputStream aInputStream)
- raises( com::sun::star::uno::Exception );
-
- /**
- * Gets the XInputStream interface for a uri.
- *
- * @param uri the uri whose binding is to get
- * @return the XInputStream binded with the uri
- */
- com::sun::star::io::XInputStream getUriBinding([in] string uri)
- raises( com::sun::star::uno::Exception );
-};
-
-} ; } ; } ; } ; } ;
-
-
-#endif
-
diff --git a/offapi/com/sun/star/xml/crypto/XXMLEncryption.idl b/offapi/com/sun/star/xml/crypto/XXMLEncryption.idl
deleted file mode 100644
index bb3179948..000000000
--- a/offapi/com/sun/star/xml/crypto/XXMLEncryption.idl
+++ /dev/null
@@ -1,85 +0,0 @@
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-//i20156 - new file for XML security module
-
-/** -- idl definition -- **/
-
-#ifndef __com_sun_star_xml_crypto_xxmlencryption_idl_
-#define __com_sun_star_xml_crypto_xxmlencryption_idl_
-
-#include <com/sun/star/uno/XInterface.idl>
-#include <com/sun/star/uno/Exception.idl>
-#include <com/sun/star/uno/SecurityException.idl>
-#include <com/sun/star/xml/crypto/XXMLEncryptionTemplate.idl>
-#include <com/sun/star/xml/wrapper/XXMLElementWrapper.idl>
-#include <com/sun/star/xml/crypto/XXMLSecurityContext.idl>
-#include <com/sun/star/xml/crypto/XMLEncryptionException.idl>
-
-module com { module sun { module star { module xml { module crypto {
-
-/**
- * Interface of XML encryption
- *
- * <p>This interface represents a XML encryptor or decryptor.</p>
- *
- * <p>The encryptor or decryptor concrete a key by retrieve security context
- * and encryption template.</p>
- *
- * <p>In some cases, the encryptor or decryptor can determine and locate the
- * EncryptedKey from the encryption template by dereference the RetrievalMethod
- * inside EncryptedData.</p>
- *
- * <p>In some cases, the EncryptedKey need to be clearly pointed out by the
- * encryption template.</p>
- */
-interface XXMLEncryption : com::sun::star::uno::XInterface
-{
- /**
- * Perform encryption in the environment of encryption template and context.
- */
- com::sun::star::xml::crypto::XXMLEncryptionTemplate encrypt(
- [in] com::sun::star::xml::crypto::XXMLEncryptionTemplate aTemplate ,
- [in] com::sun::star::xml::crypto::XSecurityEnvironment aEnvironment
- ) raises( com::sun::star::xml::crypto::XMLEncryptionException ,
- com::sun::star::uno::SecurityException ) ;
-
- /**
- * Perform decryption in the environment of encryption template and context.
- */
- com::sun::star::xml::crypto::XXMLEncryptionTemplate decrypt(
- [in] com::sun::star::xml::crypto::XXMLEncryptionTemplate aTemplate ,
- [in] com::sun::star::xml::crypto::XXMLSecurityContext aContext
- ) raises( com::sun::star::xml::crypto::XMLEncryptionException ,
- com::sun::star::uno::SecurityException ) ;
-} ;
-
-} ; } ; } ; } ; } ;
-
-
-#endif
-
diff --git a/offapi/com/sun/star/xml/crypto/XXMLEncryptionTemplate.idl b/offapi/com/sun/star/xml/crypto/XXMLEncryptionTemplate.idl
deleted file mode 100644
index 171145a28..000000000
--- a/offapi/com/sun/star/xml/crypto/XXMLEncryptionTemplate.idl
+++ /dev/null
@@ -1,96 +0,0 @@
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-//i20156 - new file for XML security module
-
-/** -- idl definition -- **/
-
-#ifndef __com_sun_star_xml_crypto_xxmlencryptiontemplate_idl_
-#define __com_sun_star_xml_crypto_xxmlencryptiontemplate_idl_
-
-#include <com/sun/star/uno/XInterface.idl>
-#include <com/sun/star/lang/IllegalArgumentException.idl>
-#include <com/sun/star/xml/wrapper/XXMLElementWrapper.idl>
-#include <com/sun/star/xml/crypto/XXMLSecurityTemplate.idl>
-
-module com { module sun { module star { module xml { module crypto {
-
-/**
- * Interface of XML encryption template
- *
- * <p>This interface represents a encryption template, which is the same as the
- * desired XML encryption element[ EncryptedType ] but some of the nodes may be
- * empty. The empty entities include CipherValue, which is a subset of
- * EncryptedData or EncryptedKey. Empty entities are not allowed in a encryption
- * template when performing decryption.</p>
- *
- * <p>In some cases, the encryptor or decryptor can determine and locate the
- * EncryptedKey from the encryption template by dereference the RetrievalMethod
- * inside EncryptedData.</p>
- *
- * <p>In some cases, the EncryptedKey need to be clearly pointed out by the
- * encryption template.</p>
- *
- * <p>With the help of encryption context, the encryptor or decryptor specifies
- * the key from the KeyInfo in the encryption template.</p>
- *
- *
- * <p>It isn't a good method to set the EncryptedKey here. In general, there is
- * a RetrievalMethod in EncryptedData by which we can get the EncryptedKey.
- *
- * And some times, in the low level, it is hard to determine what the key is
- * except that the high level application tell the mechanism and parameters.
- *
- * So I think it will be more simple that the application set the encrypted key
- * information. In this case, the application only need to know the XML schema
- * or DTD and the encryption device. If so, the high level application takes the
- * action of build the EncryptedKey template and references it in the element of
- * EncryptedData. And in this case, the calling to set up EncryptedKey template
- * and target is not necessary, because the encryptor or decryptor can determine
- * and locate the EncryptedKey from the encryption template of EncryptedData by
- * dereference the RetrievalMethod.
- *
- * In some situation, the high level applications do not want to know anything
- * about crypto devices( May be he must, because the lower level do not know
- * what the key is ). If it gives the key value, it can get EncryptedKey by
- * setting the key template and key value target.</p>
- */
-interface XXMLEncryptionTemplate : XXMLSecurityTemplate
-{
- /**
- * Get the target XML element, i.e. the element to be encrypted
- */
- com::sun::star::xml::wrapper::XXMLElementWrapper getTarget(
- ) ;
-} ;
-
-
-} ; } ; } ; } ; } ;
-
-
-#endif
-
diff --git a/offapi/com/sun/star/xml/crypto/XXMLSecurityContext.idl b/offapi/com/sun/star/xml/crypto/XXMLSecurityContext.idl
deleted file mode 100644
index a96057107..000000000
--- a/offapi/com/sun/star/xml/crypto/XXMLSecurityContext.idl
+++ /dev/null
@@ -1,82 +0,0 @@
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-#ifndef __com_sun_star_xml_crypto_xxmlsecuritycontext_idl_
-#define __com_sun_star_xml_crypto_xxmlsecuritycontext_idl_
-
-#include <com/sun/star/uno/XInterface.idl>
-#include <com/sun/star/security/SecurityInfrastructureException.idl>
-#include <com/sun/star/xml/crypto/XSecurityEnvironment.idl>
-
-module com { module sun { module star { module xml { module crypto {
-
-/**
- * Interface of XML security context
- *
- * <p>This interface specifies a certain signature context. By signature
- * context, the signer or verifier retrieves key specification.</p>
- */
-published interface XXMLSecurityContext : com::sun::star::uno::XInterface
-{
- /**
- * Add personal security environment , and return the index of the added environment.
- */
- long addSecurityEnvironment( [in] XSecurityEnvironment aSecurityEnvironment
- ) raises( com::sun::star::security::SecurityInfrastructureException ) ;
-
- /**
- * Get the number of security environments
- */
- long getSecurityEnvironmentNumber( ) ;
-
- /**
- * Get personal security environment
- */
- com::sun::star::xml::crypto::XSecurityEnvironment getSecurityEnvironmentByIndex([in] long index ) ;
-
- /**
- * An handy method to get the first personal security environment.
- * In XMLSec/NSS, the first personal security environment should be the "internal slot"
- */
- com::sun::star::xml::crypto::XSecurityEnvironment getSecurityEnvironment( ) ;
-
- /**
- * Get the ID of the internal security environment
- */
- long getDefaultSecurityEnvironmentIndex( ) ;
-
- /**
- * set the ID of the internal security environment
- */
- void setDefaultSecurityEnvironmentIndex([in] long index ) ;
-
-} ;
-
-} ; } ; } ; } ; } ;
-
-#endif
-
diff --git a/offapi/com/sun/star/xml/crypto/XXMLSecurityTemplate.idl b/offapi/com/sun/star/xml/crypto/XXMLSecurityTemplate.idl
deleted file mode 100644
index e4d58b5bd..000000000
--- a/offapi/com/sun/star/xml/crypto/XXMLSecurityTemplate.idl
+++ /dev/null
@@ -1,88 +0,0 @@
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-//i20156 - new file for XML security module
-
-/** -- idl definition -- **/
-
-#ifndef __com_sun_star_xml_crypto_xxmlsecuritytemplate_idl_
-#define __com_sun_star_xml_crypto_xxmlsecuritytemplate_idl_
-
-#include <com/sun/star/uno/XInterface.idl>
-#include <com/sun/star/lang/IllegalArgumentException.idl>
-#include <com/sun/star/xml/wrapper/XXMLElementWrapper.idl>
-#include <com/sun/star/xml/crypto/XUriBinding.idl>
-#include <com/sun/star/xml/crypto/SecurityOperationStatus.idl>
-
-module com { module sun { module star { module xml { module crypto {
-
-/**
- * Interface of the XML security template
- *
- * <p>This interface represents a security template, which is the super interface
- * of the XXMLSignatureTemplate interface and the XXMLEncryptionTemplate interface.
- */
-interface XXMLSecurityTemplate : com::sun::star::uno::XInterface
-{
- /**
- * Load a XML signature template from XML signature element
- */
- void setTemplate(
- [in] com::sun::star::xml::wrapper::XXMLElementWrapper aXmlElement
- ) raises( com::sun::star::lang::IllegalArgumentException ) ;
-
- /**
- * Get the XML signature element that represents the signature template
- */
- com::sun::star::xml::wrapper::XXMLElementWrapper getTemplate(
- ) ;
-
- /**
- * Load the target XML element, i.e. the element to be signed
- */
- void setTarget(
- [in] com::sun::star::xml::wrapper::XXMLElementWrapper aXmlElement
- ) raises( com::sun::star::lang::IllegalArgumentException ) ;
-
- /**
- * Set the template status
- */
- void setStatus(
- [in] SecurityOperationStatus status
- ) raises( com::sun::star::lang::IllegalArgumentException ) ;
-
- /**
- * Get the template status
- */
- SecurityOperationStatus getStatus( ) ;
-} ;
-
-} ; } ; } ; } ; } ;
-
-
-#endif
-
diff --git a/offapi/com/sun/star/xml/crypto/XXMLSignature.idl b/offapi/com/sun/star/xml/crypto/XXMLSignature.idl
deleted file mode 100644
index e5b69ade0..000000000
--- a/offapi/com/sun/star/xml/crypto/XXMLSignature.idl
+++ /dev/null
@@ -1,87 +0,0 @@
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-//i20156 - new file for XML security module
-
-/** -- idl definition -- **/
-
-#ifndef __com_sun_star_xml_crypto_xxmlsignature_idl_
-#define __com_sun_star_xml_crypto_xxmlsignature_idl_
-
-#include <com/sun/star/uno/XInterface.idl>
-#include <com/sun/star/uno/SecurityException.idl>
-#include <com/sun/star/xml/crypto/XXMLSignatureTemplate.idl>
-#include <com/sun/star/xml/crypto/XXMLSecurityContext.idl>
-#include <com/sun/star/xml/crypto/XMLSignatureException.idl>
-
-module com { module sun { module star { module xml { module crypto {
-
-/**
- * Interface of XML signature
- *
- * <p>This interface represents a XML signer or verifier.</p>
- *
- * <p>The signer or verifier concrete a key by retrieve signature context and
- * signature template.</p>
- *
- * <p>In some cases, the signer or verifier can determine and locate the
- * contents to be signed from the signature template by dereference the URI.</p>
- *
- * <p>In some cases, the contents to be signed need to be clearly pointed out by
- * the signature template.</p>
- */
-interface XXMLSignature : com::sun::star::uno::XInterface
-{
- /**
- * Perform signature in the environment of signature template and context.
- */
- com::sun::star::xml::crypto::XXMLSignatureTemplate generate(
- [in] com::sun::star::xml::crypto::XXMLSignatureTemplate aTemplate ,
- [in] com::sun::star::xml::crypto::XSecurityEnvironment aEnvironment
- ) raises( com::sun::star::xml::crypto::XMLSignatureException ,
- com::sun::star::uno::SecurityException ) ;
-
- /**
- * Perform validation in the environment of signature template and context.
- */
- com::sun::star::xml::crypto::XXMLSignatureTemplate validate(
- [in] com::sun::star::xml::crypto::XXMLSignatureTemplate aTemplate ,
- [in] com::sun::star::xml::crypto::XXMLSecurityContext aContext
- ) raises( com::sun::star::xml::crypto::XMLSignatureException ,
- com::sun::star::uno::SecurityException ) ;
-
- /**
- * get the time used by the engine, JSR105,
- * this method is used for evaluation.
- */
- /*
- hyper getEngineTime([in] long id);
- */
-};
-
-} ; } ; } ; } ; } ;
-#endif
diff --git a/offapi/com/sun/star/xml/crypto/XXMLSignatureTemplate.idl b/offapi/com/sun/star/xml/crypto/XXMLSignatureTemplate.idl
deleted file mode 100644
index fdf903232..000000000
--- a/offapi/com/sun/star/xml/crypto/XXMLSignatureTemplate.idl
+++ /dev/null
@@ -1,84 +0,0 @@
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-//i20156 - new file for XML security module
-
-/** -- idl definition -- **/
-
-#ifndef __com_sun_star_xml_crypto_xxmlsignaturetemplate_idl_
-#define __com_sun_star_xml_crypto_xxmlsignaturetemplate_idl_
-
-#include <com/sun/star/uno/XInterface.idl>
-#include <com/sun/star/lang/IllegalArgumentException.idl>
-#include <com/sun/star/xml/wrapper/XXMLElementWrapper.idl>
-#include <com/sun/star/xml/crypto/XUriBinding.idl>
-#include <com/sun/star/xml/crypto/XXMLSecurityTemplate.idl>
-
-module com { module sun { module star { module xml { module crypto {
-
-/**
- * Interface of XML signature template
- *
- * <p>This interface represents a signature template, which is the same as the
- * desired XML signature element but some of the nodes may be empty. The empty
- * entities include digest value and signature value. Empty entities are not
- * allowed in a signature template when performing validation.</p>
- *
- * <p>In some cases, the signer or verifier can determine and locate the
- * contents to be signed from the template by dereference the URI.</p>
- *
- * <p>With the help of signature context, the signer or verifier specifies the
- * key from the KeyInfo in the signature template.</p>
- *
- * Owner: Andrew Fan
- */
-interface XXMLSignatureTemplate : XXMLSecurityTemplate
-{
- /**
- * Get the target XML element, i.e. the element to be signed
- */
- sequence< com::sun::star::xml::wrapper::XXMLElementWrapper > getTargets(
- ) ;
-
- /**
- * Set the dynamic URI binding
- */
- void setBinding(
- [in] com::sun::star::xml::crypto::XUriBinding aUriBinding
- ) raises( com::sun::star::lang::IllegalArgumentException ) ;
-
- /**
- * Get the dynamic URI binding
- */
- com::sun::star::xml::crypto::XUriBinding getBinding( ) ;
-} ;
-
-} ; } ; } ; } ; } ;
-
-
-#endif
-
diff --git a/offapi/com/sun/star/xml/crypto/makefile.mk b/offapi/com/sun/star/xml/crypto/makefile.mk
deleted file mode 100644
index c03b2a76d..000000000
--- a/offapi/com/sun/star/xml/crypto/makefile.mk
+++ /dev/null
@@ -1,72 +0,0 @@
-#*************************************************************************
-#
-# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-#
-# Copyright 2000, 2010 Oracle and/or its affiliates.
-#
-# OpenOffice.org - a multi-platform office productivity suite
-#
-# This file is part of OpenOffice.org.
-#
-# OpenOffice.org is free software: you can redistribute it and/or modify
-# it under the terms of the GNU Lesser General Public License version 3
-# only, as published by the Free Software Foundation.
-#
-# OpenOffice.org is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU Lesser General Public License version 3 for more details
-# (a copy is included in the LICENSE file that accompanied this code).
-#
-# You should have received a copy of the GNU Lesser General Public License
-# version 3 along with OpenOffice.org. If not, see
-# <http://www.openoffice.org/license.html>
-# for a copy of the LGPLv3 License.
-#
-#*************************************************************************
-
-#i20156 - new file for xmlsecurity module
-
-PRJ=..$/..$/..$/..$/..
-
-PRJNAME=offapi
-
-TARGET=xsec-crypto
-PACKAGE=com$/sun$/star$/xml$/crypto
-
-# --- Settings -----------------------------------------------------
-.INCLUDE : $(PRJ)$/util$/makefile.pmk
-
-# ------------------------------------------------------------------------
-
-IDLFILES=\
- XXMLSecurityTemplate.idl \
- XXMLSignature.idl \
- XXMLSignatureTemplate.idl \
- XXMLEncryption.idl \
- XXMLEncryptionTemplate.idl \
- XXMLSecurityContext.idl \
- XSecurityEnvironment.idl \
- XSEInitializer.idl \
- XMLSignature.idl \
- XMLSignatureTemplate.idl \
- XMLEncryption.idl \
- XMLEncryptionTemplate.idl \
- XMLSecurityContext.idl \
- SecurityEnvironment.idl \
- SEInitializer.idl \
- XMLSignatureException.idl \
- XMLEncryptionException.idl \
- XUriBinding.idl \
- CipherID.idl \
- DigestID.idl \
- XCipherContext.idl \
- XCipherContextSupplier.idl \
- XDigestContext.idl \
- XDigestContextSupplier.idl \
- SecurityOperationStatus.idl
-
-# ------------------------------------------------------------------
-
-.INCLUDE : target.mk
-.INCLUDE : $(PRJ)$/util$/target.pmk
diff --git a/offapi/com/sun/star/xml/crypto/sax/ConstOfSecurityId.idl b/offapi/com/sun/star/xml/crypto/sax/ConstOfSecurityId.idl
deleted file mode 100644
index f015e6692..000000000
--- a/offapi/com/sun/star/xml/crypto/sax/ConstOfSecurityId.idl
+++ /dev/null
@@ -1,48 +0,0 @@
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-//i20156 - new file for xmlsecurity module
-
-/** -- idl definition -- **/
-
-#ifndef __com_sun_star_xml_crypto_sax_constofsecurityid_idl_
-#define __com_sun_star_xml_crypto_sax_constofsecurityid_idl_
-
-module com { module sun { module star { module xml { module crypto { module sax {
-
-/**
- * Represents the undefined security id
- */
-constants ConstOfSecurityId
-{
- const long UNDEFINEDSECURITYID = -1;
-};
-
-} ; } ; } ; } ; } ; } ;
-
-#endif
-
diff --git a/offapi/com/sun/star/xml/crypto/sax/Decryptor.idl b/offapi/com/sun/star/xml/crypto/sax/Decryptor.idl
deleted file mode 100644
index ebb07a3f5..000000000
--- a/offapi/com/sun/star/xml/crypto/sax/Decryptor.idl
+++ /dev/null
@@ -1,64 +0,0 @@
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-//i20156 - new file for XML security module
-
-/** -- idl definition -- **/
-
-#ifndef __com_sun_star_xml_crypto_sax_decryptor_idl_
-#define __com_sun_star_xml_crypto_sax_decryptor_idl_
-
-#include <com/sun/star/uno/XInterface.idl>
-#include <com/sun/star/uno/Exception.idl>
-#include <com/sun/star/lang/XInitialization.idl>
-#include <com/sun/star/lang/XServiceInfo.idl>
-#include "XReferenceResolvedListener.idl"
-#include "XBlockerMonitor.idl"
-#include "XDecryptionResultBroadcaster.idl"
-#include "XKeyCollector.idl"
-#include "XMissionTaker.idl"
-
-module com { module sun { module star { module xml { module crypto { module sax {
-
-/**
- * Service of Decryptor
- */
-service Decryptor {
- interface XReferenceResolvedListener ;
- interface XBlockerMonitor ;
- interface XDecryptionResultBroadcaster ;
- interface XKeyCollector ;
- interface XMissionTaker ;
- interface com::sun::star::lang::XInitialization ;
- interface com::sun::star::lang::XServiceInfo ;
-};
-
-} ; } ; } ; } ; } ; } ;
-
-
-#endif
-
diff --git a/offapi/com/sun/star/xml/crypto/sax/ElementMarkPriority.idl b/offapi/com/sun/star/xml/crypto/sax/ElementMarkPriority.idl
deleted file mode 100644
index a6b725f47..000000000
--- a/offapi/com/sun/star/xml/crypto/sax/ElementMarkPriority.idl
+++ /dev/null
@@ -1,64 +0,0 @@
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-//i20156 - new file for xmlsecurity module
-
-/** -- idl definition -- **/
-
-#ifndef __com_sun_star_xml_crypto_sax_elementmarkpriority_idl_
-#define __com_sun_star_xml_crypto_sax_elementmarkpriority_idl_
-
-module com { module sun { module star { module xml { module crypto { module sax {
-
-/**
- * Defines priority for the element mark's notification.
- * <p>
- * The PRI_MINIMUM priority is a value less than any practical
- * priority value, it is used when compare between different
- * priority values.
- * <p>
- * The PRI_AFTERMODIFY priority represents the notification will be
- * sent after any internal modification has finished.
- * <p>
- * The PRI_BEFOREMODIFY proirity represents the notification will be
- * sent before any internal modification happens.
- * <p>
- * So an element mark with PRI_BEFOREMODIFY will be handled first,
- * and one with PRI_AFTERMODIFY will be handled at last.
- */
-enum ElementMarkPriority
-{
- MINIMUM = 1,
- AFTERMODIFY,
- BEFOREMODIFY
-};
-
-} ; } ; } ; } ; } ; } ;
-
-
-#endif
-
diff --git a/offapi/com/sun/star/xml/crypto/sax/ElementMarkType.idl b/offapi/com/sun/star/xml/crypto/sax/ElementMarkType.idl
deleted file mode 100644
index 0dc048a05..000000000
--- a/offapi/com/sun/star/xml/crypto/sax/ElementMarkType.idl
+++ /dev/null
@@ -1,53 +0,0 @@
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-//i20156 - new file for xmlsecurity module
-
-/** -- idl definition -- **/
-
-#ifndef __com_sun_star_xml_crypto_sax_elementmarktype_idl_
-#define __com_sun_star_xml_crypto_sax_elementmarktype_idl_
-
-module com { module sun { module star { module xml { module crypto { module sax {
-
-/**
- * Defines types of element mark.
- * <p>
- * the TYPEOFELEMENTMARK type represents a blocker, and the TYPEOFELEMENTCOLLECTOR
- * type represents a element collector.
- */
-enum ElementMarkType
-{
- ELEMENTMARK = 1,
- ELEMENTCOLLECTOR
-};
-
-
-} ; } ; } ; } ; } ; } ;
-
-#endif
-
diff --git a/offapi/com/sun/star/xml/crypto/sax/ElementStackItem.idl b/offapi/com/sun/star/xml/crypto/sax/ElementStackItem.idl
deleted file mode 100644
index 00d710a40..000000000
--- a/offapi/com/sun/star/xml/crypto/sax/ElementStackItem.idl
+++ /dev/null
@@ -1,64 +0,0 @@
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-//i20156 - new file for xmlsecurity module
-
-/** -- idl definition -- **/
-
-#ifndef __com_sun_star_xml_crypto_sax_xelementstackitem_idl_
-#define __com_sun_star_xml_crypto_sax_xelementstackitem_idl_
-
-#include <com/sun/star/xml/sax/XDocumentHandler.idl>
-
-module com { module sun { module star { module xml { module crypto { module sax {
-
-/**
- * A struct to keep a startElement/endElement SAX event.
- */
-struct ElementStackItem
-{
- /**
- * whether it is a startElement event
- */
- boolean isStartElementEvent;
-
- /**
- * the name of the element
- */
- string elementName;
-
- /**
- * attribute list for a startElement event
- */
- com::sun::star::xml::sax::XAttributeList xAttributes;
-};
-
-} ; } ; } ; } ; } ; } ;
-
-
-#endif
-
diff --git a/offapi/com/sun/star/xml/crypto/sax/Encryptor.idl b/offapi/com/sun/star/xml/crypto/sax/Encryptor.idl
deleted file mode 100644
index 70e9c1fe0..000000000
--- a/offapi/com/sun/star/xml/crypto/sax/Encryptor.idl
+++ /dev/null
@@ -1,66 +0,0 @@
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-//i20156 - new file for XML security module
-
-/** -- idl definition -- **/
-
-#ifndef __com_sun_star_xml_crypto_sax_encryptor_idl_
-#define __com_sun_star_xml_crypto_sax_encryptor_idl_
-
-#include <com/sun/star/uno/XInterface.idl>
-#include <com/sun/star/uno/Exception.idl>
-#include <com/sun/star/lang/XInitialization.idl>
-#include <com/sun/star/lang/XServiceInfo.idl>
-#include "XReferenceResolvedListener.idl"
-#include "XReferenceCollector.idl"
-#include "XBlockerMonitor.idl"
-#include "XEncryptionResultBroadcaster.idl"
-#include "XKeyCollector.idl"
-#include "XMissionTaker.idl"
-
-module com { module sun { module star { module xml { module crypto { module sax {
-
-/**
- * Service of Encryptor
- */
-service Encryptor {
- interface XReferenceResolvedListener ;
- interface XReferenceCollector ;
- interface XBlockerMonitor ;
- interface XEncryptionResultBroadcaster ;
- interface XKeyCollector ;
- interface XMissionTaker ;
- interface com::sun::star::lang::XInitialization ;
- interface com::sun::star::lang::XServiceInfo ;
-};
-
-} ; } ; } ; } ; } ; } ;
-
-
-#endif
-
diff --git a/offapi/com/sun/star/xml/crypto/sax/SAXEventKeeper.idl b/offapi/com/sun/star/xml/crypto/sax/SAXEventKeeper.idl
deleted file mode 100644
index 475065719..000000000
--- a/offapi/com/sun/star/xml/crypto/sax/SAXEventKeeper.idl
+++ /dev/null
@@ -1,62 +0,0 @@
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-//i20156 - new file for XML security module
-
-/** -- idl definition -- **/
-
-#ifndef __com_sun_star_xml_crypto_sax_saxeventkeeper_idl_
-#define __com_sun_star_xml_crypto_sax_saxeventkeeper_idl_
-
-#include <com/sun/star/uno/XInterface.idl>
-#include <com/sun/star/uno/Exception.idl>
-#include <com/sun/star/xml/sax/XDocumentHandler.idl>
-#include <com/sun/star/lang/XInitialization.idl>
-#include <com/sun/star/lang/XServiceInfo.idl>
-#include "XSecuritySAXEventKeeper.idl"
-#include "XReferenceResolvedBroadcaster.idl"
-#include "XSAXEventKeeperStatusChangeBroadcaster.idl"
-
-module com { module sun { module star { module xml { module crypto { module sax {
-
-/**
- * Service of SAXEventKeeper
- */
-service SAXEventKeeper {
- interface XSecuritySAXEventKeeper ;
- interface XReferenceResolvedBroadcaster ;
- interface XSAXEventKeeperStatusChangeBroadcaster ;
- interface com::sun::star::xml::sax::XDocumentHandler ;
- interface com::sun::star::lang::XInitialization ;
- interface com::sun::star::lang::XServiceInfo ;
-};
-
-} ; } ; } ; } ; } ; } ;
-
-
-#endif
-
diff --git a/offapi/com/sun/star/xml/crypto/sax/SignatureCreator.idl b/offapi/com/sun/star/xml/crypto/sax/SignatureCreator.idl
deleted file mode 100644
index 2f302830a..000000000
--- a/offapi/com/sun/star/xml/crypto/sax/SignatureCreator.idl
+++ /dev/null
@@ -1,65 +0,0 @@
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
- //i20156 - new file for XML security module
-
- /** -- idl definition -- **/
-
-#ifndef __com_sun_star_xml_crypto_sax_signaturecreator_idl_
-#define __com_sun_star_xml_crypto_sax_signaturecreator_idl_
-
-#include <com/sun/star/uno/XInterface.idl>
-#include <com/sun/star/uno/Exception.idl>
-#include <com/sun/star/lang/XInitialization.idl>
-#include <com/sun/star/lang/XServiceInfo.idl>
-#include <com/sun/star/xml/crypto/XUriBinding.idl>
-#include "XReferenceResolvedListener.idl"
-#include "XReferenceCollector.idl"
-#include "XSignatureCreationResultBroadcaster.idl"
-#include "XBlockerMonitor.idl"
-#include "XKeyCollector.idl"
-#include "XMissionTaker.idl"
-
-module com { module sun { module star { module xml { module crypto { module sax {
-
-/*
- * * Service of SignatureCreator
- */
-
-service SignatureCreator
-{
- interface XReferenceResolvedListener ;
- interface XReferenceCollector ;
- interface XSignatureCreationResultBroadcaster ;
- interface XBlockerMonitor ;
- interface XKeyCollector ;
- interface XMissionTaker ;
- interface com::sun::star::xml::crypto::XUriBinding;
- interface com::sun::star::lang::XInitialization ;
- interface com::sun::star::lang::XServiceInfo ;
-} ; } ; } ; } ; } ; } ; } ;
-
-#endif
diff --git a/offapi/com/sun/star/xml/crypto/sax/SignatureVerifier.idl b/offapi/com/sun/star/xml/crypto/sax/SignatureVerifier.idl
deleted file mode 100644
index 6ea35087a..000000000
--- a/offapi/com/sun/star/xml/crypto/sax/SignatureVerifier.idl
+++ /dev/null
@@ -1,66 +0,0 @@
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-//i20156 - new file for XML security module
-
-/** -- idl definition -- **/
-
-#ifndef __com_sun_star_xml_crypto_sax_signatureverifier_idl_
-#define __com_sun_star_xml_crypto_sax_signatureverifier_idl_
-
-#include <com/sun/star/uno/XInterface.idl>
-#include <com/sun/star/uno/Exception.idl>
-#include <com/sun/star/lang/XInitialization.idl>
-#include <com/sun/star/lang/XServiceInfo.idl>
-#include <com/sun/star/xml/crypto/XUriBinding.idl>
-#include "XReferenceResolvedListener.idl"
-#include "XReferenceCollector.idl"
-#include "XSignatureVerifyResultBroadcaster.idl"
-#include "XKeyCollector.idl"
-#include "XMissionTaker.idl"
-
-module com { module sun { module star { module xml { module crypto { module sax {
-
-/**
- * Service of SignatureVerifier
- */
-service SignatureVerifier {
- interface XReferenceResolvedListener ;
- interface XReferenceCollector ;
- interface XSignatureVerifyResultBroadcaster ;
- interface XKeyCollector ;
- interface XMissionTaker ;
- interface com::sun::star::xml::crypto::XUriBinding;
- interface com::sun::star::lang::XInitialization ;
- interface com::sun::star::lang::XServiceInfo ;
-};
-
- } ; } ; } ; } ; } ; } ;
-
-
-#endif
-
diff --git a/offapi/com/sun/star/xml/crypto/sax/XBlockerMonitor.idl b/offapi/com/sun/star/xml/crypto/sax/XBlockerMonitor.idl
deleted file mode 100644
index 619c78ebb..000000000
--- a/offapi/com/sun/star/xml/crypto/sax/XBlockerMonitor.idl
+++ /dev/null
@@ -1,60 +0,0 @@
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-//i20156 - new file for XML security module
-
-/** -- idl definition -- **/
-
-#ifndef __com_sun_star_xml_crypto_sax_xblockermonitor_idl_
-#define __com_sun_star_xml_crypto_sax_xblockermonitor_idl_
-
-#include <com/sun/star/uno/XInterface.idl>
-#include <com/sun/star/uno/Exception.idl>
-
-module com { module sun { module star { module xml { module crypto { module sax {
-
-/**
- * Interface of Blocker Monitor.
- * <p>
- * This interface is used to manipulate a blocker.
- */
-interface XBlockerMonitor : com::sun::star::uno::XInterface
-{
- /**
- * Configures the blocker's id.
- *
- * @param id the keeper id of the blocker
- */
- void setBlockerId([in] long id)
- raises( com::sun::star::uno::Exception );
-};
-
-} ; } ; } ; } ; } ; } ;
-
-
-#endif
-
diff --git a/offapi/com/sun/star/xml/crypto/sax/XDecryptionResultBroadcaster.idl b/offapi/com/sun/star/xml/crypto/sax/XDecryptionResultBroadcaster.idl
deleted file mode 100644
index 6bfa76610..000000000
--- a/offapi/com/sun/star/xml/crypto/sax/XDecryptionResultBroadcaster.idl
+++ /dev/null
@@ -1,75 +0,0 @@
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-//i20156 - new file for XML security module
-
-/** -- idl definition -- **/
-
-#ifndef __com_sun_star_xml_crypto_sax_xdecryptionresultbroadcaster_idl_
-#define __com_sun_star_xml_crypto_sax_xdecryptionresultbroadcaster_idl_
-
-#include <com/sun/star/uno/XInterface.idl>
-#include <com/sun/star/uno/Exception.idl>
-
-module com { module sun { module star { module xml { module crypto { module sax {
-
-interface XDecryptionResultListener;
-
-/**
- * Interface of Decryption Result Broadcaster.
- * <p>
- * This interface is used to manipulate decryption result listener.
- */
-interface XDecryptionResultBroadcaster : com::sun::star::uno::XInterface
-{
- /**
- * Adds a new decryption result listener.
- * <p>
- * When the decryption is finished, the result information will be sent to this
- * listener.
- *
- * @param listener the listener to be added
- */
- void addDecryptionResultListener(
- [in] XDecryptionResultListener listener)
- raises( com::sun::star::uno::Exception );
-
- /**
- * Removes a decryption result listener.
- * <p>
- * After a listener is removed, no result information will be sent to it.
- *
- * @param listener the listener to be removed
- */
- void removeDecryptionResultListener([in] XDecryptionResultListener listener);
-};
-
-} ; } ; } ; } ; } ; } ;
-
-
-#endif
-
diff --git a/offapi/com/sun/star/xml/crypto/sax/XDecryptionResultListener.idl b/offapi/com/sun/star/xml/crypto/sax/XDecryptionResultListener.idl
deleted file mode 100644
index 1a9ed354b..000000000
--- a/offapi/com/sun/star/xml/crypto/sax/XDecryptionResultListener.idl
+++ /dev/null
@@ -1,64 +0,0 @@
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-//i20156 - new file for XML security module
-
-/** -- idl definition -- **/
-
-#ifndef __com_sun_star_xml_crypto_sax_xdecryptionresultlistener_idl_
-#define __com_sun_star_xml_crypto_sax_xdecryptionresultlistener_idl_
-
-#include <com/sun/star/uno/XInterface.idl>
-#include <com/sun/star/uno/Exception.idl>
-#include <com/sun/star/xml/crypto/SecurityOperationStatus.idl>
-
-module com { module sun { module star { module xml { module crypto { module sax {
-
-/**
- * Interface of Decryption Result Listener.
- * <p>
- * This interface is used to receive the result information of a
- * decryption operation.
- */
-interface XDecryptionResultListener : com::sun::star::uno::XInterface
-{
- /**
- * Notifies the decryption result.
- *
- * @param securityId the security id of the encryption to be decrypted
- * @param decryptionResult the result information
- */
- void decrypted(
- [in] long securityId,
- [in] com::sun::star::xml::crypto::SecurityOperationStatus decryptionResult);
-};
-
-} ; } ; } ; } ; } ; } ;
-
-
-#endif
-
diff --git a/offapi/com/sun/star/xml/crypto/sax/XElementStackKeeper.idl b/offapi/com/sun/star/xml/crypto/sax/XElementStackKeeper.idl
deleted file mode 100644
index f3463bf70..000000000
--- a/offapi/com/sun/star/xml/crypto/sax/XElementStackKeeper.idl
+++ /dev/null
@@ -1,74 +0,0 @@
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-//i20156 - new file for XML security module
-
-/** -- idl definition -- **/
-
-#ifndef __com_sun_star_xml_crypto_sax_xelementstackkeeper_idl_
-#define __com_sun_star_xml_crypto_sax_xelementstackkeeper_idl_
-
-#include <com/sun/star/uno/XInterface.idl>
-#include <com/sun/star/uno/Exception.idl>
-#include <com/sun/star/xml/sax/XDocumentHandler.idl>
-#include <com/sun/star/xml/crypto/sax/ElementStackItem.idl>
-
-module com { module sun { module star { module xml { module crypto { module sax {
-
-/**
- * Manipulate the "key SAX events" in a SAX event stream.
- *
- * @see XSecurityController
- */
-interface XElementStackKeeper : com::sun::star::uno::XInterface
-{
- /**
- * Starts to buffer key SAX events.
- */
- void start();
-
- /**
- * Stops buffering key SAX events.
- */
- void stop();
-
- /**
- * Transfers the buffered key SAX events to a document handler.
- * <p>
- * All transferred events are removed from the buffer.
- *
- * @param handler the document to receive key SAX events
- * @param includingTheLastEvent whether to transfer the last key SAX event
- */
- void retrieve( [in] com::sun::star::xml::sax::XDocumentHandler handler, [in] boolean includingTheLastEvent);
-};
-
-} ; } ; } ; } ; } ; } ;
-
-
-#endif
-
diff --git a/offapi/com/sun/star/xml/crypto/sax/XEncryptionResultBroadcaster.idl b/offapi/com/sun/star/xml/crypto/sax/XEncryptionResultBroadcaster.idl
deleted file mode 100644
index 82f55f566..000000000
--- a/offapi/com/sun/star/xml/crypto/sax/XEncryptionResultBroadcaster.idl
+++ /dev/null
@@ -1,75 +0,0 @@
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-//i20156 - new file for XML security module
-
-/** -- idl definition -- **/
-
-#ifndef __com_sun_star_xml_crypto_sax_xencryptionresultbroadcaster_idl_
-#define __com_sun_star_xml_crypto_sax_xencryptionresultbroadcaster_idl_
-
-#include <com/sun/star/uno/XInterface.idl>
-#include <com/sun/star/uno/Exception.idl>
-
-module com { module sun { module star { module xml { module crypto { module sax {
-
-interface XEncryptionResultListener;
-
-/**
- * Interface of Encryption Result Broadcaster.
- * <p>
- * This interface is used to manipulate encryption result listener.
- */
-interface XEncryptionResultBroadcaster : com::sun::star::uno::XInterface
-{
- /**
- * Adds a new encryption result listener.
- * <p>
- * When the encryption is finished, the result information will be sent to this
- * listener.
- *
- * @param listener the listener to be added
- */
- void addEncryptionResultListener(
- [in] XEncryptionResultListener listener)
- raises( com::sun::star::uno::Exception );
-
- /**
- * Removes an encryption result listener.
- * <p>
- * After a listener is removed, no result information will be sent to it.
- *
- * @param listener the listener to be removed
- */
- void removeEncryptionResultListener([in] XEncryptionResultListener listener);
-};
-
-} ; } ; } ; } ; } ; } ;
-
-
-#endif
-
diff --git a/offapi/com/sun/star/xml/crypto/sax/XEncryptionResultListener.idl b/offapi/com/sun/star/xml/crypto/sax/XEncryptionResultListener.idl
deleted file mode 100644
index 00dcdf34e..000000000
--- a/offapi/com/sun/star/xml/crypto/sax/XEncryptionResultListener.idl
+++ /dev/null
@@ -1,64 +0,0 @@
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-//i20156 - new file for XML security module
-
-/** -- idl definition -- **/
-
-#ifndef __com_sun_star_xml_crypto_sax_xencryptionresultlistener_idl_
-#define __com_sun_star_xml_crypto_sax_xencryptionresultlistener_idl_
-
-#include <com/sun/star/uno/XInterface.idl>
-#include <com/sun/star/uno/Exception.idl>
-#include <com/sun/star/xml/crypto/SecurityOperationStatus.idl>
-
-module com { module sun { module star { module xml { module crypto { module sax {
-
-/**
- * Interface of Encryption Result Listener.
- * <p>
- * This interface is used to receive the result information of an
- * encryption operation.
- */
-interface XEncryptionResultListener : com::sun::star::uno::XInterface
-{
- /**
- * Notifies the encryption result.
- *
- * @param securityId the security id of the encryption
- * @param encryptionResult the result information
- */
- void encrypted(
- [in] long securityId,
- [in] com::sun::star::xml::crypto::SecurityOperationStatus encryptionResult);
-};
-
-} ; } ; } ; } ; } ; } ;
-
-
-#endif
-
diff --git a/offapi/com/sun/star/xml/crypto/sax/XKeyCollector.idl b/offapi/com/sun/star/xml/crypto/sax/XKeyCollector.idl
deleted file mode 100644
index 8f46a3454..000000000
--- a/offapi/com/sun/star/xml/crypto/sax/XKeyCollector.idl
+++ /dev/null
@@ -1,61 +0,0 @@
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-//i20156 - new file for XML security module
-
-/** -- idl definition -- **/
-
-#ifndef __com_sun_star_xml_crypto_sax_xkeycollector_idl_
-#define __com_sun_star_xml_crypto_sax_xkeycollector_idl_
-
-#include <com/sun/star/uno/XInterface.idl>
-#include <com/sun/star/uno/Exception.idl>
-
-module com { module sun { module star { module xml { module crypto { module sax {
-
-/**
- * Interface of Key Collector.
- * <p>
- * This interface is used to manipulate key materials.
- */
-interface XKeyCollector : com::sun::star::uno::XInterface
-{
- /**
- * Set the keeper id of the key element.
- *
- * @param id the keeper id of the key element. If the id is 0, then it represents
- * that this security entity has included its key material internally.
- */
- void setKeyId([in] long id)
- raises( com::sun::star::uno::Exception );
-};
-
-} ; } ; } ; } ; } ; } ;
-
-
-#endif
-
diff --git a/offapi/com/sun/star/xml/crypto/sax/XMissionTaker.idl b/offapi/com/sun/star/xml/crypto/sax/XMissionTaker.idl
deleted file mode 100644
index 61e25f536..000000000
--- a/offapi/com/sun/star/xml/crypto/sax/XMissionTaker.idl
+++ /dev/null
@@ -1,60 +0,0 @@
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-//i20156 - new file for XML security module
-
-/** -- idl definition -- **/
-
-#ifndef __com_sun_star_xml_crypto_sax_xmissiontaker_idl_
-#define __com_sun_star_xml_crypto_sax_xmissiontaker_idl_
-
-#include <com/sun/star/uno/XInterface.idl>
-#include <com/sun/star/uno/Exception.idl>
-
-module com { module sun { module star { module xml { module crypto { module sax {
-
-/**
- * Interface of Mission Taker.
- * <p>
- * This interface is used to control a mission.
- */
-interface XMissionTaker : com::sun::star::uno::XInterface
-{
- /**
- * Forces a mission to make an end.
- *
- * @return <true/> if the mission is completed successfully, <false/>
- * otherwise.
- */
- boolean endMission();
-};
-
-} ; } ; } ; } ; } ; } ;
-
-
-#endif
-
diff --git a/offapi/com/sun/star/xml/crypto/sax/XReferenceCollector.idl b/offapi/com/sun/star/xml/crypto/sax/XReferenceCollector.idl
deleted file mode 100644
index b4ca64630..000000000
--- a/offapi/com/sun/star/xml/crypto/sax/XReferenceCollector.idl
+++ /dev/null
@@ -1,70 +0,0 @@
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-//i20156 - new file for XML security module
-
-/** -- idl definition -- **/
-
-#ifndef __com_sun_star_xml_crypto_sax_xsignaturecollector_idl_
-#define __com_sun_star_xml_crypto_sax_xsignaturecollector_idl_
-
-#include <com/sun/star/uno/XInterface.idl>
-#include <com/sun/star/uno/Exception.idl>
-
-module com { module sun { module star { module xml { module crypto { module sax {
-
-/**
- * Interface of Signature Collector.
- * <p>
- * This interface is used to control collecting a signature.
- */
-interface XReferenceCollector : com::sun::star::uno::XInterface
-{
- /**
- * Sets the reference count of the signature.
- *
- * @param count the reference count of the signature
- */
- void setReferenceCount([in] long count)
- raises( com::sun::star::uno::Exception );
-
- /**
- * Set the keeper id of the element collector of the
- * referenced element.
- *
- * @param id the keeper id of the element collector,
- * which is collecting a referenced element
- */
- void setReferenceId([in] long id)
- raises( com::sun::star::uno::Exception );
-};
-
-} ; } ; } ; } ; } ; } ;
-
-
-#endif
-
diff --git a/offapi/com/sun/star/xml/crypto/sax/XReferenceResolvedBroadcaster.idl b/offapi/com/sun/star/xml/crypto/sax/XReferenceResolvedBroadcaster.idl
deleted file mode 100644
index c0bab5775..000000000
--- a/offapi/com/sun/star/xml/crypto/sax/XReferenceResolvedBroadcaster.idl
+++ /dev/null
@@ -1,82 +0,0 @@
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-//i20156 - new file for XML security module
-
-/** -- idl definition -- **/
-
-#ifndef __com_sun_star_xml_crypto_sax_xreferenceresolvedbroadcaster_idl_
-#define __com_sun_star_xml_crypto_sax_xreferenceresolvedbroadcaster_idl_
-
-#include <com/sun/star/uno/XInterface.idl>
-#include <com/sun/star/uno/Exception.idl>
-
-module com { module sun { module star { module xml { module crypto { module sax {
-
-interface XReferenceResolvedListener;
-
-/**
- * Interface of Reference Resolved Broadcaster.
- * <p>
- * This interface is used to manipulate reference resolved listener.
- */
-interface XReferenceResolvedBroadcaster : com::sun::star::uno::XInterface
-{
- /**
- * Adds a new reference resolved listener for a element collector.
- * <p>
- * When the element collector has completely collected that element,
- * this listener will receive a notification.
- *
- * @param referenceId the id of the element collector for which
- * the new listener is added
- * @param listener the listener to be added
- */
- void addReferenceResolvedListener(
- [in] long referenceId,
- [in] XReferenceResolvedListener listener);
-
- /**
- * Removes a listener from a element collector.
- * <p>
- * When a listener is removed, it will not receive notification when
- * collection completes.
- *
- * @param referenceId the id of the element collector from which
- * the listener is removed
- * @param listener the listener to be removed
- */
- void removeReferenceResolvedListener(
- [in] long referenceId,
- [in] XReferenceResolvedListener listener);
-};
-
-} ; } ; } ; } ; } ; } ;
-
-
-#endif
-
diff --git a/offapi/com/sun/star/xml/crypto/sax/XReferenceResolvedListener.idl b/offapi/com/sun/star/xml/crypto/sax/XReferenceResolvedListener.idl
deleted file mode 100644
index 1cd5dcbba..000000000
--- a/offapi/com/sun/star/xml/crypto/sax/XReferenceResolvedListener.idl
+++ /dev/null
@@ -1,61 +0,0 @@
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-//i20156 - new file for XML security module
-
-/** -- idl definition -- **/
-
-#ifndef __com_sun_star_xml_crypto_sax_xreferenceresolvedlistener_idl_
-#define __com_sun_star_xml_crypto_sax_xreferenceresolvedlistener_idl_
-
-#include <com/sun/star/uno/XInterface.idl>
-#include <com/sun/star/uno/Exception.idl>
-
-module com { module sun { module star { module xml { module crypto { module sax {
-
-/**
- * Interface of Reference Resolved Listener.
- * <p>
- * This interface is used to receive the collection completion notification for a element
- * collector.
- */
-interface XReferenceResolvedListener : com::sun::star::uno::XInterface
-{
- /**
- * Notifies an element has been collected by an element collector.
- *
- * @param referenceId the id of the element collector
- */
- void referenceResolved([in] long referenceId)
- raises( com::sun::star::uno::Exception );
-};
-
-} ; } ; } ; } ; } ; } ;
-
-
-#endif
-
diff --git a/offapi/com/sun/star/xml/crypto/sax/XSAXEventKeeper.idl b/offapi/com/sun/star/xml/crypto/sax/XSAXEventKeeper.idl
deleted file mode 100644
index 380da18e4..000000000
--- a/offapi/com/sun/star/xml/crypto/sax/XSAXEventKeeper.idl
+++ /dev/null
@@ -1,146 +0,0 @@
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-//i20156 - new file for XML security module
-
-/** -- idl definition -- **/
-
-#ifndef __com_sun_star_xml_crypto_sax_xsaxeventkeeper_idl_
-#define __com_sun_star_xml_crypto_sax_xsaxeventkeeper_idl_
-
-#include <com/sun/star/uno/XInterface.idl>
-#include <com/sun/star/uno/Exception.idl>
-#include <com/sun/star/xml/sax/XDocumentHandler.idl>
-#include <com/sun/star/xml/wrapper/XXMLDocumentWrapper.idl>
-#include <com/sun/star/xml/wrapper/XXMLElementWrapper.idl>
-
-module com { module sun { module star { module xml { module crypto { module sax {
-
-/**
- * Interface of SAX Event Keeper.
- * <p>
- * This interface is used to manipulate element marks in a SAX event stream.
- * <p>
- * There are two kinds of element mark, one is element collector, which is
- * used to collect a particular element from the SAX event stream; the other
- * is blocker, which is used to block the SAX event stream.
- */
-interface XSAXEventKeeper : com::sun::star::uno::XInterface
-{
- /**
- * Adds a new element collector on the next element in the SAX event
- * stream.
- *
- * @return the keeper id of the new element collector
- */
- long addElementCollector();
-
- /**
- * Removes an element collector.
- *
- * @param id the keeper id of the element collector to be removed
- */
- void removeElementCollector([in] long id);
-
- /**
- * Adds a new blocker on the next element in the SAX event stream.
- * <p>
- * No SAX event starting from the next element will be forwarded until
- * this blocker is removed.
- *
- * @return the keeper id of the new blocker
- */
- long addBlocker();
-
- /**
- * Removes a blocker
- *
- * @param id the keeper id of the blocker to be removed
- */
- void removeBlocker([in] long id);
-
- /**
- * Checks whether the SAX event stream is blocking.
- *
- * @return <code>true</code> if blocking, <code>false</code> otherwise
- */
- boolean isBlocking();
-
- /**
- * Gets the element of an element mark.
- *
- * @param id the keeper id of the element mark, it can be a element
- * collector or a blocker
- */
- com::sun::star::xml::wrapper::XXMLElementWrapper getElement([in] long id);
-
- /**
- * Sets the element of an element mark.
- * <p>
- * When an element is replaced outside of this interface, then uses this method
- * can restore the link between an element mark and its working element.
- *
- * @param id the keeper id of the element mark to be set
- * @param aElement the new element for this element mark.
- */
- void setElement(
- [in] long id,
- [in] com::sun::star::xml::wrapper::XXMLElementWrapper aElement);
-
- /**
- * Sets the next document handler in the SAX chain.
- * <p>
- * This handler will receive SAX events forwarded by the SAXEventKeeper.
- *
- * @param nextHandler the next handler in the SAX chain
- * @return the old next handler
- */
- com::sun::star::xml::sax::XDocumentHandler setNextHandler(
- [in] com::sun::star::xml::sax::XDocumentHandler nextHandler);
-
- /**
- * Prints information about all buffered elements.
- *
- * @return a tree-style string including all buffer information
- */
- string printBufferNodeTree();
-
- /**
- * Gets the element which current blocking happens.
- * <p>
- * This element is the working element of the first blocker in tree order.
- *
- * @return the current blocking element
- */
- com::sun::star::xml::wrapper::XXMLElementWrapper getCurrentBlockingNode();
-};
-
-} ; } ; } ; } ; } ; } ;
-
-
-#endif
-
diff --git a/offapi/com/sun/star/xml/crypto/sax/XSAXEventKeeperStatusChangeBroadcaster.idl b/offapi/com/sun/star/xml/crypto/sax/XSAXEventKeeperStatusChangeBroadcaster.idl
deleted file mode 100644
index e532ec539..000000000
--- a/offapi/com/sun/star/xml/crypto/sax/XSAXEventKeeperStatusChangeBroadcaster.idl
+++ /dev/null
@@ -1,76 +0,0 @@
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-//i20156 - new file for XML security module
-
-/** -- idl definition -- **/
-
-#ifndef __com_sun_star_xml_crypto_sax_xsaxeventkeeperstatuschangebroadcaster_idl_
-#define __com_sun_star_xml_crypto_sax_xsaxeventkeeperstatuschangebroadcaster_idl_
-
-#include <com/sun/star/uno/XInterface.idl>
-#include <com/sun/star/uno/Exception.idl>
-
-module com { module sun { module star { module xml { module crypto { module sax {
-
-interface XSAXEventKeeperStatusChangeListener;
-
-/**
- * Interface of SAXEventKeeper Status Change Broadcaster.
- * <p>
- * This interface is used to manipulate SAXEventKeeper status change listener.
- */
-interface XSAXEventKeeperStatusChangeBroadcaster : com::sun::star::uno::XInterface
-{
- /**
- * Adds a new status change listener.
- * <p>
- * When the SAXEventKeeper's status changes, the listener will receive a
- * notification.
- *
- * @param listener the listener to be added
- */
- void addSAXEventKeeperStatusChangeListener(
- [in] XSAXEventKeeperStatusChangeListener listener);
-
- /**
- * Removes a status change listener.
- * <p>
- * After a listener is removed, no status change notification will be
- * sent to it.
- *
- * @param listener the listener to be removed
- */
- void removeSAXEventKeeperStatusChangeListener(
- [in] XSAXEventKeeperStatusChangeListener listener);
-};
-
-} ; } ; } ; } ; } ; } ;
-
-
-#endif
-
diff --git a/offapi/com/sun/star/xml/crypto/sax/XSAXEventKeeperStatusChangeListener.idl b/offapi/com/sun/star/xml/crypto/sax/XSAXEventKeeperStatusChangeListener.idl
deleted file mode 100644
index e136f8453..000000000
--- a/offapi/com/sun/star/xml/crypto/sax/XSAXEventKeeperStatusChangeListener.idl
+++ /dev/null
@@ -1,78 +0,0 @@
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-//i20156 - new file for XML security module
-
-/** -- idl definition -- **/
-
-#ifndef __com_sun_star_xml_crypto_sax_xsaxeventkeeperstatuschangelistener_idl_
-#define __com_sun_star_xml_crypto_sax_xsaxeventkeeperstatuschangelistener_idl_
-
-#include <com/sun/star/uno/XInterface.idl>
-#include <com/sun/star/uno/Exception.idl>
-
-module com { module sun { module star { module xml { module crypto { module sax {
-
-/**
- * Interface of SAXEventKeeper Status Change Listener.
- * <p>
- * This interface is used to receive the SAXEventKeeper status change notification.
- */
-interface XSAXEventKeeperStatusChangeListener : com::sun::star::uno::XInterface
-{
- /**
- * Notifies the SAXEventKeeper is entering/leaving blocking state.
- *
- * @param isBlocking <code>true</code> if the SAXEventKeeper is
- * entering blocking state, <code>false</code>
- * otherwise
- */
- void blockingStatusChanged([in] boolean isBlocking);
-
- /**
- * Notifies the SAXEventKeeper is entering/leaving collecting state.
- *
- * @param isInsideCollectedElement <code>true</code> if the SAXEventKeeper is
- * collecting some element, <code>false</code>
- * otherwise
- */
- void collectionStatusChanged([in] boolean isInsideCollectedElement);
-
- /**
- * Notifies the SAXEventKeeper's buffer is empty/not empty
- *
- * @param isBufferEmpty <code>true</code> if the SAXEventKeeper has no buffer
- * at all; <code>false</code> otherwise.
- */
- void bufferStatusChanged([in] boolean isBufferEmpty);
-};
-
-} ; } ; } ; } ; } ; } ;
-
-
-#endif
-
diff --git a/offapi/com/sun/star/xml/crypto/sax/XSecurityController.idl b/offapi/com/sun/star/xml/crypto/sax/XSecurityController.idl
deleted file mode 100644
index b0dfe8a18..000000000
--- a/offapi/com/sun/star/xml/crypto/sax/XSecurityController.idl
+++ /dev/null
@@ -1,55 +0,0 @@
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-//i20156 - new file for XML security module
-
-/** -- idl definition -- **/
-
-#ifndef __com_sun_star_xml_crypto_sax_xbuffercontroller_idl_
-#define __com_sun_star_xml_crypto_sax_xbuffercontroller_idl_
-
-#include <com/sun/star/uno/XInterface.idl>
-#include <com/sun/star/uno/Exception.idl>
-#include <com/sun/star/xml/sax/XDocumentHandler.idl>
-#include <com/sun/star/io/XInputStream.idl>
-
-module com { module sun { module star { module xml { module crypto { module sax {
-
-/**
- * Interface of XML Security Controller
- * <p>
- * This interface is used to control security operations in the XML security framework.
- */
-interface XSecurityController : com::sun::star::uno::XInterface
-{
-};
-
-} ; } ; } ; } ; } ; } ;
-
-
-#endif
-
diff --git a/offapi/com/sun/star/xml/crypto/sax/XSecuritySAXEventKeeper.idl b/offapi/com/sun/star/xml/crypto/sax/XSecuritySAXEventKeeper.idl
deleted file mode 100644
index 25d99b2ff..000000000
--- a/offapi/com/sun/star/xml/crypto/sax/XSecuritySAXEventKeeper.idl
+++ /dev/null
@@ -1,93 +0,0 @@
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-//i20156 - new file for XML security module
-
-/** -- idl definition -- **/
-
-#ifndef __com_sun_star_xml_crypto_sax_xsecuritysaxeventkeeper_idl_
-#define __com_sun_star_xml_crypto_sax_xsecuritysaxeventkeeper_idl_
-
-#include <com/sun/star/uno/XInterface.idl>
-#include <com/sun/star/uno/Exception.idl>
-#include <com/sun/star/xml/crypto/sax/XSAXEventKeeper.idl>
-#include <com/sun/star/xml/crypto/sax/ConstOfSecurityId.idl>
-#include <com/sun/star/xml/crypto/sax/ElementMarkPriority.idl>
-#include <com/sun/star/xml/crypto/sax/ElementMarkType.idl>
-
-module com { module sun { module star { module xml { module crypto { module sax {
-
-/**
- * Interface of Security SAX Event Keeper.
- * <p>
- * This interface is an extension of the XSAXEventKeeper interface,
- * some security related features are added.
- */
-interface XSecuritySAXEventKeeper : XSAXEventKeeper
-{
- /**
- * Adds a new element collector on the next element in the SAX event
- * stream.
- *
- * @param priority the priority of the element collector. See
- * ConstOfPriority
- * @param modifyElement a flag representing whether the element
- * collector will modify the content of its
- * element after notification
- * @return the keeper id of the new element collector
- */
- long addSecurityElementCollector(
- [in] ElementMarkPriority priority,
- [in] boolean modifyElement);
-
- /**
- * Clones an element collector.
- *
- * @param referenceId the keeper id of the element collector to
- * be cloned
- * @param priority the priority of new element collector. See
- * ConstOfPriority
- * @return the keeper id of the new element collector
- */
- long cloneElementCollector(
- [in] long referenceId,
- [in] ElementMarkPriority priority);
-
- /**
- * Sets security id for an element mark.
- *
- * @param id the keeper id of the element collector to be set
- * @param securityId the security id to be set
- */
- void setSecurityId([in] long id, [in] long securityId);
-};
-
-} ; } ; } ; } ; } ; } ;
-
-
-#endif
-
diff --git a/offapi/com/sun/star/xml/crypto/sax/XSignatureCreationResultBroadcaster.idl b/offapi/com/sun/star/xml/crypto/sax/XSignatureCreationResultBroadcaster.idl
deleted file mode 100644
index a77785569..000000000
--- a/offapi/com/sun/star/xml/crypto/sax/XSignatureCreationResultBroadcaster.idl
+++ /dev/null
@@ -1,76 +0,0 @@
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-//i20156 - new file for XML security module
-
-/** -- idl definition -- **/
-
-#ifndef __com_sun_star_xml_crypto_sax_xsignaturecreationresultbroadcaster_idl_
-#define __com_sun_star_xml_crypto_sax_xsignaturecreationresultbroadcaster_idl_
-
-#include <com/sun/star/uno/XInterface.idl>
-#include <com/sun/star/uno/Exception.idl>
-
-module com { module sun { module star { module xml { module crypto { module sax {
-
-interface XSignatureCreationResultListener;
-
-/**
- * Interface of Signature Creation Result Broadcaster.
- * <p>
- * This interface is used to manipulate signature creation result listener.
- */
-interface XSignatureCreationResultBroadcaster : com::sun::star::uno::XInterface
-{
- /**
- * Adds a new signature creation result listener.
- * <p>
- * When the signature is created, the result information will be sent to this
- * listener.
- *
- * @param listener the listener to be added
- */
- void addSignatureCreationResultListener(
- [in] XSignatureCreationResultListener listener)
- raises( com::sun::star::uno::Exception );
-
- /**
- * Removes a signature creation result listener.
- * <p>
- * After a listener is removed, no result information will be sent to it.
- *
- * @param listener the listener to be removed
- */
- void removeSignatureCreationResultListener(
- [in] XSignatureCreationResultListener listener);
-};
-
-} ; } ; } ; } ; } ; } ;
-
-
-#endif
-
diff --git a/offapi/com/sun/star/xml/crypto/sax/XSignatureCreationResultListener.idl b/offapi/com/sun/star/xml/crypto/sax/XSignatureCreationResultListener.idl
deleted file mode 100644
index 4ebe6207b..000000000
--- a/offapi/com/sun/star/xml/crypto/sax/XSignatureCreationResultListener.idl
+++ /dev/null
@@ -1,64 +0,0 @@
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-//i20156 - new file for xml security module
-
-/** -- idl definition -- **/
-
-#ifndef __com_sun_star_xml_crypto_sax_xsignaturecreationresultlistener_idl_
-#define __com_sun_star_xml_crypto_sax_xsignaturecreationresultlistener_idl_
-
-#include <com/sun/star/uno/XInterface.idl>
-#include <com/sun/star/uno/Exception.idl>
-#include <com/sun/star/xml/crypto/SecurityOperationStatus.idl>
-
-module com { module sun { module star { module xml { module crypto { module sax {
-
-/**
- * Interface of Signature Creation Result Listener.
- * <p>
- * This interface is used to receive the result information of a
- * signature creation.
- */
-interface XSignatureCreationResultListener : com::sun::star::uno::XInterface
-{
- /**
- * Notifies the signature creation result.
- *
- * @param securityId the security id of the signature
- * @param creationResult the result information
- */
- void signatureCreated(
- [in] long securityId,
- [in] com::sun::star::xml::crypto::SecurityOperationStatus creationResult);
-};
-
-} ; } ; } ; } ; } ; } ;
-
-
-#endif
-
diff --git a/offapi/com/sun/star/xml/crypto/sax/XSignatureVerifyResultBroadcaster.idl b/offapi/com/sun/star/xml/crypto/sax/XSignatureVerifyResultBroadcaster.idl
deleted file mode 100644
index 571030894..000000000
--- a/offapi/com/sun/star/xml/crypto/sax/XSignatureVerifyResultBroadcaster.idl
+++ /dev/null
@@ -1,76 +0,0 @@
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-//i20156 - new file for xml security module
-
-/** -- idl definition -- **/
-
-#ifndef __com_sun_star_xml_crypto_sax_xsignatureverifyresultbroadcaster_idl_
-#define __com_sun_star_xml_crypto_sax_xsignatureverifyresultbroadcaster_idl_
-
-#include <com/sun/star/uno/XInterface.idl>
-#include <com/sun/star/uno/Exception.idl>
-
-module com { module sun { module star { module xml { module crypto { module sax {
-
-interface XSignatureVerifyResultListener;
-
-/**
- * Interface of Signature Verify Result Broadcaster.
- * <p>
- * This interface is used to manipulate signature verify result listener.
- */
-interface XSignatureVerifyResultBroadcaster : com::sun::star::uno::XInterface
-{
- /**
- * Adds a new signature verify result listener.
- * <p>
- * When the signature is verified, the result information will be sent to this
- * listener.
- *
- * @param listener the listener to be added
- */
- void addSignatureVerifyResultListener(
- [in] XSignatureVerifyResultListener listener)
- raises( com::sun::star::uno::Exception );
-
- /**
- * Removes a signature verify result listener.
- * <p>
- * After a listener is removed, no result information will be sent to it.
- *
- * @param listener the listener to be removed
- */
- void removeSignatureVerifyResultListener(
- [in] XSignatureVerifyResultListener listener);
-};
-
-} ; } ; } ; } ; } ; } ;
-
-
-#endif
-
diff --git a/offapi/com/sun/star/xml/crypto/sax/XSignatureVerifyResultListener.idl b/offapi/com/sun/star/xml/crypto/sax/XSignatureVerifyResultListener.idl
deleted file mode 100644
index cbfb54c77..000000000
--- a/offapi/com/sun/star/xml/crypto/sax/XSignatureVerifyResultListener.idl
+++ /dev/null
@@ -1,64 +0,0 @@
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-//i20156 - new file for xml security module
-
-/** -- idl definition -- **/
-
-#ifndef __com_sun_star_xml_crypto_sax_xsignatureverifyresultlistener_idl_
-#define __com_sun_star_xml_crypto_sax_xsignatureverifyresultlistener_idl_
-
-#include <com/sun/star/uno/XInterface.idl>
-#include <com/sun/star/uno/Exception.idl>
-#include <com/sun/star/xml/crypto/SecurityOperationStatus.idl>
-
-module com { module sun { module star { module xml { module crypto { module sax {
-
-/**
- * Interface of Signature Verify Result Listener.
- * <p>
- * This interface is used to receive the result information of a
- * signature verification.
- */
-interface XSignatureVerifyResultListener : com::sun::star::uno::XInterface
-{
- /**
- * Notifies the signature verify result.
- *
- * @param securityId the security id of the signature
- * @param verifyResult the result information
- */
- void signatureVerified(
- [in] long securityId,
- [in] com::sun::star::xml::crypto::SecurityOperationStatus verifyResult);
-};
-
-} ; } ; } ; } ; } ; } ;
-
-
-#endif
-