You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/mdoc/model/Document.ts
+12-6Lines changed: 12 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -163,24 +163,30 @@ export class Document {
163
163
*
164
164
* @param {Object} params - The parameters object
165
165
* @param {jose.JWK | Uint8Array} params.issuerPrivateKey - The issuer's private key either in JWK format or COSE_KEY format as buffer.
166
-
* @param {string | Uint8Array} params.issuerCertificate - The issuer's certificate in pem format or as a buffer.
166
+
* @param {string | Uint8Array | Array<string | Uint8Array>} params.issuerCertificate - The issuer's certificate in pem format, as a buffer, or an array.
167
167
* @param {SupportedAlgs} params.alg - The algorhitm used for the MSO signature.
168
168
* @param {string | Uint8Array} [params.kid] - The key id of the issuer's private key. default: issuerPrivateKey.kid
169
169
* @returns {Promise<IssuerSignedDoc>} - The signed document
0 commit comments