????JFIF??x?x????'
| Server IP : 172.67.174.47 / Your IP : 216.73.216.87 Web Server : LiteSpeed System : Linux premium151.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 User : tempvsty ( 647) PHP Version : 8.0.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /./lib64/perl5/vendor_perl/Crypt/SSLeay/ |
Upload File : |
package Crypt::SSLeay::X509;
use strict;
sub not_before {
my $cert = shift;
not_string2time($cert->get_notBeforeString);
}
sub not_after {
my $cert = shift;
not_string2time($cert->get_notAfterString);
}
sub not_string2time {
my $string = shift;
# $string has the form 021019235959Z
my($year, $month, $day, $hour, $minute, $second, $GMT)=
$string=~m/(\d\d)(\d\d)(\d\d)(\d\d)(\d\d)(\d\d)(Z)?/;
$year += 2000;
my $time="$year-$month-$day $hour:$minute:$second";
$time .= " GMT" if $GMT;
$time;
}
1;