Staticmime_Exposes MIME type mappings for file extensions.
StaticversionReturns the parsed OpenSSL version info after initialization.
StaticAnalyseAnalyzes PEM-formatted data to extract:
PEM string or Buffer.
Object with type, isChain, and certificates array.
StaticexecExecutes an OpenSSL command with automatic handling of Buffer arguments as temp files.
-out file.crt) are read and returned.Command arguments; may include Buffers (treated as input files).
Optional custom working directory (defaults to temp dir).
Promise resolving to array of OpenSSLBuffer results + metadata.
StaticinitInitializes the OpenSSL wrapper by checking if openssl is available in PATH
and parsing its version string into structured data.
Exits process with helpful error if OpenSSL is missing.
Promise that resolves when version info is loaded.
StaticisStaticisStaticTransformEnhances a raw Buffer with OpenSSL-specific metadata and utilities:
.toObject() for conversion to Node.js crypto KeyObjectRaw output buffer from OpenSSL command.
Optional MIME type (defaults to octet-stream).
Enhanced OpenSSLBuffer instance.
Proxy that enables calling OpenSSL like a function:
openssltemplate. Delegates toOpenSSL.exec()` and provides access to static properties.