mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-13 13:30:28 +00:00
Replaced introduced tabs
Replace tabs with spaces in my introduced methods as well as interface ObjectPEM which I did not define.
This commit is contained in:
Vendored
+16
-16
@@ -16,22 +16,22 @@ declare module "node-forge" {
|
||||
|
||||
namespace pem {
|
||||
|
||||
interface EncodeOptions {
|
||||
maxline?: number;
|
||||
}
|
||||
interface EncodeOptions {
|
||||
maxline?: number;
|
||||
}
|
||||
|
||||
interface ObjectPEM {
|
||||
type: string;
|
||||
body: Bytes;
|
||||
procType?: any;
|
||||
contentDomain?: any;
|
||||
dekInfo?: any;
|
||||
headers?: any[];
|
||||
}
|
||||
interface ObjectPEM {
|
||||
type: string;
|
||||
body: Bytes;
|
||||
procType?: any;
|
||||
contentDomain?: any;
|
||||
dekInfo?: any;
|
||||
headers?: any[];
|
||||
}
|
||||
|
||||
function encode(msg: ObjectPEM, options?: EncodeOptions): string;
|
||||
function decode(str: string): ObjectPEM[];
|
||||
}
|
||||
function encode(msg: ObjectPEM, options?: EncodeOptions): string;
|
||||
function decode(str: string): ObjectPEM[];
|
||||
}
|
||||
|
||||
namespace pki {
|
||||
|
||||
@@ -43,9 +43,9 @@ declare module "node-forge" {
|
||||
privateKey: Key;
|
||||
}
|
||||
|
||||
function pemToDer(pem: PEM): util.ByteStringBuffer;
|
||||
function pemToDer(pem: PEM): util.ByteStringBuffer;
|
||||
function privateKeyToPem(key: Key, maxline?: number): PEM;
|
||||
function privateKeyInfoToPem(key: Key, maxline?: number): PEM;
|
||||
function privateKeyInfoToPem(key: Key, maxline?: number): PEM;
|
||||
function publicKeyToPem(key: Key, maxline?: number): PEM;
|
||||
function publicKeyFromPem(pem: PEM): Key;
|
||||
function privateKeyFromPem(pem: PEM): Key;
|
||||
|
||||
Reference in New Issue
Block a user