Rename SMime actions

This commit is contained in:
the-djmaze 2024-02-19 17:33:24 +01:00
parent 9a5a5091a1
commit 55e55b7bb7
3 changed files with 5 additions and 5 deletions

View file

@ -21,7 +21,7 @@ trait SMime
/**
* Can be use by Identity
*/
public function DoCreateSMimeCertificate() : array
public function DoSMimeCreateCertificate() : array
{
$oAccount = $this->getAccountFromToken();
/*
@ -41,7 +41,7 @@ trait SMime
return $this->DefaultResponse($result ?: false);
}
public function DoMessageSMimeVerify() : array
public function DoSMimeVerifyMessage() : array
{
$sFolderName = $this->GetActionParam('folder', '');
$iUid = (int) $this->GetActionParam('uid', 0);
@ -72,7 +72,7 @@ trait SMime
}
$sBody .= $oFetchResponse->GetFetchValue(FetchType::BODY.'['.$sPartId.']');
$SMIME = new \SnappyMail\SMime\OpenSSL;
$SMIME = new OpenSSL;
$result = $SMIME->verify($sBody, null, !$bDetached);
return $this->DefaultResponse($result);