From 1a7e8214883eb3267b2d8091d2ca3acd151af187 Mon Sep 17 00:00:00 2001 From: PatStLouis Date: Fri, 27 Sep 2024 21:57:58 +0000 Subject: [PATCH] add models Signed-off-by: PatStLouis --- .../cryptosuites/eddsa_jcs_2022.py | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/aries_cloudagent/vc/data_integrity/cryptosuites/eddsa_jcs_2022.py b/aries_cloudagent/vc/data_integrity/cryptosuites/eddsa_jcs_2022.py index 43c65f8971..bd8dcd5946 100644 --- a/aries_cloudagent/vc/data_integrity/cryptosuites/eddsa_jcs_2022.py +++ b/aries_cloudagent/vc/data_integrity/cryptosuites/eddsa_jcs_2022.py @@ -142,24 +142,6 @@ def _canonicalize(self, data: dict): """Json canonicalization.""" return canonicaljson.encode_canonical_json(data) - async def _resolve_multikey(self, kid: str): - """Derive a multikey from the verification method.""" - resolver = self.session.inject(DIDResolver) - verification_method = await resolver.dereference( - profile=self.session.profile, did_url=kid - ) - - if verification_method.type == "Ed25519VerificationKey2018": - multikey = verkey_to_multikey(verification_method.public_key_base58) - - else: - assert ( - verification_method.type == "Multikey" - ), "Expecting Multikey verification method type" - multikey = verification_method.public_key_multibase - - return multikey - async def verify_proof(self, secured_document: dict): """Verify proof algorithm.