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:
Jon.Hallander
2018-05-11 12:50:39 -04:00
parent ffa30195c0
commit 7a45c8a4d6
+16 -16
View File
@@ -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;