{"id":43320381,"url":"https://github.com/xendit/xenissuing-android","last_synced_at":"2026-02-01T22:33:13.278Z","repository":{"id":51361939,"uuid":"520384746","full_name":"xendit/xenissuing-android","owner":"xendit","description":null,"archived":false,"fork":false,"pushed_at":"2024-07-22T08:19:47.000Z","size":238,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":10,"default_branch":"main","last_synced_at":"2024-07-22T10:00:12.204Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xendit.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-08-02T06:50:00.000Z","updated_at":"2024-07-22T08:19:51.000Z","dependencies_parsed_at":"2024-07-22T09:59:54.063Z","dependency_job_id":null,"html_url":"https://github.com/xendit/xenissuing-android","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/xendit/xenissuing-android","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xendit%2Fxenissuing-android","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xendit%2Fxenissuing-android/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xendit%2Fxenissuing-android/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xendit%2Fxenissuing-android/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xendit","download_url":"https://codeload.github.com/xendit/xenissuing-android/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xendit%2Fxenissuing-android/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28993253,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-01T22:01:47.507Z","status":"ssl_error","status_checked_at":"2026-02-01T21:58:37.335Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-02-01T22:33:12.635Z","updated_at":"2026-02-01T22:33:13.271Z","avatar_url":"https://github.com/xendit.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Maven Central](https://img.shields.io/badge/-Maven%20Central-blue)\n![Java Support](https://img.shields.io/badge/JVM-%3E%3D11-brightgreen)\n# Xenissuing\nThis SDK comprises of the following modules :\n- XenIssuing: this module handles encryption between XenIssuing and your Android application.\n## SecureSession\nSecureSession is a module to help you set up encryption between XenIssuing and your application.\n### Requirements\nTo be able to use XenIssuing, you will need to use a private key provided by Xendit.\nIt includes several methods:\n- `getKey` will encrypt a session key randomly generated used for asymmetric encryption with Xenissuing.\n- `encrypt` would be used when setting sensitive data.\n- `decryptCardData` would be used whenever receiving sensitive card data from Xenissuing.\n### Usage\n```android\nimport XenIssuing\ntry {\n    // xenKey is base64 encoded portion without headers and footers *(see example bellow)\n    val xenKey = Base64.encode(\"BASE64_PUBLIC_KEY\")\n    val secureSession = XenIssuing.createSecureSession(xenKey);\n    \n    // you can make an API call using this URL encode key\n    val key = secureSession.getKey() // ...3AVnPpM0CxhBHgHgX%2F0KYb0vIFg%3D%3D\n\n    val secret = apiResponse.secret\n    val iv = apiResponse.iv\n    val decrypted = secureSession.decryptCardData(secret, iv);\n} catch (error: Exception) {\n    throw error\n}\n```\n\n\n``` \n// Example of valid xenKey\nval xenKey = \"MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArY3DXFJ2M0EHbsD9r+2XgFVtpYEQR5bxnQZVHVxtVzQP8u2cv/1APs2cft+8E682wKGY7SFUEsFsoqxoak7qsfXYL/mOdvQe6XDyNC7N6oo9Zb8dUKtuy8qPb1bVeTbxAwDVUzIdJpiRVI69fAGCW7aF3jTAV7Q+Z5qUTaLUFyKvu3+j8u/A58Nw5fjOENTLHBZRrXhFtQC1eql2O6FiQRJBDACYtzhyFBMyT/B7SKNPkEvLm1w4AQEWxxwL93B8vxstfpatbJJvorJaDEl/glncxJVtZ0lBeB3dkWdro/TrhpPD7CHKlBIUKRfvq1TgmMFs9SP90DxD9l9mE+AUAwIDAQAB\"\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxendit%2Fxenissuing-android","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxendit%2Fxenissuing-android","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxendit%2Fxenissuing-android/lists"}