Lines Matching refs:OUString
162 rtl::OUString m_ouKeyURI;
213 bool setKey( const rtl::OUString& ouUri, bool bIsExporting );
215 void setKeyURI(const rtl::OUString& ouUri);
224 std::vector< rtl::OUString > m_vReferenceIds;
227 bool hasReference(const rtl::OUString& ouUri) const;
248 bool setReference( const rtl::OUString& ouUri, bool bIsExporting ) const;
249 void addReferenceURI( const rtl::OUString& ouUri );
257 rtl::OUString ouName;
304 std::vector< rtl::OUString > m_vUnsolvedReferenceURIs;
322 rtl::OUString m_ouJavaCryptokenDir;
323 rtl::OUString m_ouCCryptokenDir;
324 rtl::OUString m_ouXMLDocumentWrapperComponentName;
329 createOutputStream( const rtl::OUString& ouFile );
331 rtl::OUString parseFile(
332 const rtl::OUString& ouInputFileName,
333 const rtl::OUString& ouOutputFileName,
341 …void findKeyOrReference(SecurityEntity* pSecurityEntity, const rtl::OUString& ouUri, bool bIsFindK…
344 const rtl::OUString& ouLocalName,
349 const rtl::OUString& ouLocalName,
352 const rtl::OUString& ouId);
357 const rtl::OUString& ouName,
361 void addEndAncestorEvent( const rtl::OUString& ouName );
368 const rtl::OUString& ouName,
375 const rtl::OUString& ouName,
412 virtual rtl::OUString SAL_CALL transfer_without_sec(
413 const rtl::OUString& inputFileName,
414 const rtl::OUString& outputFileName,
417 virtual rtl::OUString SAL_CALL export_xml(
418 const rtl::OUString& inputFileName,
419 const rtl::OUString& outputFileName,
422 virtual rtl::OUString SAL_CALL import_xml(
423 const rtl::OUString& inputFileName,
424 const rtl::OUString& outputFileName,
429 const rtl::OUString & javaDirName,
430 const rtl::OUString & cDirName)
438 virtual void SAL_CALL characters(const class rtl::OUString&)
440 virtual void SAL_CALL processingInstruction(const rtl::OUString&, const rtl::OUString&)
442 virtual void SAL_CALL ignorableWhitespace(const rtl::OUString&)
445 const rtl::OUString&,
448 virtual void SAL_CALL endElement(const rtl::OUString&)
455 rtl::OUString XSecTester::parseFile( in parseFile()
456 const rtl::OUString& ouInputFileName, in parseFile()
457 const rtl::OUString& ouOutputFileName, in parseFile()
461 rtl::OUString ouMessage; in parseFile()
468 rtl::OUString SEInitializer_comp; in parseFile()
469 rtl::OUString XMLSignature_comp; in parseFile()
470 rtl::OUString tokenPath; in parseFile()
475 SEInitializer_comp = rtl::OUString::createFromAscii( SEINITIALIZER_JAVA_COMPONENT ); in parseFile()
476 XMLSignature_comp = rtl::OUString::createFromAscii( XMLSIGNATURE_JAVA_COMPONENT); in parseFile()
477 …m_ouXMLDocumentWrapperComponentName = rtl::OUString::createFromAscii( XMLDOCUMENTWRAPPER_JAVA_COMP… in parseFile()
482 SEInitializer_comp = rtl::OUString::createFromAscii( SEINITIALIZER_C_COMPONENT ); in parseFile()
483 XMLSignature_comp = rtl::OUString::createFromAscii( XMLSIGNATURE_C_COMPONENT); in parseFile()
484 m_ouXMLDocumentWrapperComponentName = rtl::OUString::createFromAscii( XMLDOCUMENT_C_COMPONENT ); in parseFile()
499 const rtl::OUString sSaxParser ( in parseFile()
504 const rtl::OUString sSaxWriter ( in parseFile()
586 ouMessage += rtl::OUString(RTL_ASCII_USTRINGPARAM(buf)); in parseFile()
590 ouMessage += rtl::OUString::createFromAscii( "N/A" ); in parseFile()
596 ouMessage += rtl::OUString::createFromAscii( "-" ); in parseFile()
665 rtl::OUString SAL_CALL XSecTester::export_xml( const rtl::OUString& inputFileName, const rtl::OUStr… in export_xml()
668 rtl::OUString ouMessage; in export_xml()
675 rtl::OUString ouRemark = rtl::OUString::valueOf(m_nSuccessfulSignatureNumber) + in export_xml()
676 rtl::OUString(RTL_ASCII_USTRINGPARAM( "/" )) in export_xml()
677 + rtl::OUString::valueOf(m_nTotalSignatureNumber); in export_xml()
678 ouMessage += rtl::OUString(RTL_ASCII_USTRINGPARAM("\t")) + ouRemark; in export_xml()
683 rtl::OUString SAL_CALL XSecTester::import_xml( const rtl::OUString& inputFileName, const rtl::OUStr… in import_xml()
686 rtl::OUString ouMessage; in import_xml()
693 rtl::OUString ouRemark = rtl::OUString::valueOf(m_nSuccessfulSignatureNumber) + in import_xml()
694 rtl::OUString(RTL_ASCII_USTRINGPARAM( "/" )) in import_xml()
695 + rtl::OUString::valueOf(m_nTotalSignatureNumber); in import_xml()
696 ouMessage += rtl::OUString(RTL_ASCII_USTRINGPARAM("\t")) + ouRemark; in import_xml()
701 rtl::OUString SAL_CALL XSecTester::transfer_without_sec( in transfer_without_sec()
702 const rtl::OUString& inputFileName, in transfer_without_sec()
703 const rtl::OUString& outputFileName, in transfer_without_sec()
707 rtl::OUString ouMessage; in transfer_without_sec()
714 const rtl::OUString sSaxParser ( in transfer_without_sec()
719 const rtl::OUString sSaxWriter ( in transfer_without_sec()
734 const rtl::OUString sJavaFlatFilter( in transfer_without_sec()
742 return rtl::OUString::createFromAscii( "NO JAVA" ); in transfer_without_sec()
774 ouMessage += rtl::OUString(RTL_ASCII_USTRINGPARAM(buf)); in transfer_without_sec()
780 void SAL_CALL XSecTester::setCryptoDir(const rtl::OUString & javaDirName, const rtl::OUString & cDi… in setCryptoDir()
824 void SecurityEntity::setKeyURI(const rtl::OUString& ouUri) in setKeyURI()
839 bool SecurityEntity::setKey(const rtl::OUString& ouUri, bool bIsExporting) in setKey()
843 if (m_ouKeyURI != rtl::OUString(RTL_ASCII_USTRINGPARAM("")) && in setKey()
896 mxMSF->createInstance( rtl::OUString::createFromAscii( SIGNATURECREATOR_COMPONENT )), in SignatureEntity()
905 args[0] = cssu::makeAny(rtl::OUString(RTL_ASCII_USTRINGPARAM(buf))); in SignatureEntity()
909 args[2] = cssu::makeAny(rtl::OUString(RTL_ASCII_USTRINGPARAM(buf))); in SignatureEntity()
935 mxMSF->createInstance( rtl::OUString::createFromAscii( SIGNATUREVERIFIER_COMPONENT )), in SignatureEntity()
944 args[0] = cssu::makeAny(rtl::OUString(RTL_ASCII_USTRINGPARAM(buf))); in SignatureEntity()
948 args[2] = cssu::makeAny(rtl::OUString(RTL_ASCII_USTRINGPARAM(buf))); in SignatureEntity()
964 void SignatureEntity::addReferenceURI(const rtl::OUString& ouUri) in addReferenceURI()
976 bool SignatureEntity::hasReference(const rtl::OUString& ouUri) const in hasReference()
980 std::vector<const rtl::OUString>::const_iterator ii; in hasReference()
993 bool SignatureEntity::setReference(const rtl::OUString& ouUri, bool bIsExporting) const in setReference()
1032 void SAL_CALL XSecTester::characters(const class rtl::OUString & chars) in characters()
1038 void SAL_CALL XSecTester::processingInstruction(const rtl::OUString & target, const rtl::OUString &… in processingInstruction()
1044 void SAL_CALL XSecTester::ignorableWhitespace(const rtl::OUString &) in ignorableWhitespace() argument
1050 void SAL_CALL XSecTester::startElement(const rtl::OUString & name, const cssu::Reference<cssxs::XAt… in startElement()
1053 rtl::OUString ouIdAttr = xAttribs->getValueByName( in startElement()
1054 rtl::OUString(RTL_ASCII_USTRINGPARAM("id"))); in startElement()
1059 rtl::OUString(RTL_ASCII_USTRINGPARAM("Id"))); in startElement()
1099 void SAL_CALL XSecTester::endElement(const rtl::OUString& name) in endElement()
1192 (mxMSF->createInstance( rtl::OUString::createFromAscii( SAXEVENTKEEPER_COMPONENT )), in foundSecurityRelated()
1219 void XSecTester::findKeyOrReference(SecurityEntity* pSecurityEntity, const rtl::OUString& ouUri, bo… in findKeyOrReference()
1221 std::vector<rtl::OUString>::iterator ii_referenceURIs; in findKeyOrReference()
1230 rtl::OUString ouReferenceUri = *ii_referenceURIs; in findKeyOrReference()
1310 const rtl::OUString& ouLocalName, in checkSecurityElement()
1347 rtl::OUString ouUri = xAttribs->getValueByName in checkSecurityElement()
1348 (rtl::OUString(RTL_ASCII_USTRINGPARAM( URI_ATTR_STR ))); in checkSecurityElement()
1352 rtl::OUString uri = ouUri.copy(1); in checkSecurityElement()
1419 rtl::OUString ouUri = xAttribs->getValueByName( in checkSecurityElement()
1420 rtl::OUString(RTL_ASCII_USTRINGPARAM( URI_ATTR_STR ))); in checkSecurityElement()
1459 const rtl::OUString& ouLocalName, in checkReference()
1461 const rtl::OUString& ouId) in checkReference()
1463 rtl::OUString refNumStr = in checkReference()
1464 xAttribs->getValueByName(rtl::OUString(RTL_ASCII_USTRINGPARAM(REFNUM_ATTR_STR))); in checkReference()
1542 const rtl::OUString& ouName, in addStartAncestorEvent()
1560 void XSecTester::addEndAncestorEvent(const rtl::OUString& ouName) in addEndAncestorEvent()
1571 const rtl::OUString& ouName, in sendAncestorStartElementEvent()
1590 const rtl::OUString& ouName, in sendAncestorEndElementEvent()
1682 void output(const rtl::OUString& ouInputFileName, in output()
1683 const rtl::OUString& ouTime_C, in output()
1684 const rtl::OUString& ouTime_Java, in output()
1685 const rtl::OUString& ouTime_NoSecurity, in output()
1686 const rtl::OUString& ouTime_JavaForwardOnly, in output()
1687 const rtl::OUString& ouRemark_C, in output()
1688 const rtl::OUString& ouRemark_Java, in output()
1696 rtl::OUString fileName = ouInputFileName.copy(nPosition + 1); in output()
1735 rtl::OUString aExportBatchFile = rtl::OUString::createFromAscii(argv[1]); in main()
1736 rtl::OUString aImportBatchFile = rtl::OUString::createFromAscii(argv[2]); in main()
1737 rtl::OUString aCPPCryptoToken; in main()
1739 aCPPCryptoToken = rtl::OUString::createFromAscii(argv[3]); in main()
1740 rtl::OUString aJavaCryptoToken; in main()
1742 aJavaCryptoToken = rtl::OUString::createFromAscii(argv[4]); in main()
1753 rtl::OUString ouTime_C, ouTime_Java, ouTime_NoSecurity, ouTime_JavaForwardOnly; in main()
1754 rtl::OUString ouInputFileName; in main()
1755 rtl::OUString outputFileName1; in main()
1756 rtl::OUString outputFileName2; in main()
1757 rtl::OUString ouRemark_C, ouRemark_Java; in main()
1770 ouInputFileName = rtl::OUString::createFromAscii(line); in main()
1778 rtl::OUString::createFromAscii("-ex.xml"); in main()
1788 rtl::OUString::createFromAscii("-ex2.xml"); in main()
1798 rtl::OUString::createFromAscii("-ex-no.xml"); in main()
1805 rtl::OUString::createFromAscii("-ex-jf.xml"); in main()
1820 ouInputFileName = rtl::OUString::createFromAscii(line); in main()
1828 rtl::OUString::createFromAscii("-im.xml"); in main()
1838 rtl::OUString::createFromAscii("-im2.xml"); in main()
1848 rtl::OUString::createFromAscii("-im-no.xml"); in main()
1856 rtl::OUString::createFromAscii("-im-jf.xml"); in main()