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