OEModule\OphCoCvi\models\Element_OphCoCvi_ConsentSignature::getDecryptedSignature PHP Method

getDecryptedSignature() public method

public getDecryptedSignature ( ) : string
return string
    public function getDecryptedSignature()
    {
        if ($this->signature_file) {
            return base64_decode($this->decryptSignature(file_get_contents($this->signature_file->getPath()), md5($this->getEncryptionKey() . \Yii::app()->moduleAPI->get('OphCoCvi')->getUniqueCodeForCviEvent($this->event))));
        }
    }