Certificate¶
-
class
OC\Security\
Certificate
¶ Source: lib/private/Security/Certificate.php#33 Implements: OCP\ICertificate
Properties¶
-
protected static property
OC\Security\Certificate::$
name
¶ Source: lib/private/Security/Certificate.php#34
-
protected static property
OC\Security\Certificate::$
commonName
¶ Source: lib/private/Security/Certificate.php#36
-
protected static property
OC\Security\Certificate::$
organization
¶ Source: lib/private/Security/Certificate.php#38
-
protected static property
OC\Security\Certificate::$
serial
¶ Source: lib/private/Security/Certificate.php#40
-
protected static property
OC\Security\Certificate::$
issueDate
¶ Source: lib/private/Security/Certificate.php#42
-
protected static property
OC\Security\Certificate::$
expireDate
¶ Source: lib/private/Security/Certificate.php#44
-
protected static property
OC\Security\Certificate::$
issuerName
¶ Source: lib/private/Security/Certificate.php#46
-
protected static property
OC\Security\Certificate::$
issuerOrganization
¶ Source: lib/private/Security/Certificate.php#48
Methods¶
-
public
OC\Security\Certificate::
__construct
($data, $name)¶ Source: Parameters: - $data (string) base64 encoded certificate
- $name (string)
Throws: \Exception
If the certificate could not get parsed
-
public
OC\Security\Certificate::
getName
()¶ Source: lib/private/Security/Certificate.php#81 Returns: string
-
public
OC\Security\Certificate::
getCommonName
()¶ Source: lib/private/Security/Certificate.php#88 Returns: string | null
-
public
OC\Security\Certificate::
getOrganization
()¶ Source: lib/private/Security/Certificate.php#95 Returns: string | null
-
public
OC\Security\Certificate::
getIssueDate
()¶ Source: lib/private/Security/Certificate.php#102 Returns: \DateTime
-
public
OC\Security\Certificate::
getExpireDate
()¶ Source: lib/private/Security/Certificate.php#109 Returns: \DateTime
-
public
OC\Security\Certificate::
isExpired
()¶ Source: lib/private/Security/Certificate.php#116 Returns: bool
-
public
OC\Security\Certificate::
getIssuerName
()¶ Source: lib/private/Security/Certificate.php#124 Returns: string | null
-
public
OC\Security\Certificate::
getIssuerOrganization
()¶ Source: lib/private/Security/Certificate.php#131 Returns: string | null