getCrl

suspend fun getCrl(serverIdentity: ServerIdentity, createOnRequest: Boolean): X509Crl

Reads CA certificate revocation list for the given server identity type issued locally on this server.

Return

certificate revocation list for the requested identity

Parameters

serverIdentity

type of the server identity to read.

createOnRequest

when true, if an identity is not found in the configuration and in the database, it is generated (and stored in the database for future use).

Throws

if createOnRequest is false and requested identity does not exist in either configuration or database.