Interface ServerChallengeContext<State>

Contextual information for challenge processing.

interface ServerChallengeContext<State = unknown> {
    challengeState?: State;
    keyName: Name;
    profile: CaProfile;
    subjectName: Name;
}

Type Parameters

  • State = unknown

Properties

challengeState?: State

Server-side state of the challenge on a request session.

For a newly selected challenge, this field is undefined. The challenge module can store state information in this field and retrieve it when processing subsequently CHALLENGE request packets.

keyName: Name

Key name of the requested certificate.

profile: CaProfile

CA profile packet.

subjectName: Name

Subject name of the requested certificate.