summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a30d0f6)
raw | patch | inline | side by side (parent: a30d0f6)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 10 Jun 2005 08:02:48 +0000 (08:02 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 10 Jun 2005 08:02:48 +0000 (08:02 +0000) |
include/class_certificate.inc | patch | blob | history |
index c98f9450e3bde759a0419ed18f3a22314fb99c1c..c5698ae514aab1c42f76fc7b826da51fd40ff936 100755 (executable)
/* Return Functions */
function getvalidto_date()
{
- return($this->info['validTo_time_t']);
+ if(isset($this->info['validTo_time_t'])){
+ return($this->info['validTo_time_t']);
+ }else{
+ return(false);
+ }
}
function getvalidfrom_date()
{
- return($this->info['validFrom_time_t']);
+ if(isset($this->info['validFrom_time_t'])){
+ return($this->info['validFrom_time_t']);
+ }else{
+ return(false);
+ }
+
}
function getname()
{
- return($this->info['name']);
+ if(isset($this->info['name'])){
+ return($this->info['name']);
+ }else{
+ return(false);
+ }
}
function getCN()
{
- return($this->info['subject']['CN']);
+ if(isset($this->info['subject']['CN'])){
+ return($this->info['subject']['CN']);
+ }else{
+ return(false);
+ }
}
function getO()
{
- return($this->info['subject']['O']);
+ if(isset($this->info['subject']['O'])){
+ return($this->info['subject']['O']);
+ }else{
+ return(false);
+ }
}
function getOU()
{
- return($this->info['subject']['OU']);
+ if(isset($this->info['subject']['OU'])){
+ return($this->info['subject']['OU']);
+ }else{
+ return(false);
+ }
}
function getSerialNumber()
{
- return($this->info['serialNumber']);
+ if(isset($this->info['serialNumber'])){
+ return($this->info['serialNumber']);
+ }else{
+ return(false);
+ }
}
function isvalid($returnstr = false)