ASN_BASE
error ASN_BASE not found. Probably a namespace thing.
This commit is contained in:
parent
9e6bf79380
commit
5d352641a8
1 changed files with 2 additions and 2 deletions
|
@ -156,7 +156,7 @@ class Crypto
|
|||
unset($lines[count($lines)]);
|
||||
$x = base64_decode(implode('', $lines));
|
||||
|
||||
$r = ASN_BASE::parseASNString($x);
|
||||
$r = parseASNString($x);
|
||||
|
||||
$m = base64url_decode($r[0]->asnData[0]->asnData);
|
||||
$e = base64url_decode($r[0]->asnData[1]->asnData);
|
||||
|
@ -195,7 +195,7 @@ class Crypto
|
|||
unset($lines[count($lines)]);
|
||||
$x = base64_decode(implode('', $lines));
|
||||
|
||||
$r = ASN_BASE::parseASNString($x);
|
||||
$r = parseASNString($x);
|
||||
|
||||
$m = base64url_decode($r[0]->asnData[1]->asnData[0]->asnData[0]->asnData);
|
||||
$e = base64url_decode($r[0]->asnData[1]->asnData[0]->asnData[1]->asnData);
|
||||
|
|
Loading…
Reference in a new issue