File tree Expand file tree Collapse file tree 2 files changed +0
-10
lines changed
packages/core/src/modules/vc Expand file tree Collapse file tree 2 files changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -112,9 +112,6 @@ export class W3cJsonLdCredentialService {
112112 documentLoader : this . w3cCredentialsModuleConfig . documentLoader ( agentContext ) ,
113113 checkStatus : async ( { credential } : { credential : W3cJsonCredential } ) => {
114114 if ( verifyCredentialStatus && credential . credentialStatus ) {
115- // await verifyBitStringCredentialStatus(credential, agentContext)
116- // Add a verification function that then checks which type of credentailStatus we have
117- // If the type is supported, we validate it and return the result
118115 await validateStatus ( credential . credentialStatus , agentContext , ClaimFormat . LdpVc )
119116 }
120117 return {
@@ -271,9 +268,6 @@ export class W3cJsonLdCredentialService {
271268 documentLoader : this . w3cCredentialsModuleConfig . documentLoader ( agentContext ) ,
272269 checkStatus : async ( { credential } : { credential : W3cJsonCredential } ) => {
273270 if ( verifyCredentialStatus && credential . credentialStatus ) {
274- // await verifyBitStringCredentialStatus(credential, agentContext)
275- // Add a verification function that then checks which type of credentailStatus we have
276- // If the type is supported, we validate it and return the result
277271 await validateStatus ( credential . credentialStatus , agentContext , ClaimFormat . LdpVc )
278272 }
279273 return {
Original file line number Diff line number Diff line change @@ -197,10 +197,6 @@ export class W3cJwtCredentialService {
197197 }
198198 } else if ( verifyCredentialStatus && credential . credentialStatus ) {
199199 // TODO: Add similar verification for JWT VCs
200- // validationResults.validations.credentialStatus = {
201- // isValid: false,
202- // error: new CredoError('Verifying credential status is not supported for JWT VCs'),
203- // }
204200 validationResults . validations . credentialStatus = {
205201 isValid : await validateStatus ( credential . credentialStatus , agentContext , ClaimFormat . JwtVc )
206202 }
You can’t perform that action at this time.
0 commit comments