Пример #1
0
    private string GetAadhaarOTP(string strAdhaar, string access_code, string transaction_id)
    {
        string  strOTPdata = null;
        Aadhaar aadhar     = new Aadhaar();

        strOTPdata = aadhar.GetAadhaarOTP(strAdhaar, access_code, transaction_id);
        return(strOTPdata);
    }
Пример #2
0
    private string generateotp(string strAdhaar)
    {
        string  strotp = "";
        Aadhaar aadhar = new Aadhaar();

        strotp = aadhar.GetOTP(strAdhaar);
        return(strotp);
    }
    private string KYCAuthentication(string strAdhaar, string strOTP, string straccess_token, string strtransaction_id)
    {
        string  strKYCdata = null;
        Aadhaar aadhar     = new Aadhaar();

        strKYCdata = aadhar.KYCAuthentication(strAdhaar, strOTP, straccess_token, strtransaction_id);
        return(strKYCdata);
    }
Пример #4
0
    private string demographicData(string aadhaar_no, string person_name, string person_gender, string person_dob, string person_pin, string access_token, string transaction_id)
    {
        string  strDemographicData = null;
        Aadhaar aadhar             = new Aadhaar();

        strDemographicData = aadhar.demographicAuthentication(aadhaar_no, person_name, person_gender, person_dob, person_pin, access_token, transaction_id);
        return(strDemographicData);
    }
Пример #5
0
    private string signedpdf(string strAdhaar, string strOTP, byte[] strPDFBase64String, string signer_name)
    {
        string  strSignedpdf = "";
        Aadhaar aadhar       = new Aadhaar();

        byte[] fileData = null;
        fileData     = strPDFBase64String;
        strSignedpdf = aadhar.eSignWithOTP(strAdhaar, strOTP, fileData, signer_name);
        return(strSignedpdf);
    }