From cc6febdd37186eeea33bcbce89d79f661ee0009f Mon Sep 17 00:00:00 2001 From: Konrad Lipinski Date: Tue, 11 Jun 2019 16:25:51 +0200 Subject: Import upstream commit c4d0493d545b99194eea1b2b058930d5a9bb91b1 (1.2.28) Change-Id: I10f71567cb140be223923e1cd0b5895e366ac23e --- docs/api/xmlsec-verify-with-x509.html | 157 +++++++--------------------------- 1 file changed, 33 insertions(+), 124 deletions(-) (limited to 'docs/api/xmlsec-verify-with-x509.html') diff --git a/docs/api/xmlsec-verify-with-x509.html b/docs/api/xmlsec-verify-with-x509.html index 27a10afb..4180e920 100644 --- a/docs/api/xmlsec-verify-with-x509.html +++ b/docs/api/xmlsec-verify-with-x509.html @@ -1,120 +1,32 @@ + - -Verifying a signature with X509 certificates. - - - - - - - + +Verifying a signature with X509 certificates.: XML Security Library Reference Manual + + + + + + + - - - -
-XML Security Library

- - - - - - - - - - - - - - - -
LibXML2
LibXSLT
OpenSSL
-
- - - + + + - + + -
-

Verifying a signature with X509 certificates.

-
-

verify3.c

-

-
-

-
/** 
+
+

+Verifying a signature with X509 certificates.

+
+

+verify3.c

+
+/**
  * XML Security Library example: Verifying a file signed with X509 certificate
  *
  * Verifies a file signed with X509 certificate. 
@@ -131,7 +43,7 @@ table.CALSTABLE > tbody > tr:nth-child(1) > td:nth-child(1) {
  * This is free software; see Copyright file in the source
  * distribution for preciese wording.
  * 
- * Copyright (C) 2002-2016 Aleksey Sanin <aleksey@aleksey.com>
+ * Copyright (C) 2002-2016 Aleksey Sanin <aleksey@aleksey.com>. All Rights Reserved.
  */
 #include <stdlib.h>
 #include <string.h>
@@ -208,10 +120,10 @@ main(int argc, char **argv) {
      * xmlsec-crypto library.
      */
 #ifdef XMLSEC_CRYPTO_DYNAMIC_LOADING
-    if(xmlSecCryptoDLLoadLibrary(BAD_CAST XMLSEC_CRYPTO) < 0) {
+    if(xmlSecCryptoDLLoadLibrary(NULL) < 0) {
         fprintf(stderr, "Error: unable to load default xmlsec-crypto library. Make sure\n"
                         "that you have it installed and check shared libraries path\n"
-                        "(LD_LIBRARY_PATH) envornment variable.\n");
+                        "(LD_LIBRARY_PATH and/or LTDL_LIBRARY_PATH) environment variables.\n");
         return(-1);     
     }
 #endif /* XMLSEC_CRYPTO_DYNAMIC_LOADING */
@@ -268,7 +180,7 @@ main(int argc, char **argv) {
  * @files_size:         the number of filenames in #files.
  *
  * Creates simple keys manager and load trusted certificates from PEM #files.
- * The caller is responsible for destroing returned keys manager using
+ * The caller is responsible for destroying returned keys manager using
  * @xmlSecKeysMngrDestroy.
  *
  * Returns the pointer to newly created keys manager or NULL if an error
@@ -378,15 +290,12 @@ done:
     }
     return(res);
 }
-
-

-
+ + +
- - - - -
+ + -- cgit v1.2.3