Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
6a12e138
Kaydet (Commit)
6a12e138
authored
Haz 05, 2013
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
fdo#46808, Convert XMLSignatureTemplate service to new style
Change-Id: I80530f84ad5a86eccc794f9ddd14f939d093a20d
üst
73e68672
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
15 deletions
+4
-15
UnoApi_offapi.mk
offapi/UnoApi_offapi.mk
+1
-1
XMLSignatureTemplate.idl
offapi/com/sun/star/xml/crypto/XMLSignatureTemplate.idl
+1
-7
signatureengine.cxx
xmlsecurity/source/framework/signatureengine.cxx
+2
-7
No files found.
offapi/UnoApi_offapi.mk
Dosyayı görüntüle @
6a12e138
...
...
@@ -452,6 +452,7 @@ $(eval $(call gb_UnoApi_add_idlfiles_nohdl,offapi,offapi/com/sun/star/xforms,\
$(eval $(call gb_UnoApi_add_idlfiles_nohdl,offapi,offapi/com/sun/star/xml/crypto,\
NSSInitializer \
SEInitializer \
XMLSignatureTemplate \
))
$(eval $(call gb_UnoApi_add_idlfiles_nohdl,offapi,offapi/com/sun/star/xml/dom,\
DocumentBuilder \
...
...
@@ -1586,7 +1587,6 @@ $(eval $(call gb_UnoApi_add_idlfiles_noheader,offapi,offapi/com/sun/star/xml/cry
XMLEncryptionTemplate \
XMLSecurityContext \
XMLSignature \
XMLSignatureTemplate \
))
$(eval $(call gb_UnoApi_add_idlfiles_noheader,offapi,offapi/com/sun/star/xml/crypto/sax,\
Decryptor \
...
...
offapi/com/sun/star/xml/crypto/XMLSignatureTemplate.idl
Dosyayı görüntüle @
6a12e138
...
...
@@ -24,20 +24,14 @@
#
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>
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
;
}
;
service
XMLSignatureTemplate
:
com
::
sun
::
star
::
xml
::
crypto
::
XXMLSignatureTemplate
;
}
; } ; } ; } ; } ;
...
...
xmlsecurity/source/framework/signatureengine.cxx
Dosyayı görüntüle @
6a12e138
...
...
@@ -19,7 +19,7 @@
#include "signatureengine.hxx"
#include <com/sun/star/xml/crypto/X
X
MLSignatureTemplate.hpp>
#include <com/sun/star/xml/crypto/XMLSignatureTemplate.hpp>
#include <com/sun/star/xml/wrapper/XXMLElementWrapper.hpp>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
...
...
@@ -29,8 +29,6 @@ namespace cssl = com::sun::star::lang;
namespace
cssxc
=
com
::
sun
::
star
::
xml
::
crypto
;
namespace
cssxw
=
com
::
sun
::
star
::
xml
::
wrapper
;
#define SIGNATURE_TEMPLATE "com.sun.star.xml.crypto.XMLSignatureTemplate"
SignatureEngine
::
SignatureEngine
(
const
Reference
<
XComponentContext
>
&
xContext
)
:
m_xContext
(
xContext
),
m_nTotalReferenceNumber
(
-
1
)
{
...
...
@@ -114,11 +112,8 @@ void SignatureEngine::tryToPerform( )
{
if
(
checkReady
())
{
const
OUString
ouSignatureTemplate
(
SIGNATURE_TEMPLATE
);
cssu
::
Reference
<
cssxc
::
XXMLSignatureTemplate
>
xSignatureTemplate
(
m_xContext
->
getServiceManager
()
->
createInstanceWithContext
(
ouSignatureTemplate
,
m_xContext
),
cssu
::
UNO_QUERY
);
OSL_ASSERT
(
xSignatureTemplate
.
is
()
);
xSignatureTemplate
=
cssxc
::
XMLSignatureTemplate
::
create
(
m_xContext
);
cssu
::
Reference
<
cssxw
::
XXMLElementWrapper
>
xXMLElement
=
m_xSAXEventKeeper
->
getElement
(
m_nIdOfTemplateEC
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment