diff options
Diffstat (limited to 'xmlsecurity/source/framework')
21 files changed, 0 insertions, 469 deletions
diff --git a/xmlsecurity/source/framework/buffernode.cxx b/xmlsecurity/source/framework/buffernode.cxx index f68b28b4ce8e..462a98c4ee62 100644 --- a/xmlsecurity/source/framework/buffernode.cxx +++ b/xmlsecurity/source/framework/buffernode.cxx @@ -60,10 +60,6 @@ bool BufferNode::isECOfBeforeModifyIncluded(sal_Int32 nIgnoredSecurityId) const * * RESULT * bExist - true if a match found, false otherwise - * - * AUTHOR - * Michael Mi - * Email: michael.mi@sun.com ******************************************************************************/ { bool rc = false; @@ -104,10 +100,6 @@ void BufferNode::setReceivedAll() * * RESULT * empty - * - * AUTHOR - * Michael Mi - * Email: michael.mi@sun.com ******************************************************************************/ { m_bAllReceived = true; @@ -132,10 +124,6 @@ void BufferNode::addElementCollector(const ElementCollector* pElementCollector) * * RESULT * empty - * - * AUTHOR - * Michael Mi - * Email: michael.mi@sun.com ******************************************************************************/ { m_vElementCollectors.push_back( pElementCollector ); @@ -160,10 +148,6 @@ void BufferNode::removeElementCollector(const ElementCollector* pElementCollecto * * RESULT * empty - * - * AUTHOR - * Michael Mi - * Email: michael.mi@sun.com ******************************************************************************/ { std::vector< const ElementCollector* >::iterator ii = m_vElementCollectors.begin(); @@ -201,10 +185,6 @@ void BufferNode::setBlocker(const ElementMark* pBlocker) * NOTES * Because there is only one blocker permitted for a BufferNode, so the * old blocker on this BufferNode, if there is one, will be overcasted. - * - * AUTHOR - * Michael Mi - * Email: michael.mi@sun.com ******************************************************************************/ { OSL_ASSERT(!(m_pBlocker != nullptr && pBlocker != nullptr)); @@ -233,10 +213,6 @@ OUString BufferNode::printChildren() const * * RESULT * result - the information string - * - * AUTHOR - * Michael Mi - * Email: michael.mi@sun.com ******************************************************************************/ { OUString rc; @@ -290,10 +266,6 @@ bool BufferNode::hasAnything() const * * RESULT * bExist - true if there is, false otherwise. - * - * AUTHOR - * Michael Mi - * Email: michael.mi@sun.com ******************************************************************************/ { return (m_pBlocker || !m_vElementCollectors.empty()); @@ -317,10 +289,6 @@ bool BufferNode::hasChildren() const * * RESULT * bExist - true if there is, false otherwise. - * - * AUTHOR - * Michael Mi - * Email: michael.mi@sun.com ******************************************************************************/ { return (!m_vChildren.empty()); @@ -349,10 +317,6 @@ const BufferNode* BufferNode::getFirstChild() const * RESULT * child - the first child BufferNode, or NULL if there is no child * BufferNode. - * - * AUTHOR - * Michael Mi - * Email: michael.mi@sun.com ******************************************************************************/ { BufferNode* rc = nullptr; @@ -387,10 +351,6 @@ void BufferNode::addChild(const BufferNode* pChild, sal_Int32 nPosition) * NOTES * If the nPosition is -1, then the new child BufferNode is appended * at the end. - * - * AUTHOR - * Michael Mi - * Email: michael.mi@sun.com ******************************************************************************/ { if (nPosition == -1) @@ -425,10 +385,6 @@ void BufferNode::addChild(const BufferNode* pChild) * * NOTES * The new child BufferNode is appended at the end. - * - * AUTHOR - * Michael Mi - * Email: michael.mi@sun.com ******************************************************************************/ { addChild(pChild, -1); @@ -451,10 +407,6 @@ void BufferNode::removeChild(const BufferNode* pChild) * * RESULT * empty - * - * AUTHOR - * Michael Mi - * Email: michael.mi@sun.com ******************************************************************************/ { std::vector< const BufferNode* >::iterator ii = m_vChildren.begin(); @@ -487,10 +439,6 @@ sal_Int32 BufferNode::indexOfChild(const BufferNode* pChild) const * RESULT * index - the index of that child BufferNode. If that child BufferNode * is not found, -1 is returned. - * - * AUTHOR - * Michael Mi - * Email: michael.mi@sun.com ******************************************************************************/ { sal_Int32 nIndex = 0; @@ -539,10 +487,6 @@ const BufferNode* BufferNode::getNextSibling() const * * RESULT * sibling - the next sibling BufferNode, or NULL if there is none. - * - * AUTHOR - * Michael Mi - * Email: michael.mi@sun.com ******************************************************************************/ { BufferNode* rc = nullptr; @@ -574,10 +518,6 @@ const BufferNode* BufferNode::isAncestor(const BufferNode* pDescendant) const * RESULT * bIs - true if this BufferNode is an ancestor of the pDescendant, * false otherwise. - * - * AUTHOR - * Michael Mi - * Email: michael.mi@sun.com ******************************************************************************/ { BufferNode* rc = nullptr; @@ -626,10 +566,6 @@ bool BufferNode::isPrevious(const BufferNode* pFollowing) const * RESULT * bIs - true if this BufferNode is ahead in the tree order, false * otherwise. - * - * AUTHOR - * Michael Mi - * Email: michael.mi@sun.com ******************************************************************************/ { bool rc = false; @@ -676,10 +612,6 @@ const BufferNode* BufferNode::getNextNodeByTreeOrder() const * 3. otherwise, if it has a parent node, the parent's next sibling * node is; * 4. otherwise, no "next" node exists. - * - * AUTHOR - * Michael Mi - * Email: michael.mi@sun.com ******************************************************************************/ { /* @@ -752,10 +684,6 @@ void BufferNode::notifyBranch() * * RESULT * empty - * - * AUTHOR - * Michael Mi - * Email: michael.mi@sun.com ******************************************************************************/ { std::vector< const BufferNode* >::const_iterator ii = m_vChildren.begin(); @@ -786,10 +714,6 @@ void BufferNode::elementCollectorNotify() * RESULT * child - the first child BufferNode, or NULL if there is no child * BufferNode. - * - * AUTHOR - * Michael Mi - * Email: michael.mi@sun.com ******************************************************************************/ { if (!m_vElementCollectors.empty()) @@ -876,10 +800,6 @@ bool BufferNode::isECInSubTreeIncluded(sal_Int32 nIgnoredSecurityId) const * * RESULT * bExist - true if a match found, false otherwise. - * - * AUTHOR - * Michael Mi - * Email: michael.mi@sun.com ******************************************************************************/ { bool rc = false; @@ -940,10 +860,6 @@ bool BufferNode::isECOfBeforeModifyInAncestorIncluded(sal_Int32 nIgnoredSecurity * * RESULT * bExist - true if a match found, false otherwise. - * - * AUTHOR - * Michael Mi - * Email: michael.mi@sun.com ******************************************************************************/ { bool rc = false; @@ -985,10 +901,6 @@ bool BufferNode::isBlockerInSubTreeIncluded(sal_Int32 nIgnoredSecurityId) const * * RESULT * bExist - true if a match found, false otherwise. - * - * AUTHOR - * Michael Mi - * Email: michael.mi@sun.com ******************************************************************************/ { bool rc = false; @@ -1036,10 +948,6 @@ const BufferNode* BufferNode::getNextChild(const BufferNode* pChild) const * RESULT * nextChild - the next child BufferNode after the pChild, or NULL if * there is none. - * - * AUTHOR - * Michael Mi - * Email: michael.mi@sun.com ******************************************************************************/ { BufferNode* rc = nullptr; @@ -1081,10 +989,6 @@ void BufferNode::freeAllChildren() * * RESULT * empty - * - * AUTHOR - * Michael Mi - * Email: michael.mi@sun.com ******************************************************************************/ { std::vector< const BufferNode* >::const_iterator ii = m_vChildren.begin(); diff --git a/xmlsecurity/source/framework/buffernode.hxx b/xmlsecurity/source/framework/buffernode.hxx index 18f3bb63a27b..9495bebeeb72 100644 --- a/xmlsecurity/source/framework/buffernode.hxx +++ b/xmlsecurity/source/framework/buffernode.hxx @@ -42,10 +42,6 @@ class BufferNode * an ancestor of another bufferred element, then the corresponding * BufferNode objects are also in ancestor/descendant relationship. * This class is used to manipulate the tree of bufferred elements. - * - * AUTHOR - * Michael Mi - * Email: michael.mi@sun.com ******************************************************************************/ { private: diff --git a/xmlsecurity/source/framework/decryptorimpl.cxx b/xmlsecurity/source/framework/decryptorimpl.cxx index 13577cffd837..d499bcd96087 100644 --- a/xmlsecurity/source/framework/decryptorimpl.cxx +++ b/xmlsecurity/source/framework/decryptorimpl.cxx @@ -56,15 +56,8 @@ bool DecryptorImpl::checkReady() const * 1. the result listener is ready; * 2. the EncryptionEngine is ready. * - * INPUTS - * empty - * * RESULT * bReady - true if all conditions are satisfied, false otherwise - * - * AUTHOR - * Michael Mi - * Email: michael.mi@sun.com ******************************************************************************/ { return (m_xResultListener.is() && EncryptionEngine::checkReady()); @@ -77,22 +70,6 @@ void DecryptorImpl::notifyResultListener() const * NAME * notifyResultListener -- notifies the listener about the decryption * result. - * - * SYNOPSIS - * notifyResultListener( ); - * - * FUNCTION - * see NAME. - * - * INPUTS - * empty - * - * RESULT - * empty - * - * AUTHOR - * Michael Mi - * Email: michael.mi@sun.com ******************************************************************************/ { cssu::Reference< cssxc::sax::XDecryptionResultListener > @@ -110,9 +87,6 @@ void DecryptorImpl::startEngine( const cssu::Reference< * NAME * startEngine -- decrypts the encryption. * - * SYNOPSIS - * startEngine( xEncryptionTemplate ); - * * FUNCTION * decrypts the encryption element, then if succeeds, updates the link * of old template element to the new encryption element in @@ -120,13 +94,6 @@ void DecryptorImpl::startEngine( const cssu::Reference< * * INPUTS * xEncryptionTemplate - the encryption template to be decrypted. - * - * RESULT - * empty - * - * AUTHOR - * Michael Mi - * Email: michael.mi@sun.com ******************************************************************************/ { cssu::Reference< cssxc::XXMLEncryptionTemplate > xResultTemplate; diff --git a/xmlsecurity/source/framework/decryptorimpl.hxx b/xmlsecurity/source/framework/decryptorimpl.hxx index 4328256f0e26..4210383437ac 100644 --- a/xmlsecurity/source/framework/decryptorimpl.hxx +++ b/xmlsecurity/source/framework/decryptorimpl.hxx @@ -46,10 +46,6 @@ class DecryptorImpl : public DecryptorImpl_Base * FUNCTION * Collects all resources for decrypting an encryption, then decrypts the * encryption by invoking a xmlsec-based encryption bridge component. - * - * AUTHOR - * Michael Mi - * Email: michael.mi@sun.com ******************************************************************************/ { private: diff --git a/xmlsecurity/source/framework/elementcollector.cxx b/xmlsecurity/source/framework/elementcollector.cxx index bfaec16af04b..ccdcb723bc26 100644 --- a/xmlsecurity/source/framework/elementcollector.cxx +++ b/xmlsecurity/source/framework/elementcollector.cxx @@ -68,13 +68,6 @@ ElementCollector::ElementCollector( * element. * xReferenceResolvedListener * - the listener that this ElementCollector notifies to. - * - * RESULT - * empty - * - * AUTHOR - * Michael Mi - * Email: michael.mi@sun.com ******************************************************************************/ { m_type = cssxc::sax::ElementMarkType_ELEMENTCOLLECTOR; @@ -92,16 +85,6 @@ void ElementCollector::notifyListener() * * FUNCTION * enable the ability to notify the listener and try to notify then. - * - * INPUTS - * empty - * - * RESULT - * empty - * - * AUTHOR - * Michael Mi - * Email: michael.mi@sun.com ******************************************************************************/ { m_bAbleToNotify = true; @@ -124,13 +107,6 @@ void ElementCollector::setReferenceResolvedListener( * * INPUTS * xReferenceResolvedListener - the new listener - * - * RESULT - * empty - * - * AUTHOR - * Michael Mi - * Email: michael.mi@sun.com ******************************************************************************/ { m_xReferenceResolvedListener = xReferenceResolvedListener; @@ -152,16 +128,6 @@ void ElementCollector::doNotify() * the notify right is granted; * the listener has already been configured; * the security id has already been configure - * - * INPUTS - * empty - * - * RESULT - * empty - * - * AUTHOR - * Michael Mi - * Email: michael.mi@sun.com ******************************************************************************/ { if (!m_bNotified && @@ -191,13 +157,6 @@ ElementCollector* ElementCollector::clone( * INPUTS * nBufferId - the buffer node's Id * nPriority - the priority - * - * RESULT - * clone - a new ElementCollector - * - * AUTHOR - * Michael Mi - * Email: michael.mi@sun.com ******************************************************************************/ { ElementCollector* pClonedOne diff --git a/xmlsecurity/source/framework/elementcollector.hxx b/xmlsecurity/source/framework/elementcollector.hxx index dfc73b04b462..cec87b6cdc44 100644 --- a/xmlsecurity/source/framework/elementcollector.hxx +++ b/xmlsecurity/source/framework/elementcollector.hxx @@ -34,10 +34,6 @@ class ElementCollector : public ElementMark * This class is derived from the ElementMark class. Beyond the function * of the ElementMark class, this class also maintains the priority, and * manages the notify process - * - * AUTHOR - * Michael Mi - * Email: michael.mi@sun.com ******************************************************************************/ { private: diff --git a/xmlsecurity/source/framework/elementmark.cxx b/xmlsecurity/source/framework/elementmark.cxx index 66ebe4b70098..2ce86f8a1b60 100644 --- a/xmlsecurity/source/framework/elementmark.cxx +++ b/xmlsecurity/source/framework/elementmark.cxx @@ -47,13 +47,6 @@ ElementMark::ElementMark(sal_Int32 nSecurityId, sal_Int32 nBufferId) * wrapper component. The document wrapper component * uses this id to search the particular bufferred * element. - * - * RESULT - * empty - * - * AUTHOR - * Michael Mi - * Email: michael.mi@sun.com ******************************************************************************/ { } diff --git a/xmlsecurity/source/framework/elementmark.hxx b/xmlsecurity/source/framework/elementmark.hxx index 8838f2462fdd..ac86e87cdd78 100644 --- a/xmlsecurity/source/framework/elementmark.hxx +++ b/xmlsecurity/source/framework/elementmark.hxx @@ -34,10 +34,6 @@ class ElementMark * FUNCTION * This class maintains the security id, buffer id and its type for a * buffer node. - * - * AUTHOR - * Michael Mi - * Email: michael.mi@sun.com ******************************************************************************/ { protected: diff --git a/xmlsecurity/source/framework/encryptionengine.cxx b/xmlsecurity/source/framework/encryptionengine.cxx index 30d8452605c9..cef5f66479f9 100644 --- a/xmlsecurity/source/framework/encryptionengine.cxx +++ b/xmlsecurity/source/framework/encryptionengine.cxx @@ -49,15 +49,8 @@ bool EncryptionEngine::checkReady() const * 4. both the key element and the encryption template * are bufferred. * - * INPUTS - * empty - * * RESULT * bReady - true if all conditions are satisfied, false otherwise - * - * AUTHOR - * Michael Mi - * Email: michael.mi@sun.com ******************************************************************************/ { bool rc = true; @@ -96,16 +89,6 @@ void EncryptionEngine::tryToPerform( ) * 3. clears up all used resources; * 4. notifies the result listener; * 5. sets the "accomplishment" flag. - * - * INPUTS - * empty - * - * RESULT - * empty - * - * AUTHOR - * Michael Mi - * Email: michael.mi@sun.com ******************************************************************************/ { if (checkReady()) @@ -145,16 +128,6 @@ void EncryptionEngine::clearUp( ) const * 1. releases the ElementCollector for the encryption template element; * 2. releases the Blocker for the encryption template element; * 3. releases the ElementCollector for the key element, if there is one. - * - * INPUTS - * empty - * - * RESULT - * empty - * - * AUTHOR - * Michael Mi - * Email: michael.mi@sun.com ******************************************************************************/ { Reference < cssxc::sax::XReferenceResolvedBroadcaster > diff --git a/xmlsecurity/source/framework/encryptionengine.hxx b/xmlsecurity/source/framework/encryptionengine.hxx index 01ea419aa83d..bcf8bfb80b31 100644 --- a/xmlsecurity/source/framework/encryptionengine.hxx +++ b/xmlsecurity/source/framework/encryptionengine.hxx @@ -48,10 +48,6 @@ class EncryptionEngine : public cppu::ImplInheritanceHelper * * FUNCTION * Maintains common members and methods related with encryption. - * - * AUTHOR - * Michael Mi - * Email: michael.mi@sun.com ******************************************************************************/ { private: diff --git a/xmlsecurity/source/framework/encryptorimpl.cxx b/xmlsecurity/source/framework/encryptorimpl.cxx index 03823e5facbc..33bd583b5d85 100644 --- a/xmlsecurity/source/framework/encryptorimpl.cxx +++ b/xmlsecurity/source/framework/encryptorimpl.cxx @@ -56,15 +56,8 @@ bool EncryptorImpl::checkReady() const * 1. the result listener is ready; * 2. the EncryptionEngine is ready. * - * INPUTS - * empty - * * RESULT * bReady - true if all conditions are satisfied, false otherwise - * - * AUTHOR - * Michael Mi - * Email: michael.mi@sun.com ******************************************************************************/ { sal_Int32 nKeyInc = 0; @@ -86,22 +79,6 @@ void EncryptorImpl::notifyResultListener() const * NAME * notifyResultListener -- notifies the listener about the encryption * result. - * - * SYNOPSIS - * notifyResultListener( ); - * - * FUNCTION - * see NAME. - * - * INPUTS - * empty - * - * RESULT - * empty - * - * AUTHOR - * Michael Mi - * Email: michael.mi@sun.com ******************************************************************************/ { Reference< cssxc::sax::XEncryptionResultListener > @@ -129,13 +106,6 @@ void EncryptorImpl::startEngine( const Reference< * * INPUTS * xEncryptionTemplate - the encryption template to be encrypted. - * - * RESULT - * empty - * - * AUTHOR - * Michael Mi - * Email: michael.mi@sun.com ******************************************************************************/ { Reference < cssxc::XXMLEncryptionTemplate > xResultTemplate; diff --git a/xmlsecurity/source/framework/encryptorimpl.hxx b/xmlsecurity/source/framework/encryptorimpl.hxx index 486a59cc3382..cc850d397de4 100644 --- a/xmlsecurity/source/framework/encryptorimpl.hxx +++ b/xmlsecurity/source/framework/encryptorimpl.hxx @@ -49,10 +49,6 @@ class EncryptorImpl : public EncryptorImpl_Base * FUNCTION * Collects all resources for an encryption generation, then generates the * encryption by invoking a xmlsec-based encryption bridge component. - * - * AUTHOR - * Michael Mi - * Email: michael.mi@sun.com ******************************************************************************/ { private: diff --git a/xmlsecurity/source/framework/saxeventkeeperimpl.cxx b/xmlsecurity/source/framework/saxeventkeeperimpl.cxx index 492e23ef4783..768eb6608287 100644 --- a/xmlsecurity/source/framework/saxeventkeeperimpl.cxx +++ b/xmlsecurity/source/framework/saxeventkeeperimpl.cxx @@ -97,13 +97,6 @@ void SAXEventKeeperImpl::setCurrentBufferNode(BufferNode* pBufferNode) * * INPUTS * pBufferNode - a BufferNode which will be the new active BufferNode - * - * RESULT - * empty - * - * AUTHOR - * Michael Mi - * Email: michael.mi@sun.com ******************************************************************************/ { if (pBufferNode != m_pCurrentBufferNode) @@ -139,16 +132,9 @@ BufferNode* SAXEventKeeperImpl::addNewElementMarkBuffers() * current BufferNode doesn't exist, creates one. * Clears up the new ElementCollector list and the new Blocker pointer. * - * INPUTS - * empty - * * RESULT * pBufferNode - the BufferNode that has been connected with both new * ElementCollectors and new Blocker. - * - * AUTHOR - * Michael Mi - * Email: michael.mi@sun.com ******************************************************************************/ { BufferNode* pBufferNode = nullptr; @@ -228,10 +214,6 @@ ElementMark* SAXEventKeeperImpl::findElementMarkBuffer(sal_Int32 nId) const * RESULT * pElementMark - the ElementMark with the particular Id, or NULL when * no such Id exists. - * - * AUTHOR - * Michael Mi - * Email: michael.mi@sun.com ******************************************************************************/ { ElementMark* pElementMark = nullptr; @@ -264,13 +246,6 @@ void SAXEventKeeperImpl::removeElementMarkBuffer(sal_Int32 nId) * * INPUTS * nId - the Id of the ElementMark to be removed. - * - * RESULT - * empty - * - * AUTHOR - * Michael Mi - * Email: michael.mi@sun.com ******************************************************************************/ { std::vector< const ElementMark* >::iterator ii = m_vElementMarkBuffers.begin(); @@ -339,10 +314,6 @@ OUString SAXEventKeeperImpl::printBufferNode( * * RESULT * info - the information string - * - * AUTHOR - * Michael Mi - * Email: michael.mi@sun.com ******************************************************************************/ { OUString rc; @@ -403,18 +374,11 @@ cssu::Sequence< cssu::Reference< cssxw::XXMLElementWrapper > > * SYNOPSIS * list = collectChildWorkingElement( pBufferNode ); * - * FUNCTION - * see NAME. - * * INPUTS * pBufferNode - the BufferNode whose child Elements will be collected. * * RESULT * list - the child Elements list. - * - * AUTHOR - * Michael Mi - * Email: michael.mi@sun.com ******************************************************************************/ { std::vector< const BufferNode* >* vChildren = pBufferNode->getChildren(); @@ -458,9 +422,6 @@ void SAXEventKeeperImpl::smashBufferNode( * pBufferNode - the BufferNode to be removed * bClearRoot - whether the root element also needs to be cleared up. * - * RESULT - * empty - * * NOTES * when removing a Blocker's BufferNode, the bClearRoot flag should be * true. Because a Blocker can buffer many SAX events which are not used @@ -469,10 +430,6 @@ void SAXEventKeeperImpl::smashBufferNode( * cleared, with a stop flag seting at the next Blocking BufferNode. This * operation can delete all useless bufferred SAX events which are only * needed by the Blocker to be deleted. - * - * AUTHOR - * Michael Mi - * Email: michael.mi@sun.com ******************************************************************************/ { if (!pBufferNode->hasAnything()) @@ -601,9 +558,6 @@ BufferNode* SAXEventKeeperImpl::findNextBlockingBufferNode( * SYNOPSIS * pBufferNode = findNextBlockingBufferNode( pStartBufferNode ); * - * FUNCTION - * see NAME. - * * INPUTS * pStartBufferNode - the BufferNode from where to search the next * blocking BufferNode. @@ -611,10 +565,6 @@ BufferNode* SAXEventKeeperImpl::findNextBlockingBufferNode( * RESULT * pBufferNode - the next blocking BufferNode, or NULL if no such * BufferNode exists. - * - * AUTHOR - * Michael Mi - * Email: michael.mi@sun.com ******************************************************************************/ { BufferNode* pNext = nullptr; @@ -652,13 +602,6 @@ void SAXEventKeeperImpl::diffuse(BufferNode* pBufferNode) * INPUTS * pBufferNode - the BufferNode from which the notification will be * diffused. - * - * RESULT - * empty - * - * AUTHOR - * Michael Mi - * Email: michael.mi@sun.com ******************************************************************************/ { BufferNode* pParent = pBufferNode; @@ -683,16 +626,6 @@ void SAXEventKeeperImpl::releaseElementMarkBuffer() * releases each ElementMark in the releasing list * m_vReleasedElementMarkBuffers. * The operation differs between an ElementCollector and a Blocker. - * - * INPUTS - * empty - * - * RESULT - * empty - * - * AUTHOR - * Michael Mi - * Email: michael.mi@sun.com ******************************************************************************/ { m_bIsReleasing = true; @@ -838,13 +771,6 @@ void SAXEventKeeperImpl::markElementMarkBuffer(sal_Int32 nId) * * INPUTS * nId - the Id of the ElementMark which will be released - * - * RESULT - * empty - * - * AUTHOR - * Michael Mi - * Email: michael.mi@sun.com ******************************************************************************/ { m_vReleasedElementMarkBuffers.push_back( nId ); @@ -881,10 +807,6 @@ sal_Int32 SAXEventKeeperImpl::createElementCollector( * * RESULT * nId - the Id of the new ElementCollector - * - * AUTHOR - * Michael Mi - * Email: michael.mi@sun.com ******************************************************************************/ { sal_Int32 nId = m_nNextElementMarkId; @@ -918,15 +840,8 @@ sal_Int32 SAXEventKeeperImpl::createBlocker() * SYNOPSIS * nId = createBlocker( nSecurityId ); * - * FUNCTION - * see NAME. - * * RESULT * nId - the Id of the new Blocker - * - * AUTHOR - * Michael Mi - * Email: michael.mi@sun.com ******************************************************************************/ { sal_Int32 nId = m_nNextElementMarkId; diff --git a/xmlsecurity/source/framework/saxeventkeeperimpl.hxx b/xmlsecurity/source/framework/saxeventkeeperimpl.hxx index f1915831a53c..e959017b010b 100644 --- a/xmlsecurity/source/framework/saxeventkeeperimpl.hxx +++ b/xmlsecurity/source/framework/saxeventkeeperimpl.hxx @@ -55,10 +55,6 @@ class SAXEventKeeperImpl : public cppu::WeakImplHelper * FUNCTION * Controls SAX events to be bufferred, and controls bufferred SAX events * to be released. - * - * AUTHOR - * Michael Mi - * Email: michael.mi@sun.com ******************************************************************************/ { private: diff --git a/xmlsecurity/source/framework/securityengine.hxx b/xmlsecurity/source/framework/securityengine.hxx index e677c4964598..c7eb3b262aed 100644 --- a/xmlsecurity/source/framework/securityengine.hxx +++ b/xmlsecurity/source/framework/securityengine.hxx @@ -43,10 +43,6 @@ class SecurityEngine : public cppu::WeakImplHelper * FUNCTION * Maintains common members and methods related with security engine * operation. - * - * AUTHOR - * Michael Mi - * Email: michael.mi@sun.com ******************************************************************************/ { protected: diff --git a/xmlsecurity/source/framework/signaturecreatorimpl.cxx b/xmlsecurity/source/framework/signaturecreatorimpl.cxx index ee9064224f4a..905db95a6787 100644 --- a/xmlsecurity/source/framework/signaturecreatorimpl.cxx +++ b/xmlsecurity/source/framework/signaturecreatorimpl.cxx @@ -58,15 +58,8 @@ bool SignatureCreatorImpl::checkReady() const * 2. the id of the template blocker is known; * 3. the SignatureEngine is ready. * - * INPUTS - * empty - * * RESULT * bReady - true if all conditions are satisfied, false otherwise - * - * AUTHOR - * Michael Mi - * Email: michael.mi@sun.com ******************************************************************************/ { return (m_xResultListener.is() && @@ -81,22 +74,6 @@ void SignatureCreatorImpl::notifyResultListener() const * NAME * notifyResultListener -- notifies the listener about the signature * creation result. - * - * SYNOPSIS - * notifyResultListener( ); - * - * FUNCTION - * see NAME. - * - * INPUTS - * empty - * - * RESULT - * empty - * - * AUTHOR - * Michael Mi - * Email: michael.mi@sun.com ******************************************************************************/ { cssu::Reference< cssxc::sax::XSignatureCreationResultListener > @@ -125,13 +102,6 @@ void SignatureCreatorImpl::startEngine( const cssu::Reference< * INPUTS * xSignatureTemplate - the signature template (along with all referenced * elements) to be signed. - * - * RESULT - * empty - * - * AUTHOR - * Michael Mi - * Email: michael.mi@sun.com ******************************************************************************/ { cssu::Reference< cssxc::XXMLSignatureTemplate > xResultTemplate; @@ -165,16 +135,6 @@ void SignatureCreatorImpl::clearUp() const * cleaning resources up includes: * 1. SignatureEngine's clearing up; * 2. releases the Blocker for the signature template element. - * - * INPUTS - * empty - * - * RESULT - * empty - * - * AUTHOR - * Michael Mi - * Email: michael.mi@sun.com ******************************************************************************/ { SignatureEngine::clearUp(); diff --git a/xmlsecurity/source/framework/signaturecreatorimpl.hxx b/xmlsecurity/source/framework/signaturecreatorimpl.hxx index 638d4cc4693c..3915f483e07a 100644 --- a/xmlsecurity/source/framework/signaturecreatorimpl.hxx +++ b/xmlsecurity/source/framework/signaturecreatorimpl.hxx @@ -49,10 +49,6 @@ class SignatureCreatorImpl : public SignatureCreatorImpl_Base * FUNCTION * Collects all resources for a signature generation, then generates the * signature by invoking a xmlsec-based signature bridge component. - * - * AUTHOR - * Michael Mi - * Email: michael.mi@sun.com ******************************************************************************/ { private: diff --git a/xmlsecurity/source/framework/signatureengine.cxx b/xmlsecurity/source/framework/signatureengine.cxx index 15285b52bdf0..d4b322fde9aa 100644 --- a/xmlsecurity/source/framework/signatureengine.cxx +++ b/xmlsecurity/source/framework/signatureengine.cxx @@ -51,15 +51,8 @@ bool SignatureEngine::checkReady() const * 4. all of referenced elements, the key element and the signature * template are bufferred. * - * INPUTS - * empty - * * RESULT * bReady - true if all conditions are satisfied, false otherwise - * - * AUTHOR - * Michael Mi - * Email: michael.mi@sun.com ******************************************************************************/ { bool rc = true; @@ -88,9 +81,6 @@ void SignatureEngine::tryToPerform( ) * NAME * tryToPerform -- tries to perform the signature operation. * - * SYNOPSIS - * tryToPerform( ); - * * FUNCTION * if the situation is ready, perform following operations. * 1. prepares a signature template; @@ -98,16 +88,6 @@ void SignatureEngine::tryToPerform( ) * 3. clears up all used resources; * 4. notifies the result listener; * 5. sets the "accomplishment" flag. - * - * INPUTS - * empty - * - * RESULT - * empty - * - * AUTHOR - * Michael Mi - * Email: michael.mi@sun.com ******************************************************************************/ { if (checkReady()) @@ -152,24 +132,11 @@ void SignatureEngine::clearUp( ) const * NAME * clearUp -- clear up all resources used by this operation. * - * SYNOPSIS - * clearUp( ); - * * FUNCTION * cleaning resources up includes: * 1. releases the ElementCollector for the signature template element; * 2. releases ElementCollectors for referenced elements; * 3. releases the ElementCollector for the key element, if there is one. - * - * INPUTS - * empty - * - * RESULT - * empty - * - * AUTHOR - * Michael Mi - * Email: michael.mi@sun.com ******************************************************************************/ { cssu::Reference < cssxc::sax::XReferenceResolvedBroadcaster > diff --git a/xmlsecurity/source/framework/signatureengine.hxx b/xmlsecurity/source/framework/signatureengine.hxx index 1c9fd41d93e0..b0a7a3d0d165 100644 --- a/xmlsecurity/source/framework/signatureengine.hxx +++ b/xmlsecurity/source/framework/signatureengine.hxx @@ -51,10 +51,6 @@ class SignatureEngine : public cppu::ImplInheritanceHelper * * FUNCTION * Maintains common members and methods related with signature operation. - * - * AUTHOR - * Michael Mi - * Email: michael.mi@sun.com ******************************************************************************/ { private: diff --git a/xmlsecurity/source/framework/signatureverifierimpl.cxx b/xmlsecurity/source/framework/signatureverifierimpl.cxx index 6d3f0efe28a4..3d3c80d923ba 100644 --- a/xmlsecurity/source/framework/signatureverifierimpl.cxx +++ b/xmlsecurity/source/framework/signatureverifierimpl.cxx @@ -55,15 +55,8 @@ bool SignatureVerifierImpl::checkReady() const * 1. the result listener is ready; * 2. the SignatureEngine is ready. * - * INPUTS - * empty - * * RESULT * bReady - true if all conditions are satisfied, false otherwise - * - * AUTHOR - * Michael Mi - * Email: michael.mi@sun.com ******************************************************************************/ { return (m_xResultListener.is() && SignatureEngine::checkReady()); @@ -75,22 +68,6 @@ void SignatureVerifierImpl::notifyResultListener() const * * NAME * notifyResultListener -- notifies the listener about the verify result. - * - * SYNOPSIS - * notifyResultListener( ); - * - * FUNCTION - * see NAME. - * - * INPUTS - * empty - * - * RESULT - * empty - * - * AUTHOR - * Michael Mi - * Email: michael.mi@sun.com ******************************************************************************/ { cssu::Reference< cssxc::sax::XSignatureVerifyResultListener > @@ -111,19 +88,9 @@ void SignatureVerifierImpl::startEngine( const cssu::Reference< * SYNOPSIS * startEngine( xSignatureTemplate ); * - * FUNCTION - * see NAME. - * * INPUTS * xSignatureTemplate - the signature template (along with all referenced * elements) to be verified. - * - * RESULT - * empty - * - * AUTHOR - * Michael Mi - * Email: michael.mi@sun.com ******************************************************************************/ { cssu::Reference< cssxc::XXMLSignatureTemplate > xResultTemplate; diff --git a/xmlsecurity/source/framework/signatureverifierimpl.hxx b/xmlsecurity/source/framework/signatureverifierimpl.hxx index 2130e7c9c567..de1f3322a70d 100644 --- a/xmlsecurity/source/framework/signatureverifierimpl.hxx +++ b/xmlsecurity/source/framework/signatureverifierimpl.hxx @@ -48,10 +48,6 @@ class SignatureVerifierImpl : public SignatureVerifierImpl_Base * FUNCTION * Collects all resources for a signature verification, then verifies the * signature by invoking a xmlsec-based signature bridge component. - * - * AUTHOR - * Michael Mi - * Email: michael.mi@sun.com ******************************************************************************/ { private: |