コード例 #1
0
    def verify_seal(self) -> bool:
        """
        Validates the cryptographic signature on the envelope's seal. The signature should be the MessageMeta binary
        concatenated with the MessageBase binary signed by the sender.

        :return: A bool, True is the Seal's signature is valid, and False otherwise
        """
        return EnvelopeAuth.verify_seal(seal=self.seal, meta=self.meta_binary, message=self.message_binary)
コード例 #2
0
 def verify_seal(self):
     return EnvelopeAuth.verify_seal(seal=self.seal,
                                     meta=self.meta_binary,
                                     message=self.message_binary)