MCPcopy Create free account
hub / github.com/Dstack-TEE/dstack / verify

Method verify

sdk/python/src/dstack_sdk/dstack_client.py:608–616  ·  view source on GitHub ↗

Verify a signature.

(
        self,
        algorithm: str,
        data: str | bytes,
        signature: str | bytes,
        public_key: str | bytes,
    )

Source from the content-addressed store, hash-verified

606
607 @call_async
608 def verify(
609 self,
610 algorithm: str,
611 data: str | bytes,
612 signature: str | bytes,
613 public_key: str | bytes,
614 ) -> VerifyResponse:
615 """Verify a signature."""
616 raise NotImplementedError
617
618 @call_async
619 def version(self) -> VersionResponse:

Calls

no outgoing calls