• Tomaž Vajngerl's avatar
    fix importing the certificate and private key · 2286137c
    Tomaž Vajngerl yazdı
    If importing the certificate and private key is done separately,
    they don't associate with each other, so with this you can add
    the private key to the certificate that it belongs to. If the
    private key is set in this way, then getPrivateKey() call doesn't
    look into the database but just returns the private key stored
    in the member variable.
    
    Additionally use CERT_DecodeCertFromPackage to import the DER
    certificate from the imput as CERT_DecodeDERCertificate doesn't
    import a complete certificate and doesn't add it into the
    certificate database.
    
    Change-Id: I29876030f167cc5fa6b887f9bfeb0b84622c751e
    Reviewed-on: https://gerrit.libreoffice.org/62271
    Tested-by: Jenkins
    Reviewed-by: 's avatarTomaž Vajngerl <quikee@gmail.com>
    2286137c
Adı
Son kayıt (commit)
Son güncelleme
..
doc Loading commit data...
inc Loading commit data...
qa Loading commit data...
source Loading commit data...
test_docs Loading commit data...
uiconfig/ui Loading commit data...
util Loading commit data...
workben Loading commit data...
AllLangMoTarget_xsc.mk Loading commit data...
CppunitTest_qa_certext.mk Loading commit data...
CppunitTest_xmlsecurity_dialogs_test.mk Loading commit data...
CppunitTest_xmlsecurity_pdfsigning.mk Loading commit data...
CppunitTest_xmlsecurity_signing.mk Loading commit data...
Executable_pdfverify.mk Loading commit data...
IwyuFilter_xmlsecurity.yaml Loading commit data...
Library_xmlsecurity.mk Loading commit data...
Library_xsec_xmlsec.mk Loading commit data...
Makefile Loading commit data...
Module_xmlsecurity.mk Loading commit data...
README Loading commit data...
UIConfig_xmlsec.mk Loading commit data...