diff --git a/bindings/wasm/docs/api-reference.md b/bindings/wasm/docs/api-reference.md index e17fcf0c2c..f07446debc 100644 --- a/bindings/wasm/docs/api-reference.md +++ b/bindings/wasm/docs/api-reference.md @@ -189,9 +189,30 @@ working with storage backed DID documents.
Purpose of a StatusList2021.
Controls validation behaviour when checking whether or not a credential has been revoked by its
+credentialStatus
.
Validate the status if supported, reject any unsupported
+credentialStatus
types.
Only RevocationBitmap2022
is currently supported.
This is the default.
+Validate the status if supported, skip any unsupported
+credentialStatus
types.
Skip all status checks.
+Declares how credential subjects must relate to the presentation holder.
See also the Subject-Holder Relationship section of the specification.
@@ -215,39 +236,13 @@ This variant is the default.Return after the first error occurs.
Controls validation behaviour when checking whether or not a credential has been revoked by its
-credentialStatus
.
Validate the status if supported, reject any unsupported
-credentialStatus
types.
Only RevocationBitmap2022
is currently supported.
This is the default.
-Validate the status if supported, skip any unsupported
-credentialStatus
types.
Skip all status checks.
-Verify a JWS signature secured with the EdDSA
algorithm and curve Ed25519
.
This function is useful when one is composing a IJwsVerifier
that delegates
-EdDSA
verification with curve Ed25519
to this function.
This function does not check whether alg = EdDSA
in the protected header. Callers are expected to assert this
-prior to calling the function.
Initializes the console error panic hook for better error messages
string
Encode the given bytes in url-safe base64.
@@ -255,8 +250,13 @@ prior to calling the function.Uint8Array
Decode the given url-safe base64-encoded slice into its raw bytes.
Initializes the console error panic hook for better error messages
+Verify a JWS signature secured with the EdDSA
algorithm and curve Ed25519
.
This function is useful when one is composing a IJwsVerifier
that delegates
+EdDSA
verification with curve Ed25519
to this function.
This function does not check whether alg = EdDSA
in the protected header. Callers are expected to assert this
+prior to calling the function.
Service
](#Service) \| undefined
* [.resolveService(query)](#CoreDocument+resolveService) ⇒ [Service
](#Service) \| undefined
- * [.methods([scope])](#CoreDocument+methods) ⇒ [Array.<VerificationMethod>
](#VerificationMethod)
+ * [.methods(scope)](#CoreDocument+methods) ⇒ [Array.<VerificationMethod>
](#VerificationMethod)
* [.verificationRelationships()](#CoreDocument+verificationRelationships) ⇒ Array.<(DIDUrl\|VerificationMethod)>
* [.insertMethod(method, scope)](#CoreDocument+insertMethod)
* [.removeMethod(did)](#CoreDocument+removeMethod) ⇒ [VerificationMethod
](#VerificationMethod) \| undefined
- * [.resolveMethod(query, [scope])](#CoreDocument+resolveMethod) ⇒ [VerificationMethod
](#VerificationMethod) \| undefined
+ * [.resolveMethod(query, scope)](#CoreDocument+resolveMethod) ⇒ [VerificationMethod
](#VerificationMethod) \| undefined
* [.attachMethodRelationship(didUrl, relationship)](#CoreDocument+attachMethodRelationship) ⇒ boolean
* [.detachMethodRelationship(didUrl, relationship)](#CoreDocument+detachMethodRelationship) ⇒ boolean
- * [.verifyJws(jws, options, signatureVerifier, [detachedPayload])](#CoreDocument+verifyJws) ⇒ [DecodedJws
](#DecodedJws)
+ * [.verifyJws(jws, options, signatureVerifier, detachedPayload)](#CoreDocument+verifyJws) ⇒ [DecodedJws
](#DecodedJws)
* [.revokeCredentials(serviceQuery, indices)](#CoreDocument+revokeCredentials)
* [.unrevokeCredentials(serviceQuery, indices)](#CoreDocument+unrevokeCredentials)
* [.clone()](#CoreDocument+clone) ⇒ [CoreDocument
](#CoreDocument)
@@ -491,7 +491,7 @@ if the object is being concurrently modified.
* [.generateMethod(storage, keyType, alg, fragment, scope)](#CoreDocument+generateMethod) ⇒ Promise.<string>
* [.purgeMethod(storage, id)](#CoreDocument+purgeMethod) ⇒ Promise.<void>
* [.createJws(storage, fragment, payload, options)](#CoreDocument+createJws) ⇒ [Promise.<Jws>
](#Jws)
- * [.createCredentialJwt(storage, fragment, credential, options, [custom_claims])](#CoreDocument+createCredentialJwt) ⇒ [Promise.<Jwt>
](#Jwt)
+ * [.createCredentialJwt(storage, fragment, credential, options, custom_claims)](#CoreDocument+createCredentialJwt) ⇒ [Promise.<Jwt>
](#Jwt)
* [.createPresentationJwt(storage, fragment, presentation, signature_options, presentation_options)](#CoreDocument+createPresentationJwt) ⇒ [Promise.<Jwt>
](#Jwt)
* _static_
* [.fromJSON(json)](#CoreDocument.fromJSON) ⇒ [CoreDocument
](#CoreDocument)
@@ -671,7 +671,7 @@ if present.
-### coreDocument.methods([scope]) ⇒ [Array.<VerificationMethod>
](#VerificationMethod)
+### coreDocument.methods(scope) ⇒ [Array.<VerificationMethod>
](#VerificationMethod)
Returns a list of all [VerificationMethod](#VerificationMethod) in the DID Document,
whose verification relationship matches `scope`.
@@ -681,7 +681,7 @@ If `scope` is not set, a list over the **embedded** methods is returned.
| Param | Type |
| --- | --- |
-| [scope] | [MethodScope
](#MethodScope) \| undefined
|
+| scope | [MethodScope
](#MethodScope) \| undefined
|
@@ -714,7 +714,7 @@ Removes all references to the specified Verification Method.
-### coreDocument.resolveMethod(query, [scope]) ⇒ [VerificationMethod
](#VerificationMethod) \| undefined
+### coreDocument.resolveMethod(query, scope) ⇒ [VerificationMethod
](#VerificationMethod) \| undefined
Returns a copy of the first verification method with an `id` property
matching the provided `query` and the verification relationship
specified by `scope`, if present.
@@ -724,7 +724,7 @@ specified by `scope`, if present.
| Param | Type |
| --- | --- |
| query | [DIDUrl
](#DIDUrl) \| string
|
-| [scope] | [MethodScope
](#MethodScope) \| undefined
|
+| scope | [MethodScope
](#MethodScope) \| undefined
|
@@ -739,7 +739,7 @@ so it cannot be an embedded one.
| Param | Type |
| --- | --- |
| didUrl | [DIDUrl
](#DIDUrl) |
-| relationship | [MethodRelationship
](#MethodRelationship) |
+| relationship | number
|
@@ -751,11 +751,11 @@ Detaches the given relationship from the given method, if the method exists.
| Param | Type |
| --- | --- |
| didUrl | [DIDUrl
](#DIDUrl) |
-| relationship | [MethodRelationship
](#MethodRelationship) |
+| relationship | number
|
-### coreDocument.verifyJws(jws, options, signatureVerifier, [detachedPayload]) ⇒ [DecodedJws
](#DecodedJws)
+### coreDocument.verifyJws(jws, options, signatureVerifier, detachedPayload) ⇒ [DecodedJws
](#DecodedJws)
Decodes and verifies the provided JWS according to the passed `options` and `signatureVerifier`.
If no `signatureVerifier` argument is provided a default verifier will be used that is (only) capable of
verifying EdDSA signatures.
@@ -773,7 +773,7 @@ or set explicitly in the `options`.
| jws | [Jws
](#Jws) |
| options | [JwsVerificationOptions
](#JwsVerificationOptions) |
| signatureVerifier | IJwsVerifier
|
-| [detachedPayload] | string
\| undefined
|
+| detachedPayload | string
\| undefined
|
@@ -882,7 +882,7 @@ See [RFC7515 section 3.1](https://www.rfc-editor.org/rfc/rfc7515#section-3.1).
-### coreDocument.createCredentialJwt(storage, fragment, credential, options, [custom_claims]) ⇒ [Promise.<Jwt>
](#Jwt)
+### coreDocument.createCredentialJwt(storage, fragment, credential, options, custom_claims) ⇒ [Promise.<Jwt>
](#Jwt)
Produces a JWT where the payload is produced from the given `credential`
in accordance with [VC Data Model v1.1](https://www.w3.org/TR/vc-data-model/#json-web-token).
@@ -900,7 +900,7 @@ The `custom_claims` can be used to set additional claims on the resulting JWT.
| fragment | string
|
| credential | [Credential
](#Credential) |
| options | [JwsSignatureOptions
](#JwsSignatureOptions) |
-| [custom_claims] | Record.<string, any>
\| undefined
|
+| custom_claims | Record.<string, any>
\| undefined
|
@@ -956,8 +956,8 @@ Deserializes an instance from a plain JS representation.
* [.nonTransferable()](#Credential+nonTransferable) ⇒ boolean
\| undefined
* [.proof()](#Credential+proof) ⇒ [Proof
](#Proof) \| undefined
* [.properties()](#Credential+properties) ⇒ Map.<string, any>
- * [.setProof([proof])](#Credential+setProof)
- * [.toJwtClaims([custom_claims])](#Credential+toJwtClaims) ⇒ Record.<string, any>
+ * [.setProof(proof)](#Credential+setProof)
+ * [.toJwtClaims(custom_claims)](#Credential+toJwtClaims) ⇒ Record.<string, any>
* [.toJSON()](#Credential+toJSON) ⇒ any
* [.clone()](#Credential+clone) ⇒ [Credential
](#Credential)
* _static_
@@ -1069,7 +1069,7 @@ Returns a copy of the miscellaneous properties on the [Credential](#Credential).
**Kind**: instance method of [Credential
](#Credential)
-### credential.setProof([proof])
+### credential.setProof(proof)
Sets the `proof` property of the [Credential](#Credential).
Note that this proof is not related to JWT.
@@ -1078,11 +1078,11 @@ Note that this proof is not related to JWT.
| Param | Type |
| --- | --- |
-| [proof] | [Proof
](#Proof) \| undefined
|
+| proof | [Proof
](#Proof) \| undefined
|
-### credential.toJwtClaims([custom_claims]) ⇒ Record.<string, any>
+### credential.toJwtClaims(custom_claims) ⇒ Record.<string, any>
Serializes the `Credential` as a JWT claims set
in accordance with [VC Data Model v1.1](https://www.w3.org/TR/vc-data-model/#json-web-token).
@@ -1092,7 +1092,7 @@ The resulting object can be used as the payload of a JWS when issuing the creden
| Param | Type |
| --- | --- |
-| [custom_claims] | Record.<string, any>
\| undefined
|
+| custom_claims | Record.<string, any>
\| undefined
|
@@ -1150,11 +1150,11 @@ A method agnostic DID Url.
* [.did()](#DIDUrl+did) ⇒ [CoreDID
](#CoreDID)
* [.urlStr()](#DIDUrl+urlStr) ⇒ string
* [.fragment()](#DIDUrl+fragment) ⇒ string
\| undefined
- * [.setFragment([value])](#DIDUrl+setFragment)
+ * [.setFragment(value)](#DIDUrl+setFragment)
* [.path()](#DIDUrl+path) ⇒ string
\| undefined
- * [.setPath([value])](#DIDUrl+setPath)
+ * [.setPath(value)](#DIDUrl+setPath)
* [.query()](#DIDUrl+query) ⇒ string
\| undefined
- * [.setQuery([value])](#DIDUrl+setQuery)
+ * [.setQuery(value)](#DIDUrl+setQuery)
* [.join(segment)](#DIDUrl+join) ⇒ [DIDUrl
](#DIDUrl)
* [.toString()](#DIDUrl+toString) ⇒ string
* [.toJSON()](#DIDUrl+toJSON) ⇒ any
@@ -1183,14 +1183,14 @@ Returns a copy of the [DIDUrl](#DIDUrl) method fragment, if any. Excludes the le
**Kind**: instance method of [DIDUrl
](#DIDUrl)
-### didUrl.setFragment([value])
+### didUrl.setFragment(value)
Sets the `fragment` component of the [DIDUrl](#DIDUrl).
**Kind**: instance method of [DIDUrl
](#DIDUrl)
| Param | Type |
| --- | --- |
-| [value] | string
\| undefined
|
+| value | string
\| undefined
|
@@ -1200,14 +1200,14 @@ Returns a copy of the [DIDUrl](#DIDUrl) path.
**Kind**: instance method of [DIDUrl
](#DIDUrl)
-### didUrl.setPath([value])
+### didUrl.setPath(value)
Sets the `path` component of the [DIDUrl](#DIDUrl).
**Kind**: instance method of [DIDUrl
](#DIDUrl)
| Param | Type |
| --- | --- |
-| [value] | string
\| undefined
|
+| value | string
\| undefined
|
@@ -1217,14 +1217,14 @@ Returns a copy of the [DIDUrl](#DIDUrl) method query, if any. Excludes the leadi
**Kind**: instance method of [DIDUrl
](#DIDUrl)
-### didUrl.setQuery([value])
+### didUrl.setQuery(value)
Sets the `query` component of the [DIDUrl](#DIDUrl).
**Kind**: instance method of [DIDUrl
](#DIDUrl)
| Param | Type |
| --- | --- |
-| [value] | string
\| undefined
|
+| value | string
\| undefined
|
@@ -1975,13 +1975,13 @@ if the object is being concurrently modified.
* [.insertService(service)](#IotaDocument+insertService)
* [.removeService(did)](#IotaDocument+removeService) ⇒ [Service
](#Service) \| undefined
* [.resolveService(query)](#IotaDocument+resolveService) ⇒ [Service
](#Service) \| undefined
- * [.methods([scope])](#IotaDocument+methods) ⇒ [Array.<VerificationMethod>
](#VerificationMethod)
+ * [.methods(scope)](#IotaDocument+methods) ⇒ [Array.<VerificationMethod>
](#VerificationMethod)
* [.insertMethod(method, scope)](#IotaDocument+insertMethod)
* [.removeMethod(did)](#IotaDocument+removeMethod) ⇒ [VerificationMethod
](#VerificationMethod) \| undefined
- * [.resolveMethod(query, [scope])](#IotaDocument+resolveMethod) ⇒ [VerificationMethod
](#VerificationMethod) \| undefined
+ * [.resolveMethod(query, scope)](#IotaDocument+resolveMethod) ⇒ [VerificationMethod
](#VerificationMethod) \| undefined
* [.attachMethodRelationship(didUrl, relationship)](#IotaDocument+attachMethodRelationship) ⇒ boolean
* [.detachMethodRelationship(didUrl, relationship)](#IotaDocument+detachMethodRelationship) ⇒ boolean
- * [.verifyJws(jws, options, signatureVerifier, [detachedPayload])](#IotaDocument+verifyJws) ⇒ [DecodedJws
](#DecodedJws)
+ * [.verifyJws(jws, options, signatureVerifier, detachedPayload)](#IotaDocument+verifyJws) ⇒ [DecodedJws
](#DecodedJws)
* [.pack()](#IotaDocument+pack) ⇒ Uint8Array
* [.packWithEncoding(encoding)](#IotaDocument+packWithEncoding) ⇒ Uint8Array
* [.metadata()](#IotaDocument+metadata) ⇒ [IotaDocumentMetadata
](#IotaDocumentMetadata)
@@ -1990,7 +1990,7 @@ if the object is being concurrently modified.
* [.metadataUpdated()](#IotaDocument+metadataUpdated) ⇒ [Timestamp
](#Timestamp) \| undefined
* [.setMetadataUpdated(timestamp)](#IotaDocument+setMetadataUpdated)
* [.metadataDeactivated()](#IotaDocument+metadataDeactivated) ⇒ boolean
\| undefined
- * [.setMetadataDeactivated([deactivated])](#IotaDocument+setMetadataDeactivated)
+ * [.setMetadataDeactivated(deactivated)](#IotaDocument+setMetadataDeactivated)
* [.metadataStateControllerAddress()](#IotaDocument+metadataStateControllerAddress) ⇒ string
\| undefined
* [.metadataGovernorAddress()](#IotaDocument+metadataGovernorAddress) ⇒ string
\| undefined
* [.setMetadataPropertyUnchecked(key, value)](#IotaDocument+setMetadataPropertyUnchecked)
@@ -2005,7 +2005,7 @@ if the object is being concurrently modified.
* [.purgeMethod(storage, id)](#IotaDocument+purgeMethod) ⇒ Promise.<void>
* ~~[.createJwt(storage, fragment, payload, options)](#IotaDocument+createJwt) ⇒ [Promise.<Jws>
](#Jws)~~
* [.createJws(storage, fragment, payload, options)](#IotaDocument+createJws) ⇒ [Promise.<Jws>
](#Jws)
- * [.createCredentialJwt(storage, fragment, credential, options, [custom_claims])](#IotaDocument+createCredentialJwt) ⇒ [Promise.<Jwt>
](#Jwt)
+ * [.createCredentialJwt(storage, fragment, credential, options, custom_claims)](#IotaDocument+createCredentialJwt) ⇒ [Promise.<Jwt>
](#Jwt)
* [.createPresentationJwt(storage, fragment, presentation, signature_options, presentation_options)](#IotaDocument+createPresentationJwt) ⇒ [Promise.<Jwt>
](#Jwt)
* _static_
* [.newWithId(id)](#IotaDocument.newWithId) ⇒ [IotaDocument
](#IotaDocument)
@@ -2125,7 +2125,7 @@ if present.
-### iotaDocument.methods([scope]) ⇒ [Array.<VerificationMethod>
](#VerificationMethod)
+### iotaDocument.methods(scope) ⇒ [Array.<VerificationMethod>
](#VerificationMethod)
Returns a list of all [VerificationMethod](#VerificationMethod) in the DID Document,
whose verification relationship matches `scope`.
@@ -2135,7 +2135,7 @@ If `scope` is not set, a list over the **embedded** methods is returned.
| Param | Type |
| --- | --- |
-| [scope] | [MethodScope
](#MethodScope) \| undefined
|
+| scope | [MethodScope
](#MethodScope) \| undefined
|
@@ -2162,7 +2162,7 @@ Removes all references to the specified Verification Method.
-### iotaDocument.resolveMethod(query, [scope]) ⇒ [VerificationMethod
](#VerificationMethod) \| undefined
+### iotaDocument.resolveMethod(query, scope) ⇒ [VerificationMethod
](#VerificationMethod) \| undefined
Returns a copy of the first verification method with an `id` property
matching the provided `query` and the verification relationship
specified by `scope`, if present.
@@ -2172,7 +2172,7 @@ specified by `scope`, if present.
| Param | Type |
| --- | --- |
| query | [DIDUrl
](#DIDUrl) \| string
|
-| [scope] | [MethodScope
](#MethodScope) \| undefined
|
+| scope | [MethodScope
](#MethodScope) \| undefined
|
@@ -2187,7 +2187,7 @@ so it cannot be an embedded one.
| Param | Type |
| --- | --- |
| didUrl | [DIDUrl
](#DIDUrl) |
-| relationship | [MethodRelationship
](#MethodRelationship) |
+| relationship | number
|
@@ -2199,11 +2199,11 @@ Detaches the given relationship from the given method, if the method exists.
| Param | Type |
| --- | --- |
| didUrl | [DIDUrl
](#DIDUrl) |
-| relationship | [MethodRelationship
](#MethodRelationship) |
+| relationship | number
|
-### iotaDocument.verifyJws(jws, options, signatureVerifier, [detachedPayload]) ⇒ [DecodedJws
](#DecodedJws)
+### iotaDocument.verifyJws(jws, options, signatureVerifier, detachedPayload) ⇒ [DecodedJws
](#DecodedJws)
Decodes and verifies the provided JWS according to the passed `options` and `signatureVerifier`.
If no `signatureVerifier` argument is provided a default verifier will be used that is (only) capable of
verifying EdDSA signatures.
@@ -2220,7 +2220,7 @@ take place.
| jws | [Jws
](#Jws) |
| options | [JwsVerificationOptions
](#JwsVerificationOptions) |
| signatureVerifier | IJwsVerifier
|
-| [detachedPayload] | string
\| undefined
|
+| detachedPayload | string
\| undefined
|
@@ -2238,7 +2238,7 @@ Serializes the document for inclusion in an Alias Output's state metadata.
| Param | Type |
| --- | --- |
-| encoding | [StateMetadataEncoding
](#StateMetadataEncoding) |
+| encoding | number
|
@@ -2291,14 +2291,14 @@ Returns a copy of the deactivated status of the DID document.
**Kind**: instance method of [IotaDocument
](#IotaDocument)
-### iotaDocument.setMetadataDeactivated([deactivated])
+### iotaDocument.setMetadataDeactivated(deactivated)
Sets the deactivated status of the DID document.
**Kind**: instance method of [IotaDocument
](#IotaDocument)
| Param | Type |
| --- | --- |
-| [deactivated] | boolean
\| undefined
|
+| deactivated | boolean
\| undefined
|
@@ -2458,7 +2458,7 @@ See [RFC7515 section 3.1](https://www.rfc-editor.org/rfc/rfc7515#section-3.1).
-### iotaDocument.createCredentialJwt(storage, fragment, credential, options, [custom_claims]) ⇒ [Promise.<Jwt>
](#Jwt)
+### iotaDocument.createCredentialJwt(storage, fragment, credential, options, custom_claims) ⇒ [Promise.<Jwt>
](#Jwt)
Produces a JWS where the payload is produced from the given `credential`
in accordance with [VC Data Model v1.1](https://www.w3.org/TR/vc-data-model/#json-web-token).
@@ -2476,7 +2476,7 @@ The `custom_claims` can be used to set additional claims on the resulting JWT.
| fragment | string
|
| credential | [Credential
](#Credential) |
| options | [JwsSignatureOptions
](#JwsSignatureOptions) |
-| [custom_claims] | Record.<string, any>
\| undefined
|
+| custom_claims | Record.<string, any>
\| undefined
|
@@ -2645,7 +2645,7 @@ and resolution of DID documents in Alias Outputs.
**Kind**: global class
* [IotaIdentityClientExt](#IotaIdentityClientExt)
- * [.newDidOutput(client, address, document, [rentStructure])](#IotaIdentityClientExt.newDidOutput) ⇒ Promise.<AliasOutputBuilderParams>
+ * [.newDidOutput(client, address, document, rentStructure)](#IotaIdentityClientExt.newDidOutput) ⇒ Promise.<AliasOutputBuilderParams>
* [.updateDidOutput(client, document)](#IotaIdentityClientExt.updateDidOutput) ⇒ Promise.<AliasOutputBuilderParams>
* [.deactivateDidOutput(client, did)](#IotaIdentityClientExt.deactivateDidOutput) ⇒ Promise.<AliasOutputBuilderParams>
* [.resolveDid(client, did)](#IotaIdentityClientExt.resolveDid) ⇒ [Promise.<IotaDocument>
](#IotaDocument)
@@ -2653,7 +2653,7 @@ and resolution of DID documents in Alias Outputs.
-### IotaIdentityClientExt.newDidOutput(client, address, document, [rentStructure]) ⇒ Promise.<AliasOutputBuilderParams>
+### IotaIdentityClientExt.newDidOutput(client, address, document, rentStructure) ⇒ Promise.<AliasOutputBuilderParams>
Create a DID with a new Alias Output containing the given `document`.
The `address` will be set as the state controller and governor unlock conditions.
@@ -2670,7 +2670,7 @@ NOTE: this does *not* publish the Alias Output.
| client | IIotaIdentityClient
|
| address | Address
|
| document | [IotaDocument
](#IotaDocument) |
-| [rentStructure] | IRent
\| undefined
|
+| rentStructure | IRent
\| undefined
|
@@ -3319,7 +3319,7 @@ Deserializes an instance from a JSON object.
**Kind**: global class
* [JwsSignatureOptions](#JwsSignatureOptions)
- * [new JwsSignatureOptions([options])](#new_JwsSignatureOptions_new)
+ * [new JwsSignatureOptions(options)](#new_JwsSignatureOptions_new)
* _instance_
* [.setAttachJwk(value)](#JwsSignatureOptions+setAttachJwk)
* [.setB64(value)](#JwsSignatureOptions+setB64)
@@ -3337,11 +3337,11 @@ Deserializes an instance from a JSON object.
-### new JwsSignatureOptions([options])
+### new JwsSignatureOptions(options)
| Param | Type |
| --- | --- |
-| [options] | IJwsSignatureOptions
\| undefined
|
+| options | IJwsSignatureOptions
\| undefined
|
@@ -3471,7 +3471,7 @@ Deserializes an instance from a JSON object.
**Kind**: global class
* [JwsVerificationOptions](#JwsVerificationOptions)
- * [new JwsVerificationOptions([options])](#new_JwsVerificationOptions_new)
+ * [new JwsVerificationOptions(options)](#new_JwsVerificationOptions_new)
* _instance_
* [.setNonce(value)](#JwsVerificationOptions+setNonce)
* [.setMethodScope(value)](#JwsVerificationOptions+setMethodScope)
@@ -3483,13 +3483,13 @@ Deserializes an instance from a JSON object.
-### new JwsVerificationOptions([options])
+### new JwsVerificationOptions(options)
Creates a new [JwsVerificationOptions](#JwsVerificationOptions) from the given fields.
| Param | Type |
| --- | --- |
-| [options] | IJwsVerificationOptions
\| undefined
|
+| options | IJwsVerificationOptions
\| undefined
|
@@ -3610,7 +3610,7 @@ Options to declare validation criteria when validating credentials.
**Kind**: global class
* [JwtCredentialValidationOptions](#JwtCredentialValidationOptions)
- * [new JwtCredentialValidationOptions([options])](#new_JwtCredentialValidationOptions_new)
+ * [new JwtCredentialValidationOptions(options)](#new_JwtCredentialValidationOptions_new)
* _instance_
* [.toJSON()](#JwtCredentialValidationOptions+toJSON) ⇒ any
* [.clone()](#JwtCredentialValidationOptions+clone) ⇒ [JwtCredentialValidationOptions
](#JwtCredentialValidationOptions)
@@ -3619,11 +3619,11 @@ Options to declare validation criteria when validating credentials.
-### new JwtCredentialValidationOptions([options])
+### new JwtCredentialValidationOptions(options)
| Param | Type |
| --- | --- |
-| [options] | IJwtCredentialValidationOptions
\| undefined
|
+| options | IJwtCredentialValidationOptions
\| undefined
|
@@ -3716,7 +3716,7 @@ An error is returned whenever a validated condition is not satisfied.
| credential_jwt | [Jwt
](#Jwt) |
| issuer | [CoreDocument
](#CoreDocument) \| IToCoreDocument
|
| options | [JwtCredentialValidationOptions
](#JwtCredentialValidationOptions) |
-| fail_fast | [FailFast
](#FailFast) |
+| fail_fast | number
|
@@ -3782,7 +3782,7 @@ Validate that the relationship between the `holder` and the credential subjects
| --- | --- |
| credential | [Credential
](#Credential) |
| holder | string
|
-| relationship | [SubjectHolderRelationship
](#SubjectHolderRelationship) |
+| relationship | number
|
@@ -3797,7 +3797,7 @@ Only supports `RevocationBitmap2022`.
| --- | --- |
| credential | [Credential
](#Credential) |
| trustedIssuers | Array.<(CoreDocument\|IToCoreDocument)>
|
-| statusCheck | [StatusCheck
](#StatusCheck) |
+| statusCheck | number
|
@@ -3810,7 +3810,7 @@ Checks wheter the credential status has been revoked using `StatusList2021`.
| --- | --- |
| credential | [Credential
](#Credential) |
| status_list | [StatusList2021Credential
](#StatusList2021Credential) |
-| status_check | [StatusCheck
](#StatusCheck) |
+| status_check | number
|
@@ -3916,7 +3916,7 @@ Error will be thrown in case the validation fails.
**Kind**: global class
* [JwtPresentationOptions](#JwtPresentationOptions)
- * [new JwtPresentationOptions([options])](#new_JwtPresentationOptions_new)
+ * [new JwtPresentationOptions(options)](#new_JwtPresentationOptions_new)
* _instance_
* [.toJSON()](#JwtPresentationOptions+toJSON) ⇒ any
* [.clone()](#JwtPresentationOptions+clone) ⇒ [JwtPresentationOptions
](#JwtPresentationOptions)
@@ -3925,7 +3925,7 @@ Error will be thrown in case the validation fails.
-### new JwtPresentationOptions([options])
+### new JwtPresentationOptions(options)
Creates a new [JwtPresentationOptions](#JwtPresentationOptions) from the given fields.
Throws an error if any of the options are invalid.
@@ -3933,7 +3933,7 @@ Throws an error if any of the options are invalid.
| Param | Type |
| --- | --- |
-| [options] | IJwtPresentationOptions
\| undefined
|
+| options | IJwtPresentationOptions
\| undefined
|
@@ -3966,7 +3966,7 @@ Options to declare validation criteria when validating presentation.
**Kind**: global class
* [JwtPresentationValidationOptions](#JwtPresentationValidationOptions)
- * [new JwtPresentationValidationOptions([options])](#new_JwtPresentationValidationOptions_new)
+ * [new JwtPresentationValidationOptions(options)](#new_JwtPresentationValidationOptions_new)
* _instance_
* [.toJSON()](#JwtPresentationValidationOptions+toJSON) ⇒ any
* [.clone()](#JwtPresentationValidationOptions+clone) ⇒ [JwtPresentationValidationOptions
](#JwtPresentationValidationOptions)
@@ -3975,7 +3975,7 @@ Options to declare validation criteria when validating presentation.
-### new JwtPresentationValidationOptions([options])
+### new JwtPresentationValidationOptions(options)
Creates a new [JwtPresentationValidationOptions](#JwtPresentationValidationOptions) from the given fields.
Throws an error if any of the options are invalid.
@@ -3983,7 +3983,7 @@ Throws an error if any of the options are invalid.
| Param | Type |
| --- | --- |
-| [options] | IJwtPresentationValidationOptions
\| undefined
|
+| options | IJwtPresentationValidationOptions
\| undefined
|
@@ -4103,7 +4103,7 @@ Options to declare validation criteria when validating credentials.
**Kind**: global class
* [KeyBindingJWTValidationOptions](#KeyBindingJWTValidationOptions)
- * [new KeyBindingJWTValidationOptions([options])](#new_KeyBindingJWTValidationOptions_new)
+ * [new KeyBindingJWTValidationOptions(options)](#new_KeyBindingJWTValidationOptions_new)
* _instance_
* [.toJSON()](#KeyBindingJWTValidationOptions+toJSON) ⇒ any
* [.clone()](#KeyBindingJWTValidationOptions+clone) ⇒ [KeyBindingJWTValidationOptions
](#KeyBindingJWTValidationOptions)
@@ -4112,11 +4112,11 @@ Options to declare validation criteria when validating credentials.
-### new KeyBindingJWTValidationOptions([options])
+### new KeyBindingJWTValidationOptions(options)
| Param | Type |
| --- | --- |
-| [options] | IKeyBindingJWTValidationOptions
\| undefined
|
+| options | IKeyBindingJWTValidationOptions
\| undefined
|
@@ -4149,7 +4149,7 @@ Claims set for key binding JWT.
**Kind**: global class
* [KeyBindingJwtClaims](#KeyBindingJwtClaims)
- * [new KeyBindingJwtClaims(jwt, disclosures, nonce, aud, [issued_at], [custom_properties])](#new_KeyBindingJwtClaims_new)
+ * [new KeyBindingJwtClaims(jwt, disclosures, nonce, aud, issued_at, custom_properties)](#new_KeyBindingJwtClaims_new)
* _instance_
* [.toString()](#KeyBindingJwtClaims+toString) ⇒ string
* [.iat()](#KeyBindingJwtClaims+iat) ⇒ bigint
@@ -4165,7 +4165,7 @@ Claims set for key binding JWT.
-### new KeyBindingJwtClaims(jwt, disclosures, nonce, aud, [issued_at], [custom_properties])
+### new KeyBindingJwtClaims(jwt, disclosures, nonce, aud, issued_at, custom_properties)
Creates a new [`KeyBindingJwtClaims`].
When `issued_at` is left as None, it will automatically default to the current time.
@@ -4179,8 +4179,8 @@ When `issued_at` is set to `None` and the system returns time earlier than `Syst
| disclosures | Array.<string>
|
| nonce | string
|
| aud | string
|
-| [issued_at] | [Timestamp
](#Timestamp) \| undefined
|
-| [custom_properties] | Record.<string, any>
\| undefined
|
+| issued_at | [Timestamp
](#Timestamp) \| undefined
|
+| custom_properties | Record.<string, any>
\| undefined
|
@@ -4617,7 +4617,7 @@ Deserializes an instance from a JSON object.
* [.refreshService()](#Presentation+refreshService) ⇒ Array.<RefreshService>
* [.termsOfUse()](#Presentation+termsOfUse) ⇒ Array.<Policy>
* [.proof()](#Presentation+proof) ⇒ [Proof
](#Proof) \| undefined
- * [.setProof([proof])](#Presentation+setProof)
+ * [.setProof(proof)](#Presentation+setProof)
* [.properties()](#Presentation+properties) ⇒ Map.<string, any>
* [.toJSON()](#Presentation+toJSON) ⇒ any
* [.clone()](#Presentation+clone) ⇒ [Presentation
](#Presentation)
@@ -4686,7 +4686,7 @@ Optional cryptographic proof, unrelated to JWT.
**Kind**: instance method of [Presentation
](#Presentation)
-### presentation.setProof([proof])
+### presentation.setProof(proof)
Sets the proof property of the [Presentation](#Presentation).
Note that this proof is not related to JWT.
@@ -4695,7 +4695,7 @@ Note that this proof is not related to JWT.
| Param | Type |
| --- | --- |
-| [proof] | [Proof
](#Proof) \| undefined
|
+| proof | [Proof
](#Proof) \| undefined
|
@@ -4984,7 +4984,7 @@ Representation of an SD-JWT of the format
**Kind**: global class
* [SdJwt](#SdJwt)
- * [new SdJwt(jwt, disclosures, [key_binding_jwt])](#new_SdJwt_new)
+ * [new SdJwt(jwt, disclosures, key_binding_jwt)](#new_SdJwt_new)
* _instance_
* [.presentation()](#SdJwt+presentation) ⇒ string
* [.toString()](#SdJwt+toString) ⇒ string
@@ -4999,7 +4999,7 @@ Representation of an SD-JWT of the format
-### new SdJwt(jwt, disclosures, [key_binding_jwt])
+### new SdJwt(jwt, disclosures, key_binding_jwt)
Creates a new `SdJwt` from its components.
@@ -5007,7 +5007,7 @@ Creates a new `SdJwt` from its components.
| --- | --- |
| jwt | string
|
| disclosures | Array.<string>
|
-| [key_binding_jwt] | string
\| undefined
|
+| key_binding_jwt | string
\| undefined
|
@@ -5139,7 +5139,7 @@ An error is returned whenever a validated condition is not satisfied.
| sd_jwt | [SdJwt
](#SdJwt) |
| issuer | [CoreDocument
](#CoreDocument) \| IToCoreDocument
|
| options | [JwtCredentialValidationOptions
](#JwtCredentialValidationOptions) |
-| fail_fast | [FailFast
](#FailFast) |
+| fail_fast | number
|
@@ -5232,8 +5232,8 @@ Note: digests are created using the sha-256 algorithm.
* [SdObjectEncoder](#SdObjectEncoder)
* [new SdObjectEncoder(object)](#new_SdObjectEncoder_new)
- * [.conceal(path, [salt])](#SdObjectEncoder+conceal) ⇒ [Disclosure
](#Disclosure)
- * [.concealArrayEntry(path, element_index, [salt])](#SdObjectEncoder+concealArrayEntry) ⇒ [Disclosure
](#Disclosure)
+ * [.conceal(path, salt)](#SdObjectEncoder+conceal) ⇒ [Disclosure
](#Disclosure)
+ * [.concealArrayEntry(path, element_index, salt)](#SdObjectEncoder+concealArrayEntry) ⇒ [Disclosure
](#Disclosure)
* [.addSdAlgProperty()](#SdObjectEncoder+addSdAlgProperty)
* [.encodeToString()](#SdObjectEncoder+encodeToString) ⇒ string
* [.toString()](#SdObjectEncoder+toString) ⇒ string
@@ -5253,7 +5253,7 @@ Creates a new `SdObjectEncoder` with `sha-256` hash function.
-### sdObjectEncoder.conceal(path, [salt]) ⇒ [Disclosure
](#Disclosure)
+### sdObjectEncoder.conceal(path, salt) ⇒ [Disclosure
](#Disclosure)
Substitutes a value with the digest of its disclosure.
If no salt is provided, the disclosure will be created with a random salt value.
@@ -5272,11 +5272,11 @@ Use `concealArrayEntry` for values in arrays.
| Param | Type |
| --- | --- |
| path | Array.<string>
|
-| [salt] | string
\| undefined
|
+| salt | string
\| undefined
|
-### sdObjectEncoder.concealArrayEntry(path, element_index, [salt]) ⇒ [Disclosure
](#Disclosure)
+### sdObjectEncoder.concealArrayEntry(path, element_index, salt) ⇒ [Disclosure
](#Disclosure)
Substitutes a value within an array with the digest of its disclosure.
If no salt is provided, the disclosure will be created with random salt value.
@@ -5294,7 +5294,7 @@ the index of the element to be concealed (index start at 0).
| --- | --- |
| path | Array.<string>
|
| element_index | number
|
-| [salt] | string
\| undefined
|
+| salt | string
\| undefined
|
@@ -5422,7 +5422,7 @@ StatusList2021 data structure as described in [W3C's VC status list 2021](https:
**Kind**: global class
* [StatusList2021](#StatusList2021)
- * [new StatusList2021([size])](#new_StatusList2021_new)
+ * [new StatusList2021(size)](#new_StatusList2021_new)
* _instance_
* [.clone()](#StatusList2021+clone) ⇒ [StatusList2021
](#StatusList2021)
* [.len()](#StatusList2021+len) ⇒ number
@@ -5434,13 +5434,13 @@ StatusList2021 data structure as described in [W3C's VC status list 2021](https:
-### new StatusList2021([size])
+### new StatusList2021(size)
Creates a new [StatusList2021](#StatusList2021) of `size` entries.
| Param | Type |
| --- | --- |
-| [size] | number
\| undefined
|
+| size | number
\| undefined
|
@@ -5506,9 +5506,9 @@ A parsed [StatusList2021Credential](https://www.w3.org/TR/2023/WD-vc-status-list
* [new StatusList2021Credential(credential)](#new_StatusList2021Credential_new)
* _instance_
* [.id()](#StatusList2021Credential+id) ⇒ string
- * [.setCredentialStatus(credential, index, value)](#StatusList2021Credential+setCredentialStatus) ⇒ [StatusList2021Entry
](#StatusList2021Entry)
- * [.purpose()](#StatusList2021Credential+purpose) ⇒ [StatusPurpose
](#StatusPurpose)
- * [.entry(index)](#StatusList2021Credential+entry) ⇒ [CredentialStatus
](#CredentialStatus)
+ * [.setCredentialStatus(credential, index, revoked_or_suspended)](#StatusList2021Credential+setCredentialStatus) ⇒ [StatusList2021Entry
](#StatusList2021Entry)
+ * [.purpose()](#StatusList2021Credential+purpose) ⇒ number
+ * [.entry(index)](#StatusList2021Credential+entry) ⇒ number
* [.clone()](#StatusList2021Credential+clone) ⇒ [StatusList2021Credential
](#StatusList2021Credential)
* [.toJSON()](#StatusList2021Credential+toJSON) ⇒ any
* _static_
@@ -5530,7 +5530,7 @@ Creates a new [StatusList2021Credential](#StatusList2021Credential).
**Kind**: instance method of [StatusList2021Credential
](#StatusList2021Credential)
-### statusList2021Credential.setCredentialStatus(credential, index, value) ⇒ [StatusList2021Entry
](#StatusList2021Entry)
+### statusList2021Credential.setCredentialStatus(credential, index, revoked_or_suspended) ⇒ [StatusList2021Entry
](#StatusList2021Entry)
Sets the given credential's status using the `index`-th entry of this status list.
Returns the created `credentialStatus`.
@@ -5540,17 +5540,17 @@ Returns the created `credentialStatus`.
| --- | --- |
| credential | [Credential
](#Credential) |
| index | number
|
-| value | boolean
|
+| revoked_or_suspended | boolean
|
-### statusList2021Credential.purpose() ⇒ [StatusPurpose
](#StatusPurpose)
+### statusList2021Credential.purpose() ⇒ number
Returns the [StatusPurpose](#StatusPurpose) of this [StatusList2021Credential](#StatusList2021Credential).
**Kind**: instance method of [StatusList2021Credential
](#StatusList2021Credential)
-### statusList2021Credential.entry(index) ⇒ [CredentialStatus
](#CredentialStatus)
+### statusList2021Credential.entry(index) ⇒ number
Returns the state of the `index`-th entry, if any.
**Kind**: instance method of [StatusList2021Credential
](#StatusList2021Credential)
@@ -5584,7 +5584,7 @@ Builder type to construct valid [StatusList2021Credential](#StatusList2021Creden
**Kind**: global class
* [StatusList2021CredentialBuilder](#StatusList2021CredentialBuilder)
- * [new StatusList2021CredentialBuilder([status_list])](#new_StatusList2021CredentialBuilder_new)
+ * [new StatusList2021CredentialBuilder(status_list)](#new_StatusList2021CredentialBuilder_new)
* [.purpose(purpose)](#StatusList2021CredentialBuilder+purpose) ⇒ [StatusList2021CredentialBuilder
](#StatusList2021CredentialBuilder)
* [.subjectId(id)](#StatusList2021CredentialBuilder+subjectId) ⇒ [StatusList2021CredentialBuilder
](#StatusList2021CredentialBuilder)
* [.expirationDate(time)](#StatusList2021CredentialBuilder+expirationDate) ⇒ [StatusList2021CredentialBuilder
](#StatusList2021CredentialBuilder)
@@ -5596,13 +5596,13 @@ Builder type to construct valid [StatusList2021Credential](#StatusList2021Creden
-### new StatusList2021CredentialBuilder([status_list])
+### new StatusList2021CredentialBuilder(status_list)
Creates a new [StatusList2021CredentialBuilder](#StatusList2021CredentialBuilder).
| Param | Type |
| --- | --- |
-| [status_list] | [StatusList2021
](#StatusList2021) \| undefined
|
+| status_list | [StatusList2021
](#StatusList2021) \| undefined
|
@@ -5613,7 +5613,7 @@ Sets the purpose of the [StatusList2021Credential](#StatusList2021Credential) th
| Param | Type |
| --- | --- |
-| purpose | [StatusPurpose
](#StatusPurpose) |
+| purpose | number
|
@@ -5695,12 +5695,12 @@ Attempts to build a valid [StatusList2021Credential](#StatusList2021Credential)
**Kind**: global class
* [StatusList2021Entry](#StatusList2021Entry)
- * [new StatusList2021Entry(status_list, purpose, index, [id])](#new_StatusList2021Entry_new)
+ * [new StatusList2021Entry(status_list, purpose, index, id)](#new_StatusList2021Entry_new)
* _instance_
* [.id()](#StatusList2021Entry+id) ⇒ string
- * [.purpose()](#StatusList2021Entry+purpose) ⇒ [StatusPurpose
](#StatusPurpose)
+ * [.purpose()](#StatusList2021Entry+purpose) ⇒ number
* [.index()](#StatusList2021Entry+index) ⇒ number
- * [.status_list_credential()](#StatusList2021Entry+status_list_credential) ⇒ string
+ * [.statusListCredential()](#StatusList2021Entry+statusListCredential) ⇒ string
* [.toStatus()](#StatusList2021Entry+toStatus) ⇒ Status
* [.clone()](#StatusList2021Entry+clone) ⇒ [StatusList2021Entry
](#StatusList2021Entry)
* [.toJSON()](#StatusList2021Entry+toJSON) ⇒ any
@@ -5709,16 +5709,16 @@ Attempts to build a valid [StatusList2021Credential](#StatusList2021Credential)
-### new StatusList2021Entry(status_list, purpose, index, [id])
+### new StatusList2021Entry(status_list, purpose, index, id)
Creates a new [StatusList2021Entry](#StatusList2021Entry).
| Param | Type |
| --- | --- |
| status_list | string
|
-| purpose | [StatusPurpose
](#StatusPurpose) |
+| purpose | number
|
| index | number
|
-| [id] | string
\| undefined
|
+| id | string
\| undefined
|
@@ -5728,7 +5728,7 @@ Returns this `credentialStatus`'s `id`.
**Kind**: instance method of [StatusList2021Entry
](#StatusList2021Entry)
-### statusList2021Entry.purpose() ⇒ [StatusPurpose
](#StatusPurpose)
+### statusList2021Entry.purpose() ⇒ number
Returns the purpose of this entry.
**Kind**: instance method of [StatusList2021Entry
](#StatusList2021Entry)
@@ -5738,9 +5738,9 @@ Returns the purpose of this entry.
Returns the index of this entry.
**Kind**: instance method of [StatusList2021Entry
](#StatusList2021Entry)
-
+
-### statusList2021Entry.status\_list\_credential() ⇒ string
+### statusList2021Entry.statusListCredential() ⇒ string
Returns the referenced [StatusList2021Credential](#StatusList2021Credential)'s url.
**Kind**: instance method of [StatusList2021Entry
](#StatusList2021Entry)
@@ -5975,7 +5975,7 @@ A DID Document Verification Method.
* [.toJSON()](#VerificationMethod+toJSON) ⇒ any
* [.clone()](#VerificationMethod+clone) ⇒ [VerificationMethod
](#VerificationMethod)
* _static_
- * [.newFromJwk(did, key, [fragment])](#VerificationMethod.newFromJwk) ⇒ [VerificationMethod
](#VerificationMethod)
+ * [.newFromJwk(did, key, fragment)](#VerificationMethod.newFromJwk) ⇒ [VerificationMethod
](#VerificationMethod)
* [.fromJSON(json)](#VerificationMethod.fromJSON) ⇒ [VerificationMethod
](#VerificationMethod)
@@ -6083,7 +6083,7 @@ Deep clones the object.
**Kind**: instance method of [VerificationMethod
](#VerificationMethod)
-### VerificationMethod.newFromJwk(did, key, [fragment]) ⇒ [VerificationMethod
](#VerificationMethod)
+### VerificationMethod.newFromJwk(did, key, fragment) ⇒ [VerificationMethod
](#VerificationMethod)
Creates a new [VerificationMethod](#VerificationMethod) from the given `did` and [Jwk](#Jwk). If `fragment` is not given
the `kid` value of the given `key` will be used, if present, otherwise an error is returned.
@@ -6100,7 +6100,7 @@ done automatically if `None` is passed in as the fragment.
| --- | --- |
| did | [CoreDID
](#CoreDID) \| IToCoreDID
|
| key | [Jwk
](#Jwk) |
-| [fragment] | string
\| undefined
|
+| fragment | string
\| undefined
|
@@ -6117,11 +6117,50 @@ Deserializes an instance from a JSON object.
## StateMetadataEncoding
**Kind**: global variable
+
+
+## CredentialStatus
+**Kind**: global variable
## StatusPurpose
Purpose of a [StatusList2021](#StatusList2021).
+**Kind**: global variable
+
+
+## MethodRelationship
+**Kind**: global variable
+
+
+## StatusCheck
+Controls validation behaviour when checking whether or not a credential has been revoked by its
+[`credentialStatus`](https://www.w3.org/TR/vc-data-model/#status).
+
+**Kind**: global variable
+
+
+## Strict
+Validate the status if supported, reject any unsupported
+[`credentialStatus`](https://www.w3.org/TR/vc-data-model/#status) types.
+
+Only `RevocationBitmap2022` is currently supported.
+
+This is the default.
+
+**Kind**: global variable
+
+
+## SkipUnsupported
+Validate the status if supported, skip any unsupported
+[`credentialStatus`](https://www.w3.org/TR/vc-data-model/#status) types.
+
+**Kind**: global variable
+
+
+## SkipAll
+Skip all status checks.
+
**Kind**: global variable
@@ -6168,45 +6207,34 @@ Return all errors that occur during validation.
Return after the first error occurs.
**Kind**: global variable
-
-
-## StatusCheck
-Controls validation behaviour when checking whether or not a credential has been revoked by its
-[`credentialStatus`](https://www.w3.org/TR/vc-data-model/#status).
-
-**Kind**: global variable
-
+
-## Strict
-Validate the status if supported, reject any unsupported
-[`credentialStatus`](https://www.w3.org/TR/vc-data-model/#status) types.
+## start()
+Initializes the console error panic hook for better error messages
-Only `RevocationBitmap2022` is currently supported.
+**Kind**: global function
+
-This is the default.
+## encodeB64(data) ⇒ string
+Encode the given bytes in url-safe base64.
-**Kind**: global variable
-
+**Kind**: global function
-## SkipUnsupported
-Validate the status if supported, skip any unsupported
-[`credentialStatus`](https://www.w3.org/TR/vc-data-model/#status) types.
+| Param | Type |
+| --- | --- |
+| data | Uint8Array
|
-**Kind**: global variable
-
+
-## SkipAll
-Skip all status checks.
+## decodeB64(data) ⇒ Uint8Array
+Decode the given url-safe base64-encoded slice into its raw bytes.
-**Kind**: global variable
-
+**Kind**: global function
-## CredentialStatus
-**Kind**: global variable
-
+| Param | Type |
+| --- | --- |
+| data | Uint8Array
|
-## MethodRelationship
-**Kind**: global variable
## verifyEd25519(alg, signingInput, decodedSignature, publicKey)
@@ -6229,31 +6257,3 @@ prior to calling the function.
| decodedSignature | Uint8Array
|
| publicKey | [Jwk
](#Jwk) |
-
-
-## encodeB64(data) ⇒ string
-Encode the given bytes in url-safe base64.
-
-**Kind**: global function
-
-| Param | Type |
-| --- | --- |
-| data | Uint8Array
|
-
-
-
-## decodeB64(data) ⇒ Uint8Array
-Decode the given url-safe base64-encoded slice into its raw bytes.
-
-**Kind**: global function
-
-| Param | Type |
-| --- | --- |
-| data | Uint8Array
|
-
-
-
-## start()
-Initializes the console error panic hook for better error messages
-
-**Kind**: global function