0.4.7
Changes to exportPEMKey()
, now accepts options as an optional second
Function signature
async function exportPEMKey(key: CryptoKey, filePathOrOptions?: string | ExportPEMKeyOptions): Promise<string>
Options object
interface ExportPEMKeyOptions {
/**
* Optional path to write the PEM-formatted key to
*/
filePath?: string;
/**
* Optional for file write mode
*/
mode?: number;
}
Full Changelog: 0.4.6...0.4.7