Class IssuerContext

Expand description

Issuer-side context for creating issuer authorities, issuing credentials, and revoking credentials.

Methods§

§

exportSecretKey(): IssuerSecretKeys

Export this issuer's secret keys for application-managed backup or restore.

§

free(): void

§

issueCredential(info: JsonValue, request: IssuanceRequest): IssuanceResponse

Issue a blind signature response for a holder issuance request.

§

issuerAuthority(revocation: readonly RevocationLocation[]): IssuerAuthority

Build and sign this issuer's public authority with its revocation locations.

§

revokeCredential(credential: SignedCredential): SignedRevocation

Sign a revocation for a finalized credential issued by this issuer.

§

generate(): IssuerContext

Generate a new issuer context with fresh issuer identity and issuance keys.

§

generateWithSystemRng(): IssuerContext

Generate a new issuer context using direct system randomness for each keygen draw.

§

generateWithThreadRng(): IssuerContext

Generate a new issuer context using a thread-local CSPRNG seeded from the system RNG.

§

importSecretKey(secret_key: IssuerSecretKeys): IssuerContext

Import an issuer context from previously exported issuer secret keys.