/** * @fileOverview * @name base64x-1.1.js * @author Kenji Urushima kenji.urushima@gmail.com * @version jsrsasign 8.0.12 base64x 1.1.14 (2018-Apr-22) * @since jsrsasign 2.1 * @license MIT License */ /** * get PEM string from hexadecimal data and header string * @name hextopem * @function * @param {String} dataHex hexadecimal string of PEM body * @param {String} pemHeader PEM header string (ex. 'RSA PRIVATE KEY') * @return {String} PEM formatted string of input data * @since jsrasign 7.2.1 base64x 1.1.12 * @description * This function converts a hexadecimal string to a PEM string with * a specified header. Its line break will be CRLF("\r\n"). * @example * hextopem('616161', 'RSA PRIVATE KEY') → * -----BEGIN PRIVATE KEY----- * YWFh * -----END PRIVATE KEY----- */ export declare function hextopem(dataHex: any, pemHeader: any): string;