Variable pkinitKeyAgreement
pkinitKeyAgreement: (
clientSpkiDer: any,
) =>
| {
group?: undefined;
kdcPublicValue?: undefined;
ok: boolean;
reason: string;
secret?: undefined;
why: string;
}
| {
group: | {
bits: number;
id: string;
kind: string;
label: string;
node: string;
oid: string;
}
| { bits: number; id: string; kind: string; label: string; node: string };
kdcPublicValue: any;
ok: boolean;
reason?: undefined;
secret: any;
why?: undefined;
} = pkinitKeyAgreement
Type Declaration
-
- (
clientSpkiDer: any,
):
| {
group?: undefined;
kdcPublicValue?: undefined;
ok: boolean;
reason: string;
secret?: undefined;
why: string;
}
| {
group: | {
bits: number;
id: string;
kind: string;
label: string;
node: string;
oid: string;
}
| { bits: number; id: string; kind: string; label: string; node: string };
kdcPublicValue: any;
ok: boolean;
reason?: undefined;
secret: any;
why?: undefined;
}
-
Returns
| {
group?: undefined;
kdcPublicValue?: undefined;
ok: boolean;
reason: string;
secret?: undefined;
why: string;
}
| {
group: | {
bits: number;
id: string;
kind: string;
label: string;
node: string;
oid: string;
}
| { bits: number; id: string; kind: string; label: string; node: string };
kdcPublicValue: any;
ok: boolean;
reason?: undefined;
secret: any;
why?: undefined;
}
{ ok: true, group, secret, kdcPublicValue }, or { ok: false, reason, why } with a reason of params or value
Runs the KDC's half of a PKINIT Diffie-Hellman exchange against the client's SubjectPublicKeyInfo: the group checked against
PKINIT_DH_GROUPS, the client's value checked, an ephemeral key made.