Variable verifyPresentedCertificate
verifyPresentedCertificate: (
certificate: any,
id: any,
) =>
| {
errorCode: any;
ok: boolean;
reason: string;
revocation?: undefined;
trustDomain?: undefined;
}
| {
errorCode?: undefined;
ok: boolean;
reason?: undefined;
revocation: any;
trustDomain: any;
} = ...
Type Declaration
-
- (
certificate: any,
id: any,
):
| {
errorCode: any;
ok: boolean;
reason: string;
revocation?: undefined;
trustDomain?: undefined;
}
| {
errorCode?: undefined;
ok: boolean;
reason?: undefined;
revocation: any;
trustDomain: any;
}
-
Returns
| {
errorCode: any;
ok: boolean;
reason: string;
revocation?: undefined;
trustDomain?: undefined;
}
| {
errorCode?: undefined;
ok: boolean;
reason?: undefined;
revocation: any;
trustDomain: any;
}
{ ok: true, trustDomain, revocation }, or { ok: false, reason, errorCode }
Verifies a presented X509-SVID: its validity window, an authority this service holds that issued and signed it, its trust domain matching that authority's, and its revocation status.