Árvore de páginas

Versões comparadas

Chave

  • Esta linha foi adicionada.
  • Esta linha foi removida.
  • A formatação mudou.

...

English

Pagetitle
RSAExponent
RSAExponent

Função: RSAExponent

Retorna o expoente (exponent) de uma chave no formato big-endian

RSAExponent ( < cKey>cKey >, < bPublic>bPublic >, [ cPassword ] ) --> cRet

 

NomeTipoDescriçãoObrigatórioReferência
cKeyCaracterCaminho relativo (ao Root Path) para a chaveX 
bPublicLógicoIndica se está sendo utilizada uma chave públicaX 
cPasswordCaracter   

 

cRet
    (caracter)
  • O expoente de uma chave no formato big-endian ou Nil se ocorreu um erro

Função disponível para o TOTVS Application Server, build superior ou igual a 7.00.090818P-20100524, e o ByYou Application Server.

user function RSAExp()
local cPrivKey := "\web\key.pem"
local lPubKey := .F.
local cPass := "PASSWORD"
local cRet
cRetcRet cRet := RSAExponent( cPrivKey, lPubKey, cPass )
if empty(cRet) cRet == Nil
conout( "Verifique se os parametros passados para a RSAExponent estao corretos" )else
else
conout( cRet)endifreturn )
endif
return
Protheus 10

 

Composition Setup
import.css=/download/attachments/327912/newLayout.css
Portuguese

Pagetitle
RSAExponent
RSAExponent

Função: RSAExponent

Retorna o expoente (exponent) de uma chave no formato big-endian.

RSAExponent ( < cKey>cKey >, < bPublic>bPublic >, [ cPassword ] ) --> cRet

 

NomeTipoDescriçãoObrigatórioReferência
cKeyCaracterIndica o caminho relativo (ao RootPath) para a chave.X 
bPublicLógicoIndica se está sendo utilizada uma chave pública.X 
cPasswordCaracterIndica a senha da chave RSA.  

 

cRet
    (caracter)
  • Retorna o expoente de uma chave no formato big-endian ou nulo (Nil) se ocorrer um erro.

Função disponível para o TOTVS Application Server, build superior ou igual a 7.00.090818P-20100524, e o ByYou Application Server.

user function RSAExp()
local cPrivKey := "\web\key.pem"
local lPubKey := .F.
local cPass := "PASSWORD"
local cRet
cRetcRetcRet := RSAExponent( cPrivKey, lPubKey, cPass )
if empty(cRet) cRet == Nil
conout( "Verifique se os parâmetros passados para a RSAExponent estão corretos" )else
else
conout( cRet)endifreturn )
endif
return
Protheus 10 , TOTVS Application Server 10