von_anchor/wallet/wallet.py
async def verify(self, message: bytes, signature: bytes, verkey: str = None) -> bool:
        """
        Verify signature against input signer verification key (default anchor's own).
        Raise AbsentMessage for missing message, or WalletState if wallet is closed.

        :param message: Content to sign, as bytes
        :param signature: signature, as bytes
        :param verkey: signer verification key (default for anchor's own)
        :return: whether signature is valid
        """

        LOGGER.debug('Wallet.verify >>> message: %s, signature: %s, verkey: %s', message, signature, verkey)

        if not message:
            LOGGER.debug('Wallet.verify <!< No message to verify')
            raise AbsentMessage('No message to verify')

        if not self.handle:
            LOGGER.debug('Wallet.verify <!< Wallet %s is closed', self.name)
            raise WalletState('Wallet {} is closed'.format(self.name))

        rv = await crypto.crypto_verify(verkey or self.verkey, message, signature)

        LOGGER.debug('Wallet.verify <<< %s', rv)
        return rv

        Verify signature against input signer verification key (default anchor's own).
        Raise AbsentMessage for missing message, or WalletState if wallet is closed.

        :param message: Content to sign, as bytes
        :param signature: signature, as bytes
        :param verkey: signer verification key (default for anchor's own)
        :return: whether signature is valid
        
Verify signature against input signer verification key (default anchor's own).
Raise AbsentMessage for missing message, or WalletState if wallet is closed.
Verify signature against input signer verification key ( default anchor ' s own ) . Raise AbsentMessage for missing message or WalletState if wallet is closed .
async def verify(self, message: bytes, signature: bytes, verkey: str = None) -> bool:
        LOGGER.debug('Wallet.verify >>> message: %s, signature: %s, verkey: %s', message, signature, verkey)
        if not message:
            LOGGER.debug('Wallet.verify <!< No message to verify')
            raise AbsentMessage('No message to verify')
        if not self.handle:
            LOGGER.debug('Wallet.verify <!< Wallet %s is closed', self.name)
            raise WalletState('Wallet {} is closed'.format(self.name))
        rv = await crypto.crypto_verify(verkey or self.verkey, message, signature)
        LOGGER.debug('Wallet.verify <<< %s', rv)
        return rv
async def verify ( self , message : bytes , signature : bytes , verkey : str = None ) -> bool : LOGGER . debug ( 'Wallet.verify >>> message: %s, signature: %s, verkey: %s' , message , signature , verkey ) if not message : LOGGER . debug ( 'Wallet.verify <!< No message to verify' ) raise AbsentMessage ( 'No message to verify' ) if not self . handle : LOGGER . debug ( 'Wallet.verify <!< Wallet %s is closed' , self . name ) raise WalletState ( 'Wallet {} is closed' . format ( self . name ) ) rv = await crypto . crypto_verify ( verkey or self . verkey , message , signature ) LOGGER . debug ( 'Wallet.verify <<< %s' , rv ) return rv
Verify signature against input signer verification key (default anchor's own).
Verify signature against input signer verification key ( default anchor ' s own ) .
"""
        Verify signature against input signer verification key (default anchor's own).
        Raise AbsentMessage for missing message, or WalletState if wallet is closed.

        :param message: Content to sign, as bytes
        :param signature: signature, as bytes
        :param verkey: signer verification key (default for anchor's own)
        :return: whether signature is valid
        """
whether signature is valid
whether signature is valid
self
message
bytes
Content to sign, as bytes
Content to sign as bytes
signature
bytes
signature, as bytes
signature as bytes
verkey
str
signer verification key (default for anchor's own)
signer verification key ( default for anchor ' s own )