public function getPublicKey($fingerprint)
    {
        if ($fingerprint === null || !isset($this->keys[$fingerprint])) {
            throw new InvalidKeyPairIdException('Invalid keypair fingerprint given', 1231438860);
        }

        return $this->keys[$fingerprint]['publicKey'];
    }
public function getPublicKey($fingerprint)
    {
        if ($fingerprint === null || !isset($this->keys[$fingerprint])) {
            throw new InvalidKeyPairIdException('Invalid keypair fingerprint given', 1231438860);
        }

        return $this->keys[$fingerprint]['publicKey'];
    }
public function getPublicKey ( $ fingerprint ) { if ( $ fingerprint === null || ! isset ( $ this -> keys [ $ fingerprint ] ) ) { throw new InvalidKeyPairIdException ( 'Invalid keypair fingerprint given' , 1231438860 ) ; } return $ this -> keys [ $ fingerprint ] [ 'publicKey' ] ; }
Returns the public key for the given fingerprint

@param string $fingerprint The fingerprint of the stored key
@return OpenSslRsaKey The public key
@throws InvalidKeyPairIdException If the given fingerprint identifies no valid key pair
Returns the public key for the given fingerprint