{"id":22441337,"url":"https://github.com/hms-core/hms-wallet-passgenerator","last_synced_at":"2025-08-01T18:31:55.753Z","repository":{"id":50104878,"uuid":"273126441","full_name":"HMS-Core/hms-wallet-passgenerator","owner":"HMS-Core","description":"HMS wallet passgenerator is a sample code for how to create a wallet pass package.","archived":false,"fork":false,"pushed_at":"2022-11-15T23:37:40.000Z","size":101,"stargazers_count":11,"open_issues_count":5,"forks_count":5,"subscribers_count":13,"default_branch":"master","last_synced_at":"2024-04-16T12:54:17.890Z","etag":null,"topics":["hms","huawei","java","maven","pass","pkcs7","wallet"],"latest_commit_sha":null,"homepage":"https://developer.huawei.com/consumer/cn/doc/development/HMS-Guides/wallet-guide-introduction?ha_source=hms1","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/HMS-Core.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-06-18T02:48:25.000Z","updated_at":"2024-01-01T21:29:20.000Z","dependencies_parsed_at":"2022-08-03T19:30:17.377Z","dependency_job_id":null,"html_url":"https://github.com/HMS-Core/hms-wallet-passgenerator","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HMS-Core%2Fhms-wallet-passgenerator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HMS-Core%2Fhms-wallet-passgenerator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HMS-Core%2Fhms-wallet-passgenerator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HMS-Core%2Fhms-wallet-passgenerator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HMS-Core","download_url":"https://codeload.github.com/HMS-Core/hms-wallet-passgenerator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228397819,"owners_count":17913540,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["hms","huawei","java","maven","pass","pkcs7","wallet"],"created_at":"2024-12-06T02:14:12.296Z","updated_at":"2024-12-06T02:14:12.943Z","avatar_url":"https://github.com/HMS-Core.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HMS Wallet Passgenerator\n## Table of Contents\n\n * [Introduction](#introduction)\n * [Installation](#installation)\n * [Configuration ](#configuration )\n * [Supported Environments](#supported-environments)\n * [Sample Code](#sample-code)\n * [License](#license)\n\n## Introduction\nThis is sample code for how to create wallet pass package.\n\n## Installation\nBefore running the Demo code, you should have installed Java and Maven. You should have gotten a .pem file and a .cer file.\n\n## Supported Environments\nOracle Java 1.8 is recommended.\n\n## Configuration \n1. Edit the `src\\test\\resources\\release.config.properties` according to your service ID, pem file, and cer file.\n\n- Set the `pass.privatekey.YourServiceID` paramter.\nFor example, if your service ID is `hwpass.com.huawei.wallet.pass.sdktest`, rename the paramter to `pass.privatekey.hwpass.com.huawei.wallet.pass.sdktest`. Then do base64 encoding to the entire .pem file.\nThen set the base64 string as the value of this paramter.\n        \n-  Set the `pass.certificate.YourServiceID` paramter.\nFor example, if your service ID is `hwpass.com.huawei.wallet.pass.sdktest`, rename the paramter to `pass.certificate.hwpass.com.huawei.wallet.pass.sdktest`. Then do base64 encoding to the entire .cer file.\nThen set the base64 string as the value of this paramter.\n\n2. Set your service ID to the `TEST_PASS_TYPE` parameter in the \"src\\test\\java\\PassFileServiceTestUtil.java\" file.\n\n## Sample Code\n1. Run the `testCreatePassFile` method in the \"src\\test\\java\\PassFileReleaseTest.java\" file to create a .hwpass file.\n    \n2. Run the `testCreateMessage` method in the \"src\\test\\java\\PassFileReleaseTest.java\" file to create a signature.\n\n## Question or issues\nIf you want to evaluate more about HMS Core,\n[r/HMSCore on Reddit](https://www.reddit.com/r/HuaweiDevelopers/) is for you to keep up with latest news about HMS Core, and to exchange insights with other developers.\n\nIf you have questions about how to use HMS samples, try the following options:\n- [Stack Overflow](https://stackoverflow.com/questions/tagged/huawei-mobile-services) is the best place for any programming questions. Be sure to tag your question with \n`huawei-mobile-services`.\n- [Huawei Developer Forum](https://forums.developer.huawei.com/forumPortal/en/home?fid=0101187876626530001) HMS Core Module is great for general questions, or seeking recommendations and opinions.\n\nIf you run into a bug in our samples, please submit an [issue](https://github.com/HMS-Core/hms-wallet-passgenerator/issues) to the Repository. Even better you can submit a [Pull Request](https://github.com/HMS-Core/hms-wallet-passgenerator/pulls) with a fix.\n\n## License\nHMS wallet server sample code is licensed under the [Apache License, version 2.0](http://www.apache.org/licenses/LICENSE-2.0).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhms-core%2Fhms-wallet-passgenerator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhms-core%2Fhms-wallet-passgenerator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhms-core%2Fhms-wallet-passgenerator/lists"}