mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-06 07:47:04 +00:00
node-forge: pki.createCaStore accepts an optional array of certificates
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
This commit is contained in:
Vendored
+1
-1
@@ -69,7 +69,7 @@ declare module "node-forge" {
|
||||
function privateKeyFromPem(pem: PEM): PrivateKey;
|
||||
function certificateToPem(cert: Certificate, maxline?: number): PEM;
|
||||
function certificateFromPem(pem: PEM, computeHash?: boolean, strict?: boolean): Certificate;
|
||||
function createCaStore(): CAStore;
|
||||
function createCaStore(certs?: ReadonlyArray<Certificate | pki.PEM>): CAStore;
|
||||
function verifyCertificateChain(caStore: CAStore, chain: Certificate[], customVerifyCallback?: (verified: boolean | string, depth: number, chain: Certificate[]) => boolean): boolean;
|
||||
|
||||
interface oids {
|
||||
|
||||
Reference in New Issue
Block a user