openssl

pem openssl module

Source:

Methods

(static) exec(params, searchStr, tmpfilesopt, callback)

Source:

Spawn an openssl command

Parameters:
Name Type Attributes Description
params Array

Array of openssl command line parameters

searchStr String

String to use to find data

tmpfiles Array <optional>

list of temporary files

callback function

Called with (error, stdout-substring)

(static) execBinary(params, tmpfilesopt, callback)

Source:

Spawn an openssl command and get binary output

Parameters:
Name Type Attributes Description
params Array

Array of openssl command line parameters

tmpfiles Array <optional>

list of temporary files

callback function

Called with (error, stdout)

(static) get(option)

Source:

get configuration setting value

Parameters:
Name Type Description
option String

name

(static) set(option, value)

Source:

configue this openssl module

Parameters:
Name Type Description
option String

name e.g. pathOpenSSL, openSslVersion; TODO rethink nomenclature

value *

value

(static) spawn(params, binary, callback)

Source:

Generically spawn openSSL, without processing the result

Parameters:
Name Type Description
params Array

The parameters to pass to openssl

binary Boolean

Output of openssl is binary or text

callback function

Called with (error, exitCode, stdout, stderr)

(static) spawnWrapper(params, tmpfilesopt, binaryopt, callback)

Source:

Wrapper for spawn method

Parameters:
Name Type Attributes Description
params Array

The parameters to pass to openssl

tmpfiles Array <optional>

list of temporary files

binary Boolean <optional>

Output of openssl is binary or text

callback function

Called with (error, exitCode, stdout, stderr)