verifyLeaf: (
realmId: any,
leafPem: any,
presentedChainPems: any,
opts: any,
) => Promise<any> = verifyLeaf
Type Declaration
-
- (realmId: any, leafPem: any, presentedChainPems: any, opts: any): Promise<any>
-
Parameters
- realmId: any
- leafPem: any
- presentedChainPems: any
- opts: any
Returns Promise<any>
a promise of { ok: true, links, revocation, anchor } or
{ ok: false, why }
Verifies that a certificate chains to the service Root through this realm's own Intermediate, and that nothing on the path is revoked.