Apache Fineract library for miscellaneous assistance

Clone this repo:
  1. f50573e Merge pull request #11 from aasaru/gradle_4.10.3 by aasaru · 2 years ago 0.1.x develop
  2. 0d21aa5 FINCN-179 gradle to 4.10.3, FINCN-178 make Travis build forks by Juhan Aasaru · 2 years ago
  3. 5ca093c Merge pull request #10 from aasaru/generate_rsa_key by Ang3h Courage · 2 years, 3 months ago
  4. 0178192 Make configurable which style to output by Juhan Aasaru · 2 years, 4 months ago
  5. 32299cd Removed Assert.notNull statements as @Nonnull compiler level annotation already takes care of checking against null values. With these lines gone - spring-core is not needed to generate RSA keys from command line so removed that from example. by Juhan Aasaru · 2 years, 4 months ago

Apache Fineract CN Lang Build Status

Abstract

Apache Fineract CN is an application framework for digital financial services, a system to support nationwide and cross-national financial transactions and help to level and speed the creation of an inclusive, interconnected digital economy for every nation in the world.

Prerequisites

Runtime

Install Java 8 as described at https://docs.oracle.com/javase/8/docs/technotes/guides/install/install_overview.html.

Versioning

The version numbers follow the Semantic Versioning scheme.

In addition to MAJOR.MINOR.PATCH the following postfixes are used to indicate the development state.

  • BUILD-SNAPSHOT - A release currently in development.
  • RELEASE - General availability indicates that this release is the best available version and is recommended for all usage.

The versioning layout is {MAJOR}.{MINOR}.{PATCH}-{INDICATOR}[.{PATCH}]. Only milestones and release candidates can have patch versions. Some examples:

1.2.3-BUILD-SNAPSHOT
1.3.5-RELEASE

License

See LICENSE file.

Usage

Generate and print RSA keys

You can use this library to generate and print RSA keys.

You can either generate application-.properties file for Spring applications like this:

java -cp build/libs/lang-0.1.0-BUILD-SNAPSHOT.jar org.apache.fineract.cn.lang.security.RsaKeyPairFactory SPRING > application-dev.properties

Or you can generate them and import as operation system variables (Unix):

java -cp build/libs/lang-0.1.0-BUILD-SNAPSHOT.jar  org.apache.fineract.cn.lang.security.RsaKeyPairFactory UNIX > env.vars.txt
source env.vars.txt
echo $PUBLIC_KEY_TIMESTAMP