mirror of
https://github.com/titanscouting/tra-analysis.git
synced 2025-01-18 19:05:56 +00:00
16 lines
561 B
TypeScript
16 lines
561 B
TypeScript
/**
|
|
* Copyright 2018 Google LLC
|
|
*
|
|
* Distributed under MIT license.
|
|
* See file LICENSE for detail or copy at https://opensource.org/licenses/MIT
|
|
*/
|
|
/**
|
|
* Convert a .p12 file to .pem string
|
|
* @param filename The .p12 key filename.
|
|
* @param callback The callback function.
|
|
* @return A promise that resolves with the .pem private key
|
|
* if no callback provided.
|
|
*/
|
|
export declare function getPem(filename: string): Promise<string>;
|
|
export declare function getPem(filename: string, callback: (err: Error | null, pem: string | null) => void): void;
|