Skip to content

Commit da8132e

Browse files
remotelylivingtgalopin
authored andcommitted
Add api for certificate revocation
1 parent 93b19e5 commit da8132e

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Certificate.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,14 @@ public function __construct($certificatePEM, self $issuerCertificate = null)
3939
$this->issuerCertificate = $issuerCertificate;
4040
}
4141

42+
/**
43+
* @return string
44+
*/
45+
public function __toString()
46+
{
47+
return $this->certificatePEM;
48+
}
49+
4250
/**
4351
* @return Certificate[]
4452
*/

0 commit comments

Comments
 (0)