src/crypto/forge.js
function createCsrSubject(subjectObj) {
    return Object.entries(subjectObj).reduce((result, [shortName, value]) => {
        if (value) {
            result.push({ shortName, value });
        }

        return result;
    }, []);
}
function createCsrSubject(subjectObj) {
    return Object.entries(subjectObj).reduce((result, [shortName, value]) => {
        if (value) {
            result.push({ shortName, value });
        }

        return result;
    }, []);
}
function createCsrSubject ( subjectObj ) { return Object . entries ( subjectObj ) . reduce ( ( result , [ shortName , value ] ) => { if ( value ) { result . push ( { shortName , value } ) ; } return result ; } , [ ] ) ; }
Create array of short names and values for Certificate Signing Request subjects

@private
@param {object} subjectObj Key-value of short names and values
@returns {object[]} Certificate Signing Request subject array
Create array of short names and values for Certificate Signing Request subjects