def sign(self, envelope):
        if self._version_check(envelope) or self.sign_everything:
            msg = self.get_message(envelope)
            
            signPrefs = {
                         "keyid": self.privateKeyID,
                         "passphrase": self.passphrase,
                         "clearsign": True 
                    }
            
            result = self.gpg.sign(msg, **signPrefs)
            
            
            envelope["digital_signature"] = self._get_sig_block(result.data)
        
        return envelope
Annotate a Parameter with Java specific elements.
dataset/ETHPy150Open jimklo/LRSignature/src/LRSignature/sign/Sign.py/Sign_0_21.sign--crossover with--dataset/ETHPy150Open google/apis-client-generator/src/googleapis/codegen/java_generator.py/Java14Generator.AnnotateParameter