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
686dfc5e
Kaydet (Commit)
686dfc5e
authored
Haz 22, 2017
tarafından
Miklos Vajna
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
xmlsecurity: fix loplugin:passstuffbyref warnings
Change-Id: I627abfe33e9c2fc4243276706c1624ce19943678
üst
6025b2b2
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
digitalsignaturesdialog.hxx
xmlsecurity/inc/digitalsignaturesdialog.hxx
+1
-1
documentsignaturemanager.hxx
xmlsecurity/inc/documentsignaturemanager.hxx
+1
-1
digitalsignaturesdialog.cxx
xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx
+1
-1
documentsignaturemanager.cxx
xmlsecurity/source/helper/documentsignaturemanager.cxx
+1
-1
No files found.
xmlsecurity/inc/digitalsignaturesdialog.hxx
Dosyayı görüntüle @
686dfc5e
...
@@ -103,7 +103,7 @@ private:
...
@@ -103,7 +103,7 @@ private:
css
::
uno
::
Reference
<
css
::
security
::
XCertificate
>
getCertificate
(
const
SignatureInformation
&
rInfo
);
css
::
uno
::
Reference
<
css
::
security
::
XCertificate
>
getCertificate
(
const
SignatureInformation
&
rInfo
);
css
::
uno
::
Reference
<
css
::
xml
::
crypto
::
XSecurityEnvironment
>
getSecurityEnvironmentForCertificate
(
css
::
uno
::
Reference
<
css
::
xml
::
crypto
::
XSecurityEnvironment
>
getSecurityEnvironmentForCertificate
(
c
ss
::
uno
::
Reference
<
css
::
security
::
XCertificate
>
xCert
);
c
onst
css
::
uno
::
Reference
<
css
::
security
::
XCertificate
>&
xCert
);
//Checks if adding is allowed.
//Checks if adding is allowed.
//See the spec at specs/www/appwide/security/Electronic_Signatures_and_Security.sxw
//See the spec at specs/www/appwide/security/Electronic_Signatures_and_Security.sxw
...
...
xmlsecurity/inc/documentsignaturemanager.hxx
Dosyayı görüntüle @
686dfc5e
...
@@ -62,7 +62,7 @@ public:
...
@@ -62,7 +62,7 @@ public:
SignatureStreamHelper
ImplOpenSignatureStream
(
sal_Int32
eStreamMode
,
bool
bTempStream
);
SignatureStreamHelper
ImplOpenSignatureStream
(
sal_Int32
eStreamMode
,
bool
bTempStream
);
/// Add a new signature, using xCert as a signing certificate, and rDescription as description.
/// Add a new signature, using xCert as a signing certificate, and rDescription as description.
bool
add
(
const
css
::
uno
::
Reference
<
css
::
security
::
XCertificate
>&
xCert
,
bool
add
(
const
css
::
uno
::
Reference
<
css
::
security
::
XCertificate
>&
xCert
,
const
css
::
uno
::
Reference
<
css
::
xml
::
crypto
::
XXMLSecurityContext
>
xSecurityContext
,
const
css
::
uno
::
Reference
<
css
::
xml
::
crypto
::
XXMLSecurityContext
>
&
xSecurityContext
,
const
OUString
&
rDescription
,
sal_Int32
&
nSecurityId
,
bool
bAdESCompliant
);
const
OUString
&
rDescription
,
sal_Int32
&
nSecurityId
,
bool
bAdESCompliant
);
/// Remove signature at nPosition.
/// Remove signature at nPosition.
void
remove
(
sal_uInt16
nPosition
);
void
remove
(
sal_uInt16
nPosition
);
...
...
xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx
Dosyayı görüntüle @
686dfc5e
...
@@ -675,7 +675,7 @@ uno::Reference<security::XCertificate> DigitalSignaturesDialog::getCertificate(c
...
@@ -675,7 +675,7 @@ uno::Reference<security::XCertificate> DigitalSignaturesDialog::getCertificate(c
return
xCert
;
return
xCert
;
}
}
uno
::
Reference
<
xml
::
crypto
::
XSecurityEnvironment
>
DigitalSignaturesDialog
::
getSecurityEnvironmentForCertificate
(
uno
::
Reference
<
security
::
XCertificate
>
xCert
)
uno
::
Reference
<
xml
::
crypto
::
XSecurityEnvironment
>
DigitalSignaturesDialog
::
getSecurityEnvironmentForCertificate
(
const
uno
::
Reference
<
security
::
XCertificate
>&
xCert
)
{
{
if
(
xCert
->
getCertificateKind
()
==
CertificateKind_OPENPGP
)
if
(
xCert
->
getCertificateKind
()
==
CertificateKind_OPENPGP
)
return
maSignatureManager
.
getGpgSecurityEnvironment
();
return
maSignatureManager
.
getGpgSecurityEnvironment
();
...
...
xmlsecurity/source/helper/documentsignaturemanager.cxx
Dosyayı görüntüle @
686dfc5e
...
@@ -254,7 +254,7 @@ SignatureStreamHelper DocumentSignatureManager::ImplOpenSignatureStream(sal_Int3
...
@@ -254,7 +254,7 @@ SignatureStreamHelper DocumentSignatureManager::ImplOpenSignatureStream(sal_Int3
}
}
bool
DocumentSignatureManager
::
add
(
const
uno
::
Reference
<
security
::
XCertificate
>&
xCert
,
bool
DocumentSignatureManager
::
add
(
const
uno
::
Reference
<
security
::
XCertificate
>&
xCert
,
const
uno
::
Reference
<
xml
::
crypto
::
XXMLSecurityContext
>
xSecurityContext
,
const
uno
::
Reference
<
xml
::
crypto
::
XXMLSecurityContext
>
&
xSecurityContext
,
const
OUString
&
rDescription
,
const
OUString
&
rDescription
,
sal_Int32
&
nSecurityId
,
sal_Int32
&
nSecurityId
,
bool
bAdESCompliant
)
bool
bAdESCompliant
)
...
...
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