Package Exports
- jsrsasign-util
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (jsrsasign-util) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
jsrsasign-util
This package provides supplementary functions for 'jsrsasign' such like file I/O utilities.
Public page is https://kjur.github.io/jsrsasign .
github TOP|API doc|Wiki|Node sample
AVAILABLE FUNCTIONS
- readFile : read file as binary string
- readFileHexByBin : read file as binary then convert it to hexadecimal string
- readFileUTF8 : read file as UTF-8 string
- saveFile : save file as binary string
- saveFileBinByHex : convert a hexadecimal string to raw string then save it as file.
EXAMPLE(1) SIGNATURE
> var rsu = require('jsrsasign-util');
> var rawString = rsu.readFile("bar.bin");
> rsu.saveFileBinByHex("foo.bin", "30143abb...");