/** * get public master key * * @return string */ public function getPublicMasterKey() { return $this->keyStorage->getSystemUserKey($this->masterKeyId . '.publicKey', Encryption::ID); }
/** * @param string $keyId * @return string returns openssl key */ public function getSystemPrivateKey($keyId) { return $this->keyStorage->getSystemUserKey($keyId . '.' . $this->privateKeyId, Encryption::ID); }