Builds the PKINIT handler over the given dependencies.
the modules it uses
Static ReadonlyANONYMOUS_The anonymous realm, WELLKNOWN:ANONYMOUS.
Static ReadonlyHARDWARE_The indicator for a certificate marked hardware-bound.
Static ReadonlyPKINIT_The indicator every PKINIT ticket carries, pkinit.
Static ReadonlyREPLAY_The claim scope a signed AuthPack is spent under.
Says whether anonymous PKINIT (RFC 8062) is on in the ambient realm
(krb5.anonymousPkinit), PKINIT being on.
whether it is
Checks a PA-PK-AS-REQ and builds the PKINIT reply: the client's signature and certificate (or none, for anonymous PKINIT), the freshness token, the key agreement, the signed KDCDHKeyInfo and the reply key.
pa, request, asReqBytes, realm, etype and
anonymous
a promise of the outcome, or a refusal
Says whether PKINIT is on in the ambient trust realm (krb5.pkinit).
whether it is
Seals a freshness token for a realm.
the Kerberos realm
a promise of the token, or null without a krbtgt key
Returns this realm's KDC credential in this process, issuing one when there is none or it is about to expire.
the Kerberos realm the certificate names
a promise of { ok: true, credential } or { ok: false, why }
Returns what a KDC_ERR_PREAUTH_REQUIRED offers for PKINIT.
the AS-REQ (the inner one under FAST)
the Kerberos realm answering
a promise of the PA-DATA
Describes PKINIT in the ambient realm, for the console and the management API.
the description
StaticdefaultReturns the dependencies the key source builds this with, from the real modules.
the dependencies
StaticisSays whether a principal name is RFC 8062's anonymous principal.
a PrincipalName
whether it is WELLKNOWN/ANONYMOUS
PKINIT for the KDC's AS exchange: the request checked, the client's certificate validated and bound, the Diffie-Hellman reply signed and the reply key derived. Reached by the KDC through the key source; it registers nothing.