requestCredentials
Request issuance of credentials for a document.
This flow is for requesting Credentials which is an asynchronous operation since it could take several hours for the issuer to mint these (this may happen at times when compute resources are less expensive).
The application can track the number of pending and available objects in the DocumentState object and collect the ones that are ready, via the getCredentials method.
Parameters
documentId
the document to request presentation objects for.
Throws
if not in state DocumentCondition.READY.
UnknownDocumentException
if the given documentId isn't valid.