2023-07-20 10:00:53 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Code\ActivityStreams;
|
|
|
|
|
|
|
|
class PublicKey extends ASObject
|
|
|
|
{
|
|
|
|
public $owner;
|
|
|
|
public $signatureAlgorithm;
|
|
|
|
public $publicKeyPem;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @return mixed
|
|
|
|
*/
|
|
|
|
public function getOwner()
|
|
|
|
{
|
|
|
|
return $this->owner;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @param mixed $owner
|
|
|
|
* @return PublicKey
|
|
|
|
*/
|
|
|
|
public function setOwner($owner)
|
|
|
|
{
|
|
|
|
$this->owner = $owner;
|
|
|
|
return $this;
|
|
|
|
}
|
|
|
|
|
2023-11-30 07:02:55 +00:00
|
|
|
/**
|
|
|
|
* @return mixed
|
|
|
|
*/
|
|
|
|
public function getSignatureAlgorithm()
|
|
|
|
{
|
|
|
|
return $this->signatureAlgorithm;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @param mixed $signatureAlgorithm
|
|
|
|
* @return PublicKey
|
|
|
|
*/
|
|
|
|
public function setSignatureAlgorithm($signatureAlgorithm)
|
|
|
|
{
|
|
|
|
$this->signatureAlgorithm = $signatureAlgorithm;
|
|
|
|
return $this;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @return mixed
|
|
|
|
*/
|
|
|
|
public function getPublicKeyPem()
|
|
|
|
{
|
|
|
|
return $this->publicKeyPem;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @param mixed $publicKeyPem
|
|
|
|
* @return PublicKey
|
|
|
|
*/
|
|
|
|
public function setPublicKeyPem($publicKeyPem)
|
|
|
|
{
|
|
|
|
$this->publicKeyPem = $publicKeyPem;
|
|
|
|
return $this;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
2023-07-20 10:00:53 +00:00
|
|
|
|
|
|
|
}
|