Airship\Cabin\Bridge\Landing\Account::getGPGPublicKey PHP Méthode

getGPGPublicKey() protected méthode

Return the public key corresponding to a fingerprint
protected getGPGPublicKey ( string $fingerprint ) : string
$fingerprint string
Résultat string
    protected function getGPGPublicKey(string $fingerprint) : string
    {
        $state = State::instance();
        try {
            return \trim($state->gpgMailer->export($fingerprint));
        } catch (\Crypt_GPG_Exception $ex) {
            return '';
        }
    }