mirror of
https://github.com/phpseclib/phpseclib.git
synced 2025-01-28 01:28:27 +00:00
- add getSubjectDN and getSubjectDNProp as aliases
This commit is contained in:
parent
de2691a281
commit
30391fe2b6
@ -1993,6 +1993,18 @@ class File_X509 {
|
|||||||
return $this->getDN($string, $this->currentCert['tbsCertificate']['issuer']);
|
return $this->getDN($string, $this->currentCert['tbsCertificate']['issuer']);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Alias of getDN()
|
||||||
|
*
|
||||||
|
* @param Boolean $string optional
|
||||||
|
* @access public
|
||||||
|
* @return Mixed
|
||||||
|
*/
|
||||||
|
function getSubjectDN($string = false)
|
||||||
|
{
|
||||||
|
return $this->getDN($string);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get an individual Distinguished Name property for a certificates issuer
|
* Get an individual Distinguished Name property for a certificates issuer
|
||||||
*
|
*
|
||||||
@ -2009,6 +2021,18 @@ class File_X509 {
|
|||||||
return $this->getDNProp($propName, $this->currentCert['tbsCertificate']['issuer']);
|
return $this->getDNProp($propName, $this->currentCert['tbsCertificate']['issuer']);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Alias of getDNProp()
|
||||||
|
*
|
||||||
|
* @param String $propName
|
||||||
|
* @access public
|
||||||
|
* @return Mixed
|
||||||
|
*/
|
||||||
|
function getSubjectDNProp($propName)
|
||||||
|
{
|
||||||
|
return $this->getDNProp($propName);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set public key
|
* Set public key
|
||||||
*
|
*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user