From 7fb59e070da6791587be6733aed6399ac4f81530 Mon Sep 17 00:00:00 2001 From: Dolan Date: Wed, 7 Jun 2017 23:48:32 +0100 Subject: [PATCH] Added Cert X509 --- types/nodegit/cert-x509.d.ts | 5 +++++ types/nodegit/index.d.ts | 3 ++- types/nodegit/tsconfig.json | 1 + 3 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 types/nodegit/cert-x509.d.ts diff --git a/types/nodegit/cert-x509.d.ts b/types/nodegit/cert-x509.d.ts new file mode 100644 index 0000000000..14f38ac5fc --- /dev/null +++ b/types/nodegit/cert-x509.d.ts @@ -0,0 +1,5 @@ +export class CertX509 { + certType: number; + data: Buffer; + len: number; +} diff --git a/types/nodegit/index.d.ts b/types/nodegit/index.d.ts index bd7f7791c6..9b446aa056 100644 --- a/types/nodegit/index.d.ts +++ b/types/nodegit/index.d.ts @@ -11,7 +11,8 @@ export { Blame } from './blame'; export { Blob } from './blob'; export { Branch } from './branch'; export { Buf } from './buf'; -export { CertHostKey } from './cert-host-key'; +export { CertHostkey } from './cert-host-key'; +export { CertX509 } from './cert-x509'; export { Cert } from './cert'; export { CheckoutOptions } from './checkout-options'; export { Checkout } from './checkout'; diff --git a/types/nodegit/tsconfig.json b/types/nodegit/tsconfig.json index 15398d46c4..02fa864776 100644 --- a/types/nodegit/tsconfig.json +++ b/types/nodegit/tsconfig.json @@ -25,6 +25,7 @@ "branch.d.ts", "buf.d.ts", "cert-host-key.d.ts", + "cert-x509.d.ts", "cert.d.ts", "checkout-options.d.ts", "checkout.d.ts",