createBatch
Creates a batch of MdocCredential instances with keys created in a single batch operation.
This method optimizes the key creation process by using the secure area's batch key creation functionality. This can be significantly more efficient than creating keys individually, especially for hardware-backed secure areas where multiple key operations might be expensive.
Return
A pair containing:
A list of created MdocCredential instances, ready to be certified
An optional string containing the compact serialization of a JWS with OpenID4VCI key attestation data if supported by the secure area.
Parameters
The number of credentials to create in the batch.
The document to add the credentials to.
The domain for all credentials in the batch.
The secure area to use for creating keys.
The docType for all credentials in the batch.
The settings to use for key creation, including algorithm parameters.