iya-sts
    Preparing search index...

    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.

    Index
    • Builds the PKINIT handler over the given dependencies.

      Parameters

      • deps: Krb5PkinitDeps

        the modules it uses

      Returns export=

    ANONYMOUS_REALM: "WELLKNOWN:ANONYMOUS" = ANONYMOUS_REALM

    The anonymous realm, WELLKNOWN:ANONYMOUS.

    HARDWARE_INDICATOR: "pkinit-hardware" = HARDWARE_INDICATOR

    The indicator for a certificate marked hardware-bound.

    PKINIT_INDICATOR: "pkinit" = PKINIT_INDICATOR

    The indicator every PKINIT ticket carries, pkinit.

    REPLAY_SCOPE: "krb5.pkinit-authpack" = REPLAY_SCOPE

    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.

      Returns boolean

      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.

      Parameters

      • opts: any

        pa, request, asReqBytes, realm, etype and anonymous

      Returns Promise<any>

      a promise of the outcome, or a refusal

    • Says whether PKINIT is on in the ambient trust realm (krb5.pkinit).

      Returns boolean

      whether it is

    • Seals a freshness token for a realm.

      Parameters

      • realm: string

        the Kerberos realm

      Returns Promise<Uint8Array<ArrayBufferLike>>

      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.

      Parameters

      • realm: string

        the Kerberos realm the certificate names

      Returns Promise<any>

      a promise of { ok: true, credential } or { ok: false, why }

    • Returns what a KDC_ERR_PREAUTH_REQUIRED offers for PKINIT.

      Parameters

      • request: any

        the AS-REQ (the inner one under FAST)

      • realm: string

        the Kerberos realm answering

      Returns Promise<any[]>

      a promise of the PA-DATA

    • Describes PKINIT in the ambient realm, for the console and the management API.

      Returns any

      the description

    • Returns the dependencies the key source builds this with, from the real modules.

      Returns Krb5PkinitDeps

      the dependencies

    • Says whether a principal name is RFC 8062's anonymous principal.

      Parameters

      • cname: any

        a PrincipalName

      Returns boolean

      whether it is WELLKNOWN/ANONYMOUS