corda / com.r3.corda.networkmanage.common.signer / CertificateRevocationListSigner

CertificateRevocationListSigner

class CertificateRevocationListSigner

Constructors

<init>

CertificateRevocationListSigner(revocationListRepository: <ERROR CLASS>, updateInterval: Duration, endpoint: URL, signer: Signer, ctx_: <ERROR CLASS>)

Properties

ctx

val ctx: <ERROR CLASS>

Functions

createSignedCRL

fun createSignedCRL(newCRRs: Set<CertificateRevocationRequest>, existingCRRs: Set<CertificateRevocationRequest>, crlIssuer: String, userInfo: <ERROR CLASS>? = null): X509CRL

Builds, signs and persists a new certificate revocation list. It happens only if there are new entries to be added to the current list.

fun createSignedCRL(newCRRs: Set<CertificateRevocationRequest>, existingCrl: X509CRL?, crlIssuer: String, headless: Boolean = true, renderer: Renderer = LoggingRenderer(ctx), userInfo: <ERROR CLASS>? = null): X509CRL

Companion Object Functions

getRevocationsFromCrl

fun getRevocationsFromCrl(existingCrl: X509CRL?): List<Revocation>