signDocRequests

Signs all unsigned DocRequest entries added so far using per-document ReaderAuthentication (readerAuth).

If the certificate chain has more than one certificate, and the last certificate is a root certificate (self-signed), it is excluded.

Return

the builder.

Parameters

readerKey

the key to sign with and its certificate chain.

Throws

if addReaderAuthAll has already been called.

if the coroutine is cancelled.