Skip to content

GeoAmida/AadhaarAuth1.6

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

    
    Copyright (C) 2011 Geodesic Limited, Mumbai, India

    Permission is hereby granted, free of charge, to any person obtaining a copy
    of this software and associated documentation files (the "Software"), to deal
    in the Software without restriction, including without limitation the rights
    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 
    copies of the Software, and to permit persons to whom the Software is
    furnished to do so, subject to the following conditions:

    The above copyright notice and this permission notice shall be included in all
    copies or substantial portions of the Software.

    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
    INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A 
    PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE X CONSORTIUM BE LIABLE
    FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
    OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
    DEALINGS IN THE SOFTWARE.

    Except as contained in this notice, the name of the Geodesic Limited shall not be used
    in advertising or otherwise to promote the sale, use or other dealings in this Software
    without prior written authorization from the Geodesic Limited.

-------------------------------------------------------------------------------------------

Aadhaar Auth-xml
----------------

* Source code for generating Aadhaar-AuthXML as per 1.6 specification of Aadhaar.
* Using source code, can generate Demographic and Biometric information 

Dependencies Libraries:
----------------------
	* openssl 0.9.8 or above
	* libxml	
	* xmlsec1 1.2.9 or above (if digital signature need to be generated)
    * protobuf 2.4.1 for protobuff
    * protobuf-c 0.15 for protobuff


API calls in aadhaar.c
----------------------
   + PID Xml generation
 	* pidxml_biometric
	* pidxml_demographic

   + Authxml generation
   	* Authxml_biometric
   	* Authxml_demographic
   	* biometric_proto_details

   + Digital Signature
	* do_digital_signature 
	
The above calls returns appropriate xml data.

XML Security:
------------
 * v1.2.9 used
 * Dependency : libxslt library

 Using protobuff: Download auth_1.6.proto from UID developer site.
 ---------------
 protoc-c --c_out=. auth_1.6.proto 
 Will create auth_1.6.pb-c.c auth_1.6.pb-c.h


About

Aadhaar Authxml Souce code version 1.6 with Protobuf

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published