1
0
Fork 0
error ASN_BASE not found. Probably a namespace thing.
This commit is contained in:
Adam Magness 2017-12-30 12:09:08 -05:00
parent 9e6bf79380
commit 5d352641a8

View file

@ -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);