original_string: public function publicKeyToDer($publicKey)
      {
          try {
              return CryptoVirgilKeyPair::publicKeyToDER($publicKey);
          } catch (Exception $exception) {
              throw new PublicKeyToDerConvertingException($exception->getMessage(), $exception->getCode());
          }
      }
code: public function publicKeyToDer($publicKey)
      {
          try {
              return CryptoVirgilKeyPair::publicKeyToDER($publicKey);
          } catch (Exception $exception) {
              throw new PublicKeyToDerConvertingException($exception->getMessage(), $exception->getCode());
          }
      }
code_tokens: public function publicKeyToDer ( $ publicKey ) { try { return CryptoVirgilKeyPair :: publicKeyToDER ( $ publicKey ) ; } catch ( Exception $ exception ) { throw new PublicKeyToDerConvertingException ( $ exception -> getMessage ( ) , $ exception -> getCode ( ) ) ; } }
docstring: Converts public key to DER format.
  
  @param string $publicKey
  
  @return string
  
  @throws PublicKeyToDerConvertingException
docstring_tokens: Converts public key to DER format .